vendor.js 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],{
  2. /***/ 1:
  3. /*!*********************************************************!*\
  4. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  5. \*********************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. Object.defineProperty(exports, "__esModule", {
  10. value: true
  11. });
  12. exports.default = void 0;
  13. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet', '__webpack_require_UNI_MP_PLUGIN__'];
  14. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  15. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  16. return this;
  17. }();
  18. var key = ['w', 'x'].join('');
  19. var oldWx = target[key];
  20. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  21. function isWxKey(key) {
  22. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  23. return false;
  24. }
  25. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  26. }
  27. function initWx() {
  28. var newWx = {};
  29. for (var _key in oldWx) {
  30. if (isWxKey(_key)) {
  31. // TODO wrapper function
  32. newWx[_key] = oldWx[_key];
  33. }
  34. }
  35. return newWx;
  36. }
  37. target[key] = initWx();
  38. var _default = target[key];
  39. exports.default = _default;
  40. /***/ }),
  41. /***/ 10:
  42. /*!****************************************************************!*\
  43. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  44. \****************************************************************/
  45. /*! no static exports found */
  46. /***/ (function(module, exports) {
  47. function _nonIterableRest() {
  48. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  49. }
  50. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  51. /***/ }),
  52. /***/ 100:
  53. /*!*************************************************************************!*\
  54. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/image.js ***!
  55. \*************************************************************************/
  56. /*! no static exports found */
  57. /***/ (function(module, exports, __webpack_require__) {
  58. "use strict";
  59. Object.defineProperty(exports, "__esModule", {
  60. value: true
  61. });
  62. exports.default = void 0;
  63. /*
  64. * @Author : LQ
  65. * @Description :
  66. * @version : 1.0
  67. * @Date : 2021-08-20 16:44:21
  68. * @LastAuthor : LQ
  69. * @lastTime : 2021-08-20 17:01:51
  70. * @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
  71. */
  72. var _default = {
  73. // image组件
  74. image: {
  75. src: '',
  76. mode: 'aspectFill',
  77. width: '300',
  78. height: '225',
  79. shape: 'square',
  80. radius: 0,
  81. lazyLoad: true,
  82. showMenuByLongpress: true,
  83. loadingIcon: 'photo',
  84. errorIcon: 'error-circle',
  85. showLoading: true,
  86. showError: true,
  87. fade: true,
  88. webp: false,
  89. duration: 500,
  90. bgColor: '#f3f4f6'
  91. }
  92. };
  93. exports.default = _default;
  94. /***/ }),
  95. /***/ 1002:
  96. /*!************************************************************************************************************!*\
  97. !*** D:/project/crossBorder/wx-qhb/uni_modules/liu-indexed-list/components/liu-indexed-list/pinyinUtil.js ***!
  98. \************************************************************************************************************/
  99. /*! no static exports found */
  100. /***/ (function(module, exports, __webpack_require__) {
  101. "use strict";
  102. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  103. Object.defineProperty(exports, "__esModule", {
  104. value: true
  105. });
  106. exports.pinyin_dict_notone = exports.pinyinUtil = void 0;
  107. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  108. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  109. var _polyphone;
  110. var dict = {};
  111. //拼音首字母字典文件
  112. var pinyin_dict_firstletter = {
  113. all: "YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",
  114. polyphone: (_polyphone = {
  115. "19969": "DZ",
  116. "19975": "WM",
  117. "19988": "QJ",
  118. "20048": "YL",
  119. "20056": "SC",
  120. "20060": "NM",
  121. "20094": "QG",
  122. "20127": "QJ",
  123. "20167": "QC",
  124. "20193": "YG",
  125. "20250": "KH",
  126. "20256": "ZC",
  127. "20282": "SC",
  128. "20285": "QJG",
  129. "20291": "TD",
  130. "20314": "YD",
  131. "20340": "NE",
  132. "20375": "TD",
  133. "20389": "YJ",
  134. "20391": "CZ",
  135. "20415": "PB",
  136. "20446": "YS",
  137. "20447": "SQ",
  138. "20504": "TC",
  139. "20608": "KG",
  140. "20854": "QJ",
  141. "20857": "ZC",
  142. "20911": "PF"
  143. }, (0, _defineProperty2.default)(_polyphone, "20504", "TC"), (0, _defineProperty2.default)(_polyphone, "20608", "KG"), (0, _defineProperty2.default)(_polyphone, "20854", "QJ"), (0, _defineProperty2.default)(_polyphone, "20857", "ZC"), (0, _defineProperty2.default)(_polyphone, "20911", "PF"), (0, _defineProperty2.default)(_polyphone, "20985", "AW"), (0, _defineProperty2.default)(_polyphone, "21032", "PB"), (0, _defineProperty2.default)(_polyphone, "21048", "XQ"), (0, _defineProperty2.default)(_polyphone, "21049", "SC"), (0, _defineProperty2.default)(_polyphone, "21089", "YS"), (0, _defineProperty2.default)(_polyphone, "21119", "JC"), (0, _defineProperty2.default)(_polyphone, "21242", "SB"), (0, _defineProperty2.default)(_polyphone, "21273", "SC"), (0, _defineProperty2.default)(_polyphone, "21305", "YP"), (0, _defineProperty2.default)(_polyphone, "21306", "QO"), (0, _defineProperty2.default)(_polyphone, "21330", "ZC"), (0, _defineProperty2.default)(_polyphone, "21333", "SDC"), (0, _defineProperty2.default)(_polyphone, "21345", "QK"), (0, _defineProperty2.default)(_polyphone, "21378", "CA"), (0, _defineProperty2.default)(_polyphone, "21397", "SC"), (0, _defineProperty2.default)(_polyphone, "21414", "XS"), (0, _defineProperty2.default)(_polyphone, "21442", "SC"), (0, _defineProperty2.default)(_polyphone, "21477", "JG"), (0, _defineProperty2.default)(_polyphone, "21480", "TD"), (0, _defineProperty2.default)(_polyphone, "21484", "ZS"), (0, _defineProperty2.default)(_polyphone, "21494", "YX"), (0, _defineProperty2.default)(_polyphone, "21505", "YX"), (0, _defineProperty2.default)(_polyphone, "21512", "HG"), (0, _defineProperty2.default)(_polyphone, "21523", "XH"), (0, _defineProperty2.default)(_polyphone, "21537", "PB"), (0, _defineProperty2.default)(_polyphone, "21542", "PF"), (0, _defineProperty2.default)(_polyphone, "21549", "KH"), (0, _defineProperty2.default)(_polyphone, "21571", "E"), (0, _defineProperty2.default)(_polyphone, "21574", "DA"), (0, _defineProperty2.default)(_polyphone, "21588", "TD"), (0, _defineProperty2.default)(_polyphone, "21589", "O"), (0, _defineProperty2.default)(_polyphone, "21618", "ZC"), (0, _defineProperty2.default)(_polyphone, "21621", "KHA"), (0, _defineProperty2.default)(_polyphone, "21632", "ZJ"), (0, _defineProperty2.default)(_polyphone, "21654", "KG"), (0, _defineProperty2.default)(_polyphone, "21679", "LKG"), (0, _defineProperty2.default)(_polyphone, "21683", "KH"), (0, _defineProperty2.default)(_polyphone, "21710", "A"), (0, _defineProperty2.default)(_polyphone, "21719", "YH"), (0, _defineProperty2.default)(_polyphone, "21734", "WOE"), (0, _defineProperty2.default)(_polyphone, "21769", "A"), (0, _defineProperty2.default)(_polyphone, "21780", "WN"), (0, _defineProperty2.default)(_polyphone, "21804", "XH"), (0, _defineProperty2.default)(_polyphone, "21834", "A"), (0, _defineProperty2.default)(_polyphone, "21899", "ZD"), (0, _defineProperty2.default)(_polyphone, "21903", "RN"), (0, _defineProperty2.default)(_polyphone, "21908", "WO"), (0, _defineProperty2.default)(_polyphone, "21939", "ZC"), (0, _defineProperty2.default)(_polyphone, "21956", "SA"), (0, _defineProperty2.default)(_polyphone, "21964", "YA"), (0, _defineProperty2.default)(_polyphone, "21970", "TD"), (0, _defineProperty2.default)(_polyphone, "22003", "A"), (0, _defineProperty2.default)(_polyphone, "22031", "JG"), (0, _defineProperty2.default)(_polyphone, "22040", "XS"), (0, _defineProperty2.default)(_polyphone, "22060", "ZC"), (0, _defineProperty2.default)(_polyphone, "22066", "ZC"), (0, _defineProperty2.default)(_polyphone, "22079", "MH"), (0, _defineProperty2.default)(_polyphone, "22129", "XJ"), (0, _defineProperty2.default)(_polyphone, "22179", "XA"), (0, _defineProperty2.default)(_polyphone, "22237", "NJ"), (0, _defineProperty2.default)(_polyphone, "22244", "TD"), (0, _defineProperty2.default)(_polyphone, "22280", "JQ"), (0, _defineProperty2.default)(_polyphone, "22300", "YH"), (0, _defineProperty2.default)(_polyphone, "22313", "XW"), (0, _defineProperty2.default)(_polyphone, "22331", "YQ"), (0, _defineProperty2.default)(_polyphone, "22343", "YJ"), (0, _defineProperty2.default)(_polyphone, "22351", "PH"), (0, _defineProperty2.default)(_polyphone, "22395", "DC"), (0, _defineProperty2.default)(_polyphone, "22412", "TD"), (0, _defineProperty2.default)(_polyphone, "22484", "PB"), (0, _defineProperty2.default)(_polyphone, "22500", "PB"), (0, _defineProperty2.default)(_polyphone, "22534", "ZD"), (0, _defineProperty2.default)(_polyphone, "22549", "DH"), (0, _defineProperty2.default)(_polyphone, "22561", "PB"), (0, _defineProperty2.default)(_polyphone, "22612", "TD"), (0, _defineProperty2.default)(_polyphone, "22771", "KQ"), (0, _defineProperty2.default)(_polyphone, "22831", "HB"), (0, _defineProperty2.default)(_polyphone, "22841", "JG"), (0, _defineProperty2.default)(_polyphone, "22855", "QJ"), (0, _defineProperty2.default)(_polyphone, "22865", "XQ"), (0, _defineProperty2.default)(_polyphone, "23013", "ML"), (0, _defineProperty2.default)(_polyphone, "23081", "WM"), (0, _defineProperty2.default)(_polyphone, "23487", "SX"), (0, _defineProperty2.default)(_polyphone, "23558", "QJ"), (0, _defineProperty2.default)(_polyphone, "23561", "YW"), (0, _defineProperty2.default)(_polyphone, "23586", "YW"), (0, _defineProperty2.default)(_polyphone, "23614", "YW"), (0, _defineProperty2.default)(_polyphone, "23615", "SN"), (0, _defineProperty2.default)(_polyphone, "23631", "PB"), (0, _defineProperty2.default)(_polyphone, "23646", "ZS"), (0, _defineProperty2.default)(_polyphone, "23663", "ZT"), (0, _defineProperty2.default)(_polyphone, "23673", "YG"), (0, _defineProperty2.default)(_polyphone, "23762", "TD"), (0, _defineProperty2.default)(_polyphone, "23769", "ZS"), (0, _defineProperty2.default)(_polyphone, "23780", "QJ"), (0, _defineProperty2.default)(_polyphone, "23884", "QK"), (0, _defineProperty2.default)(_polyphone, "24055", "XH"), (0, _defineProperty2.default)(_polyphone, "24113", "DC"), (0, _defineProperty2.default)(_polyphone, "24162", "ZC"), (0, _defineProperty2.default)(_polyphone, "24191", "GA"), (0, _defineProperty2.default)(_polyphone, "24273", "QJ"), (0, _defineProperty2.default)(_polyphone, "24324", "NL"), (0, _defineProperty2.default)(_polyphone, "24377", "TD"), (0, _defineProperty2.default)(_polyphone, "24378", "QJ"), (0, _defineProperty2.default)(_polyphone, "24439", "PF"), (0, _defineProperty2.default)(_polyphone, "24554", "ZS"), (0, _defineProperty2.default)(_polyphone, "24683", "TD"), (0, _defineProperty2.default)(_polyphone, "24694", "WE"), (0, _defineProperty2.default)(_polyphone, "24733", "LK"), (0, _defineProperty2.default)(_polyphone, "24925", "TN"), (0, _defineProperty2.default)(_polyphone, "25094", "ZG"), (0, _defineProperty2.default)(_polyphone, "25100", "XQ"), (0, _defineProperty2.default)(_polyphone, "25103", "XH"), (0, _defineProperty2.default)(_polyphone, "25153", "PB"), (0, _defineProperty2.default)(_polyphone, "25170", "PB"), (0, _defineProperty2.default)(_polyphone, "25179", "KG"), (0, _defineProperty2.default)(_polyphone, "25203", "PB"), (0, _defineProperty2.default)(_polyphone, "25240", "ZS"), (0, _defineProperty2.default)(_polyphone, "25282", "FB"), (0, _defineProperty2.default)(_polyphone, "25303", "NA"), (0, _defineProperty2.default)(_polyphone, "25324", "KG"), (0, _defineProperty2.default)(_polyphone, "25341", "ZY"), (0, _defineProperty2.default)(_polyphone, "25373", "WZ"), (0, _defineProperty2.default)(_polyphone, "25375", "XJ"), (0, _defineProperty2.default)(_polyphone, "25384", "A"), (0, _defineProperty2.default)(_polyphone, "25457", "A"), (0, _defineProperty2.default)(_polyphone, "25528", "SD"), (0, _defineProperty2.default)(_polyphone, "25530", "SC"), (0, _defineProperty2.default)(_polyphone, "25552", "TD"), (0, _defineProperty2.default)(_polyphone, "25774", "ZC"), (0, _defineProperty2.default)(_polyphone, "25874", "ZC"), (0, _defineProperty2.default)(_polyphone, "26044", "YW"), (0, _defineProperty2.default)(_polyphone, "26080", "WM"), (0, _defineProperty2.default)(_polyphone, "26292", "PB"), (0, _defineProperty2.default)(_polyphone, "26333", "PB"), (0, _defineProperty2.default)(_polyphone, "26355", "ZY"), (0, _defineProperty2.default)(_polyphone, "26366", "CZ"), (0, _defineProperty2.default)(_polyphone, "26397", "ZC"), (0, _defineProperty2.default)(_polyphone, "26399", "QJ"), (0, _defineProperty2.default)(_polyphone, "26415", "ZS"), (0, _defineProperty2.default)(_polyphone, "26451", "SB"), (0, _defineProperty2.default)(_polyphone, "26526", "ZC"), (0, _defineProperty2.default)(_polyphone, "26552", "JG"), (0, _defineProperty2.default)(_polyphone, "26561", "TD"), (0, _defineProperty2.default)(_polyphone, "26588", "JG"), (0, _defineProperty2.default)(_polyphone, "26597", "CZ"), (0, _defineProperty2.default)(_polyphone, "26629", "ZS"), (0, _defineProperty2.default)(_polyphone, "26638", "YL"), (0, _defineProperty2.default)(_polyphone, "26646", "XQ"), (0, _defineProperty2.default)(_polyphone, "26653", "KG"), (0, _defineProperty2.default)(_polyphone, "26657", "XJ"), (0, _defineProperty2.default)(_polyphone, "26727", "HG"), (0, _defineProperty2.default)(_polyphone, "26894", "ZC"), (0, _defineProperty2.default)(_polyphone, "26937", "ZS"), (0, _defineProperty2.default)(_polyphone, "26946", "ZC"), (0, _defineProperty2.default)(_polyphone, "26999", "KJ"), (0, _defineProperty2.default)(_polyphone, "27099", "KJ"), (0, _defineProperty2.default)(_polyphone, "27449", "YQ"), (0, _defineProperty2.default)(_polyphone, "27481", "XS"), (0, _defineProperty2.default)(_polyphone, "27542", "ZS"), (0, _defineProperty2.default)(_polyphone, "27663", "ZS"), (0, _defineProperty2.default)(_polyphone, "27748", "TS"), (0, _defineProperty2.default)(_polyphone, "27784", "SC"), (0, _defineProperty2.default)(_polyphone, "27788", "ZD"), (0, _defineProperty2.default)(_polyphone, "27795", "TD"), (0, _defineProperty2.default)(_polyphone, "27812", "O"), (0, _defineProperty2.default)(_polyphone, "27850", "PB"), (0, _defineProperty2.default)(_polyphone, "27852", "MB"), (0, _defineProperty2.default)(_polyphone, "27895", "SL"), (0, _defineProperty2.default)(_polyphone, "27898", "PL"), (0, _defineProperty2.default)(_polyphone, "27973", "QJ"), (0, _defineProperty2.default)(_polyphone, "27981", "KH"), (0, _defineProperty2.default)(_polyphone, "27986", "HX"), (0, _defineProperty2.default)(_polyphone, "27994", "XJ"), (0, _defineProperty2.default)(_polyphone, "28044", "YC"), (0, _defineProperty2.default)(_polyphone, "28065", "WG"), (0, _defineProperty2.default)(_polyphone, "28177", "SM"), (0, _defineProperty2.default)(_polyphone, "28267", "QJ"), (0, _defineProperty2.default)(_polyphone, "28291", "KH"), (0, _defineProperty2.default)(_polyphone, "28337", "ZQ"), (0, _defineProperty2.default)(_polyphone, "28463", "TL"), (0, _defineProperty2.default)(_polyphone, "28548", "DC"), (0, _defineProperty2.default)(_polyphone, "28601", "TD"), (0, _defineProperty2.default)(_polyphone, "28689", "PB"), (0, _defineProperty2.default)(_polyphone, "28805", "JG"), (0, _defineProperty2.default)(_polyphone, "28820", "QG"), (0, _defineProperty2.default)(_polyphone, "28846", "PB"), (0, _defineProperty2.default)(_polyphone, "28952", "TD"), (0, _defineProperty2.default)(_polyphone, "28975", "ZC"), (0, _defineProperty2.default)(_polyphone, "29100", "A"), (0, _defineProperty2.default)(_polyphone, "29325", "QJ"), (0, _defineProperty2.default)(_polyphone, "29575", "SL"), (0, _defineProperty2.default)(_polyphone, "29602", "FB"), (0, _defineProperty2.default)(_polyphone, "30010", "TD"), (0, _defineProperty2.default)(_polyphone, "30044", "CX"), (0, _defineProperty2.default)(_polyphone, "30058", "PF"), (0, _defineProperty2.default)(_polyphone, "30091", "YSP"), (0, _defineProperty2.default)(_polyphone, "30111", "YN"), (0, _defineProperty2.default)(_polyphone, "30229", "XJ"), (0, _defineProperty2.default)(_polyphone, "30427", "SC"), (0, _defineProperty2.default)(_polyphone, "30465", "SX"), (0, _defineProperty2.default)(_polyphone, "30631", "YQ"), (0, _defineProperty2.default)(_polyphone, "30655", "QJ"), (0, _defineProperty2.default)(_polyphone, "30684", "QJG"), (0, _defineProperty2.default)(_polyphone, "30707", "SD"), (0, _defineProperty2.default)(_polyphone, "30729", "XH"), (0, _defineProperty2.default)(_polyphone, "30796", "LG"), (0, _defineProperty2.default)(_polyphone, "30917", "PB"), (0, _defineProperty2.default)(_polyphone, "31074", "NM"), (0, _defineProperty2.default)(_polyphone, "31085", "JZ"), (0, _defineProperty2.default)(_polyphone, "31109", "SC"), (0, _defineProperty2.default)(_polyphone, "31181", "ZC"), (0, _defineProperty2.default)(_polyphone, "31192", "MLB"), (0, _defineProperty2.default)(_polyphone, "31293", "JQ"), (0, _defineProperty2.default)(_polyphone, "31400", "YX"), (0, _defineProperty2.default)(_polyphone, "31584", "YJ"), (0, _defineProperty2.default)(_polyphone, "31896", "ZN"), (0, _defineProperty2.default)(_polyphone, "31909", "ZY"), (0, _defineProperty2.default)(_polyphone, "31995", "XJ"), (0, _defineProperty2.default)(_polyphone, "32321", "PF"), (0, _defineProperty2.default)(_polyphone, "32327", "ZY"), (0, _defineProperty2.default)(_polyphone, "32418", "HG"), (0, _defineProperty2.default)(_polyphone, "32420", "XQ"), (0, _defineProperty2.default)(_polyphone, "32421", "HG"), (0, _defineProperty2.default)(_polyphone, "32438", "LG"), (0, _defineProperty2.default)(_polyphone, "32473", "GJ"), (0, _defineProperty2.default)(_polyphone, "32488", "TD"), (0, _defineProperty2.default)(_polyphone, "32521", "QJ"), (0, _defineProperty2.default)(_polyphone, "32527", "PB"), (0, _defineProperty2.default)(_polyphone, "32562", "ZSQ"), (0, _defineProperty2.default)(_polyphone, "32564", "JZ"), (0, _defineProperty2.default)(_polyphone, "32735", "ZD"), (0, _defineProperty2.default)(_polyphone, "32793", "PB"), (0, _defineProperty2.default)(_polyphone, "33071", "PF"), (0, _defineProperty2.default)(_polyphone, "33098", "XL"), (0, _defineProperty2.default)(_polyphone, "33100", "YA"), (0, _defineProperty2.default)(_polyphone, "33152", "PB"), (0, _defineProperty2.default)(_polyphone, "33261", "CX"), (0, _defineProperty2.default)(_polyphone, "33324", "BP"), (0, _defineProperty2.default)(_polyphone, "33333", "TD"), (0, _defineProperty2.default)(_polyphone, "33406", "YA"), (0, _defineProperty2.default)(_polyphone, "33426", "WM"), (0, _defineProperty2.default)(_polyphone, "33432", "PB"), (0, _defineProperty2.default)(_polyphone, "33445", "JG"), (0, _defineProperty2.default)(_polyphone, "33486", "ZN"), (0, _defineProperty2.default)(_polyphone, "33493", "TS"), (0, _defineProperty2.default)(_polyphone, "33507", "QJ"), (0, _defineProperty2.default)(_polyphone, "33540", "QJ"), (0, _defineProperty2.default)(_polyphone, "33544", "ZC"), (0, _defineProperty2.default)(_polyphone, "33564", "XQ"), (0, _defineProperty2.default)(_polyphone, "33617", "YT"), (0, _defineProperty2.default)(_polyphone, "33632", "QJ"), (0, _defineProperty2.default)(_polyphone, "33636", "XH"), (0, _defineProperty2.default)(_polyphone, "33637", "YX"), (0, _defineProperty2.default)(_polyphone, "33694", "WG"), (0, _defineProperty2.default)(_polyphone, "33705", "PF"), (0, _defineProperty2.default)(_polyphone, "33728", "YW"), (0, _defineProperty2.default)(_polyphone, "33882", "SR"), (0, _defineProperty2.default)(_polyphone, "34067", "WM"), (0, _defineProperty2.default)(_polyphone, "34074", "YW"), (0, _defineProperty2.default)(_polyphone, "34121", "QJ"), (0, _defineProperty2.default)(_polyphone, "34255", "ZC"), (0, _defineProperty2.default)(_polyphone, "34259", "XL"), (0, _defineProperty2.default)(_polyphone, "34425", "JH"), (0, _defineProperty2.default)(_polyphone, "34430", "XH"), (0, _defineProperty2.default)(_polyphone, "34485", "KH"), (0, _defineProperty2.default)(_polyphone, "34503", "YS"), (0, _defineProperty2.default)(_polyphone, "34532", "HG"), (0, _defineProperty2.default)(_polyphone, "34552", "XS"), (0, _defineProperty2.default)(_polyphone, "34558", "YE"), (0, _defineProperty2.default)(_polyphone, "34593", "ZL"), (0, _defineProperty2.default)(_polyphone, "34660", "YQ"), (0, _defineProperty2.default)(_polyphone, "34892", "XH"), (0, _defineProperty2.default)(_polyphone, "34928", "SC"), (0, _defineProperty2.default)(_polyphone, "34999", "QJ"), (0, _defineProperty2.default)(_polyphone, "35048", "PB"), (0, _defineProperty2.default)(_polyphone, "35059", "SC"), (0, _defineProperty2.default)(_polyphone, "35098", "ZC"), (0, _defineProperty2.default)(_polyphone, "35203", "TQ"), (0, _defineProperty2.default)(_polyphone, "35265", "JX"), (0, _defineProperty2.default)(_polyphone, "35299", "JX"), (0, _defineProperty2.default)(_polyphone, "35782", "SZ"), (0, _defineProperty2.default)(_polyphone, "35828", "YS"), (0, _defineProperty2.default)(_polyphone, "35830", "E"), (0, _defineProperty2.default)(_polyphone, "35843", "TD"), (0, _defineProperty2.default)(_polyphone, "35895", "YG"), (0, _defineProperty2.default)(_polyphone, "35977", "MH"), (0, _defineProperty2.default)(_polyphone, "36158", "JG"), (0, _defineProperty2.default)(_polyphone, "36228", "QJ"), (0, _defineProperty2.default)(_polyphone, "36426", "XQ"), (0, _defineProperty2.default)(_polyphone, "36466", "DC"), (0, _defineProperty2.default)(_polyphone, "36710", "JC"), (0, _defineProperty2.default)(_polyphone, "36711", "ZYG"), (0, _defineProperty2.default)(_polyphone, "36767", "PB"), (0, _defineProperty2.default)(_polyphone, "36866", "SK"), (0, _defineProperty2.default)(_polyphone, "36951", "YW"), (0, _defineProperty2.default)(_polyphone, "37034", "YX"), (0, _defineProperty2.default)(_polyphone, "37063", "XH"), (0, _defineProperty2.default)(_polyphone, "37218", "ZC"), (0, _defineProperty2.default)(_polyphone, "37325", "ZC"), (0, _defineProperty2.default)(_polyphone, "38063", "PB"), (0, _defineProperty2.default)(_polyphone, "38079", "TD"), (0, _defineProperty2.default)(_polyphone, "38085", "QY"), (0, _defineProperty2.default)(_polyphone, "38107", "DC"), (0, _defineProperty2.default)(_polyphone, "38116", "TD"), (0, _defineProperty2.default)(_polyphone, "38123", "YD"), (0, _defineProperty2.default)(_polyphone, "38224", "HG"), (0, _defineProperty2.default)(_polyphone, "38241", "XTC"), (0, _defineProperty2.default)(_polyphone, "38271", "ZC"), (0, _defineProperty2.default)(_polyphone, "38415", "YE"), (0, _defineProperty2.default)(_polyphone, "38426", "KH"), (0, _defineProperty2.default)(_polyphone, "38461", "YD"), (0, _defineProperty2.default)(_polyphone, "38463", "AE"), (0, _defineProperty2.default)(_polyphone, "38466", "PB"), (0, _defineProperty2.default)(_polyphone, "38477", "XJ"), (0, _defineProperty2.default)(_polyphone, "38518", "YT"), (0, _defineProperty2.default)(_polyphone, "38551", "WK"), (0, _defineProperty2.default)(_polyphone, "38585", "ZC"), (0, _defineProperty2.default)(_polyphone, "38704", "XS"), (0, _defineProperty2.default)(_polyphone, "38739", "LJ"), (0, _defineProperty2.default)(_polyphone, "38761", "GJ"), (0, _defineProperty2.default)(_polyphone, "38808", "SQ"), (0, _defineProperty2.default)(_polyphone, "39048", "JG"), (0, _defineProperty2.default)(_polyphone, "39049", "XJ"), (0, _defineProperty2.default)(_polyphone, "39052", "HG"), (0, _defineProperty2.default)(_polyphone, "39076", "CZ"), (0, _defineProperty2.default)(_polyphone, "39271", "XT"), (0, _defineProperty2.default)(_polyphone, "39534", "TD"), (0, _defineProperty2.default)(_polyphone, "39552", "TD"), (0, _defineProperty2.default)(_polyphone, "39584", "PB"), (0, _defineProperty2.default)(_polyphone, "39647", "SB"), (0, _defineProperty2.default)(_polyphone, "39730", "LG"), (0, _defineProperty2.default)(_polyphone, "39748", "TPB"), (0, _defineProperty2.default)(_polyphone, "40109", "ZQ"), (0, _defineProperty2.default)(_polyphone, "40479", "ND"), (0, _defineProperty2.default)(_polyphone, "40516", "HG"), (0, _defineProperty2.default)(_polyphone, "40536", "HG"), (0, _defineProperty2.default)(_polyphone, "40583", "QJ"), (0, _defineProperty2.default)(_polyphone, "40765", "YQ"), (0, _defineProperty2.default)(_polyphone, "40784", "QJ"), (0, _defineProperty2.default)(_polyphone, "40840", "YK"), (0, _defineProperty2.default)(_polyphone, "40863", "QJG"), _polyphone)
  144. };
  145. //常用汉字按照汉字使用频率由低到高排序
  146. var pinyin_dict_notone = {
  147. "a": "阿啊呵腌嗄吖锕",
  148. "e": "额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭",
  149. "ai": "爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹",
  150. "ei": "诶",
  151. "xi": "系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰",
  152. "yi": "一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓",
  153. "an": "安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广",
  154. "han": "厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖",
  155. "ang": "昂仰盎肮",
  156. "ao": "奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱",
  157. "wa": "瓦挖娃洼袜蛙凹哇佤娲呙腽",
  158. "yu": "于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠",
  159. "niu": "牛纽扭钮拗妞忸狃",
  160. "o": "哦噢喔",
  161. "ba": "把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇",
  162. "pa": "怕帕爬扒趴琶啪葩耙杷钯筢",
  163. "pi": "被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴",
  164. "bi": "比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭",
  165. "bai": "百白败摆伯拜柏佰掰呗擘捭稗",
  166. "bo": "波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣",
  167. "bei": "北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾",
  168. "ban": "办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍",
  169. "pan": "判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬",
  170. "bin": "份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧",
  171. "bang": "帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡",
  172. "pang": "旁庞乓磅螃彷滂逄耪",
  173. "beng": "泵崩蚌蹦迸绷甭嘣甏堋",
  174. "bao": "报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹",
  175. "bu": "不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸",
  176. "pu": "普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤",
  177. "mian": "面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄",
  178. "po": "破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷",
  179. "fan": "反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔",
  180. "fu": "府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆",
  181. "ben": "本体奔苯笨夯贲锛畚坌",
  182. "feng": "风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪",
  183. "bian": "变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏",
  184. "pian": "便片篇偏骗翩扁骈胼蹁谝犏缏",
  185. "zhen": "镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈",
  186. "biao": "表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭",
  187. "piao": "票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵",
  188. "huo": "和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉",
  189. "bie": "别鳖憋瘪蹩",
  190. "min": "民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘",
  191. "fen": "分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼",
  192. "bing": "并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫",
  193. "geng": "更耕颈庚耿梗埂羹哽赓绠鲠",
  194. "fang": "方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫",
  195. "xian": "现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅",
  196. "fou": "不否缶",
  197. "ca": "拆擦嚓礤",
  198. "cha": "查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹",
  199. "cai": "才采财材菜彩裁蔡猜踩睬",
  200. "can": "参残餐灿惨蚕掺璨惭粲孱骖黪",
  201. "shen": "信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂",
  202. "cen": "参岑涔",
  203. "san": "三参散伞叁糁馓毵",
  204. "cang": "藏仓苍沧舱臧伧",
  205. "zang": "藏脏葬赃臧奘驵",
  206. "chen": "称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜",
  207. "cao": "草操曹槽糙嘈漕螬艚屮",
  208. "ce": "策测册侧厕栅恻",
  209. "ze": "责则泽择侧咋啧仄箦赜笮舴昃迮帻",
  210. "zhai": "债择齐宅寨侧摘窄斋祭翟砦瘵哜",
  211. "dao": "到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉",
  212. "ceng": "层曾蹭噌",
  213. "zha": "查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄",
  214. "chai": "差拆柴钗豺侪虿瘥",
  215. "ci": "次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢",
  216. "zi": "资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔",
  217. "cuo": "措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾",
  218. "chan": "产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁",
  219. "shan": "山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟",
  220. "zhan": "展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌",
  221. "xin": "新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡",
  222. "lian": "联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹",
  223. "chang": "场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯",
  224. "zhang": "长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜",
  225. "chao": "超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊",
  226. "zhao": "着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊",
  227. "zhou": "调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮",
  228. "che": "车彻撤尺扯澈掣坼砗屮",
  229. "ju": "车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵",
  230. "cheng": "成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨",
  231. "rong": "容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾",
  232. "sheng": "生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚",
  233. "deng": "等登邓灯澄凳瞪蹬噔磴嶝镫簦戥",
  234. "zhi": "制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬",
  235. "zheng": "政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲",
  236. "tang": "堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭",
  237. "chi": "持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺",
  238. "shi": "是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳",
  239. "qi": "企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞",
  240. "chuai": "揣踹啜搋膪",
  241. "tuo": "托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝",
  242. "duo": "多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳",
  243. "xue": "学血雪削薛穴靴谑噱鳕踅泶彐",
  244. "chong": "重种充冲涌崇虫宠忡憧舂茺铳艟",
  245. "chou": "筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱",
  246. "qiu": "求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗",
  247. "xiu": "修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅",
  248. "chu": "出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮",
  249. "tuan": "团揣湍疃抟彖",
  250. "zhui": "追坠缀揣椎锥赘惴隹骓缒",
  251. "chuan": "传川船穿串喘椽舛钏遄氚巛舡",
  252. "zhuan": "专转传赚砖撰篆馔啭颛",
  253. "yuan": "元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾",
  254. "cuan": "窜攒篡蹿撺爨汆镩",
  255. "chuang": "创床窗闯幢疮怆",
  256. "zhuang": "装状庄壮撞妆幢桩奘僮戆",
  257. "chui": "吹垂锤炊椎陲槌捶棰",
  258. "chun": "春纯醇淳唇椿蠢鹑朐莼肫蝽",
  259. "zhun": "准屯淳谆肫窀",
  260. "cu": "促趋趣粗簇醋卒蹴猝蹙蔟殂徂",
  261. "dun": "吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅",
  262. "qu": "区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲",
  263. "xu": "需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑",
  264. "chuo": "辍绰戳淖啜龊踔辶",
  265. "zu": "组族足祖租阻卒俎诅镞菹",
  266. "ji": "济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜",
  267. "cong": "从丛匆聪葱囱琮淙枞骢苁璁",
  268. "zong": "总从综宗纵踪棕粽鬃偬枞腙",
  269. "cou": "凑辏腠楱",
  270. "cui": "衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱",
  271. "wei": "为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎",
  272. "cun": "村存寸忖皴",
  273. "zuo": "作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙",
  274. "zuan": "钻纂攥缵躜",
  275. "da": "大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲",
  276. "dai": "大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨",
  277. "tai": "大台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱",
  278. "ta": "他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼",
  279. "dan": "但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕",
  280. "lu": "路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆",
  281. "tan": "谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬",
  282. "ren": "人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽",
  283. "jie": "家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱",
  284. "yan": "研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨",
  285. "dang": "当党档荡挡宕砀铛裆凼菪谠",
  286. "tao": "套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗",
  287. "tiao": "条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦",
  288. "te": "特忑忒铽慝",
  289. "de": "的地得德底锝",
  290. "dei": "得",
  291. "di": "的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌",
  292. "ti": "体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼",
  293. "tui": "推退弟腿褪颓蜕忒煺",
  294. "you": "有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑",
  295. "dian": "电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽",
  296. "tian": "天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭",
  297. "zhu": "主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰",
  298. "nian": "年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏",
  299. "diao": "调掉雕吊钓刁貂凋碉鲷叼铫铞",
  300. "yao": "要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧",
  301. "die": "跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀",
  302. "she": "设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠",
  303. "ye": "业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲",
  304. "xie": "些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞",
  305. "zhe": "这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫",
  306. "ding": "定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵",
  307. "diu": "丢铥",
  308. "ting": "听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛",
  309. "dong": "动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨",
  310. "tong": "同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼",
  311. "zhong": "中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂",
  312. "dou": "都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼",
  313. "du": "度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑",
  314. "duan": "断段短端锻缎煅椴簖",
  315. "dui": "对队追敦兑堆碓镦怼憝",
  316. "rui": "瑞兑锐睿芮蕊蕤蚋枘",
  317. "yue": "月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖",
  318. "tun": "吞屯囤褪豚臀饨暾氽",
  319. "hui": "会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕",
  320. "wu": "务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢",
  321. "ya": "亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑",
  322. "he": "和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍",
  323. "wo": "我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪",
  324. "en": "恩摁蒽",
  325. "n": "嗯唔",
  326. "er": "而二尔儿耳迩饵洱贰铒珥佴鸸鲕",
  327. "fa": "发法罚乏伐阀筏砝垡珐",
  328. "quan": "全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎",
  329. "fei": "费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄",
  330. "pei": "配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫",
  331. "ping": "平评凭瓶冯屏萍苹乒坪枰娉俜鲆",
  332. "fo": "佛",
  333. "hu": "和护许户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷",
  334. "ga": "夹咖嘎尬噶旮伽尕钆尜",
  335. "ge": "个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼",
  336. "ha": "哈蛤铪",
  337. "xia": "下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙",
  338. "gai": "改该盖概溉钙丐芥赅垓陔戤",
  339. "hai": "海还害孩亥咳骸骇氦嗨胲醢",
  340. "gan": "干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉",
  341. "gang": "港钢刚岗纲冈杠缸扛肛罡戆筻",
  342. "jiang": "将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩",
  343. "hang": "行航杭巷夯吭桁沆绗颃",
  344. "gong": "工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾",
  345. "hong": "红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨",
  346. "guang": "广光逛潢犷胱咣桄",
  347. "qiong": "穷琼穹邛茕筇跫蛩銎",
  348. "gao": "高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔",
  349. "hao": "好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆",
  350. "li": "理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹",
  351. "jia": "家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿",
  352. "luo": "落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃",
  353. "ke": "可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞",
  354. "qia": "卡恰洽掐髂袷咭葜",
  355. "gei": "给",
  356. "gen": "根跟亘艮哏茛",
  357. "hen": "很狠恨痕哏",
  358. "gou": "构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘",
  359. "kou": "口扣寇叩抠佝蔻芤眍筘",
  360. "gu": "股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴",
  361. "pai": "牌排派拍迫徘湃俳哌蒎",
  362. "gua": "括挂瓜刮寡卦呱褂剐胍诖鸹栝呙",
  363. "tou": "投头透偷愉骰亠",
  364. "guai": "怪拐乖",
  365. "kuai": "会快块筷脍蒯侩浍郐蒉狯哙",
  366. "guan": "关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫",
  367. "wan": "万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢",
  368. "ne": "呢哪呐讷疒",
  369. "gui": "规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦",
  370. "jun": "军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃",
  371. "jiong": "窘炯迥炅冂扃",
  372. "jue": "决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝",
  373. "gun": "滚棍辊衮磙鲧绲丨",
  374. "hun": "婚混魂浑昏棍珲荤馄诨溷阍",
  375. "guo": "国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘",
  376. "hei": "黑嘿嗨",
  377. "kan": "看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰",
  378. "heng": "衡横恒亨哼珩桁蘅",
  379. "mo": "万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘",
  380. "peng": "鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋",
  381. "hou": "后候厚侯猴喉吼逅篌糇骺後鲎瘊堠",
  382. "hua": "化华划话花画滑哗豁骅桦猾铧砉",
  383. "huai": "怀坏淮徊槐踝",
  384. "huan": "还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐",
  385. "xun": "讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯",
  386. "huang": "黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀",
  387. "nai": "能乃奶耐奈鼐萘氖柰佴艿",
  388. "luan": "乱卵滦峦鸾栾銮挛孪脔娈",
  389. "qie": "切且契窃茄砌锲怯伽惬妾趄挈郄箧慊",
  390. "jian": "建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗",
  391. "nan": "南难男楠喃囡赧腩囝蝻",
  392. "qian": "前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠",
  393. "qiang": "强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣",
  394. "xiang": "向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓",
  395. "jiao": "教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫",
  396. "zhuo": "着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚",
  397. "qiao": "桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲",
  398. "xiao": "小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈",
  399. "si": "司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕",
  400. "kai": "开凯慨岂楷恺揩锴铠忾垲剀锎蒈",
  401. "jin": "进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺",
  402. "qin": "亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓",
  403. "jing": "经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍",
  404. "ying": "应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆",
  405. "jiu": "就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏",
  406. "zui": "最罪嘴醉咀蕞觜",
  407. "juan": "卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊",
  408. "suan": "算酸蒜狻",
  409. "yun": "员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁",
  410. "qun": "群裙逡麇",
  411. "ka": "卡喀咖咔咯佧胩",
  412. "kang": "康抗扛慷炕亢糠伉钪闶",
  413. "keng": "坑铿吭",
  414. "kao": "考靠烤拷铐栲尻犒",
  415. "ken": "肯垦恳啃龈裉",
  416. "yin": "因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙",
  417. "kong": "空控孔恐倥崆箜",
  418. "ku": "苦库哭酷裤枯窟挎骷堀绔刳喾",
  419. "kua": "跨夸垮挎胯侉",
  420. "kui": "亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰",
  421. "kuan": "款宽髋",
  422. "kuang": "况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩",
  423. "que": "确却缺雀鹊阙瘸榷炔阕悫",
  424. "kun": "困昆坤捆琨锟鲲醌髡悃阃",
  425. "kuo": "扩括阔廓蛞",
  426. "la": "拉落垃腊啦辣蜡喇剌旯砬邋瘌",
  427. "lai": "来莱赖睐徕籁涞赉濑癞崃疠铼",
  428. "lan": "兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤",
  429. "lin": "林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔",
  430. "lang": "浪朗郎廊狼琅榔螂阆锒莨啷蒗稂",
  431. "liang": "量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚",
  432. "lao": "老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢",
  433. "mu": "目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶",
  434. "le": "了乐勒肋叻鳓嘞仂泐",
  435. "lei": "类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑",
  436. "sui": "随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽",
  437. "lie": "列烈劣裂猎冽咧趔洌鬣埒捩躐",
  438. "leng": "冷愣棱楞塄",
  439. "ling": "领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃",
  440. "lia": "俩",
  441. "liao": "了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩",
  442. "liu": "流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍",
  443. "lun": "论轮伦仑纶沦抡囵",
  444. "lv": "率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆",
  445. "lou": "楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌",
  446. "mao": "贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀",
  447. "long": "龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃",
  448. "nong": "农浓弄脓侬哝",
  449. "shuang": "双爽霜孀泷",
  450. "shu": "术书数属树输束述署朱熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅",
  451. "shuai": "率衰帅摔甩蟀",
  452. "lve": "略掠锊",
  453. "ma": "么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩",
  454. "me": "么麽",
  455. "mai": "买卖麦迈脉埋霾荬劢",
  456. "man": "满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔",
  457. "mi": "米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉",
  458. "men": "们门闷瞒汶扪焖懑鞔钔",
  459. "mang": "忙盲茫芒氓莽蟒邙硭漭",
  460. "meng": "蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞",
  461. "miao": "苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵",
  462. "mou": "某谋牟缪眸哞鍪蛑侔厶",
  463. "miu": "缪谬",
  464. "mei": "美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛",
  465. "wen": "文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌",
  466. "mie": "灭蔑篾乜咩蠛",
  467. "ming": "明名命鸣铭冥茗溟酩瞑螟暝",
  468. "na": "内南那纳拿哪娜钠呐捺衲镎肭",
  469. "nei": "内那哪馁",
  470. "nuo": "难诺挪娜糯懦傩喏搦锘",
  471. "ruo": "若弱偌箬",
  472. "nang": "囊馕囔曩攮",
  473. "nao": "脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲",
  474. "ni": "你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊",
  475. "nen": "嫩恁",
  476. "neng": "能",
  477. "nin": "您恁",
  478. "niao": "鸟尿溺袅脲茑嬲",
  479. "nie": "摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧",
  480. "niang": "娘酿",
  481. "ning": "宁凝拧泞柠咛狞佞聍甯",
  482. "nu": "努怒奴弩驽帑孥胬",
  483. "nv": "女钕衄恧",
  484. "ru": "入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐",
  485. "nuan": "暖",
  486. "nve": "虐疟",
  487. "re": "热若惹喏",
  488. "ou": "区欧偶殴呕禺藕讴鸥瓯沤耦怄",
  489. "pao": "跑炮泡抛刨袍咆疱庖狍匏脬",
  490. "pou": "剖掊裒",
  491. "pen": "喷盆湓",
  492. "pie": "瞥撇苤氕丿",
  493. "pin": "品贫聘频拼拚颦姘嫔榀牝",
  494. "se": "色塞瑟涩啬穑铯槭",
  495. "qing": "情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦",
  496. "zan": "赞暂攒堑昝簪糌瓒錾趱拶",
  497. "shao": "少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲",
  498. "sao": "扫骚嫂梢缫搔瘙臊埽缲鳋",
  499. "sha": "沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃",
  500. "xuan": "县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇",
  501. "ran": "然染燃冉苒髯蚺",
  502. "rang": "让壤攘嚷瓤穰禳",
  503. "rao": "绕扰饶娆桡荛",
  504. "reng": "仍扔",
  505. "ri": "日",
  506. "rou": "肉柔揉糅鞣蹂",
  507. "ruan": "软阮朊",
  508. "run": "润闰",
  509. "sa": "萨洒撒飒卅仨脎",
  510. "suo": "所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃",
  511. "sai": "思赛塞腮噻鳃",
  512. "shui": "说水税谁睡氵",
  513. "sang": "桑丧嗓搡颡磉",
  514. "sen": "森",
  515. "seng": "僧",
  516. "shai": "筛晒",
  517. "shang": "上商尚伤赏汤裳墒晌垧觞殇熵绱",
  518. "xing": "行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎",
  519. "shou": "收手受首售授守寿瘦兽狩绶艏扌",
  520. "shuo": "说数硕烁朔铄妁槊蒴搠",
  521. "su": "速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫",
  522. "shua": "刷耍唰",
  523. "shuan": "栓拴涮闩",
  524. "shun": "顺瞬舜吮",
  525. "song": "送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘",
  526. "sou": "艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍",
  527. "sun": "损孙笋荪榫隼狲飧",
  528. "teng": "腾疼藤滕誊",
  529. "tie": "铁贴帖餮萜",
  530. "tu": "土突图途徒涂吐屠兔秃凸荼钍菟堍酴",
  531. "wai": "外歪崴",
  532. "wang": "王望往网忘亡旺汪枉妄惘罔辋魍",
  533. "weng": "翁嗡瓮蓊蕹",
  534. "zhua": "抓挝爪",
  535. "yang": "样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘",
  536. "xiong": "雄兄熊胸凶匈汹芎",
  537. "yo": "哟唷",
  538. "yong": "用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁",
  539. "za": "杂扎咱砸咋匝咂拶",
  540. "zai": "在再灾载栽仔宰哉崽甾",
  541. "zao": "造早遭枣噪灶燥糟凿躁藻皂澡蚤唣",
  542. "zei": "贼",
  543. "zen": "怎谮",
  544. "zeng": "增曾综赠憎锃甑罾缯",
  545. "zhei": "这",
  546. "zou": "走邹奏揍诹驺陬楱鄹鲰",
  547. "zhuai": "转拽",
  548. "zun": "尊遵鳟樽撙",
  549. "dia": "嗲",
  550. "nou": "耨"
  551. };
  552. exports.pinyin_dict_notone = pinyin_dict_notone;
  553. var pinyinUtil = {
  554. //加载字典
  555. parseDict: function parseDict() {
  556. dict.firstletter = pinyin_dict_firstletter;
  557. dict.notone = {};
  558. dict.py2hz = pinyin_dict_notone;
  559. for (var i in pinyin_dict_notone) {
  560. var temp = pinyin_dict_notone[i];
  561. for (var j = 0, len = temp.length; j < len; j++) {
  562. dict.notone[temp[j]] = i;
  563. }
  564. }
  565. },
  566. //根据汉字获取拼音,如果不是汉字直接返回原字符
  567. getPinyin: function getPinyin(chinese, splitter, withtone, polyphone) {
  568. if (!chinese || /^ +$/g.test(chinese)) return '';
  569. splitter = splitter == undefined ? '' : splitter;
  570. withtone = withtone == undefined ? false : withtone;
  571. polyphone = polyphone == undefined ? false : polyphone;
  572. var result = [];
  573. if (dict.withtone) {
  574. // 优先使用带声调的字典文件
  575. for (var i = 0, len = chinese.length; i < len; i++) {
  576. var pinyin = dict.withtone[chinese[i]];
  577. if (pinyin) {
  578. if (!polyphone) pinyin = pinyin.replace(/ .*$/g, ''); // 如果不需要多音字
  579. if (!withtone) pinyin = this.removeTone(pinyin); // 如果不需要声调
  580. }
  581. result.push(pinyin || chinese[i]);
  582. }
  583. } else if (dict.notone) {
  584. // 使用没有声调的字典文件
  585. if (withtone) console.warn('pinyin_dict_notone 字典文件不支持声调!');
  586. if (polyphone) console.warn('pinyin_dict_notone 字典文件不支持多音字!');
  587. for (var i = 0, len = chinese.length; i < len; i++) {
  588. var temp = chinese.charAt(i);
  589. if (dict.notone[temp]) dict.notone[temp] = dict.notone[temp].substring(0, 1).toUpperCase() + dict.notone[temp].substring(1);
  590. result.push(dict.notone[temp] || temp);
  591. }
  592. } else {
  593. throw '抱歉,未找到合适的拼音字典文件!';
  594. }
  595. if (!polyphone) return result.join(splitter);else {
  596. if (window.pinyin_dict_polyphone) return parsePolyphone(chinese, result, splitter, withtone);else return handlePolyphone(result, ' ', splitter);
  597. }
  598. },
  599. //获取汉字的拼音首字母
  600. getFirstLetter: function getFirstLetter(str, polyphone) {
  601. polyphone = polyphone == undefined ? false : polyphone;
  602. if (!str || /^ +$/g.test(str)) return '';
  603. if (dict.firstletter)
  604. // 使用首字母字典文件
  605. {
  606. var result = [];
  607. for (var i = 0; i < str.length; i++) {
  608. var unicode = str.charCodeAt(i);
  609. var ch = str.charAt(i);
  610. if (unicode >= 19968 && unicode <= 40869) {
  611. ch = dict.firstletter.all.charAt(unicode - 19968);
  612. if (polyphone) ch = dict.firstletter.polyphone[unicode] || ch;
  613. }
  614. result.push(ch);
  615. }
  616. if (!polyphone) return result.join(''); // 如果不用管多音字,直接将数组拼接成字符串
  617. else return handlePolyphone(result, '', ''); // 处理多音字,此时的result类似于:['D', 'ZC', 'F']
  618. } else {
  619. var py = this.getPinyin(str, ' ', false, polyphone);
  620. py = py instanceof Array ? py : [py];
  621. var result = [];
  622. for (var i = 0; i < py.length; i++) {
  623. result.push(py[i].replace(/(^| )(\w)\w*/g, function (m, $1, $2) {
  624. return $2.toUpperCase();
  625. }));
  626. }
  627. if (!polyphone) return result[0];else return simpleUnique(result);
  628. }
  629. },
  630. //拼音转汉字,只支持单个汉字,返回所有匹配的汉字组合
  631. getHanzi: function getHanzi(pinyin) {
  632. if (!dict.py2hz) {
  633. throw '抱歉,未找到合适的拼音字典文件!';
  634. }
  635. return dict.py2hz[pinyin] || '';
  636. },
  637. //去除拼音中的声调,比如将 xiǎo míng tóng xué 转换成 xiao ming tong xue
  638. removeTone: function removeTone(pinyin) {
  639. var toneMap = {
  640. "ā": "a1",
  641. "á": "a2",
  642. "ǎ": "a3",
  643. "à": "a4",
  644. "ō": "o1",
  645. "ó": "o2",
  646. "ǒ": "o3",
  647. "ò": "o4",
  648. "ē": "e1",
  649. "é": "e2",
  650. "ě": "e3",
  651. "è": "e4",
  652. "ī": "i1",
  653. "í": "i2",
  654. "ǐ": "i3",
  655. "ì": "i4",
  656. "ū": "u1",
  657. "ú": "u2",
  658. "ǔ": "u3",
  659. "ù": "u4",
  660. "ü": "v0",
  661. "ǖ": "v1",
  662. "ǘ": "v2",
  663. "ǚ": "v3",
  664. "ǜ": "v4",
  665. "ń": "n2",
  666. "ň": "n3",
  667. "": "m2"
  668. };
  669. return pinyin.replace(/[āáǎàōóǒòēéěèīíǐìūúǔùüǖǘǚǜńň]/g, function (m) {
  670. return toneMap[m][0];
  671. });
  672. }
  673. };
  674. //处理多音字, 将类似['D', 'ZC', 'F'] 转换成['DZF', 'DCF']
  675. exports.pinyinUtil = pinyinUtil;
  676. function handlePolyphone(array, splitter, joinChar) {
  677. splitter = splitter || '';
  678. var result = [''],
  679. temp = [];
  680. for (var i = 0; i < array.length; i++) {
  681. temp = [];
  682. var t = array[i].split(splitter);
  683. for (var j = 0; j < t.length; j++) {
  684. for (var k = 0; k < result.length; k++) {
  685. temp.push(result[k] + (result[k] ? joinChar : '') + t[j]);
  686. }
  687. }
  688. result = temp;
  689. }
  690. return simpleUnique(result);
  691. }
  692. //根据词库找出多音字正确的读音
  693. function parsePolyphone(chinese, result, splitter, withtone) {
  694. var poly = window.pinyin_dict_polyphone;
  695. var max = 7; // 最多只考虑7个汉字的多音字词,虽然词库里面有10个字的,但是数量非常少,为了整体效率暂时忽略之
  696. var temp = poly[chinese];
  697. if (temp)
  698. // 如果直接找到了结果
  699. {
  700. temp = temp.split(' ');
  701. for (var i = 0; i < temp.length; i++) {
  702. result[i] = temp[i] || result[i];
  703. if (!withtone) result[i] = pinyinUtil.removeTone(result[i]);
  704. }
  705. return result.join(splitter);
  706. }
  707. for (var i = 0; i < chinese.length; i++) {
  708. temp = '';
  709. for (var j = 0; j < max && i + j < chinese.length; j++) {
  710. if (!/^[\u2E80-\u9FFF]+$/.test(chinese[i + j])) break; // 如果碰到非汉字直接停止本次查找
  711. temp += chinese[i + j];
  712. var res = poly[temp];
  713. if (res)
  714. // 如果找到了多音字词语
  715. {
  716. res = res.split(' ');
  717. for (var k = 0; k <= j; k++) {
  718. if (res[k]) result[i + k] = withtone ? res[k] : pinyinUtil.removeTone(res[k]);
  719. }
  720. break;
  721. }
  722. }
  723. }
  724. // 最后这一步是为了防止出现词库里面也没有包含的多音字词语
  725. for (var i = 0; i < result.length; i++) {
  726. result[i] = result[i].replace(/ .*$/g, '');
  727. }
  728. return result.join(splitter);
  729. }
  730. // 数组去重
  731. function simpleUnique(array) {
  732. var result = [];
  733. var hash = {};
  734. for (var i = 0; i < array.length; i++) {
  735. var key = (0, _typeof2.default)(array[i]) + array[i];
  736. if (!hash[key]) {
  737. result.push(array[i]);
  738. hash[key] = true;
  739. }
  740. }
  741. return result;
  742. }
  743. pinyinUtil.parseDict();
  744. pinyinUtil.dict = dict;
  745. module.exports = {
  746. pinyinUtil: pinyinUtil
  747. };
  748. /***/ }),
  749. /***/ 101:
  750. /*!*******************************************************************************!*\
  751. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/indexAnchor.js ***!
  752. \*******************************************************************************/
  753. /*! no static exports found */
  754. /***/ (function(module, exports, __webpack_require__) {
  755. "use strict";
  756. Object.defineProperty(exports, "__esModule", {
  757. value: true
  758. });
  759. exports.default = void 0;
  760. /*
  761. * @Author : LQ
  762. * @Description :
  763. * @version : 1.0
  764. * @Date : 2021-08-20 16:44:21
  765. * @LastAuthor : LQ
  766. * @lastTime : 2021-08-20 17:13:15
  767. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexAnchor.js
  768. */
  769. var _default = {
  770. // indexAnchor 组件
  771. indexAnchor: {
  772. text: '',
  773. color: '#606266',
  774. size: 14,
  775. bgColor: '#dedede',
  776. height: 32
  777. }
  778. };
  779. exports.default = _default;
  780. /***/ }),
  781. /***/ 1012:
  782. /*!********************************************************************************!*\
  783. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-radio-group/props.js ***!
  784. \********************************************************************************/
  785. /*! no static exports found */
  786. /***/ (function(module, exports, __webpack_require__) {
  787. "use strict";
  788. /* WEBPACK VAR INJECTION */(function(uni) {
  789. Object.defineProperty(exports, "__esModule", {
  790. value: true
  791. });
  792. exports.default = void 0;
  793. var _default = {
  794. props: {
  795. // 绑定的值
  796. value: {
  797. type: [String, Number, Boolean],
  798. default: uni.$u.props.radioGroup.value
  799. },
  800. // 是否禁用全部radio
  801. disabled: {
  802. type: Boolean,
  803. default: uni.$u.props.radioGroup.disabled
  804. },
  805. // 形状,circle-圆形,square-方形
  806. shape: {
  807. type: String,
  808. default: uni.$u.props.radioGroup.shape
  809. },
  810. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  811. activeColor: {
  812. type: String,
  813. default: uni.$u.props.radioGroup.activeColor
  814. },
  815. // 未选中的颜色
  816. inactiveColor: {
  817. type: String,
  818. default: uni.$u.props.radioGroup.inactiveColor
  819. },
  820. // 标识符
  821. name: {
  822. type: String,
  823. default: uni.$u.props.radioGroup.name
  824. },
  825. // 整个组件的尺寸,默认px
  826. size: {
  827. type: [String, Number],
  828. default: uni.$u.props.radioGroup.size
  829. },
  830. // 布局方式,row-横向,column-纵向
  831. placement: {
  832. type: String,
  833. default: uni.$u.props.radioGroup.placement
  834. },
  835. // label的文本
  836. label: {
  837. type: [String],
  838. default: uni.$u.props.radioGroup.label
  839. },
  840. // label的颜色 (默认 '#303133' )
  841. labelColor: {
  842. type: [String],
  843. default: uni.$u.props.radioGroup.labelColor
  844. },
  845. // label的字体大小,px单位
  846. labelSize: {
  847. type: [String, Number],
  848. default: uni.$u.props.radioGroup.labelSize
  849. },
  850. // 是否禁止点击文本操作checkbox(默认 false )
  851. labelDisabled: {
  852. type: Boolean,
  853. default: uni.$u.props.radioGroup.labelDisabled
  854. },
  855. // 图标颜色
  856. iconColor: {
  857. type: String,
  858. default: uni.$u.props.radioGroup.iconColor
  859. },
  860. // 图标的大小,单位px
  861. iconSize: {
  862. type: [String, Number],
  863. default: uni.$u.props.radioGroup.iconSize
  864. },
  865. // 竖向配列时,是否显示下划线
  866. borderBottom: {
  867. type: Boolean,
  868. default: uni.$u.props.radioGroup.borderBottom
  869. },
  870. // 图标与文字的对齐方式
  871. iconPlacement: {
  872. type: String,
  873. default: uni.$u.props.radio.iconPlacement
  874. }
  875. }
  876. };
  877. exports.default = _default;
  878. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  879. /***/ }),
  880. /***/ 102:
  881. /*!*****************************************************************************!*\
  882. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/indexList.js ***!
  883. \*****************************************************************************/
  884. /*! no static exports found */
  885. /***/ (function(module, exports, __webpack_require__) {
  886. "use strict";
  887. Object.defineProperty(exports, "__esModule", {
  888. value: true
  889. });
  890. exports.default = void 0;
  891. /*
  892. * @Author : LQ
  893. * @Description :
  894. * @version : 1.0
  895. * @Date : 2021-08-20 16:44:21
  896. * @LastAuthor : LQ
  897. * @lastTime : 2021-08-20 17:13:35
  898. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexList.js
  899. */
  900. var _default = {
  901. // indexList 组件
  902. indexList: {
  903. inactiveColor: '#606266',
  904. activeColor: '#5677fc',
  905. indexList: function indexList() {
  906. return [];
  907. },
  908. sticky: true,
  909. customNavHeight: 0
  910. }
  911. };
  912. exports.default = _default;
  913. /***/ }),
  914. /***/ 1020:
  915. /*!**************************************************************************!*\
  916. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-radio/props.js ***!
  917. \**************************************************************************/
  918. /*! no static exports found */
  919. /***/ (function(module, exports, __webpack_require__) {
  920. "use strict";
  921. /* WEBPACK VAR INJECTION */(function(uni) {
  922. Object.defineProperty(exports, "__esModule", {
  923. value: true
  924. });
  925. exports.default = void 0;
  926. var _default = {
  927. props: {
  928. // radio的名称
  929. name: {
  930. type: [String, Number, Boolean],
  931. default: uni.$u.props.radio.name
  932. },
  933. // 形状,square为方形,circle为圆型
  934. shape: {
  935. type: String,
  936. default: uni.$u.props.radio.shape
  937. },
  938. // 是否禁用
  939. disabled: {
  940. type: [String, Boolean],
  941. default: uni.$u.props.radio.disabled
  942. },
  943. // 是否禁止点击提示语选中单选框
  944. labelDisabled: {
  945. type: [String, Boolean],
  946. default: uni.$u.props.radio.labelDisabled
  947. },
  948. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  949. activeColor: {
  950. type: String,
  951. default: uni.$u.props.radio.activeColor
  952. },
  953. // 未选中的颜色
  954. inactiveColor: {
  955. type: String,
  956. default: uni.$u.props.radio.inactiveColor
  957. },
  958. // 图标的大小,单位px
  959. iconSize: {
  960. type: [String, Number],
  961. default: uni.$u.props.radio.iconSize
  962. },
  963. // label的字体大小,px单位
  964. labelSize: {
  965. type: [String, Number],
  966. default: uni.$u.props.radio.labelSize
  967. },
  968. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  969. label: {
  970. type: [String, Number],
  971. default: uni.$u.props.radio.label
  972. },
  973. // 整体的大小
  974. size: {
  975. type: [String, Number],
  976. default: uni.$u.props.radio.size
  977. },
  978. // 图标颜色
  979. color: {
  980. type: String,
  981. default: uni.$u.props.radio.color
  982. },
  983. // label的颜色
  984. labelColor: {
  985. type: String,
  986. default: uni.$u.props.radio.labelColor
  987. }
  988. }
  989. };
  990. exports.default = _default;
  991. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  992. /***/ }),
  993. /***/ 1028:
  994. /*!***************************************************************************!*\
  995. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-search/props.js ***!
  996. \***************************************************************************/
  997. /*! no static exports found */
  998. /***/ (function(module, exports, __webpack_require__) {
  999. "use strict";
  1000. /* WEBPACK VAR INJECTION */(function(uni) {
  1001. Object.defineProperty(exports, "__esModule", {
  1002. value: true
  1003. });
  1004. exports.default = void 0;
  1005. var _default = {
  1006. props: {
  1007. // 搜索框形状,round-圆形,square-方形
  1008. shape: {
  1009. type: String,
  1010. default: uni.$u.props.search.shape
  1011. },
  1012. // 搜索框背景色,默认值#f2f2f2
  1013. bgColor: {
  1014. type: String,
  1015. default: uni.$u.props.search.bgColor
  1016. },
  1017. // 占位提示文字
  1018. placeholder: {
  1019. type: String,
  1020. default: uni.$u.props.search.placeholder
  1021. },
  1022. // 是否启用清除控件
  1023. clearabled: {
  1024. type: Boolean,
  1025. default: uni.$u.props.search.clearabled
  1026. },
  1027. // 是否自动聚焦
  1028. focus: {
  1029. type: Boolean,
  1030. default: uni.$u.props.search.focus
  1031. },
  1032. // 是否在搜索框右侧显示取消按钮
  1033. showAction: {
  1034. type: Boolean,
  1035. default: uni.$u.props.search.showAction
  1036. },
  1037. // 右边控件的样式
  1038. actionStyle: {
  1039. type: Object,
  1040. default: uni.$u.props.search.actionStyle
  1041. },
  1042. // 取消按钮文字
  1043. actionText: {
  1044. type: String,
  1045. default: uni.$u.props.search.actionText
  1046. },
  1047. // 输入框内容对齐方式,可选值为 left|center|right
  1048. inputAlign: {
  1049. type: String,
  1050. default: uni.$u.props.search.inputAlign
  1051. },
  1052. // input输入框的样式,可以定义文字颜色,大小等,对象形式
  1053. inputStyle: {
  1054. type: Object,
  1055. default: uni.$u.props.search.inputStyle
  1056. },
  1057. // 是否启用输入框
  1058. disabled: {
  1059. type: Boolean,
  1060. default: uni.$u.props.search.disabled
  1061. },
  1062. // 边框颜色
  1063. borderColor: {
  1064. type: String,
  1065. default: uni.$u.props.search.borderColor
  1066. },
  1067. // 搜索图标的颜色,默认同输入框字体颜色
  1068. searchIconColor: {
  1069. type: String,
  1070. default: uni.$u.props.search.searchIconColor
  1071. },
  1072. // 输入框字体颜色
  1073. color: {
  1074. type: String,
  1075. default: uni.$u.props.search.color
  1076. },
  1077. // placeholder的颜色
  1078. placeholderColor: {
  1079. type: String,
  1080. default: uni.$u.props.search.placeholderColor
  1081. },
  1082. // 左边输入框的图标,可以为uView图标名称或图片路径
  1083. searchIcon: {
  1084. type: String,
  1085. default: uni.$u.props.search.searchIcon
  1086. },
  1087. searchIconSize: {
  1088. type: [Number, String],
  1089. default: uni.$u.props.search.searchIconSize
  1090. },
  1091. // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
  1092. margin: {
  1093. type: String,
  1094. default: uni.$u.props.search.margin
  1095. },
  1096. // 开启showAction时,是否在input获取焦点时才显示
  1097. animation: {
  1098. type: Boolean,
  1099. default: uni.$u.props.search.animation
  1100. },
  1101. // 输入框的初始化内容
  1102. value: {
  1103. type: String,
  1104. default: uni.$u.props.search.value
  1105. },
  1106. // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
  1107. maxlength: {
  1108. type: [String, Number],
  1109. default: uni.$u.props.search.maxlength
  1110. },
  1111. // 搜索框高度,单位px
  1112. height: {
  1113. type: [String, Number],
  1114. default: uni.$u.props.search.height
  1115. },
  1116. // 搜索框左侧文本
  1117. label: {
  1118. type: [String, Number, null],
  1119. default: uni.$u.props.search.label
  1120. }
  1121. }
  1122. };
  1123. exports.default = _default;
  1124. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1125. /***/ }),
  1126. /***/ 103:
  1127. /*!*************************************************************************!*\
  1128. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/input.js ***!
  1129. \*************************************************************************/
  1130. /*! no static exports found */
  1131. /***/ (function(module, exports, __webpack_require__) {
  1132. "use strict";
  1133. Object.defineProperty(exports, "__esModule", {
  1134. value: true
  1135. });
  1136. exports.default = void 0;
  1137. /*
  1138. * @Author : LQ
  1139. * @Description :
  1140. * @version : 1.0
  1141. * @Date : 2021-08-20 16:44:21
  1142. * @LastAuthor : LQ
  1143. * @lastTime : 2021-08-20 17:13:55
  1144. * @FilePath : /u-view2.0/uview-ui/libs/config/props/input.js
  1145. */
  1146. var _default = {
  1147. // index 组件
  1148. input: {
  1149. value: '',
  1150. type: 'text',
  1151. fixed: false,
  1152. disabled: false,
  1153. disabledColor: '#f5f7fa',
  1154. clearable: false,
  1155. password: false,
  1156. maxlength: -1,
  1157. placeholder: null,
  1158. placeholderClass: 'input-placeholder',
  1159. placeholderStyle: 'color: #c0c4cc',
  1160. showWordLimit: false,
  1161. confirmType: 'done',
  1162. confirmHold: false,
  1163. holdKeyboard: false,
  1164. focus: false,
  1165. autoBlur: false,
  1166. disableDefaultPadding: false,
  1167. cursor: -1,
  1168. cursorSpacing: 30,
  1169. selectionStart: -1,
  1170. selectionEnd: -1,
  1171. adjustPosition: true,
  1172. inputAlign: 'left',
  1173. fontSize: '15px',
  1174. color: '#303133',
  1175. prefixIcon: '',
  1176. prefixIconStyle: '',
  1177. suffixIcon: '',
  1178. suffixIconStyle: '',
  1179. border: 'surround',
  1180. readonly: false,
  1181. shape: 'square',
  1182. formatter: null
  1183. }
  1184. };
  1185. exports.default = _default;
  1186. /***/ }),
  1187. /***/ 104:
  1188. /*!****************************************************************************!*\
  1189. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/keyboard.js ***!
  1190. \****************************************************************************/
  1191. /*! no static exports found */
  1192. /***/ (function(module, exports, __webpack_require__) {
  1193. "use strict";
  1194. Object.defineProperty(exports, "__esModule", {
  1195. value: true
  1196. });
  1197. exports.default = void 0;
  1198. /*
  1199. * @Author : LQ
  1200. * @Description :
  1201. * @version : 1.0
  1202. * @Date : 2021-08-20 16:44:21
  1203. * @LastAuthor : LQ
  1204. * @lastTime : 2021-08-20 17:07:49
  1205. * @FilePath : /u-view2.0/uview-ui/libs/config/props/keyboard.js
  1206. */
  1207. var _default = {
  1208. // 键盘组件
  1209. keyboard: {
  1210. mode: 'number',
  1211. dotDisabled: false,
  1212. tooltip: true,
  1213. showTips: true,
  1214. tips: '',
  1215. showCancel: true,
  1216. showConfirm: true,
  1217. random: false,
  1218. safeAreaInsetBottom: true,
  1219. closeOnClickOverlay: true,
  1220. show: false,
  1221. overlay: true,
  1222. zIndex: 10075,
  1223. cancelText: '取消',
  1224. confirmText: '确定',
  1225. autoChange: false
  1226. }
  1227. };
  1228. exports.default = _default;
  1229. /***/ }),
  1230. /***/ 105:
  1231. /*!************************************************************************!*\
  1232. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/line.js ***!
  1233. \************************************************************************/
  1234. /*! no static exports found */
  1235. /***/ (function(module, exports, __webpack_require__) {
  1236. "use strict";
  1237. Object.defineProperty(exports, "__esModule", {
  1238. value: true
  1239. });
  1240. exports.default = void 0;
  1241. /*
  1242. * @Author : LQ
  1243. * @Description :
  1244. * @version : 1.0
  1245. * @Date : 2021-08-20 16:44:21
  1246. * @LastAuthor : LQ
  1247. * @lastTime : 2021-08-20 17:04:49
  1248. * @FilePath : /u-view2.0/uview-ui/libs/config/props/line.js
  1249. */
  1250. var _default = {
  1251. // line组件
  1252. line: {
  1253. color: '#d6d7d9',
  1254. length: '100%',
  1255. direction: 'row',
  1256. hairline: true,
  1257. margin: 0,
  1258. dashed: false
  1259. }
  1260. };
  1261. exports.default = _default;
  1262. /***/ }),
  1263. /***/ 1050:
  1264. /*!**************************************************************************!*\
  1265. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-input/props.js ***!
  1266. \**************************************************************************/
  1267. /*! no static exports found */
  1268. /***/ (function(module, exports, __webpack_require__) {
  1269. "use strict";
  1270. /* WEBPACK VAR INJECTION */(function(uni) {
  1271. Object.defineProperty(exports, "__esModule", {
  1272. value: true
  1273. });
  1274. exports.default = void 0;
  1275. var _default = {
  1276. props: {
  1277. // 输入的值
  1278. value: {
  1279. type: [String, Number],
  1280. default: uni.$u.props.input.value
  1281. },
  1282. // 输入框类型
  1283. // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
  1284. // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
  1285. // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
  1286. // text-文本输入键盘
  1287. type: {
  1288. type: String,
  1289. default: uni.$u.props.input.type
  1290. },
  1291. // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,
  1292. // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序
  1293. fixed: {
  1294. type: Boolean,
  1295. default: uni.$u.props.input.fixed
  1296. },
  1297. // 是否禁用输入框
  1298. disabled: {
  1299. type: Boolean,
  1300. default: uni.$u.props.input.disabled
  1301. },
  1302. // 禁用状态时的背景色
  1303. disabledColor: {
  1304. type: String,
  1305. default: uni.$u.props.input.disabledColor
  1306. },
  1307. // 是否显示清除控件
  1308. clearable: {
  1309. type: Boolean,
  1310. default: uni.$u.props.input.clearable
  1311. },
  1312. // 是否密码类型
  1313. password: {
  1314. type: Boolean,
  1315. default: uni.$u.props.input.password
  1316. },
  1317. // 最大输入长度,设置为 -1 的时候不限制最大长度
  1318. maxlength: {
  1319. type: [String, Number],
  1320. default: uni.$u.props.input.maxlength
  1321. },
  1322. // 输入框为空时的占位符
  1323. placeholder: {
  1324. type: String,
  1325. default: uni.$u.props.input.placeholder
  1326. },
  1327. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  1328. placeholderClass: {
  1329. type: String,
  1330. default: uni.$u.props.input.placeholderClass
  1331. },
  1332. // 指定placeholder的样式
  1333. placeholderStyle: {
  1334. type: [String, Object],
  1335. default: uni.$u.props.input.placeholderStyle
  1336. },
  1337. // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效
  1338. showWordLimit: {
  1339. type: Boolean,
  1340. default: uni.$u.props.input.showWordLimit
  1341. },
  1342. // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档
  1343. // https://uniapp.dcloud.io/component/input
  1344. // https://uniapp.dcloud.io/component/textarea
  1345. confirmType: {
  1346. type: String,
  1347. default: uni.$u.props.input.confirmType
  1348. },
  1349. // 点击键盘右下角按钮时是否保持键盘不收起,H5无效
  1350. confirmHold: {
  1351. type: Boolean,
  1352. default: uni.$u.props.input.confirmHold
  1353. },
  1354. // focus时,点击页面的时候不收起键盘,微信小程序有效
  1355. holdKeyboard: {
  1356. type: Boolean,
  1357. default: uni.$u.props.input.holdKeyboard
  1358. },
  1359. // 自动获取焦点
  1360. // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点
  1361. focus: {
  1362. type: Boolean,
  1363. default: uni.$u.props.input.focus
  1364. },
  1365. // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效
  1366. autoBlur: {
  1367. type: Boolean,
  1368. default: uni.$u.props.input.autoBlur
  1369. },
  1370. // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效
  1371. disableDefaultPadding: {
  1372. type: Boolean,
  1373. default: uni.$u.props.input.disableDefaultPadding
  1374. },
  1375. // 指定focus时光标的位置
  1376. cursor: {
  1377. type: [String, Number],
  1378. default: uni.$u.props.input.cursor
  1379. },
  1380. // 输入框聚焦时底部与键盘的距离
  1381. cursorSpacing: {
  1382. type: [String, Number],
  1383. default: uni.$u.props.input.cursorSpacing
  1384. },
  1385. // 光标起始位置,自动聚集时有效,需与selection-end搭配使用
  1386. selectionStart: {
  1387. type: [String, Number],
  1388. default: uni.$u.props.input.selectionStart
  1389. },
  1390. // 光标结束位置,自动聚集时有效,需与selection-start搭配使用
  1391. selectionEnd: {
  1392. type: [String, Number],
  1393. default: uni.$u.props.input.selectionEnd
  1394. },
  1395. // 键盘弹起时,是否自动上推页面
  1396. adjustPosition: {
  1397. type: Boolean,
  1398. default: uni.$u.props.input.adjustPosition
  1399. },
  1400. // 输入框内容对齐方式,可选值为:left|center|right
  1401. inputAlign: {
  1402. type: String,
  1403. default: uni.$u.props.input.inputAlign
  1404. },
  1405. // 输入框字体的大小
  1406. fontSize: {
  1407. type: [String, Number],
  1408. default: uni.$u.props.input.fontSize
  1409. },
  1410. // 输入框字体颜色
  1411. color: {
  1412. type: String,
  1413. default: uni.$u.props.input.color
  1414. },
  1415. // 输入框前置图标
  1416. prefixIcon: {
  1417. type: String,
  1418. default: uni.$u.props.input.prefixIcon
  1419. },
  1420. // 前置图标样式,对象或字符串
  1421. prefixIconStyle: {
  1422. type: [String, Object],
  1423. default: uni.$u.props.input.prefixIconStyle
  1424. },
  1425. // 输入框后置图标
  1426. suffixIcon: {
  1427. type: String,
  1428. default: uni.$u.props.input.suffixIcon
  1429. },
  1430. // 后置图标样式,对象或字符串
  1431. suffixIconStyle: {
  1432. type: [String, Object],
  1433. default: uni.$u.props.input.suffixIconStyle
  1434. },
  1435. // 边框类型,surround-四周边框,bottom-底部边框,none-无边框
  1436. border: {
  1437. type: String,
  1438. default: uni.$u.props.input.border
  1439. },
  1440. // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会
  1441. readonly: {
  1442. type: Boolean,
  1443. default: uni.$u.props.input.readonly
  1444. },
  1445. // 输入框形状,circle-圆形,square-方形
  1446. shape: {
  1447. type: String,
  1448. default: uni.$u.props.input.shape
  1449. },
  1450. // 用于处理或者过滤输入框内容的方法
  1451. formatter: {
  1452. type: [Function, null],
  1453. default: uni.$u.props.input.formatter
  1454. },
  1455. // 是否忽略组件内对文本合成系统事件的处理
  1456. ignoreCompositionEvent: {
  1457. type: Boolean,
  1458. default: true
  1459. }
  1460. }
  1461. };
  1462. exports.default = _default;
  1463. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1464. /***/ }),
  1465. /***/ 1056:
  1466. /*!*************************************************************************!*\
  1467. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-rate/props.js ***!
  1468. \*************************************************************************/
  1469. /*! no static exports found */
  1470. /***/ (function(module, exports, __webpack_require__) {
  1471. "use strict";
  1472. /* WEBPACK VAR INJECTION */(function(uni) {
  1473. Object.defineProperty(exports, "__esModule", {
  1474. value: true
  1475. });
  1476. exports.default = void 0;
  1477. var _default = {
  1478. props: {
  1479. // 用于v-model双向绑定选中的星星数量
  1480. value: {
  1481. type: [String, Number],
  1482. default: uni.$u.props.rate.value
  1483. },
  1484. // 要显示的星星数量
  1485. count: {
  1486. type: [String, Number],
  1487. default: uni.$u.props.rate.count
  1488. },
  1489. // 是否不可选中
  1490. disabled: {
  1491. type: Boolean,
  1492. default: uni.$u.props.rate.disabled
  1493. },
  1494. // 是否只读
  1495. readonly: {
  1496. type: Boolean,
  1497. default: uni.$u.props.rate.readonly
  1498. },
  1499. // 星星的大小,单位px
  1500. size: {
  1501. type: [String, Number],
  1502. default: uni.$u.props.rate.size
  1503. },
  1504. // 未选中时的颜色
  1505. inactiveColor: {
  1506. type: String,
  1507. default: uni.$u.props.rate.inactiveColor
  1508. },
  1509. // 选中的颜色
  1510. activeColor: {
  1511. type: String,
  1512. default: uni.$u.props.rate.activeColor
  1513. },
  1514. // 星星之间的间距,单位px
  1515. gutter: {
  1516. type: [String, Number],
  1517. default: uni.$u.props.rate.gutter
  1518. },
  1519. // 最少能选择的星星个数
  1520. minCount: {
  1521. type: [String, Number],
  1522. default: uni.$u.props.rate.minCount
  1523. },
  1524. // 是否允许半星
  1525. allowHalf: {
  1526. type: Boolean,
  1527. default: uni.$u.props.rate.allowHalf
  1528. },
  1529. // 选中时的图标(星星)
  1530. activeIcon: {
  1531. type: String,
  1532. default: uni.$u.props.rate.activeIcon
  1533. },
  1534. // 未选中时的图标(星星)
  1535. inactiveIcon: {
  1536. type: String,
  1537. default: uni.$u.props.rate.inactiveIcon
  1538. },
  1539. // 是否可以通过滑动手势选择评分
  1540. touchable: {
  1541. type: Boolean,
  1542. default: uni.$u.props.rate.touchable
  1543. }
  1544. }
  1545. };
  1546. exports.default = _default;
  1547. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1548. /***/ }),
  1549. /***/ 106:
  1550. /*!********************************************************************************!*\
  1551. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/lineProgress.js ***!
  1552. \********************************************************************************/
  1553. /*! no static exports found */
  1554. /***/ (function(module, exports, __webpack_require__) {
  1555. "use strict";
  1556. Object.defineProperty(exports, "__esModule", {
  1557. value: true
  1558. });
  1559. exports.default = void 0;
  1560. /*
  1561. * @Author : LQ
  1562. * @Description :
  1563. * @version : 1.0
  1564. * @Date : 2021-08-20 16:44:21
  1565. * @LastAuthor : LQ
  1566. * @lastTime : 2021-08-20 17:14:11
  1567. * @FilePath : /u-view2.0/uview-ui/libs/config/props/lineProgress.js
  1568. */
  1569. var _default = {
  1570. // lineProgress 组件
  1571. lineProgress: {
  1572. activeColor: '#19be6b',
  1573. inactiveColor: '#ececec',
  1574. percentage: 0,
  1575. showText: true,
  1576. height: 12
  1577. }
  1578. };
  1579. exports.default = _default;
  1580. /***/ }),
  1581. /***/ 107:
  1582. /*!************************************************************************!*\
  1583. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/link.js ***!
  1584. \************************************************************************/
  1585. /*! no static exports found */
  1586. /***/ (function(module, exports, __webpack_require__) {
  1587. "use strict";
  1588. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  1589. Object.defineProperty(exports, "__esModule", {
  1590. value: true
  1591. });
  1592. exports.default = void 0;
  1593. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 66));
  1594. /*
  1595. * @Author : LQ
  1596. * @Description :
  1597. * @version : 1.0
  1598. * @Date : 2021-08-20 16:44:21
  1599. * @LastAuthor : LQ
  1600. * @lastTime : 2021-08-20 17:45:36
  1601. * @FilePath : /u-view2.0/uview-ui/libs/config/props/link.js
  1602. */
  1603. var color = _config.default.color;
  1604. var _default = {
  1605. // link超链接组件props参数
  1606. link: {
  1607. color: color['u-primary'],
  1608. fontSize: 15,
  1609. underLine: false,
  1610. href: '',
  1611. mpTips: '链接已复制,请在浏览器打开',
  1612. lineColor: '',
  1613. text: ''
  1614. }
  1615. };
  1616. exports.default = _default;
  1617. /***/ }),
  1618. /***/ 1071:
  1619. /*!*************************************************************************!*\
  1620. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-form/props.js ***!
  1621. \*************************************************************************/
  1622. /*! no static exports found */
  1623. /***/ (function(module, exports, __webpack_require__) {
  1624. "use strict";
  1625. /* WEBPACK VAR INJECTION */(function(uni) {
  1626. Object.defineProperty(exports, "__esModule", {
  1627. value: true
  1628. });
  1629. exports.default = void 0;
  1630. var _default = {
  1631. props: {
  1632. // 当前form的需要验证字段的集合
  1633. model: {
  1634. type: Object,
  1635. default: uni.$u.props.form.model
  1636. },
  1637. // 验证规则
  1638. rules: {
  1639. type: [Object, Function, Array],
  1640. default: uni.$u.props.form.rules
  1641. },
  1642. // 有错误时的提示方式,message-提示信息,toast-进行toast提示
  1643. // border-bottom-下边框呈现红色,none-无提示
  1644. errorType: {
  1645. type: String,
  1646. default: uni.$u.props.form.errorType
  1647. },
  1648. // 是否显示表单域的下划线边框
  1649. borderBottom: {
  1650. type: Boolean,
  1651. default: uni.$u.props.form.borderBottom
  1652. },
  1653. // label的位置,left-左边,top-上边
  1654. labelPosition: {
  1655. type: String,
  1656. default: uni.$u.props.form.labelPosition
  1657. },
  1658. // label的宽度,单位px
  1659. labelWidth: {
  1660. type: [String, Number],
  1661. default: uni.$u.props.form.labelWidth
  1662. },
  1663. // lable字体的对齐方式
  1664. labelAlign: {
  1665. type: String,
  1666. default: uni.$u.props.form.labelAlign
  1667. },
  1668. // lable的样式,对象形式
  1669. labelStyle: {
  1670. type: Object,
  1671. default: uni.$u.props.form.labelStyle
  1672. }
  1673. }
  1674. };
  1675. exports.default = _default;
  1676. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1677. /***/ }),
  1678. /***/ 1077:
  1679. /*!******************************************************************************!*\
  1680. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-form-item/props.js ***!
  1681. \******************************************************************************/
  1682. /*! no static exports found */
  1683. /***/ (function(module, exports, __webpack_require__) {
  1684. "use strict";
  1685. /* WEBPACK VAR INJECTION */(function(uni) {
  1686. Object.defineProperty(exports, "__esModule", {
  1687. value: true
  1688. });
  1689. exports.default = void 0;
  1690. var _default = {
  1691. props: {
  1692. // input的label提示语
  1693. label: {
  1694. type: String,
  1695. default: uni.$u.props.formItem.label
  1696. },
  1697. // 绑定的值
  1698. prop: {
  1699. type: String,
  1700. default: uni.$u.props.formItem.prop
  1701. },
  1702. // 是否显示表单域的下划线边框
  1703. borderBottom: {
  1704. type: [String, Boolean],
  1705. default: uni.$u.props.formItem.borderBottom
  1706. },
  1707. // label的位置,left-左边,top-上边
  1708. labelPosition: {
  1709. type: String,
  1710. default: uni.$u.props.formItem.labelPosition
  1711. },
  1712. // label的宽度,单位px
  1713. labelWidth: {
  1714. type: [String, Number],
  1715. default: uni.$u.props.formItem.labelWidth
  1716. },
  1717. // 右侧图标
  1718. rightIcon: {
  1719. type: String,
  1720. default: uni.$u.props.formItem.rightIcon
  1721. },
  1722. // 左侧图标
  1723. leftIcon: {
  1724. type: String,
  1725. default: uni.$u.props.formItem.leftIcon
  1726. },
  1727. // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
  1728. required: {
  1729. type: Boolean,
  1730. default: uni.$u.props.formItem.required
  1731. },
  1732. leftIconStyle: {
  1733. type: [String, Object],
  1734. default: uni.$u.props.formItem.leftIconStyle
  1735. }
  1736. }
  1737. };
  1738. exports.default = _default;
  1739. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1740. /***/ }),
  1741. /***/ 108:
  1742. /*!************************************************************************!*\
  1743. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/list.js ***!
  1744. \************************************************************************/
  1745. /*! no static exports found */
  1746. /***/ (function(module, exports, __webpack_require__) {
  1747. "use strict";
  1748. Object.defineProperty(exports, "__esModule", {
  1749. value: true
  1750. });
  1751. exports.default = void 0;
  1752. /*
  1753. * @Author : LQ
  1754. * @Description :
  1755. * @version : 1.0
  1756. * @Date : 2021-08-20 16:44:21
  1757. * @LastAuthor : LQ
  1758. * @lastTime : 2021-08-20 17:14:53
  1759. * @FilePath : /u-view2.0/uview-ui/libs/config/props/list.js
  1760. */
  1761. var _default = {
  1762. // list 组件
  1763. list: {
  1764. showScrollbar: false,
  1765. lowerThreshold: 50,
  1766. upperThreshold: 0,
  1767. scrollTop: 0,
  1768. offsetAccuracy: 10,
  1769. enableFlex: false,
  1770. pagingEnabled: false,
  1771. scrollable: true,
  1772. scrollIntoView: '',
  1773. scrollWithAnimation: false,
  1774. enableBackToTop: false,
  1775. height: 0,
  1776. width: 0,
  1777. preLoadScreen: 1
  1778. }
  1779. };
  1780. exports.default = _default;
  1781. /***/ }),
  1782. /***/ 109:
  1783. /*!****************************************************************************!*\
  1784. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/listItem.js ***!
  1785. \****************************************************************************/
  1786. /*! no static exports found */
  1787. /***/ (function(module, exports, __webpack_require__) {
  1788. "use strict";
  1789. Object.defineProperty(exports, "__esModule", {
  1790. value: true
  1791. });
  1792. exports.default = void 0;
  1793. /*
  1794. * @Author : LQ
  1795. * @Description :
  1796. * @version : 1.0
  1797. * @Date : 2021-08-20 16:44:21
  1798. * @LastAuthor : LQ
  1799. * @lastTime : 2021-08-20 17:15:40
  1800. * @FilePath : /u-view2.0/uview-ui/libs/config/props/listItem.js
  1801. */
  1802. var _default = {
  1803. // listItem 组件
  1804. listItem: {
  1805. anchor: ''
  1806. }
  1807. };
  1808. exports.default = _default;
  1809. /***/ }),
  1810. /***/ 11:
  1811. /*!***************************************************************!*\
  1812. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  1813. \***************************************************************/
  1814. /*! no static exports found */
  1815. /***/ (function(module, exports, __webpack_require__) {
  1816. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  1817. function _defineProperty(obj, key, value) {
  1818. key = toPropertyKey(key);
  1819. if (key in obj) {
  1820. Object.defineProperty(obj, key, {
  1821. value: value,
  1822. enumerable: true,
  1823. configurable: true,
  1824. writable: true
  1825. });
  1826. } else {
  1827. obj[key] = value;
  1828. }
  1829. return obj;
  1830. }
  1831. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  1832. /***/ }),
  1833. /***/ 110:
  1834. /*!*******************************************************************************!*\
  1835. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/loadingIcon.js ***!
  1836. \*******************************************************************************/
  1837. /*! no static exports found */
  1838. /***/ (function(module, exports, __webpack_require__) {
  1839. "use strict";
  1840. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  1841. Object.defineProperty(exports, "__esModule", {
  1842. value: true
  1843. });
  1844. exports.default = void 0;
  1845. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 66));
  1846. /*
  1847. * @Author : LQ
  1848. * @Description :
  1849. * @version : 1.0
  1850. * @Date : 2021-08-20 16:44:21
  1851. * @LastAuthor : LQ
  1852. * @lastTime : 2021-08-20 17:45:47
  1853. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingIcon.js
  1854. */
  1855. var color = _config.default.color;
  1856. var _default = {
  1857. // loading-icon加载中图标组件
  1858. loadingIcon: {
  1859. show: true,
  1860. color: color['u-tips-color'],
  1861. textColor: color['u-tips-color'],
  1862. vertical: false,
  1863. mode: 'spinner',
  1864. size: 24,
  1865. textSize: 15,
  1866. text: '',
  1867. timingFunction: 'ease-in-out',
  1868. duration: 1200,
  1869. inactiveColor: ''
  1870. }
  1871. };
  1872. exports.default = _default;
  1873. /***/ }),
  1874. /***/ 111:
  1875. /*!*******************************************************************************!*\
  1876. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/loadingPage.js ***!
  1877. \*******************************************************************************/
  1878. /*! no static exports found */
  1879. /***/ (function(module, exports, __webpack_require__) {
  1880. "use strict";
  1881. Object.defineProperty(exports, "__esModule", {
  1882. value: true
  1883. });
  1884. exports.default = void 0;
  1885. /*
  1886. * @Author : LQ
  1887. * @Description :
  1888. * @version : 1.0
  1889. * @Date : 2021-08-20 16:44:21
  1890. * @LastAuthor : LQ
  1891. * @lastTime : 2021-08-20 17:00:23
  1892. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingPage.js
  1893. */
  1894. var _default = {
  1895. // loading-page组件
  1896. loadingPage: {
  1897. loadingText: '正在加载',
  1898. image: '',
  1899. loadingMode: 'circle',
  1900. loading: false,
  1901. bgColor: '#ffffff',
  1902. color: '#C8C8C8',
  1903. fontSize: 19,
  1904. iconSize: 28,
  1905. loadingColor: '#C8C8C8'
  1906. }
  1907. };
  1908. exports.default = _default;
  1909. /***/ }),
  1910. /***/ 112:
  1911. /*!****************************************************************************!*\
  1912. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/loadmore.js ***!
  1913. \****************************************************************************/
  1914. /*! no static exports found */
  1915. /***/ (function(module, exports, __webpack_require__) {
  1916. "use strict";
  1917. Object.defineProperty(exports, "__esModule", {
  1918. value: true
  1919. });
  1920. exports.default = void 0;
  1921. /*
  1922. * @Author : LQ
  1923. * @Description :
  1924. * @version : 1.0
  1925. * @Date : 2021-08-20 16:44:21
  1926. * @LastAuthor : LQ
  1927. * @lastTime : 2021-08-20 17:15:26
  1928. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadmore.js
  1929. */
  1930. var _default = {
  1931. // loadmore 组件
  1932. loadmore: {
  1933. status: 'loadmore',
  1934. bgColor: 'transparent',
  1935. icon: true,
  1936. fontSize: 14,
  1937. iconSize: 17,
  1938. color: '#606266',
  1939. loadingIcon: 'spinner',
  1940. loadmoreText: '加载更多',
  1941. loadingText: '正在加载...',
  1942. nomoreText: '没有更多了',
  1943. isDot: false,
  1944. iconColor: '#b7b7b7',
  1945. marginTop: 10,
  1946. marginBottom: 10,
  1947. height: 'auto',
  1948. line: false,
  1949. lineColor: '#E6E8EB',
  1950. dashed: false
  1951. }
  1952. };
  1953. exports.default = _default;
  1954. /***/ }),
  1955. /***/ 1120:
  1956. /*!*******************************************************************************!*\
  1957. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-transition/props.js ***!
  1958. \*******************************************************************************/
  1959. /*! no static exports found */
  1960. /***/ (function(module, exports, __webpack_require__) {
  1961. "use strict";
  1962. /* WEBPACK VAR INJECTION */(function(uni) {
  1963. Object.defineProperty(exports, "__esModule", {
  1964. value: true
  1965. });
  1966. exports.default = void 0;
  1967. var _default = {
  1968. props: {
  1969. // 是否展示组件
  1970. show: {
  1971. type: Boolean,
  1972. default: uni.$u.props.transition.show
  1973. },
  1974. // 使用的动画模式
  1975. mode: {
  1976. type: String,
  1977. default: uni.$u.props.transition.mode
  1978. },
  1979. // 动画的执行时间,单位ms
  1980. duration: {
  1981. type: [String, Number],
  1982. default: uni.$u.props.transition.duration
  1983. },
  1984. // 使用的动画过渡函数
  1985. timingFunction: {
  1986. type: String,
  1987. default: uni.$u.props.transition.timingFunction
  1988. }
  1989. }
  1990. };
  1991. exports.default = _default;
  1992. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1993. /***/ }),
  1994. /***/ 1121:
  1995. /*!************************************************************************************!*\
  1996. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-transition/transition.js ***!
  1997. \************************************************************************************/
  1998. /*! no static exports found */
  1999. /***/ (function(module, exports, __webpack_require__) {
  2000. "use strict";
  2001. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2002. Object.defineProperty(exports, "__esModule", {
  2003. value: true
  2004. });
  2005. exports.default = void 0;
  2006. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 56));
  2007. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 58));
  2008. var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 1122));
  2009. // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
  2010. var nextTick = function nextTick() {
  2011. return new Promise(function (resolve) {
  2012. return setTimeout(resolve, 1000 / 50);
  2013. });
  2014. };
  2015. // nvue动画模块实现细节抽离在外部文件
  2016. // 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
  2017. var getClassNames = function getClassNames(name) {
  2018. return {
  2019. enter: "u-".concat(name, "-enter u-").concat(name, "-enter-active"),
  2020. 'enter-to': "u-".concat(name, "-enter-to u-").concat(name, "-enter-active"),
  2021. leave: "u-".concat(name, "-leave u-").concat(name, "-leave-active"),
  2022. 'leave-to': "u-".concat(name, "-leave-to u-").concat(name, "-leave-active")
  2023. };
  2024. };
  2025. var _default = {
  2026. methods: {
  2027. // 组件被点击发出事件
  2028. clickHandler: function clickHandler() {
  2029. this.$emit('click');
  2030. },
  2031. // vue版本的组件进场处理
  2032. vueEnter: function vueEnter() {
  2033. var _this = this;
  2034. // 动画进入时的类名
  2035. var classNames = getClassNames(this.mode);
  2036. // 定义状态和发出动画进入前事件
  2037. this.status = 'enter';
  2038. this.$emit('beforeEnter');
  2039. this.inited = true;
  2040. this.display = true;
  2041. this.classes = classNames.enter;
  2042. this.$nextTick( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  2043. return _regenerator.default.wrap(function _callee$(_context) {
  2044. while (1) {
  2045. switch (_context.prev = _context.next) {
  2046. case 0:
  2047. // 标识动画尚未结束
  2048. _this.$emit('enter');
  2049. _this.transitionEnded = false;
  2050. // 组件动画进入后触发的事件
  2051. _this.$emit('afterEnter');
  2052. // 赋予组件enter-to类名
  2053. _this.classes = classNames['enter-to'];
  2054. case 4:
  2055. case "end":
  2056. return _context.stop();
  2057. }
  2058. }
  2059. }, _callee);
  2060. })));
  2061. },
  2062. // 动画离场处理
  2063. vueLeave: function vueLeave() {
  2064. var _this2 = this;
  2065. // 如果不是展示状态,无需执行逻辑
  2066. if (!this.display) return;
  2067. var classNames = getClassNames(this.mode);
  2068. // 标记离开状态和发出事件
  2069. this.status = 'leave';
  2070. this.$emit('beforeLeave');
  2071. // 获得类名
  2072. this.classes = classNames.leave;
  2073. this.$nextTick(function () {
  2074. // 动画正在离场的状态
  2075. _this2.transitionEnded = false;
  2076. _this2.$emit('leave');
  2077. // 组件执行动画,到了执行的执行时间后,执行一些额外处理
  2078. setTimeout(_this2.onTransitionEnd, _this2.duration);
  2079. _this2.classes = classNames['leave-to'];
  2080. });
  2081. },
  2082. // 完成过渡后触发
  2083. onTransitionEnd: function onTransitionEnd() {
  2084. // 如果已经是结束的状态,无需再处理
  2085. if (this.transitionEnded) return;
  2086. this.transitionEnded = true;
  2087. // 发出组件动画执行后的事件
  2088. this.$emit(this.status === 'leave' ? 'afterLeave' : 'afterEnter');
  2089. if (!this.show && this.display) {
  2090. this.display = false;
  2091. this.inited = false;
  2092. }
  2093. }
  2094. }
  2095. };
  2096. exports.default = _default;
  2097. /***/ }),
  2098. /***/ 1122:
  2099. /*!**************************************************************************************!*\
  2100. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-transition/nvue.ani-map.js ***!
  2101. \**************************************************************************************/
  2102. /*! no static exports found */
  2103. /***/ (function(module, exports, __webpack_require__) {
  2104. "use strict";
  2105. Object.defineProperty(exports, "__esModule", {
  2106. value: true
  2107. });
  2108. exports.default = void 0;
  2109. var _default = {
  2110. fade: {
  2111. enter: {
  2112. opacity: 0
  2113. },
  2114. 'enter-to': {
  2115. opacity: 1
  2116. },
  2117. leave: {
  2118. opacity: 1
  2119. },
  2120. 'leave-to': {
  2121. opacity: 0
  2122. }
  2123. },
  2124. 'fade-up': {
  2125. enter: {
  2126. opacity: 0,
  2127. transform: 'translateY(100%)'
  2128. },
  2129. 'enter-to': {
  2130. opacity: 1,
  2131. transform: 'translateY(0)'
  2132. },
  2133. leave: {
  2134. opacity: 1,
  2135. transform: 'translateY(0)'
  2136. },
  2137. 'leave-to': {
  2138. opacity: 0,
  2139. transform: 'translateY(100%)'
  2140. }
  2141. },
  2142. 'fade-down': {
  2143. enter: {
  2144. opacity: 0,
  2145. transform: 'translateY(-100%)'
  2146. },
  2147. 'enter-to': {
  2148. opacity: 1,
  2149. transform: 'translateY(0)'
  2150. },
  2151. leave: {
  2152. opacity: 1,
  2153. transform: 'translateY(0)'
  2154. },
  2155. 'leave-to': {
  2156. opacity: 0,
  2157. transform: 'translateY(-100%)'
  2158. }
  2159. },
  2160. 'fade-left': {
  2161. enter: {
  2162. opacity: 0,
  2163. transform: 'translateX(-100%)'
  2164. },
  2165. 'enter-to': {
  2166. opacity: 1,
  2167. transform: 'translateY(0)'
  2168. },
  2169. leave: {
  2170. opacity: 1,
  2171. transform: 'translateY(0)'
  2172. },
  2173. 'leave-to': {
  2174. opacity: 0,
  2175. transform: 'translateX(-100%)'
  2176. }
  2177. },
  2178. 'fade-right': {
  2179. enter: {
  2180. opacity: 0,
  2181. transform: 'translateX(100%)'
  2182. },
  2183. 'enter-to': {
  2184. opacity: 1,
  2185. transform: 'translateY(0)'
  2186. },
  2187. leave: {
  2188. opacity: 1,
  2189. transform: 'translateY(0)'
  2190. },
  2191. 'leave-to': {
  2192. opacity: 0,
  2193. transform: 'translateX(100%)'
  2194. }
  2195. },
  2196. 'slide-up': {
  2197. enter: {
  2198. transform: 'translateY(100%)'
  2199. },
  2200. 'enter-to': {
  2201. transform: 'translateY(0)'
  2202. },
  2203. leave: {
  2204. transform: 'translateY(0)'
  2205. },
  2206. 'leave-to': {
  2207. transform: 'translateY(100%)'
  2208. }
  2209. },
  2210. 'slide-down': {
  2211. enter: {
  2212. transform: 'translateY(-100%)'
  2213. },
  2214. 'enter-to': {
  2215. transform: 'translateY(0)'
  2216. },
  2217. leave: {
  2218. transform: 'translateY(0)'
  2219. },
  2220. 'leave-to': {
  2221. transform: 'translateY(-100%)'
  2222. }
  2223. },
  2224. 'slide-left': {
  2225. enter: {
  2226. transform: 'translateX(-100%)'
  2227. },
  2228. 'enter-to': {
  2229. transform: 'translateY(0)'
  2230. },
  2231. leave: {
  2232. transform: 'translateY(0)'
  2233. },
  2234. 'leave-to': {
  2235. transform: 'translateX(-100%)'
  2236. }
  2237. },
  2238. 'slide-right': {
  2239. enter: {
  2240. transform: 'translateX(100%)'
  2241. },
  2242. 'enter-to': {
  2243. transform: 'translateY(0)'
  2244. },
  2245. leave: {
  2246. transform: 'translateY(0)'
  2247. },
  2248. 'leave-to': {
  2249. transform: 'translateX(100%)'
  2250. }
  2251. },
  2252. zoom: {
  2253. enter: {
  2254. transform: 'scale(0.95)'
  2255. },
  2256. 'enter-to': {
  2257. transform: 'scale(1)'
  2258. },
  2259. leave: {
  2260. transform: 'scale(1)'
  2261. },
  2262. 'leave-to': {
  2263. transform: 'scale(0.95)'
  2264. }
  2265. },
  2266. 'fade-zoom': {
  2267. enter: {
  2268. opacity: 0,
  2269. transform: 'scale(0.95)'
  2270. },
  2271. 'enter-to': {
  2272. opacity: 1,
  2273. transform: 'scale(1)'
  2274. },
  2275. leave: {
  2276. opacity: 1,
  2277. transform: 'scale(1)'
  2278. },
  2279. 'leave-to': {
  2280. opacity: 0,
  2281. transform: 'scale(0.95)'
  2282. }
  2283. }
  2284. };
  2285. exports.default = _default;
  2286. /***/ }),
  2287. /***/ 113:
  2288. /*!*************************************************************************!*\
  2289. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/modal.js ***!
  2290. \*************************************************************************/
  2291. /*! no static exports found */
  2292. /***/ (function(module, exports, __webpack_require__) {
  2293. "use strict";
  2294. Object.defineProperty(exports, "__esModule", {
  2295. value: true
  2296. });
  2297. exports.default = void 0;
  2298. /*
  2299. * @Author : LQ
  2300. * @Description :
  2301. * @version : 1.0
  2302. * @Date : 2021-08-20 16:44:21
  2303. * @LastAuthor : LQ
  2304. * @lastTime : 2021-08-20 17:15:59
  2305. * @FilePath : /u-view2.0/uview-ui/libs/config/props/modal.js
  2306. */
  2307. var _default = {
  2308. // modal 组件
  2309. modal: {
  2310. show: false,
  2311. title: '',
  2312. content: '',
  2313. confirmText: '确认',
  2314. cancelText: '取消',
  2315. showConfirmButton: true,
  2316. showCancelButton: false,
  2317. confirmColor: '#2979ff',
  2318. cancelColor: '#606266',
  2319. buttonReverse: false,
  2320. zoom: true,
  2321. asyncClose: false,
  2322. closeOnClickOverlay: false,
  2323. negativeTop: 0,
  2324. width: '650rpx',
  2325. confirmButtonShape: '',
  2326. duration: 400
  2327. }
  2328. };
  2329. exports.default = _default;
  2330. /***/ }),
  2331. /***/ 114:
  2332. /*!**************************************************************************!*\
  2333. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/navbar.js ***!
  2334. \**************************************************************************/
  2335. /*! no static exports found */
  2336. /***/ (function(module, exports, __webpack_require__) {
  2337. "use strict";
  2338. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2339. Object.defineProperty(exports, "__esModule", {
  2340. value: true
  2341. });
  2342. exports.default = void 0;
  2343. var _color = _interopRequireDefault(__webpack_require__(/*! ../color */ 115));
  2344. /*
  2345. * @Author : LQ
  2346. * @Description :
  2347. * @version : 1.0
  2348. * @Date : 2021-08-20 16:44:21
  2349. * @LastAuthor : LQ
  2350. * @lastTime : 2021-08-20 17:16:18
  2351. * @FilePath : /u-view2.0/uview-ui/libs/config/props/navbar.js
  2352. */
  2353. var _default = {
  2354. // navbar 组件
  2355. navbar: {
  2356. safeAreaInsetTop: true,
  2357. placeholder: false,
  2358. fixed: true,
  2359. border: false,
  2360. leftIcon: 'arrow-left',
  2361. leftText: '',
  2362. rightText: '',
  2363. rightIcon: '',
  2364. title: '',
  2365. bgColor: '#ffffff',
  2366. titleWidth: '400rpx',
  2367. height: '44px',
  2368. leftIconSize: 20,
  2369. leftIconColor: _color.default.mainColor,
  2370. autoBack: false,
  2371. titleStyle: ''
  2372. }
  2373. };
  2374. exports.default = _default;
  2375. /***/ }),
  2376. /***/ 1144:
  2377. /*!*****************************************************************************!*\
  2378. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-textarea/props.js ***!
  2379. \*****************************************************************************/
  2380. /*! no static exports found */
  2381. /***/ (function(module, exports, __webpack_require__) {
  2382. "use strict";
  2383. /* WEBPACK VAR INJECTION */(function(uni) {
  2384. Object.defineProperty(exports, "__esModule", {
  2385. value: true
  2386. });
  2387. exports.default = void 0;
  2388. var _default = {
  2389. props: {
  2390. // 输入框的内容
  2391. value: {
  2392. type: [String, Number],
  2393. default: uni.$u.props.textarea.value
  2394. },
  2395. // 输入框为空时占位符
  2396. placeholder: {
  2397. type: [String, Number],
  2398. default: uni.$u.props.textarea.placeholder
  2399. },
  2400. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  2401. placeholderClass: {
  2402. type: String,
  2403. default: uni.$u.props.input.placeholderClass
  2404. },
  2405. // 指定placeholder的样式
  2406. placeholderStyle: {
  2407. type: [String, Object],
  2408. default: uni.$u.props.input.placeholderStyle
  2409. },
  2410. // 输入框高度
  2411. height: {
  2412. type: [String, Number],
  2413. default: uni.$u.props.textarea.height
  2414. },
  2415. // 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效
  2416. confirmType: {
  2417. type: String,
  2418. default: uni.$u.props.textarea.confirmType
  2419. },
  2420. // 是否禁用
  2421. disabled: {
  2422. type: Boolean,
  2423. default: uni.$u.props.textarea.disabled
  2424. },
  2425. // 是否显示统计字数
  2426. count: {
  2427. type: Boolean,
  2428. default: uni.$u.props.textarea.count
  2429. },
  2430. // 是否自动获取焦点,nvue不支持,H5取决于浏览器的实现
  2431. focus: {
  2432. type: Boolean,
  2433. default: uni.$u.props.textarea.focus
  2434. },
  2435. // 是否自动增加高度
  2436. autoHeight: {
  2437. type: Boolean,
  2438. default: uni.$u.props.textarea.autoHeight
  2439. },
  2440. // 如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true
  2441. fixed: {
  2442. type: Boolean,
  2443. default: uni.$u.props.textarea.fixed
  2444. },
  2445. // 指定光标与键盘的距离
  2446. cursorSpacing: {
  2447. type: Number,
  2448. default: uni.$u.props.textarea.cursorSpacing
  2449. },
  2450. // 指定focus时的光标位置
  2451. cursor: {
  2452. type: [String, Number],
  2453. default: uni.$u.props.textarea.cursor
  2454. },
  2455. // 是否显示键盘上方带有”完成“按钮那一栏,
  2456. showConfirmBar: {
  2457. type: Boolean,
  2458. default: uni.$u.props.textarea.showConfirmBar
  2459. },
  2460. // 光标起始位置,自动聚焦时有效,需与selection-end搭配使用
  2461. selectionStart: {
  2462. type: Number,
  2463. default: uni.$u.props.textarea.selectionStart
  2464. },
  2465. // 光标结束位置,自动聚焦时有效,需与selection-start搭配使用
  2466. selectionEnd: {
  2467. type: Number,
  2468. default: uni.$u.props.textarea.selectionEnd
  2469. },
  2470. // 键盘弹起时,是否自动上推页面
  2471. adjustPosition: {
  2472. type: Boolean,
  2473. default: uni.$u.props.textarea.adjustPosition
  2474. },
  2475. // 是否去掉 iOS 下的默认内边距,只微信小程序有效
  2476. disableDefaultPadding: {
  2477. type: Boolean,
  2478. default: uni.$u.props.textarea.disableDefaultPadding
  2479. },
  2480. // focus时,点击页面的时候不收起键盘,只微信小程序有效
  2481. holdKeyboard: {
  2482. type: Boolean,
  2483. default: uni.$u.props.textarea.holdKeyboard
  2484. },
  2485. // 最大输入长度,设置为 -1 的时候不限制最大长度
  2486. maxlength: {
  2487. type: [String, Number],
  2488. default: uni.$u.props.textarea.maxlength
  2489. },
  2490. // 边框类型,surround-四周边框,bottom-底部边框
  2491. border: {
  2492. type: String,
  2493. default: uni.$u.props.textarea.border
  2494. },
  2495. // 用于处理或者过滤输入框内容的方法
  2496. formatter: {
  2497. type: [Function, null],
  2498. default: uni.$u.props.textarea.formatter
  2499. },
  2500. // 是否忽略组件内对文本合成系统事件的处理
  2501. ignoreCompositionEvent: {
  2502. type: Boolean,
  2503. default: true
  2504. }
  2505. }
  2506. };
  2507. exports.default = _default;
  2508. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  2509. /***/ }),
  2510. /***/ 115:
  2511. /*!*******************************************************************!*\
  2512. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/color.js ***!
  2513. \*******************************************************************/
  2514. /*! no static exports found */
  2515. /***/ (function(module, exports, __webpack_require__) {
  2516. "use strict";
  2517. Object.defineProperty(exports, "__esModule", {
  2518. value: true
  2519. });
  2520. exports.default = void 0;
  2521. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  2522. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  2523. var color = {
  2524. primary: '#3c9cff',
  2525. info: '#909399',
  2526. default: '#909399',
  2527. warning: '#f9ae3d',
  2528. error: '#f56c6c',
  2529. success: '#5ac725',
  2530. mainColor: '#303133',
  2531. contentColor: '#606266',
  2532. tipsColor: '#909399',
  2533. lightColor: '#c0c4cc',
  2534. borderColor: '#e4e7ed'
  2535. };
  2536. var _default = color;
  2537. exports.default = _default;
  2538. /***/ }),
  2539. /***/ 1150:
  2540. /*!***************************************************************************!*\
  2541. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-upload/utils.js ***!
  2542. \***************************************************************************/
  2543. /*! no static exports found */
  2544. /***/ (function(module, exports, __webpack_require__) {
  2545. "use strict";
  2546. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  2547. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2548. Object.defineProperty(exports, "__esModule", {
  2549. value: true
  2550. });
  2551. exports.chooseFile = chooseFile;
  2552. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  2553. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  2554. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  2555. function pickExclude(obj, keys) {
  2556. // 某些情况下,type可能会为
  2557. if (!['[object Object]', '[object File]'].includes(Object.prototype.toString.call(obj))) {
  2558. return {};
  2559. }
  2560. return Object.keys(obj).reduce(function (prev, key) {
  2561. if (!keys.includes(key)) {
  2562. prev[key] = obj[key];
  2563. }
  2564. return prev;
  2565. }, {});
  2566. }
  2567. function formatImage(res) {
  2568. return res.tempFiles.map(function (item) {
  2569. return _objectSpread(_objectSpread({}, pickExclude(item, ['path'])), {}, {
  2570. type: 'image',
  2571. url: item.path,
  2572. thumb: item.path,
  2573. size: item.size
  2574. });
  2575. });
  2576. }
  2577. function formatVideo(res) {
  2578. return [_objectSpread(_objectSpread({}, pickExclude(res, ['tempFilePath', 'thumbTempFilePath', 'errMsg'])), {}, {
  2579. type: 'video',
  2580. url: res.tempFilePath,
  2581. thumb: res.thumbTempFilePath,
  2582. size: res.size
  2583. })];
  2584. }
  2585. function formatMedia(res) {
  2586. return res.tempFiles.map(function (item) {
  2587. return _objectSpread(_objectSpread({}, pickExclude(item, ['fileType', 'thumbTempFilePath', 'tempFilePath'])), {}, {
  2588. type: res.type,
  2589. url: item.tempFilePath,
  2590. thumb: res.type === 'video' ? item.thumbTempFilePath : item.tempFilePath,
  2591. size: item.size
  2592. });
  2593. });
  2594. }
  2595. function formatFile(res) {
  2596. return res.tempFiles.map(function (item) {
  2597. return _objectSpread(_objectSpread({}, pickExclude(item, ['path'])), {}, {
  2598. url: item.path,
  2599. size: item.size
  2600. });
  2601. });
  2602. }
  2603. function chooseFile(_ref) {
  2604. var accept = _ref.accept,
  2605. multiple = _ref.multiple,
  2606. capture = _ref.capture,
  2607. compressed = _ref.compressed,
  2608. maxDuration = _ref.maxDuration,
  2609. sizeType = _ref.sizeType,
  2610. camera = _ref.camera,
  2611. maxCount = _ref.maxCount;
  2612. return new Promise(function (resolve, reject) {
  2613. switch (accept) {
  2614. case 'image':
  2615. uni.chooseImage({
  2616. count: multiple ? Math.min(maxCount, 9) : 1,
  2617. sourceType: capture,
  2618. sizeType: sizeType,
  2619. success: function success(res) {
  2620. return resolve(formatImage(res));
  2621. },
  2622. fail: reject
  2623. });
  2624. break;
  2625. // 只有微信小程序才支持chooseMedia接口
  2626. case 'media':
  2627. wx.chooseMedia({
  2628. count: multiple ? Math.min(maxCount, 9) : 1,
  2629. sourceType: capture,
  2630. maxDuration: maxDuration,
  2631. sizeType: sizeType,
  2632. camera: camera,
  2633. success: function success(res) {
  2634. return resolve(formatMedia(res));
  2635. },
  2636. fail: reject
  2637. });
  2638. break;
  2639. case 'video':
  2640. uni.chooseVideo({
  2641. sourceType: capture,
  2642. compressed: compressed,
  2643. maxDuration: maxDuration,
  2644. camera: camera,
  2645. success: function success(res) {
  2646. return resolve(formatVideo(res));
  2647. },
  2648. fail: reject
  2649. });
  2650. break;
  2651. // 只有微信小程序才支持chooseMessageFile接口
  2652. case 'file':
  2653. wx.chooseMessageFile({
  2654. count: multiple ? maxCount : 1,
  2655. type: accept,
  2656. success: function success(res) {
  2657. return resolve(formatFile(res));
  2658. },
  2659. fail: reject
  2660. });
  2661. break;
  2662. default:
  2663. // 此为保底选项,在accept不为上面任意一项的时候选取全部文件
  2664. wx.chooseMessageFile({
  2665. count: multiple ? maxCount : 1,
  2666. type: 'all',
  2667. success: function success(res) {
  2668. return resolve(formatFile(res));
  2669. },
  2670. fail: reject
  2671. });
  2672. }
  2673. });
  2674. }
  2675. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  2676. /***/ }),
  2677. /***/ 1151:
  2678. /*!***************************************************************************!*\
  2679. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-upload/mixin.js ***!
  2680. \***************************************************************************/
  2681. /*! no static exports found */
  2682. /***/ (function(module, exports, __webpack_require__) {
  2683. "use strict";
  2684. Object.defineProperty(exports, "__esModule", {
  2685. value: true
  2686. });
  2687. exports.default = void 0;
  2688. var _default = {
  2689. watch: {
  2690. // 监听accept的变化,判断是否符合个平台要求
  2691. // 只有微信小程序才支持选择媒体,文件类型,所以这里做一个判断提示
  2692. accept: {
  2693. immediate: true,
  2694. handler: function handler(val) {}
  2695. }
  2696. }
  2697. };
  2698. exports.default = _default;
  2699. /***/ }),
  2700. /***/ 1152:
  2701. /*!***************************************************************************!*\
  2702. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-upload/props.js ***!
  2703. \***************************************************************************/
  2704. /*! no static exports found */
  2705. /***/ (function(module, exports, __webpack_require__) {
  2706. "use strict";
  2707. /* WEBPACK VAR INJECTION */(function(uni) {
  2708. Object.defineProperty(exports, "__esModule", {
  2709. value: true
  2710. });
  2711. exports.default = void 0;
  2712. var _default = {
  2713. props: {
  2714. // 接受的文件类型, 可选值为all media image file video
  2715. accept: {
  2716. type: String,
  2717. default: uni.$u.props.upload.accept
  2718. },
  2719. // 图片或视频拾取模式,当accept为image类型时设置capture可选额外camera可以直接调起摄像头
  2720. capture: {
  2721. type: [String, Array],
  2722. default: uni.$u.props.upload.capture
  2723. },
  2724. // 当accept为video时生效,是否压缩视频,默认为true
  2725. compressed: {
  2726. type: Boolean,
  2727. default: uni.$u.props.upload.compressed
  2728. },
  2729. // 当accept为video时生效,可选值为back或front
  2730. camera: {
  2731. type: String,
  2732. default: uni.$u.props.upload.camera
  2733. },
  2734. // 当accept为video时生效,拍摄视频最长拍摄时间,单位秒
  2735. maxDuration: {
  2736. type: Number,
  2737. default: uni.$u.props.upload.maxDuration
  2738. },
  2739. // 上传区域的图标,只能内置图标
  2740. uploadIcon: {
  2741. type: String,
  2742. default: uni.$u.props.upload.uploadIcon
  2743. },
  2744. // 上传区域的图标的颜色,默认
  2745. uploadIconColor: {
  2746. type: String,
  2747. default: uni.$u.props.upload.uploadIconColor
  2748. },
  2749. // 是否开启文件读取前事件
  2750. useBeforeRead: {
  2751. type: Boolean,
  2752. default: uni.$u.props.upload.useBeforeRead
  2753. },
  2754. // 读取后的处理函数
  2755. afterRead: {
  2756. type: Function,
  2757. default: null
  2758. },
  2759. // 读取前的处理函数
  2760. beforeRead: {
  2761. type: Function,
  2762. default: null
  2763. },
  2764. // 是否显示组件自带的图片预览功能
  2765. previewFullImage: {
  2766. type: Boolean,
  2767. default: uni.$u.props.upload.previewFullImage
  2768. },
  2769. // 最大上传数量
  2770. maxCount: {
  2771. type: [String, Number],
  2772. default: uni.$u.props.upload.maxCount
  2773. },
  2774. // 是否启用
  2775. disabled: {
  2776. type: Boolean,
  2777. default: uni.$u.props.upload.disabled
  2778. },
  2779. // 预览上传的图片时的裁剪模式,和image组件mode属性一致
  2780. imageMode: {
  2781. type: String,
  2782. default: uni.$u.props.upload.imageMode
  2783. },
  2784. // 标识符,可以在回调函数的第二项参数中获取
  2785. name: {
  2786. type: String,
  2787. default: uni.$u.props.upload.name
  2788. },
  2789. // 所选的图片的尺寸, 可选值为original compressed
  2790. sizeType: {
  2791. type: Array,
  2792. default: uni.$u.props.upload.sizeType
  2793. },
  2794. // 是否开启图片多选,部分安卓机型不支持
  2795. multiple: {
  2796. type: Boolean,
  2797. default: uni.$u.props.upload.multiple
  2798. },
  2799. // 是否展示删除按钮
  2800. deletable: {
  2801. type: Boolean,
  2802. default: uni.$u.props.upload.deletable
  2803. },
  2804. // 文件大小限制,单位为byte
  2805. maxSize: {
  2806. type: [String, Number],
  2807. default: uni.$u.props.upload.maxSize
  2808. },
  2809. // 显示已上传的文件列表
  2810. fileList: {
  2811. type: Array,
  2812. default: uni.$u.props.upload.fileList
  2813. },
  2814. // 上传区域的提示文字
  2815. uploadText: {
  2816. type: String,
  2817. default: uni.$u.props.upload.uploadText
  2818. },
  2819. // 内部预览图片区域和选择图片按钮的区域宽度
  2820. width: {
  2821. type: [String, Number],
  2822. default: uni.$u.props.upload.width
  2823. },
  2824. // 内部预览图片区域和选择图片按钮的区域高度
  2825. height: {
  2826. type: [String, Number],
  2827. default: uni.$u.props.upload.height
  2828. },
  2829. // 是否在上传完成后展示预览图
  2830. previewImage: {
  2831. type: Boolean,
  2832. default: uni.$u.props.upload.previewImage
  2833. }
  2834. }
  2835. };
  2836. exports.default = _default;
  2837. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  2838. /***/ }),
  2839. /***/ 116:
  2840. /*!*****************************************************************************!*\
  2841. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/noNetwork.js ***!
  2842. \*****************************************************************************/
  2843. /*! no static exports found */
  2844. /***/ (function(module, exports, __webpack_require__) {
  2845. "use strict";
  2846. Object.defineProperty(exports, "__esModule", {
  2847. value: true
  2848. });
  2849. exports.default = void 0;
  2850. /*
  2851. * @Author : LQ
  2852. * @Description :
  2853. * @version : 1.0
  2854. * @Date : 2021-08-20 16:44:21
  2855. * @LastAuthor : LQ
  2856. * @lastTime : 2021-08-20 17:16:39
  2857. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noNetwork.js
  2858. */
  2859. var _default = {
  2860. // noNetwork
  2861. noNetwork: {
  2862. tips: '哎呀,网络信号丢失',
  2863. zIndex: '',
  2864. image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC'
  2865. }
  2866. };
  2867. exports.default = _default;
  2868. /***/ }),
  2869. /***/ 117:
  2870. /*!*****************************************************************************!*\
  2871. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/noticeBar.js ***!
  2872. \*****************************************************************************/
  2873. /*! no static exports found */
  2874. /***/ (function(module, exports, __webpack_require__) {
  2875. "use strict";
  2876. Object.defineProperty(exports, "__esModule", {
  2877. value: true
  2878. });
  2879. exports.default = void 0;
  2880. /*
  2881. * @Author : LQ
  2882. * @Description :
  2883. * @version : 1.0
  2884. * @Date : 2021-08-20 16:44:21
  2885. * @LastAuthor : LQ
  2886. * @lastTime : 2021-08-20 17:17:13
  2887. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noticeBar.js
  2888. */
  2889. var _default = {
  2890. // noticeBar
  2891. noticeBar: {
  2892. text: function text() {
  2893. return [];
  2894. },
  2895. direction: 'row',
  2896. step: false,
  2897. icon: 'volume',
  2898. mode: '',
  2899. color: '#f9ae3d',
  2900. bgColor: '#fdf6ec',
  2901. speed: 80,
  2902. fontSize: 14,
  2903. duration: 2000,
  2904. disableTouch: true,
  2905. url: '',
  2906. linkType: 'navigateTo'
  2907. }
  2908. };
  2909. exports.default = _default;
  2910. /***/ }),
  2911. /***/ 118:
  2912. /*!**************************************************************************!*\
  2913. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/notify.js ***!
  2914. \**************************************************************************/
  2915. /*! no static exports found */
  2916. /***/ (function(module, exports, __webpack_require__) {
  2917. "use strict";
  2918. Object.defineProperty(exports, "__esModule", {
  2919. value: true
  2920. });
  2921. exports.default = void 0;
  2922. /*
  2923. * @Author : LQ
  2924. * @Description :
  2925. * @version : 1.0
  2926. * @Date : 2021-08-20 16:44:21
  2927. * @LastAuthor : LQ
  2928. * @lastTime : 2021-08-20 17:10:21
  2929. * @FilePath : /u-view2.0/uview-ui/libs/config/props/notify.js
  2930. */
  2931. var _default = {
  2932. // notify组件
  2933. notify: {
  2934. top: 0,
  2935. type: 'primary',
  2936. color: '#ffffff',
  2937. bgColor: '',
  2938. message: '',
  2939. duration: 3000,
  2940. fontSize: 15,
  2941. safeAreaInsetTop: false
  2942. }
  2943. };
  2944. exports.default = _default;
  2945. /***/ }),
  2946. /***/ 119:
  2947. /*!*****************************************************************************!*\
  2948. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/numberBox.js ***!
  2949. \*****************************************************************************/
  2950. /*! no static exports found */
  2951. /***/ (function(module, exports, __webpack_require__) {
  2952. "use strict";
  2953. Object.defineProperty(exports, "__esModule", {
  2954. value: true
  2955. });
  2956. exports.default = void 0;
  2957. /*
  2958. * @Author : LQ
  2959. * @Description :
  2960. * @version : 1.0
  2961. * @Date : 2021-08-20 16:44:21
  2962. * @LastAuthor : LQ
  2963. * @lastTime : 2021-08-20 17:11:46
  2964. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberBox.js
  2965. */
  2966. var _default = {
  2967. // 步进器组件
  2968. numberBox: {
  2969. name: '',
  2970. value: 0,
  2971. min: 1,
  2972. max: Number.MAX_SAFE_INTEGER,
  2973. step: 1,
  2974. integer: false,
  2975. disabled: false,
  2976. disabledInput: false,
  2977. asyncChange: false,
  2978. inputWidth: 35,
  2979. showMinus: true,
  2980. showPlus: true,
  2981. decimalLength: null,
  2982. longPress: true,
  2983. color: '#323233',
  2984. buttonSize: 30,
  2985. bgColor: '#EBECEE',
  2986. cursorSpacing: 100,
  2987. disableMinus: false,
  2988. disablePlus: false,
  2989. iconStyle: ''
  2990. }
  2991. };
  2992. exports.default = _default;
  2993. /***/ }),
  2994. /***/ 12:
  2995. /*!**************************************************************!*\
  2996. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2997. \**************************************************************/
  2998. /*! no static exports found */
  2999. /***/ (function(module, exports, __webpack_require__) {
  3000. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  3001. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  3002. function toPropertyKey(t) {
  3003. var i = toPrimitive(t, "string");
  3004. return "symbol" == _typeof(i) ? i : i + "";
  3005. }
  3006. module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3007. /***/ }),
  3008. /***/ 120:
  3009. /*!**********************************************************************************!*\
  3010. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/numberKeyboard.js ***!
  3011. \**********************************************************************************/
  3012. /*! no static exports found */
  3013. /***/ (function(module, exports, __webpack_require__) {
  3014. "use strict";
  3015. Object.defineProperty(exports, "__esModule", {
  3016. value: true
  3017. });
  3018. exports.default = void 0;
  3019. /*
  3020. * @Author : LQ
  3021. * @Description :
  3022. * @version : 1.0
  3023. * @Date : 2021-08-20 16:44:21
  3024. * @LastAuthor : LQ
  3025. * @lastTime : 2021-08-20 17:08:05
  3026. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberKeyboard.js
  3027. */
  3028. var _default = {
  3029. // 数字键盘
  3030. numberKeyboard: {
  3031. mode: 'number',
  3032. dotDisabled: false,
  3033. random: false
  3034. }
  3035. };
  3036. exports.default = _default;
  3037. /***/ }),
  3038. /***/ 121:
  3039. /*!***************************************************************************!*\
  3040. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/overlay.js ***!
  3041. \***************************************************************************/
  3042. /*! no static exports found */
  3043. /***/ (function(module, exports, __webpack_require__) {
  3044. "use strict";
  3045. Object.defineProperty(exports, "__esModule", {
  3046. value: true
  3047. });
  3048. exports.default = void 0;
  3049. /*
  3050. * @Author : LQ
  3051. * @Description :
  3052. * @version : 1.0
  3053. * @Date : 2021-08-20 16:44:21
  3054. * @LastAuthor : LQ
  3055. * @lastTime : 2021-08-20 17:06:50
  3056. * @FilePath : /u-view2.0/uview-ui/libs/config/props/overlay.js
  3057. */
  3058. var _default = {
  3059. // overlay组件
  3060. overlay: {
  3061. show: false,
  3062. zIndex: 10070,
  3063. duration: 300,
  3064. opacity: 0.5
  3065. }
  3066. };
  3067. exports.default = _default;
  3068. /***/ }),
  3069. /***/ 122:
  3070. /*!*************************************************************************!*\
  3071. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/parse.js ***!
  3072. \*************************************************************************/
  3073. /*! no static exports found */
  3074. /***/ (function(module, exports, __webpack_require__) {
  3075. "use strict";
  3076. Object.defineProperty(exports, "__esModule", {
  3077. value: true
  3078. });
  3079. exports.default = void 0;
  3080. /*
  3081. * @Author : LQ
  3082. * @Description :
  3083. * @version : 1.0
  3084. * @Date : 2021-08-20 16:44:21
  3085. * @LastAuthor : LQ
  3086. * @lastTime : 2021-08-20 17:17:33
  3087. * @FilePath : /u-view2.0/uview-ui/libs/config/props/parse.js
  3088. */
  3089. var _default = {
  3090. // parse
  3091. parse: {
  3092. copyLink: true,
  3093. errorImg: '',
  3094. lazyLoad: false,
  3095. loadingImg: '',
  3096. pauseVideo: true,
  3097. previewImg: true,
  3098. setTitle: true,
  3099. showImgMenu: true
  3100. }
  3101. };
  3102. exports.default = _default;
  3103. /***/ }),
  3104. /***/ 123:
  3105. /*!**************************************************************************!*\
  3106. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/picker.js ***!
  3107. \**************************************************************************/
  3108. /*! no static exports found */
  3109. /***/ (function(module, exports, __webpack_require__) {
  3110. "use strict";
  3111. Object.defineProperty(exports, "__esModule", {
  3112. value: true
  3113. });
  3114. exports.default = void 0;
  3115. /*
  3116. * @Author : LQ
  3117. * @Description :
  3118. * @version : 1.0
  3119. * @Date : 2021-08-20 16:44:21
  3120. * @LastAuthor : LQ
  3121. * @lastTime : 2021-08-20 17:18:20
  3122. * @FilePath : /u-view2.0/uview-ui/libs/config/props/picker.js
  3123. */
  3124. var _default = {
  3125. // picker
  3126. picker: {
  3127. show: false,
  3128. showToolbar: true,
  3129. title: '',
  3130. columns: function columns() {
  3131. return [];
  3132. },
  3133. loading: false,
  3134. itemHeight: 44,
  3135. cancelText: '取消',
  3136. confirmText: '确定',
  3137. cancelColor: '#909193',
  3138. confirmColor: '#3c9cff',
  3139. visibleItemCount: 5,
  3140. keyName: 'text',
  3141. closeOnClickOverlay: false,
  3142. defaultIndex: function defaultIndex() {
  3143. return [];
  3144. },
  3145. immediateChange: false
  3146. }
  3147. };
  3148. exports.default = _default;
  3149. /***/ }),
  3150. /***/ 124:
  3151. /*!*************************************************************************!*\
  3152. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/popup.js ***!
  3153. \*************************************************************************/
  3154. /*! no static exports found */
  3155. /***/ (function(module, exports, __webpack_require__) {
  3156. "use strict";
  3157. Object.defineProperty(exports, "__esModule", {
  3158. value: true
  3159. });
  3160. exports.default = void 0;
  3161. /*
  3162. * @Author : LQ
  3163. * @Description :
  3164. * @version : 1.0
  3165. * @Date : 2021-08-20 16:44:21
  3166. * @LastAuthor : LQ
  3167. * @lastTime : 2021-08-20 17:06:33
  3168. * @FilePath : /u-view2.0/uview-ui/libs/config/props/popup.js
  3169. */
  3170. var _default = {
  3171. // popup组件
  3172. popup: {
  3173. show: false,
  3174. overlay: true,
  3175. mode: 'bottom',
  3176. duration: 300,
  3177. closeable: false,
  3178. overlayStyle: function overlayStyle() {},
  3179. closeOnClickOverlay: true,
  3180. zIndex: 10075,
  3181. safeAreaInsetBottom: true,
  3182. safeAreaInsetTop: false,
  3183. closeIconPos: 'top-right',
  3184. round: 0,
  3185. zoom: true,
  3186. bgColor: '',
  3187. overlayOpacity: 0.5
  3188. }
  3189. };
  3190. exports.default = _default;
  3191. /***/ }),
  3192. /***/ 125:
  3193. /*!*************************************************************************!*\
  3194. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/radio.js ***!
  3195. \*************************************************************************/
  3196. /*! no static exports found */
  3197. /***/ (function(module, exports, __webpack_require__) {
  3198. "use strict";
  3199. Object.defineProperty(exports, "__esModule", {
  3200. value: true
  3201. });
  3202. exports.default = void 0;
  3203. /*
  3204. * @Author : LQ
  3205. * @Description :
  3206. * @version : 1.0
  3207. * @Date : 2021-08-20 16:44:21
  3208. * @LastAuthor : LQ
  3209. * @lastTime : 2021-08-20 17:02:34
  3210. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radio.js
  3211. */
  3212. var _default = {
  3213. // radio组件
  3214. radio: {
  3215. name: '',
  3216. shape: '',
  3217. disabled: '',
  3218. labelDisabled: '',
  3219. activeColor: '',
  3220. inactiveColor: '',
  3221. iconSize: '',
  3222. labelSize: '',
  3223. label: '',
  3224. labelColor: '',
  3225. size: '',
  3226. iconColor: '',
  3227. placement: ''
  3228. }
  3229. };
  3230. exports.default = _default;
  3231. /***/ }),
  3232. /***/ 126:
  3233. /*!******************************************************************************!*\
  3234. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/radioGroup.js ***!
  3235. \******************************************************************************/
  3236. /*! no static exports found */
  3237. /***/ (function(module, exports, __webpack_require__) {
  3238. "use strict";
  3239. Object.defineProperty(exports, "__esModule", {
  3240. value: true
  3241. });
  3242. exports.default = void 0;
  3243. /*
  3244. * @Author : LQ
  3245. * @Description :
  3246. * @version : 1.0
  3247. * @Date : 2021-08-20 16:44:21
  3248. * @LastAuthor : LQ
  3249. * @lastTime : 2021-08-20 17:03:12
  3250. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radioGroup.js
  3251. */
  3252. var _default = {
  3253. // radio-group组件
  3254. radioGroup: {
  3255. value: '',
  3256. disabled: false,
  3257. shape: 'circle',
  3258. activeColor: '#2979ff',
  3259. inactiveColor: '#c8c9cc',
  3260. name: '',
  3261. size: 18,
  3262. placement: 'row',
  3263. label: '',
  3264. labelColor: '#303133',
  3265. labelSize: 14,
  3266. labelDisabled: false,
  3267. iconColor: '#ffffff',
  3268. iconSize: 12,
  3269. borderBottom: false,
  3270. iconPlacement: 'left'
  3271. }
  3272. };
  3273. exports.default = _default;
  3274. /***/ }),
  3275. /***/ 127:
  3276. /*!************************************************************************!*\
  3277. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/rate.js ***!
  3278. \************************************************************************/
  3279. /*! no static exports found */
  3280. /***/ (function(module, exports, __webpack_require__) {
  3281. "use strict";
  3282. Object.defineProperty(exports, "__esModule", {
  3283. value: true
  3284. });
  3285. exports.default = void 0;
  3286. /*
  3287. * @Author : LQ
  3288. * @Description :
  3289. * @version : 1.0
  3290. * @Date : 2021-08-20 16:44:21
  3291. * @LastAuthor : LQ
  3292. * @lastTime : 2021-08-20 17:05:09
  3293. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rate.js
  3294. */
  3295. var _default = {
  3296. // rate组件
  3297. rate: {
  3298. value: 1,
  3299. count: 5,
  3300. disabled: false,
  3301. size: 18,
  3302. inactiveColor: '#b2b2b2',
  3303. activeColor: '#FA3534',
  3304. gutter: 4,
  3305. minCount: 1,
  3306. allowHalf: false,
  3307. activeIcon: 'star-fill',
  3308. inactiveIcon: 'star',
  3309. touchable: true
  3310. }
  3311. };
  3312. exports.default = _default;
  3313. /***/ }),
  3314. /***/ 128:
  3315. /*!****************************************************************************!*\
  3316. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/readMore.js ***!
  3317. \****************************************************************************/
  3318. /*! no static exports found */
  3319. /***/ (function(module, exports, __webpack_require__) {
  3320. "use strict";
  3321. Object.defineProperty(exports, "__esModule", {
  3322. value: true
  3323. });
  3324. exports.default = void 0;
  3325. /*
  3326. * @Author : LQ
  3327. * @Description :
  3328. * @version : 1.0
  3329. * @Date : 2021-08-20 16:44:21
  3330. * @LastAuthor : LQ
  3331. * @lastTime : 2021-08-20 17:18:41
  3332. * @FilePath : /u-view2.0/uview-ui/libs/config/props/readMore.js
  3333. */
  3334. var _default = {
  3335. // readMore
  3336. readMore: {
  3337. showHeight: 400,
  3338. toggle: false,
  3339. closeText: '展开阅读全文',
  3340. openText: '收起',
  3341. color: '#2979ff',
  3342. fontSize: 14,
  3343. textIndent: '2em',
  3344. name: ''
  3345. }
  3346. };
  3347. exports.default = _default;
  3348. /***/ }),
  3349. /***/ 129:
  3350. /*!***********************************************************************!*\
  3351. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/row.js ***!
  3352. \***********************************************************************/
  3353. /*! no static exports found */
  3354. /***/ (function(module, exports, __webpack_require__) {
  3355. "use strict";
  3356. Object.defineProperty(exports, "__esModule", {
  3357. value: true
  3358. });
  3359. exports.default = void 0;
  3360. /*
  3361. * @Author : LQ
  3362. * @Description :
  3363. * @version : 1.0
  3364. * @Date : 2021-08-20 16:44:21
  3365. * @LastAuthor : LQ
  3366. * @lastTime : 2021-08-20 17:18:58
  3367. * @FilePath : /u-view2.0/uview-ui/libs/config/props/row.js
  3368. */
  3369. var _default = {
  3370. // row
  3371. row: {
  3372. gutter: 0,
  3373. justify: 'start',
  3374. align: 'center'
  3375. }
  3376. };
  3377. exports.default = _default;
  3378. /***/ }),
  3379. /***/ 13:
  3380. /*!*******************************************************!*\
  3381. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  3382. \*******************************************************/
  3383. /*! no static exports found */
  3384. /***/ (function(module, exports) {
  3385. function _typeof(o) {
  3386. "@babel/helpers - typeof";
  3387. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
  3388. return typeof o;
  3389. } : function (o) {
  3390. return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
  3391. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
  3392. }
  3393. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3394. /***/ }),
  3395. /***/ 130:
  3396. /*!*****************************************************************************!*\
  3397. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/rowNotice.js ***!
  3398. \*****************************************************************************/
  3399. /*! no static exports found */
  3400. /***/ (function(module, exports, __webpack_require__) {
  3401. "use strict";
  3402. Object.defineProperty(exports, "__esModule", {
  3403. value: true
  3404. });
  3405. exports.default = void 0;
  3406. /*
  3407. * @Author : LQ
  3408. * @Description :
  3409. * @version : 1.0
  3410. * @Date : 2021-08-20 16:44:21
  3411. * @LastAuthor : LQ
  3412. * @lastTime : 2021-08-20 17:19:13
  3413. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rowNotice.js
  3414. */
  3415. var _default = {
  3416. // rowNotice
  3417. rowNotice: {
  3418. text: '',
  3419. icon: 'volume',
  3420. mode: '',
  3421. color: '#f9ae3d',
  3422. bgColor: '#fdf6ec',
  3423. fontSize: 14,
  3424. speed: 80
  3425. }
  3426. };
  3427. exports.default = _default;
  3428. /***/ }),
  3429. /***/ 1307:
  3430. /*!*******************************************************************************!*\
  3431. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-status-bar/props.js ***!
  3432. \*******************************************************************************/
  3433. /*! no static exports found */
  3434. /***/ (function(module, exports, __webpack_require__) {
  3435. "use strict";
  3436. /* WEBPACK VAR INJECTION */(function(uni) {
  3437. Object.defineProperty(exports, "__esModule", {
  3438. value: true
  3439. });
  3440. exports.default = void 0;
  3441. var _default = {
  3442. props: {
  3443. bgColor: {
  3444. type: String,
  3445. default: uni.$u.props.statusBar.bgColor
  3446. }
  3447. }
  3448. };
  3449. exports.default = _default;
  3450. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3451. /***/ }),
  3452. /***/ 131:
  3453. /*!******************************************************************************!*\
  3454. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/scrollList.js ***!
  3455. \******************************************************************************/
  3456. /*! no static exports found */
  3457. /***/ (function(module, exports, __webpack_require__) {
  3458. "use strict";
  3459. Object.defineProperty(exports, "__esModule", {
  3460. value: true
  3461. });
  3462. exports.default = void 0;
  3463. /*
  3464. * @Author : LQ
  3465. * @Description :
  3466. * @version : 1.0
  3467. * @Date : 2021-08-20 16:44:21
  3468. * @LastAuthor : LQ
  3469. * @lastTime : 2021-08-20 17:19:28
  3470. * @FilePath : /u-view2.0/uview-ui/libs/config/props/scrollList.js
  3471. */
  3472. var _default = {
  3473. // scrollList
  3474. scrollList: {
  3475. indicatorWidth: 50,
  3476. indicatorBarWidth: 20,
  3477. indicator: true,
  3478. indicatorColor: '#f2f2f2',
  3479. indicatorActiveColor: '#3c9cff',
  3480. indicatorStyle: ''
  3481. }
  3482. };
  3483. exports.default = _default;
  3484. /***/ }),
  3485. /***/ 1315:
  3486. /*!*********************************************************************************!*\
  3487. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-loading-icon/props.js ***!
  3488. \*********************************************************************************/
  3489. /*! no static exports found */
  3490. /***/ (function(module, exports, __webpack_require__) {
  3491. "use strict";
  3492. /* WEBPACK VAR INJECTION */(function(uni) {
  3493. Object.defineProperty(exports, "__esModule", {
  3494. value: true
  3495. });
  3496. exports.default = void 0;
  3497. var _default = {
  3498. props: {
  3499. // 是否显示组件
  3500. show: {
  3501. type: Boolean,
  3502. default: uni.$u.props.loadingIcon.show
  3503. },
  3504. // 颜色
  3505. color: {
  3506. type: String,
  3507. default: uni.$u.props.loadingIcon.color
  3508. },
  3509. // 提示文字颜色
  3510. textColor: {
  3511. type: String,
  3512. default: uni.$u.props.loadingIcon.textColor
  3513. },
  3514. // 文字和图标是否垂直排列
  3515. vertical: {
  3516. type: Boolean,
  3517. default: uni.$u.props.loadingIcon.vertical
  3518. },
  3519. // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
  3520. mode: {
  3521. type: String,
  3522. default: uni.$u.props.loadingIcon.mode
  3523. },
  3524. // 图标大小,单位默认px
  3525. size: {
  3526. type: [String, Number],
  3527. default: uni.$u.props.loadingIcon.size
  3528. },
  3529. // 文字大小
  3530. textSize: {
  3531. type: [String, Number],
  3532. default: uni.$u.props.loadingIcon.textSize
  3533. },
  3534. // 文字内容
  3535. text: {
  3536. type: [String, Number],
  3537. default: uni.$u.props.loadingIcon.text
  3538. },
  3539. // 动画模式
  3540. timingFunction: {
  3541. type: String,
  3542. default: uni.$u.props.loadingIcon.timingFunction
  3543. },
  3544. // 动画执行周期时间
  3545. duration: {
  3546. type: [String, Number],
  3547. default: uni.$u.props.loadingIcon.duration
  3548. },
  3549. // mode=circle时的暗边颜色
  3550. inactiveColor: {
  3551. type: String,
  3552. default: uni.$u.props.loadingIcon.inactiveColor
  3553. }
  3554. }
  3555. };
  3556. exports.default = _default;
  3557. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3558. /***/ }),
  3559. /***/ 132:
  3560. /*!**************************************************************************!*\
  3561. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/search.js ***!
  3562. \**************************************************************************/
  3563. /*! no static exports found */
  3564. /***/ (function(module, exports, __webpack_require__) {
  3565. "use strict";
  3566. Object.defineProperty(exports, "__esModule", {
  3567. value: true
  3568. });
  3569. exports.default = void 0;
  3570. /*
  3571. * @Author : LQ
  3572. * @Description :
  3573. * @version : 1.0
  3574. * @Date : 2021-08-20 16:44:21
  3575. * @LastAuthor : LQ
  3576. * @lastTime : 2021-08-20 17:19:45
  3577. * @FilePath : /u-view2.0/uview-ui/libs/config/props/search.js
  3578. */
  3579. var _default = {
  3580. // search
  3581. search: {
  3582. shape: 'round',
  3583. bgColor: '#f2f2f2',
  3584. placeholder: '请输入关键字',
  3585. clearabled: true,
  3586. focus: false,
  3587. showAction: true,
  3588. actionStyle: function actionStyle() {
  3589. return {};
  3590. },
  3591. actionText: '搜索',
  3592. inputAlign: 'left',
  3593. inputStyle: function inputStyle() {
  3594. return {};
  3595. },
  3596. disabled: false,
  3597. borderColor: 'transparent',
  3598. searchIconColor: '#909399',
  3599. searchIconSize: 22,
  3600. color: '#606266',
  3601. placeholderColor: '#909399',
  3602. searchIcon: 'search',
  3603. margin: '0',
  3604. animation: false,
  3605. value: '',
  3606. maxlength: '-1',
  3607. height: 32,
  3608. label: null
  3609. }
  3610. };
  3611. exports.default = _default;
  3612. /***/ }),
  3613. /***/ 1323:
  3614. /*!*************************************************************************************!*\
  3615. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swiper-indicator/props.js ***!
  3616. \*************************************************************************************/
  3617. /*! no static exports found */
  3618. /***/ (function(module, exports, __webpack_require__) {
  3619. "use strict";
  3620. /* WEBPACK VAR INJECTION */(function(uni) {
  3621. Object.defineProperty(exports, "__esModule", {
  3622. value: true
  3623. });
  3624. exports.default = void 0;
  3625. var _default = {
  3626. props: {
  3627. // 轮播的长度
  3628. length: {
  3629. type: [String, Number],
  3630. default: uni.$u.props.swiperIndicator.length
  3631. },
  3632. // 当前处于活动状态的轮播的索引
  3633. current: {
  3634. type: [String, Number],
  3635. default: uni.$u.props.swiperIndicator.current
  3636. },
  3637. // 指示器非激活颜色
  3638. indicatorActiveColor: {
  3639. type: String,
  3640. default: uni.$u.props.swiperIndicator.indicatorActiveColor
  3641. },
  3642. // 指示器的激活颜色
  3643. indicatorInactiveColor: {
  3644. type: String,
  3645. default: uni.$u.props.swiperIndicator.indicatorInactiveColor
  3646. },
  3647. // 指示器模式,line-线型,dot-点型
  3648. indicatorMode: {
  3649. type: String,
  3650. default: uni.$u.props.swiperIndicator.indicatorMode
  3651. }
  3652. }
  3653. };
  3654. exports.default = _default;
  3655. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3656. /***/ }),
  3657. /***/ 133:
  3658. /*!***************************************************************************!*\
  3659. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/section.js ***!
  3660. \***************************************************************************/
  3661. /*! no static exports found */
  3662. /***/ (function(module, exports, __webpack_require__) {
  3663. "use strict";
  3664. Object.defineProperty(exports, "__esModule", {
  3665. value: true
  3666. });
  3667. exports.default = void 0;
  3668. /*
  3669. * @Author : LQ
  3670. * @Description :
  3671. * @version : 1.0
  3672. * @Date : 2021-08-20 16:44:21
  3673. * @LastAuthor : LQ
  3674. * @lastTime : 2021-08-20 17:07:33
  3675. * @FilePath : /u-view2.0/uview-ui/libs/config/props/section.js
  3676. */
  3677. var _default = {
  3678. // u-section组件
  3679. section: {
  3680. title: '',
  3681. subTitle: '更多',
  3682. right: true,
  3683. fontSize: 15,
  3684. bold: true,
  3685. color: '#303133',
  3686. subColor: '#909399',
  3687. showLine: true,
  3688. lineColor: '',
  3689. arrow: true
  3690. }
  3691. };
  3692. exports.default = _default;
  3693. /***/ }),
  3694. /***/ 1331:
  3695. /*!****************************************************************************!*\
  3696. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-overlay/props.js ***!
  3697. \****************************************************************************/
  3698. /*! no static exports found */
  3699. /***/ (function(module, exports, __webpack_require__) {
  3700. "use strict";
  3701. /* WEBPACK VAR INJECTION */(function(uni) {
  3702. Object.defineProperty(exports, "__esModule", {
  3703. value: true
  3704. });
  3705. exports.default = void 0;
  3706. var _default = {
  3707. props: {
  3708. // 是否显示遮罩
  3709. show: {
  3710. type: Boolean,
  3711. default: uni.$u.props.overlay.show
  3712. },
  3713. // 层级z-index
  3714. zIndex: {
  3715. type: [String, Number],
  3716. default: uni.$u.props.overlay.zIndex
  3717. },
  3718. // 遮罩的过渡时间,单位为ms
  3719. duration: {
  3720. type: [String, Number],
  3721. default: uni.$u.props.overlay.duration
  3722. },
  3723. // 不透明度值,当做rgba的第四个参数
  3724. opacity: {
  3725. type: [String, Number],
  3726. default: uni.$u.props.overlay.opacity
  3727. }
  3728. }
  3729. };
  3730. exports.default = _default;
  3731. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3732. /***/ }),
  3733. /***/ 1339:
  3734. /*!********************************************************************************!*\
  3735. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-safe-bottom/props.js ***!
  3736. \********************************************************************************/
  3737. /*! no static exports found */
  3738. /***/ (function(module, exports, __webpack_require__) {
  3739. "use strict";
  3740. Object.defineProperty(exports, "__esModule", {
  3741. value: true
  3742. });
  3743. exports.default = void 0;
  3744. var _default = {
  3745. props: {}
  3746. };
  3747. exports.default = _default;
  3748. /***/ }),
  3749. /***/ 134:
  3750. /*!****************************************************************************!*\
  3751. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/skeleton.js ***!
  3752. \****************************************************************************/
  3753. /*! no static exports found */
  3754. /***/ (function(module, exports, __webpack_require__) {
  3755. "use strict";
  3756. Object.defineProperty(exports, "__esModule", {
  3757. value: true
  3758. });
  3759. exports.default = void 0;
  3760. /*
  3761. * @Author : LQ
  3762. * @Description :
  3763. * @version : 1.0
  3764. * @Date : 2021-08-20 16:44:21
  3765. * @LastAuthor : LQ
  3766. * @lastTime : 2021-08-20 17:20:14
  3767. * @FilePath : /u-view2.0/uview-ui/libs/config/props/skeleton.js
  3768. */
  3769. var _default = {
  3770. // skeleton
  3771. skeleton: {
  3772. loading: true,
  3773. animate: true,
  3774. rows: 0,
  3775. rowsWidth: '100%',
  3776. rowsHeight: 18,
  3777. title: true,
  3778. titleWidth: '50%',
  3779. titleHeight: 18,
  3780. avatar: false,
  3781. avatarSize: 32,
  3782. avatarShape: 'circle'
  3783. }
  3784. };
  3785. exports.default = _default;
  3786. /***/ }),
  3787. /***/ 1347:
  3788. /*!***************************************************************************!*\
  3789. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-tabbar/props.js ***!
  3790. \***************************************************************************/
  3791. /*! no static exports found */
  3792. /***/ (function(module, exports, __webpack_require__) {
  3793. "use strict";
  3794. /* WEBPACK VAR INJECTION */(function(uni) {
  3795. Object.defineProperty(exports, "__esModule", {
  3796. value: true
  3797. });
  3798. exports.default = void 0;
  3799. var _default = {
  3800. props: {
  3801. // 当前匹配项的name
  3802. value: {
  3803. type: [String, Number, null],
  3804. default: uni.$u.props.tabbar.value
  3805. },
  3806. // 是否为iPhoneX留出底部安全距离
  3807. safeAreaInsetBottom: {
  3808. type: Boolean,
  3809. default: uni.$u.props.tabbar.safeAreaInsetBottom
  3810. },
  3811. // 是否显示上方边框
  3812. border: {
  3813. type: Boolean,
  3814. default: uni.$u.props.tabbar.border
  3815. },
  3816. // 元素层级z-index
  3817. zIndex: {
  3818. type: [String, Number],
  3819. default: uni.$u.props.tabbar.zIndex
  3820. },
  3821. // 选中标签的颜色
  3822. activeColor: {
  3823. type: String,
  3824. default: uni.$u.props.tabbar.activeColor
  3825. },
  3826. // 未选中标签的颜色
  3827. inactiveColor: {
  3828. type: String,
  3829. default: uni.$u.props.tabbar.inactiveColor
  3830. },
  3831. // 是否固定在底部
  3832. fixed: {
  3833. type: Boolean,
  3834. default: uni.$u.props.tabbar.fixed
  3835. },
  3836. // fixed定位固定在底部时,是否生成一个等高元素防止塌陷
  3837. placeholder: {
  3838. type: Boolean,
  3839. default: uni.$u.props.tabbar.placeholder
  3840. }
  3841. }
  3842. };
  3843. exports.default = _default;
  3844. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3845. /***/ }),
  3846. /***/ 135:
  3847. /*!**************************************************************************!*\
  3848. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/slider.js ***!
  3849. \**************************************************************************/
  3850. /*! no static exports found */
  3851. /***/ (function(module, exports, __webpack_require__) {
  3852. "use strict";
  3853. Object.defineProperty(exports, "__esModule", {
  3854. value: true
  3855. });
  3856. exports.default = void 0;
  3857. /*
  3858. * @Author : LQ
  3859. * @Description :
  3860. * @version : 1.0
  3861. * @Date : 2021-08-20 16:44:21
  3862. * @LastAuthor : LQ
  3863. * @lastTime : 2021-08-20 17:08:25
  3864. * @FilePath : /u-view2.0/uview-ui/libs/config/props/slider.js
  3865. */
  3866. var _default = {
  3867. // slider组件
  3868. slider: {
  3869. value: 0,
  3870. blockSize: 18,
  3871. min: 0,
  3872. max: 100,
  3873. step: 1,
  3874. activeColor: '#2979ff',
  3875. inactiveColor: '#c0c4cc',
  3876. blockColor: '#ffffff',
  3877. showValue: false,
  3878. disabled: false,
  3879. blockStyle: function blockStyle() {}
  3880. }
  3881. };
  3882. exports.default = _default;
  3883. /***/ }),
  3884. /***/ 1355:
  3885. /*!********************************************************************************!*\
  3886. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-tabbar-item/props.js ***!
  3887. \********************************************************************************/
  3888. /*! no static exports found */
  3889. /***/ (function(module, exports, __webpack_require__) {
  3890. "use strict";
  3891. /* WEBPACK VAR INJECTION */(function(uni) {
  3892. Object.defineProperty(exports, "__esModule", {
  3893. value: true
  3894. });
  3895. exports.default = void 0;
  3896. var _default = {
  3897. props: {
  3898. // item标签的名称,作为与u-tabbar的value参数匹配的标识符
  3899. name: {
  3900. type: [String, Number, null],
  3901. default: uni.$u.props.tabbarItem.name
  3902. },
  3903. // uView内置图标或者绝对路径的图片
  3904. icon: {
  3905. icon: String,
  3906. default: uni.$u.props.tabbarItem.icon
  3907. },
  3908. // 右上角的角标提示信息
  3909. badge: {
  3910. type: [String, Number, null],
  3911. default: uni.$u.props.tabbarItem.badge
  3912. },
  3913. // 是否显示圆点,将会覆盖badge参数
  3914. dot: {
  3915. type: Boolean,
  3916. default: uni.$u.props.tabbarItem.dot
  3917. },
  3918. // 描述文本
  3919. text: {
  3920. type: String,
  3921. default: uni.$u.props.tabbarItem.text
  3922. },
  3923. // 控制徽标的位置,对象或者字符串形式,可以设置top和right属性
  3924. badgeStyle: {
  3925. type: [Object, String],
  3926. default: uni.$u.props.tabbarItem.badgeStyle
  3927. }
  3928. }
  3929. };
  3930. exports.default = _default;
  3931. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3932. /***/ }),
  3933. /***/ 136:
  3934. /*!*****************************************************************************!*\
  3935. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/statusBar.js ***!
  3936. \*****************************************************************************/
  3937. /*! no static exports found */
  3938. /***/ (function(module, exports, __webpack_require__) {
  3939. "use strict";
  3940. Object.defineProperty(exports, "__esModule", {
  3941. value: true
  3942. });
  3943. exports.default = void 0;
  3944. /*
  3945. * @Author : LQ
  3946. * @Description :
  3947. * @version : 1.0
  3948. * @Date : 2021-08-20 16:44:21
  3949. * @LastAuthor : LQ
  3950. * @lastTime : 2021-08-20 17:20:39
  3951. * @FilePath : /u-view2.0/uview-ui/libs/config/props/statusBar.js
  3952. */
  3953. var _default = {
  3954. // statusBar
  3955. statusBar: {
  3956. bgColor: 'transparent'
  3957. }
  3958. };
  3959. exports.default = _default;
  3960. /***/ }),
  3961. /***/ 1363:
  3962. /*!************************************************************************!*\
  3963. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-gap/props.js ***!
  3964. \************************************************************************/
  3965. /*! no static exports found */
  3966. /***/ (function(module, exports, __webpack_require__) {
  3967. "use strict";
  3968. /* WEBPACK VAR INJECTION */(function(uni) {
  3969. Object.defineProperty(exports, "__esModule", {
  3970. value: true
  3971. });
  3972. exports.default = void 0;
  3973. var _default = {
  3974. props: {
  3975. // 背景颜色(默认transparent)
  3976. bgColor: {
  3977. type: String,
  3978. default: uni.$u.props.gap.bgColor
  3979. },
  3980. // 分割槽高度,单位px(默认30)
  3981. height: {
  3982. type: [String, Number],
  3983. default: uni.$u.props.gap.height
  3984. },
  3985. // 与上一个组件的距离
  3986. marginTop: {
  3987. type: [String, Number],
  3988. default: uni.$u.props.gap.marginTop
  3989. },
  3990. // 与下一个组件的距离
  3991. marginBottom: {
  3992. type: [String, Number],
  3993. default: uni.$u.props.gap.marginBottom
  3994. }
  3995. }
  3996. };
  3997. exports.default = _default;
  3998. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3999. /***/ }),
  4000. /***/ 137:
  4001. /*!*************************************************************************!*\
  4002. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/steps.js ***!
  4003. \*************************************************************************/
  4004. /*! no static exports found */
  4005. /***/ (function(module, exports, __webpack_require__) {
  4006. "use strict";
  4007. Object.defineProperty(exports, "__esModule", {
  4008. value: true
  4009. });
  4010. exports.default = void 0;
  4011. /*
  4012. * @Author : LQ
  4013. * @Description :
  4014. * @version : 1.0
  4015. * @Date : 2021-08-20 16:44:21
  4016. * @LastAuthor : LQ
  4017. * @lastTime : 2021-08-20 17:12:37
  4018. * @FilePath : /u-view2.0/uview-ui/libs/config/props/steps.js
  4019. */
  4020. var _default = {
  4021. // steps组件
  4022. steps: {
  4023. direction: 'row',
  4024. current: 0,
  4025. activeColor: '#3c9cff',
  4026. inactiveColor: '#969799',
  4027. activeIcon: '',
  4028. inactiveIcon: '',
  4029. dot: false
  4030. }
  4031. };
  4032. exports.default = _default;
  4033. /***/ }),
  4034. /***/ 1371:
  4035. /*!*****************************************************************************************************!*\
  4036. !*** D:/project/crossBorder/wx-qhb/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js ***!
  4037. \*****************************************************************************************************/
  4038. /*! no static exports found */
  4039. /***/ (function(module, exports, __webpack_require__) {
  4040. "use strict";
  4041. Object.defineProperty(exports, "__esModule", {
  4042. value: true
  4043. });
  4044. exports.fontData = void 0;
  4045. var fontData = [{
  4046. "font_class": "arrow-down",
  4047. "unicode": "\uE6BE"
  4048. }, {
  4049. "font_class": "arrow-left",
  4050. "unicode": "\uE6BC"
  4051. }, {
  4052. "font_class": "arrow-right",
  4053. "unicode": "\uE6BB"
  4054. }, {
  4055. "font_class": "arrow-up",
  4056. "unicode": "\uE6BD"
  4057. }, {
  4058. "font_class": "auth",
  4059. "unicode": "\uE6AB"
  4060. }, {
  4061. "font_class": "auth-filled",
  4062. "unicode": "\uE6CC"
  4063. }, {
  4064. "font_class": "back",
  4065. "unicode": "\uE6B9"
  4066. }, {
  4067. "font_class": "bars",
  4068. "unicode": "\uE627"
  4069. }, {
  4070. "font_class": "calendar",
  4071. "unicode": "\uE6A0"
  4072. }, {
  4073. "font_class": "calendar-filled",
  4074. "unicode": "\uE6C0"
  4075. }, {
  4076. "font_class": "camera",
  4077. "unicode": "\uE65A"
  4078. }, {
  4079. "font_class": "camera-filled",
  4080. "unicode": "\uE658"
  4081. }, {
  4082. "font_class": "cart",
  4083. "unicode": "\uE631"
  4084. }, {
  4085. "font_class": "cart-filled",
  4086. "unicode": "\uE6D0"
  4087. }, {
  4088. "font_class": "chat",
  4089. "unicode": "\uE65D"
  4090. }, {
  4091. "font_class": "chat-filled",
  4092. "unicode": "\uE659"
  4093. }, {
  4094. "font_class": "chatboxes",
  4095. "unicode": "\uE696"
  4096. }, {
  4097. "font_class": "chatboxes-filled",
  4098. "unicode": "\uE692"
  4099. }, {
  4100. "font_class": "chatbubble",
  4101. "unicode": "\uE697"
  4102. }, {
  4103. "font_class": "chatbubble-filled",
  4104. "unicode": "\uE694"
  4105. }, {
  4106. "font_class": "checkbox",
  4107. "unicode": "\uE62B"
  4108. }, {
  4109. "font_class": "checkbox-filled",
  4110. "unicode": "\uE62C"
  4111. }, {
  4112. "font_class": "checkmarkempty",
  4113. "unicode": "\uE65C"
  4114. }, {
  4115. "font_class": "circle",
  4116. "unicode": "\uE65B"
  4117. }, {
  4118. "font_class": "circle-filled",
  4119. "unicode": "\uE65E"
  4120. }, {
  4121. "font_class": "clear",
  4122. "unicode": "\uE66D"
  4123. }, {
  4124. "font_class": "close",
  4125. "unicode": "\uE673"
  4126. }, {
  4127. "font_class": "closeempty",
  4128. "unicode": "\uE66C"
  4129. }, {
  4130. "font_class": "cloud-download",
  4131. "unicode": "\uE647"
  4132. }, {
  4133. "font_class": "cloud-download-filled",
  4134. "unicode": "\uE646"
  4135. }, {
  4136. "font_class": "cloud-upload",
  4137. "unicode": "\uE645"
  4138. }, {
  4139. "font_class": "cloud-upload-filled",
  4140. "unicode": "\uE648"
  4141. }, {
  4142. "font_class": "color",
  4143. "unicode": "\uE6CF"
  4144. }, {
  4145. "font_class": "color-filled",
  4146. "unicode": "\uE6C9"
  4147. }, {
  4148. "font_class": "compose",
  4149. "unicode": "\uE67F"
  4150. }, {
  4151. "font_class": "contact",
  4152. "unicode": "\uE693"
  4153. }, {
  4154. "font_class": "contact-filled",
  4155. "unicode": "\uE695"
  4156. }, {
  4157. "font_class": "down",
  4158. "unicode": "\uE6B8"
  4159. }, {
  4160. "font_class": "bottom",
  4161. "unicode": "\uE6B8"
  4162. }, {
  4163. "font_class": "download",
  4164. "unicode": "\uE68D"
  4165. }, {
  4166. "font_class": "download-filled",
  4167. "unicode": "\uE681"
  4168. }, {
  4169. "font_class": "email",
  4170. "unicode": "\uE69E"
  4171. }, {
  4172. "font_class": "email-filled",
  4173. "unicode": "\uE69A"
  4174. }, {
  4175. "font_class": "eye",
  4176. "unicode": "\uE651"
  4177. }, {
  4178. "font_class": "eye-filled",
  4179. "unicode": "\uE66A"
  4180. }, {
  4181. "font_class": "eye-slash",
  4182. "unicode": "\uE6B3"
  4183. }, {
  4184. "font_class": "eye-slash-filled",
  4185. "unicode": "\uE6B4"
  4186. }, {
  4187. "font_class": "fire",
  4188. "unicode": "\uE6A1"
  4189. }, {
  4190. "font_class": "fire-filled",
  4191. "unicode": "\uE6C5"
  4192. }, {
  4193. "font_class": "flag",
  4194. "unicode": "\uE65F"
  4195. }, {
  4196. "font_class": "flag-filled",
  4197. "unicode": "\uE660"
  4198. }, {
  4199. "font_class": "folder-add",
  4200. "unicode": "\uE6A9"
  4201. }, {
  4202. "font_class": "folder-add-filled",
  4203. "unicode": "\uE6C8"
  4204. }, {
  4205. "font_class": "font",
  4206. "unicode": "\uE6A3"
  4207. }, {
  4208. "font_class": "forward",
  4209. "unicode": "\uE6BA"
  4210. }, {
  4211. "font_class": "gear",
  4212. "unicode": "\uE664"
  4213. }, {
  4214. "font_class": "gear-filled",
  4215. "unicode": "\uE661"
  4216. }, {
  4217. "font_class": "gift",
  4218. "unicode": "\uE6A4"
  4219. }, {
  4220. "font_class": "gift-filled",
  4221. "unicode": "\uE6C4"
  4222. }, {
  4223. "font_class": "hand-down",
  4224. "unicode": "\uE63D"
  4225. }, {
  4226. "font_class": "hand-down-filled",
  4227. "unicode": "\uE63C"
  4228. }, {
  4229. "font_class": "hand-up",
  4230. "unicode": "\uE63F"
  4231. }, {
  4232. "font_class": "hand-up-filled",
  4233. "unicode": "\uE63E"
  4234. }, {
  4235. "font_class": "headphones",
  4236. "unicode": "\uE630"
  4237. }, {
  4238. "font_class": "heart",
  4239. "unicode": "\uE639"
  4240. }, {
  4241. "font_class": "heart-filled",
  4242. "unicode": "\uE641"
  4243. }, {
  4244. "font_class": "help",
  4245. "unicode": "\uE679"
  4246. }, {
  4247. "font_class": "help-filled",
  4248. "unicode": "\uE674"
  4249. }, {
  4250. "font_class": "home",
  4251. "unicode": "\uE662"
  4252. }, {
  4253. "font_class": "home-filled",
  4254. "unicode": "\uE663"
  4255. }, {
  4256. "font_class": "image",
  4257. "unicode": "\uE670"
  4258. }, {
  4259. "font_class": "image-filled",
  4260. "unicode": "\uE678"
  4261. }, {
  4262. "font_class": "images",
  4263. "unicode": "\uE650"
  4264. }, {
  4265. "font_class": "images-filled",
  4266. "unicode": "\uE64B"
  4267. }, {
  4268. "font_class": "info",
  4269. "unicode": "\uE669"
  4270. }, {
  4271. "font_class": "info-filled",
  4272. "unicode": "\uE649"
  4273. }, {
  4274. "font_class": "left",
  4275. "unicode": "\uE6B7"
  4276. }, {
  4277. "font_class": "link",
  4278. "unicode": "\uE6A5"
  4279. }, {
  4280. "font_class": "list",
  4281. "unicode": "\uE644"
  4282. }, {
  4283. "font_class": "location",
  4284. "unicode": "\uE6AE"
  4285. }, {
  4286. "font_class": "location-filled",
  4287. "unicode": "\uE6AF"
  4288. }, {
  4289. "font_class": "locked",
  4290. "unicode": "\uE66B"
  4291. }, {
  4292. "font_class": "locked-filled",
  4293. "unicode": "\uE668"
  4294. }, {
  4295. "font_class": "loop",
  4296. "unicode": "\uE633"
  4297. }, {
  4298. "font_class": "mail-open",
  4299. "unicode": "\uE643"
  4300. }, {
  4301. "font_class": "mail-open-filled",
  4302. "unicode": "\uE63A"
  4303. }, {
  4304. "font_class": "map",
  4305. "unicode": "\uE667"
  4306. }, {
  4307. "font_class": "map-filled",
  4308. "unicode": "\uE666"
  4309. }, {
  4310. "font_class": "map-pin",
  4311. "unicode": "\uE6AD"
  4312. }, {
  4313. "font_class": "map-pin-ellipse",
  4314. "unicode": "\uE6AC"
  4315. }, {
  4316. "font_class": "medal",
  4317. "unicode": "\uE6A2"
  4318. }, {
  4319. "font_class": "medal-filled",
  4320. "unicode": "\uE6C3"
  4321. }, {
  4322. "font_class": "mic",
  4323. "unicode": "\uE671"
  4324. }, {
  4325. "font_class": "mic-filled",
  4326. "unicode": "\uE677"
  4327. }, {
  4328. "font_class": "micoff",
  4329. "unicode": "\uE67E"
  4330. }, {
  4331. "font_class": "micoff-filled",
  4332. "unicode": "\uE6B0"
  4333. }, {
  4334. "font_class": "minus",
  4335. "unicode": "\uE66F"
  4336. }, {
  4337. "font_class": "minus-filled",
  4338. "unicode": "\uE67D"
  4339. }, {
  4340. "font_class": "more",
  4341. "unicode": "\uE64D"
  4342. }, {
  4343. "font_class": "more-filled",
  4344. "unicode": "\uE64E"
  4345. }, {
  4346. "font_class": "navigate",
  4347. "unicode": "\uE66E"
  4348. }, {
  4349. "font_class": "navigate-filled",
  4350. "unicode": "\uE67A"
  4351. }, {
  4352. "font_class": "notification",
  4353. "unicode": "\uE6A6"
  4354. }, {
  4355. "font_class": "notification-filled",
  4356. "unicode": "\uE6C1"
  4357. }, {
  4358. "font_class": "paperclip",
  4359. "unicode": "\uE652"
  4360. }, {
  4361. "font_class": "paperplane",
  4362. "unicode": "\uE672"
  4363. }, {
  4364. "font_class": "paperplane-filled",
  4365. "unicode": "\uE675"
  4366. }, {
  4367. "font_class": "person",
  4368. "unicode": "\uE699"
  4369. }, {
  4370. "font_class": "person-filled",
  4371. "unicode": "\uE69D"
  4372. }, {
  4373. "font_class": "personadd",
  4374. "unicode": "\uE69F"
  4375. }, {
  4376. "font_class": "personadd-filled",
  4377. "unicode": "\uE698"
  4378. }, {
  4379. "font_class": "personadd-filled-copy",
  4380. "unicode": "\uE6D1"
  4381. }, {
  4382. "font_class": "phone",
  4383. "unicode": "\uE69C"
  4384. }, {
  4385. "font_class": "phone-filled",
  4386. "unicode": "\uE69B"
  4387. }, {
  4388. "font_class": "plus",
  4389. "unicode": "\uE676"
  4390. }, {
  4391. "font_class": "plus-filled",
  4392. "unicode": "\uE6C7"
  4393. }, {
  4394. "font_class": "plusempty",
  4395. "unicode": "\uE67B"
  4396. }, {
  4397. "font_class": "pulldown",
  4398. "unicode": "\uE632"
  4399. }, {
  4400. "font_class": "pyq",
  4401. "unicode": "\uE682"
  4402. }, {
  4403. "font_class": "qq",
  4404. "unicode": "\uE680"
  4405. }, {
  4406. "font_class": "redo",
  4407. "unicode": "\uE64A"
  4408. }, {
  4409. "font_class": "redo-filled",
  4410. "unicode": "\uE655"
  4411. }, {
  4412. "font_class": "refresh",
  4413. "unicode": "\uE657"
  4414. }, {
  4415. "font_class": "refresh-filled",
  4416. "unicode": "\uE656"
  4417. }, {
  4418. "font_class": "refreshempty",
  4419. "unicode": "\uE6BF"
  4420. }, {
  4421. "font_class": "reload",
  4422. "unicode": "\uE6B2"
  4423. }, {
  4424. "font_class": "right",
  4425. "unicode": "\uE6B5"
  4426. }, {
  4427. "font_class": "scan",
  4428. "unicode": "\uE62A"
  4429. }, {
  4430. "font_class": "search",
  4431. "unicode": "\uE654"
  4432. }, {
  4433. "font_class": "settings",
  4434. "unicode": "\uE653"
  4435. }, {
  4436. "font_class": "settings-filled",
  4437. "unicode": "\uE6CE"
  4438. }, {
  4439. "font_class": "shop",
  4440. "unicode": "\uE62F"
  4441. }, {
  4442. "font_class": "shop-filled",
  4443. "unicode": "\uE6CD"
  4444. }, {
  4445. "font_class": "smallcircle",
  4446. "unicode": "\uE67C"
  4447. }, {
  4448. "font_class": "smallcircle-filled",
  4449. "unicode": "\uE665"
  4450. }, {
  4451. "font_class": "sound",
  4452. "unicode": "\uE684"
  4453. }, {
  4454. "font_class": "sound-filled",
  4455. "unicode": "\uE686"
  4456. }, {
  4457. "font_class": "spinner-cycle",
  4458. "unicode": "\uE68A"
  4459. }, {
  4460. "font_class": "staff",
  4461. "unicode": "\uE6A7"
  4462. }, {
  4463. "font_class": "staff-filled",
  4464. "unicode": "\uE6CB"
  4465. }, {
  4466. "font_class": "star",
  4467. "unicode": "\uE688"
  4468. }, {
  4469. "font_class": "star-filled",
  4470. "unicode": "\uE68F"
  4471. }, {
  4472. "font_class": "starhalf",
  4473. "unicode": "\uE683"
  4474. }, {
  4475. "font_class": "trash",
  4476. "unicode": "\uE687"
  4477. }, {
  4478. "font_class": "trash-filled",
  4479. "unicode": "\uE685"
  4480. }, {
  4481. "font_class": "tune",
  4482. "unicode": "\uE6AA"
  4483. }, {
  4484. "font_class": "tune-filled",
  4485. "unicode": "\uE6CA"
  4486. }, {
  4487. "font_class": "undo",
  4488. "unicode": "\uE64F"
  4489. }, {
  4490. "font_class": "undo-filled",
  4491. "unicode": "\uE64C"
  4492. }, {
  4493. "font_class": "up",
  4494. "unicode": "\uE6B6"
  4495. }, {
  4496. "font_class": "top",
  4497. "unicode": "\uE6B6"
  4498. }, {
  4499. "font_class": "upload",
  4500. "unicode": "\uE690"
  4501. }, {
  4502. "font_class": "upload-filled",
  4503. "unicode": "\uE68E"
  4504. }, {
  4505. "font_class": "videocam",
  4506. "unicode": "\uE68C"
  4507. }, {
  4508. "font_class": "videocam-filled",
  4509. "unicode": "\uE689"
  4510. }, {
  4511. "font_class": "vip",
  4512. "unicode": "\uE6A8"
  4513. }, {
  4514. "font_class": "vip-filled",
  4515. "unicode": "\uE6C6"
  4516. }, {
  4517. "font_class": "wallet",
  4518. "unicode": "\uE6B1"
  4519. }, {
  4520. "font_class": "wallet-filled",
  4521. "unicode": "\uE6C2"
  4522. }, {
  4523. "font_class": "weibo",
  4524. "unicode": "\uE68B"
  4525. }, {
  4526. "font_class": "weixin",
  4527. "unicode": "\uE691"
  4528. }];
  4529. // export const fontData = JSON.parse<IconsDataItem>(fontDataJson)
  4530. exports.fontData = fontData;
  4531. /***/ }),
  4532. /***/ 138:
  4533. /*!*****************************************************************************!*\
  4534. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/stepsItem.js ***!
  4535. \*****************************************************************************/
  4536. /*! no static exports found */
  4537. /***/ (function(module, exports, __webpack_require__) {
  4538. "use strict";
  4539. Object.defineProperty(exports, "__esModule", {
  4540. value: true
  4541. });
  4542. exports.default = void 0;
  4543. /*
  4544. * @Author : LQ
  4545. * @Description :
  4546. * @version : 1.0
  4547. * @Date : 2021-08-20 16:44:21
  4548. * @LastAuthor : LQ
  4549. * @lastTime : 2021-08-20 17:12:55
  4550. * @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
  4551. */
  4552. var _default = {
  4553. // steps-item组件
  4554. stepsItem: {
  4555. title: '',
  4556. desc: '',
  4557. iconSize: 17,
  4558. error: false
  4559. }
  4560. };
  4561. exports.default = _default;
  4562. /***/ }),
  4563. /***/ 1388:
  4564. /*!****************************************************************************!*\
  4565. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-toolbar/props.js ***!
  4566. \****************************************************************************/
  4567. /*! no static exports found */
  4568. /***/ (function(module, exports, __webpack_require__) {
  4569. "use strict";
  4570. /* WEBPACK VAR INJECTION */(function(uni) {
  4571. Object.defineProperty(exports, "__esModule", {
  4572. value: true
  4573. });
  4574. exports.default = void 0;
  4575. var _default = {
  4576. props: {
  4577. // 是否展示工具条
  4578. show: {
  4579. type: Boolean,
  4580. default: uni.$u.props.toolbar.show
  4581. },
  4582. // 取消按钮的文字
  4583. cancelText: {
  4584. type: String,
  4585. default: uni.$u.props.toolbar.cancelText
  4586. },
  4587. // 确认按钮的文字
  4588. confirmText: {
  4589. type: String,
  4590. default: uni.$u.props.toolbar.confirmText
  4591. },
  4592. // 取消按钮的颜色
  4593. cancelColor: {
  4594. type: String,
  4595. default: uni.$u.props.toolbar.cancelColor
  4596. },
  4597. // 确认按钮的颜色
  4598. confirmColor: {
  4599. type: String,
  4600. default: uni.$u.props.toolbar.confirmColor
  4601. },
  4602. // 标题文字
  4603. title: {
  4604. type: String,
  4605. default: uni.$u.props.toolbar.title
  4606. }
  4607. }
  4608. };
  4609. exports.default = _default;
  4610. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  4611. /***/ }),
  4612. /***/ 139:
  4613. /*!**************************************************************************!*\
  4614. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/sticky.js ***!
  4615. \**************************************************************************/
  4616. /*! no static exports found */
  4617. /***/ (function(module, exports, __webpack_require__) {
  4618. "use strict";
  4619. Object.defineProperty(exports, "__esModule", {
  4620. value: true
  4621. });
  4622. exports.default = void 0;
  4623. /*
  4624. * @Author : LQ
  4625. * @Description :
  4626. * @version : 1.0
  4627. * @Date : 2021-08-20 16:44:21
  4628. * @LastAuthor : LQ
  4629. * @lastTime : 2021-08-20 17:01:30
  4630. * @FilePath : /u-view2.0/uview-ui/libs/config/props/sticky.js
  4631. */
  4632. var _default = {
  4633. // sticky组件
  4634. sticky: {
  4635. offsetTop: 0,
  4636. customNavHeight: 0,
  4637. disabled: false,
  4638. bgColor: 'transparent',
  4639. zIndex: '',
  4640. index: ''
  4641. }
  4642. };
  4643. exports.default = _default;
  4644. /***/ }),
  4645. /***/ 14:
  4646. /*!************************************************************!*\
  4647. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  4648. \************************************************************/
  4649. /*! no static exports found */
  4650. /***/ (function(module, exports, __webpack_require__) {
  4651. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  4652. function toPrimitive(t, r) {
  4653. if ("object" != _typeof(t) || !t) return t;
  4654. var e = t[Symbol.toPrimitive];
  4655. if (void 0 !== e) {
  4656. var i = e.call(t, r || "default");
  4657. if ("object" != _typeof(i)) return i;
  4658. throw new TypeError("@@toPrimitive must return a primitive value.");
  4659. }
  4660. return ("string" === r ? String : Number)(t);
  4661. }
  4662. module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  4663. /***/ }),
  4664. /***/ 140:
  4665. /*!******************************************************************************!*\
  4666. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/subsection.js ***!
  4667. \******************************************************************************/
  4668. /*! no static exports found */
  4669. /***/ (function(module, exports, __webpack_require__) {
  4670. "use strict";
  4671. Object.defineProperty(exports, "__esModule", {
  4672. value: true
  4673. });
  4674. exports.default = void 0;
  4675. /*
  4676. * @Author : LQ
  4677. * @Description :
  4678. * @version : 1.0
  4679. * @Date : 2021-08-20 16:44:21
  4680. * @LastAuthor : LQ
  4681. * @lastTime : 2021-08-20 17:12:20
  4682. * @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
  4683. */
  4684. var _default = {
  4685. // subsection组件
  4686. subsection: {
  4687. list: [],
  4688. current: 0,
  4689. activeColor: '#3c9cff',
  4690. inactiveColor: '#303133',
  4691. mode: 'button',
  4692. fontSize: 12,
  4693. bold: true,
  4694. bgColor: '#eeeeef',
  4695. keyName: 'name'
  4696. }
  4697. };
  4698. exports.default = _default;
  4699. /***/ }),
  4700. /***/ 1403:
  4701. /*!***************************************************************************!*\
  4702. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/util/async-validator.js ***!
  4703. \***************************************************************************/
  4704. /*! no static exports found */
  4705. /***/ (function(module, exports, __webpack_require__) {
  4706. "use strict";
  4707. /* WEBPACK VAR INJECTION */(function(process) {
  4708. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  4709. Object.defineProperty(exports, "__esModule", {
  4710. value: true
  4711. });
  4712. exports.default = void 0;
  4713. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  4714. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  4715. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  4716. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  4717. function _extends() {
  4718. _extends = Object.assign || function (target) {
  4719. for (var i = 1; i < arguments.length; i++) {
  4720. var source = arguments[i];
  4721. for (var key in source) {
  4722. if (Object.prototype.hasOwnProperty.call(source, key)) {
  4723. target[key] = source[key];
  4724. }
  4725. }
  4726. }
  4727. return target;
  4728. };
  4729. return _extends.apply(this, arguments);
  4730. }
  4731. /* eslint no-console:0 */
  4732. var formatRegExp = /%[sdj%]/g;
  4733. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  4734. if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  4735. warning = function warning(type, errors) {
  4736. if (typeof console !== 'undefined' && console.warn) {
  4737. if (errors.every(function (e) {
  4738. return typeof e === 'string';
  4739. })) {
  4740. console.warn(type, errors);
  4741. }
  4742. }
  4743. };
  4744. }
  4745. function convertFieldsError(errors) {
  4746. if (!errors || !errors.length) return null;
  4747. var fields = {};
  4748. errors.forEach(function (error) {
  4749. var field = error.field;
  4750. fields[field] = fields[field] || [];
  4751. fields[field].push(error);
  4752. });
  4753. return fields;
  4754. }
  4755. function format() {
  4756. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  4757. args[_key] = arguments[_key];
  4758. }
  4759. var i = 1;
  4760. var f = args[0];
  4761. var len = args.length;
  4762. if (typeof f === 'function') {
  4763. return f.apply(null, args.slice(1));
  4764. }
  4765. if (typeof f === 'string') {
  4766. var str = String(f).replace(formatRegExp, function (x) {
  4767. if (x === '%%') {
  4768. return '%';
  4769. }
  4770. if (i >= len) {
  4771. return x;
  4772. }
  4773. switch (x) {
  4774. case '%s':
  4775. return String(args[i++]);
  4776. case '%d':
  4777. return Number(args[i++]);
  4778. case '%j':
  4779. try {
  4780. return JSON.stringify(args[i++]);
  4781. } catch (_) {
  4782. return '[Circular]';
  4783. }
  4784. break;
  4785. default:
  4786. return x;
  4787. }
  4788. });
  4789. for (var arg = args[i]; i < len; arg = args[++i]) {
  4790. str += " ".concat(arg);
  4791. }
  4792. return str;
  4793. }
  4794. return f;
  4795. }
  4796. function isNativeStringType(type) {
  4797. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  4798. }
  4799. function isEmptyValue(value, type) {
  4800. if (value === undefined || value === null) {
  4801. return true;
  4802. }
  4803. if (type === 'array' && Array.isArray(value) && !value.length) {
  4804. return true;
  4805. }
  4806. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  4807. return true;
  4808. }
  4809. return false;
  4810. }
  4811. function asyncParallelArray(arr, func, callback) {
  4812. var results = [];
  4813. var total = 0;
  4814. var arrLength = arr.length;
  4815. function count(errors) {
  4816. results.push.apply(results, errors);
  4817. total++;
  4818. if (total === arrLength) {
  4819. callback(results);
  4820. }
  4821. }
  4822. arr.forEach(function (a) {
  4823. func(a, count);
  4824. });
  4825. }
  4826. function asyncSerialArray(arr, func, callback) {
  4827. var index = 0;
  4828. var arrLength = arr.length;
  4829. function next(errors) {
  4830. if (errors && errors.length) {
  4831. callback(errors);
  4832. return;
  4833. }
  4834. var original = index;
  4835. index += 1;
  4836. if (original < arrLength) {
  4837. func(arr[original], next);
  4838. } else {
  4839. callback([]);
  4840. }
  4841. }
  4842. next([]);
  4843. }
  4844. function flattenObjArr(objArr) {
  4845. var ret = [];
  4846. Object.keys(objArr).forEach(function (k) {
  4847. ret.push.apply(ret, objArr[k]);
  4848. });
  4849. return ret;
  4850. }
  4851. function asyncMap(objArr, option, func, callback) {
  4852. if (option.first) {
  4853. var _pending = new Promise(function (resolve, reject) {
  4854. var next = function next(errors) {
  4855. callback(errors);
  4856. return errors.length ? reject({
  4857. errors: errors,
  4858. fields: convertFieldsError(errors)
  4859. }) : resolve();
  4860. };
  4861. var flattenArr = flattenObjArr(objArr);
  4862. asyncSerialArray(flattenArr, func, next);
  4863. });
  4864. _pending.catch(function (e) {
  4865. return e;
  4866. });
  4867. return _pending;
  4868. }
  4869. var firstFields = option.firstFields || [];
  4870. if (firstFields === true) {
  4871. firstFields = Object.keys(objArr);
  4872. }
  4873. var objArrKeys = Object.keys(objArr);
  4874. var objArrLength = objArrKeys.length;
  4875. var total = 0;
  4876. var results = [];
  4877. var pending = new Promise(function (resolve, reject) {
  4878. var next = function next(errors) {
  4879. results.push.apply(results, errors);
  4880. total++;
  4881. if (total === objArrLength) {
  4882. callback(results);
  4883. return results.length ? reject({
  4884. errors: results,
  4885. fields: convertFieldsError(results)
  4886. }) : resolve();
  4887. }
  4888. };
  4889. if (!objArrKeys.length) {
  4890. callback(results);
  4891. resolve();
  4892. }
  4893. objArrKeys.forEach(function (key) {
  4894. var arr = objArr[key];
  4895. if (firstFields.indexOf(key) !== -1) {
  4896. asyncSerialArray(arr, func, next);
  4897. } else {
  4898. asyncParallelArray(arr, func, next);
  4899. }
  4900. });
  4901. });
  4902. pending.catch(function (e) {
  4903. return e;
  4904. });
  4905. return pending;
  4906. }
  4907. function complementError(rule) {
  4908. return function (oe) {
  4909. if (oe && oe.message) {
  4910. oe.field = oe.field || rule.fullField;
  4911. return oe;
  4912. }
  4913. return {
  4914. message: typeof oe === 'function' ? oe() : oe,
  4915. field: oe.field || rule.fullField
  4916. };
  4917. };
  4918. }
  4919. function deepMerge(target, source) {
  4920. if (source) {
  4921. for (var s in source) {
  4922. if (source.hasOwnProperty(s)) {
  4923. var value = source[s];
  4924. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  4925. target[s] = _objectSpread(_objectSpread({}, target[s]), value);
  4926. } else {
  4927. target[s] = value;
  4928. }
  4929. }
  4930. }
  4931. }
  4932. return target;
  4933. }
  4934. /**
  4935. * Rule for validating required fields.
  4936. *
  4937. * @param rule The validation rule.
  4938. * @param value The value of the field on the source object.
  4939. * @param source The source object being validated.
  4940. * @param errors An array of errors that this rule may add
  4941. * validation errors to.
  4942. * @param options The validation options.
  4943. * @param options.messages The validation messages.
  4944. */
  4945. function required(rule, value, source, errors, options, type) {
  4946. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  4947. errors.push(format(options.messages.required, rule.fullField));
  4948. }
  4949. }
  4950. /**
  4951. * Rule for validating whitespace.
  4952. *
  4953. * @param rule The validation rule.
  4954. * @param value The value of the field on the source object.
  4955. * @param source The source object being validated.
  4956. * @param errors An array of errors that this rule may add
  4957. * validation errors to.
  4958. * @param options The validation options.
  4959. * @param options.messages The validation messages.
  4960. */
  4961. function whitespace(rule, value, source, errors, options) {
  4962. if (/^\s+$/.test(value) || value === '') {
  4963. errors.push(format(options.messages.whitespace, rule.fullField));
  4964. }
  4965. }
  4966. /* eslint max-len:0 */
  4967. var pattern = {
  4968. // http://emailregex.com/
  4969. email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
  4970. url: new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", 'i'),
  4971. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  4972. };
  4973. var types = {
  4974. integer: function integer(value) {
  4975. return /^(-)?\d+$/.test(value);
  4976. },
  4977. float: function float(value) {
  4978. return /^(-)?\d+(\.\d+)?$/.test(value);
  4979. },
  4980. array: function array(value) {
  4981. return Array.isArray(value);
  4982. },
  4983. regexp: function regexp(value) {
  4984. if (value instanceof RegExp) {
  4985. return true;
  4986. }
  4987. try {
  4988. return !!new RegExp(value);
  4989. } catch (e) {
  4990. return false;
  4991. }
  4992. },
  4993. date: function date(value) {
  4994. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  4995. },
  4996. number: function number(value) {
  4997. if (isNaN(value)) {
  4998. return false;
  4999. }
  5000. // 修改源码,将字符串数值先转为数值
  5001. return typeof +value === 'number';
  5002. },
  5003. object: function object(value) {
  5004. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  5005. },
  5006. method: function method(value) {
  5007. return typeof value === 'function';
  5008. },
  5009. email: function email(value) {
  5010. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  5011. },
  5012. url: function url(value) {
  5013. return typeof value === 'string' && !!value.match(pattern.url);
  5014. },
  5015. hex: function hex(value) {
  5016. return typeof value === 'string' && !!value.match(pattern.hex);
  5017. }
  5018. };
  5019. /**
  5020. * Rule for validating the type of a value.
  5021. *
  5022. * @param rule The validation rule.
  5023. * @param value The value of the field on the source object.
  5024. * @param source The source object being validated.
  5025. * @param errors An array of errors that this rule may add
  5026. * validation errors to.
  5027. * @param options The validation options.
  5028. * @param options.messages The validation messages.
  5029. */
  5030. function type(rule, value, source, errors, options) {
  5031. if (rule.required && value === undefined) {
  5032. required(rule, value, source, errors, options);
  5033. return;
  5034. }
  5035. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  5036. var ruleType = rule.type;
  5037. if (custom.indexOf(ruleType) > -1) {
  5038. if (!types[ruleType](value)) {
  5039. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  5040. } // straight typeof check
  5041. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  5042. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  5043. }
  5044. }
  5045. /**
  5046. * Rule for validating minimum and maximum allowed values.
  5047. *
  5048. * @param rule The validation rule.
  5049. * @param value The value of the field on the source object.
  5050. * @param source The source object being validated.
  5051. * @param errors An array of errors that this rule may add
  5052. * validation errors to.
  5053. * @param options The validation options.
  5054. * @param options.messages The validation messages.
  5055. */
  5056. function range(rule, value, source, errors, options) {
  5057. var len = typeof rule.len === 'number';
  5058. var min = typeof rule.min === 'number';
  5059. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  5060. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  5061. var val = value;
  5062. var key = null;
  5063. var num = typeof value === 'number';
  5064. var str = typeof value === 'string';
  5065. var arr = Array.isArray(value);
  5066. if (num) {
  5067. key = 'number';
  5068. } else if (str) {
  5069. key = 'string';
  5070. } else if (arr) {
  5071. key = 'array';
  5072. } // if the value is not of a supported type for range validation
  5073. // the validation rule rule should use the
  5074. // type property to also test for a particular type
  5075. if (!key) {
  5076. return false;
  5077. }
  5078. if (arr) {
  5079. val = value.length;
  5080. }
  5081. if (str) {
  5082. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
  5083. val = value.replace(spRegexp, '_').length;
  5084. }
  5085. if (len) {
  5086. if (val !== rule.len) {
  5087. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  5088. }
  5089. } else if (min && !max && val < rule.min) {
  5090. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  5091. } else if (max && !min && val > rule.max) {
  5092. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  5093. } else if (min && max && (val < rule.min || val > rule.max)) {
  5094. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  5095. }
  5096. }
  5097. var ENUM = 'enum';
  5098. /**
  5099. * Rule for validating a value exists in an enumerable list.
  5100. *
  5101. * @param rule The validation rule.
  5102. * @param value The value of the field on the source object.
  5103. * @param source The source object being validated.
  5104. * @param errors An array of errors that this rule may add
  5105. * validation errors to.
  5106. * @param options The validation options.
  5107. * @param options.messages The validation messages.
  5108. */
  5109. function enumerable(rule, value, source, errors, options) {
  5110. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  5111. if (rule[ENUM].indexOf(value) === -1) {
  5112. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  5113. }
  5114. }
  5115. /**
  5116. * Rule for validating a regular expression pattern.
  5117. *
  5118. * @param rule The validation rule.
  5119. * @param value The value of the field on the source object.
  5120. * @param source The source object being validated.
  5121. * @param errors An array of errors that this rule may add
  5122. * validation errors to.
  5123. * @param options The validation options.
  5124. * @param options.messages The validation messages.
  5125. */
  5126. function pattern$1(rule, value, source, errors, options) {
  5127. if (rule.pattern) {
  5128. if (rule.pattern instanceof RegExp) {
  5129. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  5130. // flag is accidentally set to `true`, which in a validation scenario
  5131. // is not necessary and the result might be misleading
  5132. rule.pattern.lastIndex = 0;
  5133. if (!rule.pattern.test(value)) {
  5134. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  5135. }
  5136. } else if (typeof rule.pattern === 'string') {
  5137. var _pattern = new RegExp(rule.pattern);
  5138. if (!_pattern.test(value)) {
  5139. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  5140. }
  5141. }
  5142. }
  5143. }
  5144. var rules = {
  5145. required: required,
  5146. whitespace: whitespace,
  5147. type: type,
  5148. range: range,
  5149. enum: enumerable,
  5150. pattern: pattern$1
  5151. };
  5152. /**
  5153. * Performs validation for string types.
  5154. *
  5155. * @param rule The validation rule.
  5156. * @param value The value of the field on the source object.
  5157. * @param callback The callback function.
  5158. * @param source The source object being validated.
  5159. * @param options The validation options.
  5160. * @param options.messages The validation messages.
  5161. */
  5162. function string(rule, value, callback, source, options) {
  5163. var errors = [];
  5164. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5165. if (validate) {
  5166. if (isEmptyValue(value, 'string') && !rule.required) {
  5167. return callback();
  5168. }
  5169. rules.required(rule, value, source, errors, options, 'string');
  5170. if (!isEmptyValue(value, 'string')) {
  5171. rules.type(rule, value, source, errors, options);
  5172. rules.range(rule, value, source, errors, options);
  5173. rules.pattern(rule, value, source, errors, options);
  5174. if (rule.whitespace === true) {
  5175. rules.whitespace(rule, value, source, errors, options);
  5176. }
  5177. }
  5178. }
  5179. callback(errors);
  5180. }
  5181. /**
  5182. * Validates a function.
  5183. *
  5184. * @param rule The validation rule.
  5185. * @param value The value of the field on the source object.
  5186. * @param callback The callback function.
  5187. * @param source The source object being validated.
  5188. * @param options The validation options.
  5189. * @param options.messages The validation messages.
  5190. */
  5191. function method(rule, value, callback, source, options) {
  5192. var errors = [];
  5193. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5194. if (validate) {
  5195. if (isEmptyValue(value) && !rule.required) {
  5196. return callback();
  5197. }
  5198. rules.required(rule, value, source, errors, options);
  5199. if (value !== undefined) {
  5200. rules.type(rule, value, source, errors, options);
  5201. }
  5202. }
  5203. callback(errors);
  5204. }
  5205. /**
  5206. * Validates a number.
  5207. *
  5208. * @param rule The validation rule.
  5209. * @param value The value of the field on the source object.
  5210. * @param callback The callback function.
  5211. * @param source The source object being validated.
  5212. * @param options The validation options.
  5213. * @param options.messages The validation messages.
  5214. */
  5215. function number(rule, value, callback, source, options) {
  5216. var errors = [];
  5217. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5218. if (validate) {
  5219. if (value === '') {
  5220. value = undefined;
  5221. }
  5222. if (isEmptyValue(value) && !rule.required) {
  5223. return callback();
  5224. }
  5225. rules.required(rule, value, source, errors, options);
  5226. if (value !== undefined) {
  5227. rules.type(rule, value, source, errors, options);
  5228. rules.range(rule, value, source, errors, options);
  5229. }
  5230. }
  5231. callback(errors);
  5232. }
  5233. /**
  5234. * Validates a boolean.
  5235. *
  5236. * @param rule The validation rule.
  5237. * @param value The value of the field on the source object.
  5238. * @param callback The callback function.
  5239. * @param source The source object being validated.
  5240. * @param options The validation options.
  5241. * @param options.messages The validation messages.
  5242. */
  5243. function _boolean(rule, value, callback, source, options) {
  5244. var errors = [];
  5245. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5246. if (validate) {
  5247. if (isEmptyValue(value) && !rule.required) {
  5248. return callback();
  5249. }
  5250. rules.required(rule, value, source, errors, options);
  5251. if (value !== undefined) {
  5252. rules.type(rule, value, source, errors, options);
  5253. }
  5254. }
  5255. callback(errors);
  5256. }
  5257. /**
  5258. * Validates the regular expression type.
  5259. *
  5260. * @param rule The validation rule.
  5261. * @param value The value of the field on the source object.
  5262. * @param callback The callback function.
  5263. * @param source The source object being validated.
  5264. * @param options The validation options.
  5265. * @param options.messages The validation messages.
  5266. */
  5267. function regexp(rule, value, callback, source, options) {
  5268. var errors = [];
  5269. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5270. if (validate) {
  5271. if (isEmptyValue(value) && !rule.required) {
  5272. return callback();
  5273. }
  5274. rules.required(rule, value, source, errors, options);
  5275. if (!isEmptyValue(value)) {
  5276. rules.type(rule, value, source, errors, options);
  5277. }
  5278. }
  5279. callback(errors);
  5280. }
  5281. /**
  5282. * Validates a number is an integer.
  5283. *
  5284. * @param rule The validation rule.
  5285. * @param value The value of the field on the source object.
  5286. * @param callback The callback function.
  5287. * @param source The source object being validated.
  5288. * @param options The validation options.
  5289. * @param options.messages The validation messages.
  5290. */
  5291. function integer(rule, value, callback, source, options) {
  5292. var errors = [];
  5293. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5294. if (validate) {
  5295. if (isEmptyValue(value) && !rule.required) {
  5296. return callback();
  5297. }
  5298. rules.required(rule, value, source, errors, options);
  5299. if (value !== undefined) {
  5300. rules.type(rule, value, source, errors, options);
  5301. rules.range(rule, value, source, errors, options);
  5302. }
  5303. }
  5304. callback(errors);
  5305. }
  5306. /**
  5307. * Validates a number is a floating point number.
  5308. *
  5309. * @param rule The validation rule.
  5310. * @param value The value of the field on the source object.
  5311. * @param callback The callback function.
  5312. * @param source The source object being validated.
  5313. * @param options The validation options.
  5314. * @param options.messages The validation messages.
  5315. */
  5316. function floatFn(rule, value, callback, source, options) {
  5317. var errors = [];
  5318. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5319. if (validate) {
  5320. if (isEmptyValue(value) && !rule.required) {
  5321. return callback();
  5322. }
  5323. rules.required(rule, value, source, errors, options);
  5324. if (value !== undefined) {
  5325. rules.type(rule, value, source, errors, options);
  5326. rules.range(rule, value, source, errors, options);
  5327. }
  5328. }
  5329. callback(errors);
  5330. }
  5331. /**
  5332. * Validates an array.
  5333. *
  5334. * @param rule The validation rule.
  5335. * @param value The value of the field on the source object.
  5336. * @param callback The callback function.
  5337. * @param source The source object being validated.
  5338. * @param options The validation options.
  5339. * @param options.messages The validation messages.
  5340. */
  5341. function array(rule, value, callback, source, options) {
  5342. var errors = [];
  5343. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5344. if (validate) {
  5345. if (isEmptyValue(value, 'array') && !rule.required) {
  5346. return callback();
  5347. }
  5348. rules.required(rule, value, source, errors, options, 'array');
  5349. if (!isEmptyValue(value, 'array')) {
  5350. rules.type(rule, value, source, errors, options);
  5351. rules.range(rule, value, source, errors, options);
  5352. }
  5353. }
  5354. callback(errors);
  5355. }
  5356. /**
  5357. * Validates an object.
  5358. *
  5359. * @param rule The validation rule.
  5360. * @param value The value of the field on the source object.
  5361. * @param callback The callback function.
  5362. * @param source The source object being validated.
  5363. * @param options The validation options.
  5364. * @param options.messages The validation messages.
  5365. */
  5366. function object(rule, value, callback, source, options) {
  5367. var errors = [];
  5368. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5369. if (validate) {
  5370. if (isEmptyValue(value) && !rule.required) {
  5371. return callback();
  5372. }
  5373. rules.required(rule, value, source, errors, options);
  5374. if (value !== undefined) {
  5375. rules.type(rule, value, source, errors, options);
  5376. }
  5377. }
  5378. callback(errors);
  5379. }
  5380. var ENUM$1 = 'enum';
  5381. /**
  5382. * Validates an enumerable list.
  5383. *
  5384. * @param rule The validation rule.
  5385. * @param value The value of the field on the source object.
  5386. * @param callback The callback function.
  5387. * @param source The source object being validated.
  5388. * @param options The validation options.
  5389. * @param options.messages The validation messages.
  5390. */
  5391. function enumerable$1(rule, value, callback, source, options) {
  5392. var errors = [];
  5393. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5394. if (validate) {
  5395. if (isEmptyValue(value) && !rule.required) {
  5396. return callback();
  5397. }
  5398. rules.required(rule, value, source, errors, options);
  5399. if (value !== undefined) {
  5400. rules[ENUM$1](rule, value, source, errors, options);
  5401. }
  5402. }
  5403. callback(errors);
  5404. }
  5405. /**
  5406. * Validates a regular expression pattern.
  5407. *
  5408. * Performs validation when a rule only contains
  5409. * a pattern property but is not declared as a string type.
  5410. *
  5411. * @param rule The validation rule.
  5412. * @param value The value of the field on the source object.
  5413. * @param callback The callback function.
  5414. * @param source The source object being validated.
  5415. * @param options The validation options.
  5416. * @param options.messages The validation messages.
  5417. */
  5418. function pattern$2(rule, value, callback, source, options) {
  5419. var errors = [];
  5420. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5421. if (validate) {
  5422. if (isEmptyValue(value, 'string') && !rule.required) {
  5423. return callback();
  5424. }
  5425. rules.required(rule, value, source, errors, options);
  5426. if (!isEmptyValue(value, 'string')) {
  5427. rules.pattern(rule, value, source, errors, options);
  5428. }
  5429. }
  5430. callback(errors);
  5431. }
  5432. function date(rule, value, callback, source, options) {
  5433. var errors = [];
  5434. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5435. if (validate) {
  5436. if (isEmptyValue(value) && !rule.required) {
  5437. return callback();
  5438. }
  5439. rules.required(rule, value, source, errors, options);
  5440. if (!isEmptyValue(value)) {
  5441. var dateObject;
  5442. if (typeof value === 'number') {
  5443. dateObject = new Date(value);
  5444. } else {
  5445. dateObject = value;
  5446. }
  5447. rules.type(rule, dateObject, source, errors, options);
  5448. if (dateObject) {
  5449. rules.range(rule, dateObject.getTime(), source, errors, options);
  5450. }
  5451. }
  5452. }
  5453. callback(errors);
  5454. }
  5455. function required$1(rule, value, callback, source, options) {
  5456. var errors = [];
  5457. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  5458. rules.required(rule, value, source, errors, options, type);
  5459. callback(errors);
  5460. }
  5461. function type$1(rule, value, callback, source, options) {
  5462. var ruleType = rule.type;
  5463. var errors = [];
  5464. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5465. if (validate) {
  5466. if (isEmptyValue(value, ruleType) && !rule.required) {
  5467. return callback();
  5468. }
  5469. rules.required(rule, value, source, errors, options, ruleType);
  5470. if (!isEmptyValue(value, ruleType)) {
  5471. rules.type(rule, value, source, errors, options);
  5472. }
  5473. }
  5474. callback(errors);
  5475. }
  5476. /**
  5477. * Performs validation for any type.
  5478. *
  5479. * @param rule The validation rule.
  5480. * @param value The value of the field on the source object.
  5481. * @param callback The callback function.
  5482. * @param source The source object being validated.
  5483. * @param options The validation options.
  5484. * @param options.messages The validation messages.
  5485. */
  5486. function any(rule, value, callback, source, options) {
  5487. var errors = [];
  5488. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5489. if (validate) {
  5490. if (isEmptyValue(value) && !rule.required) {
  5491. return callback();
  5492. }
  5493. rules.required(rule, value, source, errors, options);
  5494. }
  5495. callback(errors);
  5496. }
  5497. var validators = {
  5498. string: string,
  5499. method: method,
  5500. number: number,
  5501. boolean: _boolean,
  5502. regexp: regexp,
  5503. integer: integer,
  5504. float: floatFn,
  5505. array: array,
  5506. object: object,
  5507. enum: enumerable$1,
  5508. pattern: pattern$2,
  5509. date: date,
  5510. url: type$1,
  5511. hex: type$1,
  5512. email: type$1,
  5513. required: required$1,
  5514. any: any
  5515. };
  5516. function newMessages() {
  5517. return {
  5518. default: 'Validation error on field %s',
  5519. required: '%s is required',
  5520. enum: '%s must be one of %s',
  5521. whitespace: '%s cannot be empty',
  5522. date: {
  5523. format: '%s date %s is invalid for format %s',
  5524. parse: '%s date could not be parsed, %s is invalid ',
  5525. invalid: '%s date %s is invalid'
  5526. },
  5527. types: {
  5528. string: '%s is not a %s',
  5529. method: '%s is not a %s (function)',
  5530. array: '%s is not an %s',
  5531. object: '%s is not an %s',
  5532. number: '%s is not a %s',
  5533. date: '%s is not a %s',
  5534. boolean: '%s is not a %s',
  5535. integer: '%s is not an %s',
  5536. float: '%s is not a %s',
  5537. regexp: '%s is not a valid %s',
  5538. email: '%s is not a valid %s',
  5539. url: '%s is not a valid %s',
  5540. hex: '%s is not a valid %s'
  5541. },
  5542. string: {
  5543. len: '%s must be exactly %s characters',
  5544. min: '%s must be at least %s characters',
  5545. max: '%s cannot be longer than %s characters',
  5546. range: '%s must be between %s and %s characters'
  5547. },
  5548. number: {
  5549. len: '%s must equal %s',
  5550. min: '%s cannot be less than %s',
  5551. max: '%s cannot be greater than %s',
  5552. range: '%s must be between %s and %s'
  5553. },
  5554. array: {
  5555. len: '%s must be exactly %s in length',
  5556. min: '%s cannot be less than %s in length',
  5557. max: '%s cannot be greater than %s in length',
  5558. range: '%s must be between %s and %s in length'
  5559. },
  5560. pattern: {
  5561. mismatch: '%s value %s does not match pattern %s'
  5562. },
  5563. clone: function clone() {
  5564. var cloned = JSON.parse(JSON.stringify(this));
  5565. cloned.clone = this.clone;
  5566. return cloned;
  5567. }
  5568. };
  5569. }
  5570. var messages = newMessages();
  5571. /**
  5572. * Encapsulates a validation schema.
  5573. *
  5574. * @param descriptor An object declaring validation rules
  5575. * for this schema.
  5576. */
  5577. function Schema(descriptor) {
  5578. this.rules = null;
  5579. this._messages = messages;
  5580. this.define(descriptor);
  5581. }
  5582. Schema.prototype = {
  5583. messages: function messages(_messages) {
  5584. if (_messages) {
  5585. this._messages = deepMerge(newMessages(), _messages);
  5586. }
  5587. return this._messages;
  5588. },
  5589. define: function define(rules) {
  5590. if (!rules) {
  5591. throw new Error('Cannot configure a schema with no rules');
  5592. }
  5593. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  5594. throw new Error('Rules must be an object');
  5595. }
  5596. this.rules = {};
  5597. var z;
  5598. var item;
  5599. for (z in rules) {
  5600. if (rules.hasOwnProperty(z)) {
  5601. item = rules[z];
  5602. this.rules[z] = Array.isArray(item) ? item : [item];
  5603. }
  5604. }
  5605. },
  5606. validate: function validate(source_, o, oc) {
  5607. var _this = this;
  5608. if (o === void 0) {
  5609. o = {};
  5610. }
  5611. if (oc === void 0) {
  5612. oc = function oc() {};
  5613. }
  5614. var source = source_;
  5615. var options = o;
  5616. var callback = oc;
  5617. if (typeof options === 'function') {
  5618. callback = options;
  5619. options = {};
  5620. }
  5621. if (!this.rules || Object.keys(this.rules).length === 0) {
  5622. if (callback) {
  5623. callback();
  5624. }
  5625. return Promise.resolve();
  5626. }
  5627. function complete(results) {
  5628. var i;
  5629. var errors = [];
  5630. var fields = {};
  5631. function add(e) {
  5632. if (Array.isArray(e)) {
  5633. var _errors;
  5634. errors = (_errors = errors).concat.apply(_errors, e);
  5635. } else {
  5636. errors.push(e);
  5637. }
  5638. }
  5639. for (i = 0; i < results.length; i++) {
  5640. add(results[i]);
  5641. }
  5642. if (!errors.length) {
  5643. errors = null;
  5644. fields = null;
  5645. } else {
  5646. fields = convertFieldsError(errors);
  5647. }
  5648. callback(errors, fields);
  5649. }
  5650. if (options.messages) {
  5651. var messages$1 = this.messages();
  5652. if (messages$1 === messages) {
  5653. messages$1 = newMessages();
  5654. }
  5655. deepMerge(messages$1, options.messages);
  5656. options.messages = messages$1;
  5657. } else {
  5658. options.messages = this.messages();
  5659. }
  5660. var arr;
  5661. var value;
  5662. var series = {};
  5663. var keys = options.keys || Object.keys(this.rules);
  5664. keys.forEach(function (z) {
  5665. arr = _this.rules[z];
  5666. value = source[z];
  5667. arr.forEach(function (r) {
  5668. var rule = r;
  5669. if (typeof rule.transform === 'function') {
  5670. if (source === source_) {
  5671. source = _objectSpread({}, source);
  5672. }
  5673. value = source[z] = rule.transform(value);
  5674. }
  5675. if (typeof rule === 'function') {
  5676. rule = {
  5677. validator: rule
  5678. };
  5679. } else {
  5680. rule = _objectSpread({}, rule);
  5681. }
  5682. rule.validator = _this.getValidationMethod(rule);
  5683. rule.field = z;
  5684. rule.fullField = rule.fullField || z;
  5685. rule.type = _this.getType(rule);
  5686. if (!rule.validator) {
  5687. return;
  5688. }
  5689. series[z] = series[z] || [];
  5690. series[z].push({
  5691. rule: rule,
  5692. value: value,
  5693. source: source,
  5694. field: z
  5695. });
  5696. });
  5697. });
  5698. var errorFields = {};
  5699. return asyncMap(series, options, function (data, doIt) {
  5700. var rule = data.rule;
  5701. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  5702. deep = deep && (rule.required || !rule.required && data.value);
  5703. rule.field = data.field;
  5704. function addFullfield(key, schema) {
  5705. return _objectSpread(_objectSpread({}, schema), {}, {
  5706. fullField: "".concat(rule.fullField, ".").concat(key)
  5707. });
  5708. }
  5709. function cb(e) {
  5710. if (e === void 0) {
  5711. e = [];
  5712. }
  5713. var errors = e;
  5714. if (!Array.isArray(errors)) {
  5715. errors = [errors];
  5716. }
  5717. if (!options.suppressWarning && errors.length) {
  5718. Schema.warning('async-validator:', errors);
  5719. }
  5720. if (errors.length && rule.message) {
  5721. errors = [].concat(rule.message);
  5722. }
  5723. errors = errors.map(complementError(rule));
  5724. if (options.first && errors.length) {
  5725. errorFields[rule.field] = 1;
  5726. return doIt(errors);
  5727. }
  5728. if (!deep) {
  5729. doIt(errors);
  5730. } else {
  5731. // if rule is required but the target object
  5732. // does not exist fail at the rule level and don't
  5733. // go deeper
  5734. if (rule.required && !data.value) {
  5735. if (rule.message) {
  5736. errors = [].concat(rule.message).map(complementError(rule));
  5737. } else if (options.error) {
  5738. errors = [options.error(rule, format(options.messages.required, rule.field))];
  5739. } else {
  5740. errors = [];
  5741. }
  5742. return doIt(errors);
  5743. }
  5744. var fieldsSchema = {};
  5745. if (rule.defaultField) {
  5746. for (var k in data.value) {
  5747. if (data.value.hasOwnProperty(k)) {
  5748. fieldsSchema[k] = rule.defaultField;
  5749. }
  5750. }
  5751. }
  5752. fieldsSchema = _objectSpread(_objectSpread({}, fieldsSchema), data.rule.fields);
  5753. for (var f in fieldsSchema) {
  5754. if (fieldsSchema.hasOwnProperty(f)) {
  5755. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  5756. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  5757. }
  5758. }
  5759. var schema = new Schema(fieldsSchema);
  5760. schema.messages(options.messages);
  5761. if (data.rule.options) {
  5762. data.rule.options.messages = options.messages;
  5763. data.rule.options.error = options.error;
  5764. }
  5765. schema.validate(data.value, data.rule.options || options, function (errs) {
  5766. var finalErrors = [];
  5767. if (errors && errors.length) {
  5768. finalErrors.push.apply(finalErrors, errors);
  5769. }
  5770. if (errs && errs.length) {
  5771. finalErrors.push.apply(finalErrors, errs);
  5772. }
  5773. doIt(finalErrors.length ? finalErrors : null);
  5774. });
  5775. }
  5776. }
  5777. var res;
  5778. if (rule.asyncValidator) {
  5779. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  5780. } else if (rule.validator) {
  5781. res = rule.validator(rule, data.value, cb, data.source, options);
  5782. if (res === true) {
  5783. cb();
  5784. } else if (res === false) {
  5785. cb(rule.message || "".concat(rule.field, " fails"));
  5786. } else if (res instanceof Array) {
  5787. cb(res);
  5788. } else if (res instanceof Error) {
  5789. cb(res.message);
  5790. }
  5791. }
  5792. if (res && res.then) {
  5793. res.then(function () {
  5794. return cb();
  5795. }, function (e) {
  5796. return cb(e);
  5797. });
  5798. }
  5799. }, function (results) {
  5800. complete(results);
  5801. });
  5802. },
  5803. getType: function getType(rule) {
  5804. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  5805. rule.type = 'pattern';
  5806. }
  5807. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  5808. throw new Error(format('Unknown rule type %s', rule.type));
  5809. }
  5810. return rule.type || 'string';
  5811. },
  5812. getValidationMethod: function getValidationMethod(rule) {
  5813. if (typeof rule.validator === 'function') {
  5814. return rule.validator;
  5815. }
  5816. var keys = Object.keys(rule);
  5817. var messageIndex = keys.indexOf('message');
  5818. if (messageIndex !== -1) {
  5819. keys.splice(messageIndex, 1);
  5820. }
  5821. if (keys.length === 1 && keys[0] === 'required') {
  5822. return validators.required;
  5823. }
  5824. return validators[this.getType(rule)] || false;
  5825. }
  5826. };
  5827. Schema.register = function register(type, validator) {
  5828. if (typeof validator !== 'function') {
  5829. throw new Error('Cannot register a validator by type, validator is not a function');
  5830. }
  5831. validators[type] = validator;
  5832. };
  5833. Schema.warning = warning;
  5834. Schema.messages = messages;
  5835. var _default = Schema; // # sourceMappingURL=index.js.map
  5836. exports.default = _default;
  5837. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../工具/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 1404)))
  5838. /***/ }),
  5839. /***/ 1404:
  5840. /*!********************************************************!*\
  5841. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  5842. \********************************************************/
  5843. /*! no static exports found */
  5844. /***/ (function(module, exports, __webpack_require__) {
  5845. exports.nextTick = function nextTick(fn) {
  5846. var args = Array.prototype.slice.call(arguments);
  5847. args.shift();
  5848. setTimeout(function () {
  5849. fn.apply(null, args);
  5850. }, 0);
  5851. };
  5852. exports.platform = exports.arch =
  5853. exports.execPath = exports.title = 'browser';
  5854. exports.pid = 1;
  5855. exports.browser = true;
  5856. exports.env = {};
  5857. exports.argv = [];
  5858. exports.binding = function (name) {
  5859. throw new Error('No such module. (Possibly not yet loaded)')
  5860. };
  5861. (function () {
  5862. var cwd = '/';
  5863. var path;
  5864. exports.cwd = function () { return cwd };
  5865. exports.chdir = function (dir) {
  5866. if (!path) path = __webpack_require__(/*! path */ 1405);
  5867. cwd = path.resolve(dir, cwd);
  5868. };
  5869. })();
  5870. exports.exit = exports.kill =
  5871. exports.umask = exports.dlopen =
  5872. exports.uptime = exports.memoryUsage =
  5873. exports.uvCounters = function() {};
  5874. exports.features = {};
  5875. /***/ }),
  5876. /***/ 1405:
  5877. /*!***********************************************!*\
  5878. !*** ./node_modules/path-browserify/index.js ***!
  5879. \***********************************************/
  5880. /*! no static exports found */
  5881. /***/ (function(module, exports, __webpack_require__) {
  5882. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  5883. // backported and transplited with Babel, with backwards-compat fixes
  5884. // Copyright Joyent, Inc. and other Node contributors.
  5885. //
  5886. // Permission is hereby granted, free of charge, to any person obtaining a
  5887. // copy of this software and associated documentation files (the
  5888. // "Software"), to deal in the Software without restriction, including
  5889. // without limitation the rights to use, copy, modify, merge, publish,
  5890. // distribute, sublicense, and/or sell copies of the Software, and to permit
  5891. // persons to whom the Software is furnished to do so, subject to the
  5892. // following conditions:
  5893. //
  5894. // The above copyright notice and this permission notice shall be included
  5895. // in all copies or substantial portions of the Software.
  5896. //
  5897. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  5898. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  5899. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  5900. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  5901. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  5902. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  5903. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  5904. // resolves . and .. elements in a path array with directory names there
  5905. // must be no slashes, empty elements, or device names (c:\) in the array
  5906. // (so also no leading and trailing slashes - it does not distinguish
  5907. // relative and absolute paths)
  5908. function normalizeArray(parts, allowAboveRoot) {
  5909. // if the path tries to go above the root, `up` ends up > 0
  5910. var up = 0;
  5911. for (var i = parts.length - 1; i >= 0; i--) {
  5912. var last = parts[i];
  5913. if (last === '.') {
  5914. parts.splice(i, 1);
  5915. } else if (last === '..') {
  5916. parts.splice(i, 1);
  5917. up++;
  5918. } else if (up) {
  5919. parts.splice(i, 1);
  5920. up--;
  5921. }
  5922. }
  5923. // if the path is allowed to go above the root, restore leading ..s
  5924. if (allowAboveRoot) {
  5925. for (; up--; up) {
  5926. parts.unshift('..');
  5927. }
  5928. }
  5929. return parts;
  5930. }
  5931. // path.resolve([from ...], to)
  5932. // posix version
  5933. exports.resolve = function() {
  5934. var resolvedPath = '',
  5935. resolvedAbsolute = false;
  5936. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  5937. var path = (i >= 0) ? arguments[i] : process.cwd();
  5938. // Skip empty and invalid entries
  5939. if (typeof path !== 'string') {
  5940. throw new TypeError('Arguments to path.resolve must be strings');
  5941. } else if (!path) {
  5942. continue;
  5943. }
  5944. resolvedPath = path + '/' + resolvedPath;
  5945. resolvedAbsolute = path.charAt(0) === '/';
  5946. }
  5947. // At this point the path should be resolved to a full absolute path, but
  5948. // handle relative paths to be safe (might happen when process.cwd() fails)
  5949. // Normalize the path
  5950. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  5951. return !!p;
  5952. }), !resolvedAbsolute).join('/');
  5953. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  5954. };
  5955. // path.normalize(path)
  5956. // posix version
  5957. exports.normalize = function(path) {
  5958. var isAbsolute = exports.isAbsolute(path),
  5959. trailingSlash = substr(path, -1) === '/';
  5960. // Normalize the path
  5961. path = normalizeArray(filter(path.split('/'), function(p) {
  5962. return !!p;
  5963. }), !isAbsolute).join('/');
  5964. if (!path && !isAbsolute) {
  5965. path = '.';
  5966. }
  5967. if (path && trailingSlash) {
  5968. path += '/';
  5969. }
  5970. return (isAbsolute ? '/' : '') + path;
  5971. };
  5972. // posix version
  5973. exports.isAbsolute = function(path) {
  5974. return path.charAt(0) === '/';
  5975. };
  5976. // posix version
  5977. exports.join = function() {
  5978. var paths = Array.prototype.slice.call(arguments, 0);
  5979. return exports.normalize(filter(paths, function(p, index) {
  5980. if (typeof p !== 'string') {
  5981. throw new TypeError('Arguments to path.join must be strings');
  5982. }
  5983. return p;
  5984. }).join('/'));
  5985. };
  5986. // path.relative(from, to)
  5987. // posix version
  5988. exports.relative = function(from, to) {
  5989. from = exports.resolve(from).substr(1);
  5990. to = exports.resolve(to).substr(1);
  5991. function trim(arr) {
  5992. var start = 0;
  5993. for (; start < arr.length; start++) {
  5994. if (arr[start] !== '') break;
  5995. }
  5996. var end = arr.length - 1;
  5997. for (; end >= 0; end--) {
  5998. if (arr[end] !== '') break;
  5999. }
  6000. if (start > end) return [];
  6001. return arr.slice(start, end - start + 1);
  6002. }
  6003. var fromParts = trim(from.split('/'));
  6004. var toParts = trim(to.split('/'));
  6005. var length = Math.min(fromParts.length, toParts.length);
  6006. var samePartsLength = length;
  6007. for (var i = 0; i < length; i++) {
  6008. if (fromParts[i] !== toParts[i]) {
  6009. samePartsLength = i;
  6010. break;
  6011. }
  6012. }
  6013. var outputParts = [];
  6014. for (var i = samePartsLength; i < fromParts.length; i++) {
  6015. outputParts.push('..');
  6016. }
  6017. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  6018. return outputParts.join('/');
  6019. };
  6020. exports.sep = '/';
  6021. exports.delimiter = ':';
  6022. exports.dirname = function (path) {
  6023. if (typeof path !== 'string') path = path + '';
  6024. if (path.length === 0) return '.';
  6025. var code = path.charCodeAt(0);
  6026. var hasRoot = code === 47 /*/*/;
  6027. var end = -1;
  6028. var matchedSlash = true;
  6029. for (var i = path.length - 1; i >= 1; --i) {
  6030. code = path.charCodeAt(i);
  6031. if (code === 47 /*/*/) {
  6032. if (!matchedSlash) {
  6033. end = i;
  6034. break;
  6035. }
  6036. } else {
  6037. // We saw the first non-path separator
  6038. matchedSlash = false;
  6039. }
  6040. }
  6041. if (end === -1) return hasRoot ? '/' : '.';
  6042. if (hasRoot && end === 1) {
  6043. // return '//';
  6044. // Backwards-compat fix:
  6045. return '/';
  6046. }
  6047. return path.slice(0, end);
  6048. };
  6049. function basename(path) {
  6050. if (typeof path !== 'string') path = path + '';
  6051. var start = 0;
  6052. var end = -1;
  6053. var matchedSlash = true;
  6054. var i;
  6055. for (i = path.length - 1; i >= 0; --i) {
  6056. if (path.charCodeAt(i) === 47 /*/*/) {
  6057. // If we reached a path separator that was not part of a set of path
  6058. // separators at the end of the string, stop now
  6059. if (!matchedSlash) {
  6060. start = i + 1;
  6061. break;
  6062. }
  6063. } else if (end === -1) {
  6064. // We saw the first non-path separator, mark this as the end of our
  6065. // path component
  6066. matchedSlash = false;
  6067. end = i + 1;
  6068. }
  6069. }
  6070. if (end === -1) return '';
  6071. return path.slice(start, end);
  6072. }
  6073. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  6074. // in new Node.js versions, so only basename() above is backported here
  6075. exports.basename = function (path, ext) {
  6076. var f = basename(path);
  6077. if (ext && f.substr(-1 * ext.length) === ext) {
  6078. f = f.substr(0, f.length - ext.length);
  6079. }
  6080. return f;
  6081. };
  6082. exports.extname = function (path) {
  6083. if (typeof path !== 'string') path = path + '';
  6084. var startDot = -1;
  6085. var startPart = 0;
  6086. var end = -1;
  6087. var matchedSlash = true;
  6088. // Track the state of characters (if any) we see before our first dot and
  6089. // after any path separator we find
  6090. var preDotState = 0;
  6091. for (var i = path.length - 1; i >= 0; --i) {
  6092. var code = path.charCodeAt(i);
  6093. if (code === 47 /*/*/) {
  6094. // If we reached a path separator that was not part of a set of path
  6095. // separators at the end of the string, stop now
  6096. if (!matchedSlash) {
  6097. startPart = i + 1;
  6098. break;
  6099. }
  6100. continue;
  6101. }
  6102. if (end === -1) {
  6103. // We saw the first non-path separator, mark this as the end of our
  6104. // extension
  6105. matchedSlash = false;
  6106. end = i + 1;
  6107. }
  6108. if (code === 46 /*.*/) {
  6109. // If this is our first dot, mark it as the start of our extension
  6110. if (startDot === -1)
  6111. startDot = i;
  6112. else if (preDotState !== 1)
  6113. preDotState = 1;
  6114. } else if (startDot !== -1) {
  6115. // We saw a non-dot and non-path separator before our dot, so we should
  6116. // have a good chance at having a non-empty extension
  6117. preDotState = -1;
  6118. }
  6119. }
  6120. if (startDot === -1 || end === -1 ||
  6121. // We saw a non-dot character immediately before the dot
  6122. preDotState === 0 ||
  6123. // The (right-most) trimmed path component is exactly '..'
  6124. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  6125. return '';
  6126. }
  6127. return path.slice(startDot, end);
  6128. };
  6129. function filter (xs, f) {
  6130. if (xs.filter) return xs.filter(f);
  6131. var res = [];
  6132. for (var i = 0; i < xs.length; i++) {
  6133. if (f(xs[i], i, xs)) res.push(xs[i]);
  6134. }
  6135. return res;
  6136. }
  6137. // String.prototype.substr - negative index don't work in IE8
  6138. var substr = 'ab'.substr(-1) === 'b'
  6139. ? function (str, start, len) { return str.substr(start, len) }
  6140. : function (str, start, len) {
  6141. if (start < 0) start = str.length + start;
  6142. return str.substr(start, len);
  6143. }
  6144. ;
  6145. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 1404)))
  6146. /***/ }),
  6147. /***/ 141:
  6148. /*!*******************************************************************************!*\
  6149. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swipeAction.js ***!
  6150. \*******************************************************************************/
  6151. /*! no static exports found */
  6152. /***/ (function(module, exports, __webpack_require__) {
  6153. "use strict";
  6154. Object.defineProperty(exports, "__esModule", {
  6155. value: true
  6156. });
  6157. exports.default = void 0;
  6158. /*
  6159. * @Author : LQ
  6160. * @Description :
  6161. * @version : 1.0
  6162. * @Date : 2021-08-20 16:44:21
  6163. * @LastAuthor : LQ
  6164. * @lastTime : 2021-08-20 17:00:42
  6165. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeAction.js
  6166. */
  6167. var _default = {
  6168. // swipe-action组件
  6169. swipeAction: {
  6170. autoClose: true
  6171. }
  6172. };
  6173. exports.default = _default;
  6174. /***/ }),
  6175. /***/ 1411:
  6176. /*!*************************************************************************!*\
  6177. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-line/props.js ***!
  6178. \*************************************************************************/
  6179. /*! no static exports found */
  6180. /***/ (function(module, exports, __webpack_require__) {
  6181. "use strict";
  6182. /* WEBPACK VAR INJECTION */(function(uni) {
  6183. Object.defineProperty(exports, "__esModule", {
  6184. value: true
  6185. });
  6186. exports.default = void 0;
  6187. var _default = {
  6188. props: {
  6189. color: {
  6190. type: String,
  6191. default: uni.$u.props.line.color
  6192. },
  6193. // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
  6194. length: {
  6195. type: [String, Number],
  6196. default: uni.$u.props.line.length
  6197. },
  6198. // 线条方向,col-竖向,row-横向
  6199. direction: {
  6200. type: String,
  6201. default: uni.$u.props.line.direction
  6202. },
  6203. // 是否显示细边框
  6204. hairline: {
  6205. type: Boolean,
  6206. default: uni.$u.props.line.hairline
  6207. },
  6208. // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
  6209. margin: {
  6210. type: [String, Number],
  6211. default: uni.$u.props.line.margin
  6212. },
  6213. // 是否虚线,true-虚线,false-实线
  6214. dashed: {
  6215. type: Boolean,
  6216. default: uni.$u.props.line.dashed
  6217. }
  6218. }
  6219. };
  6220. exports.default = _default;
  6221. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6222. /***/ }),
  6223. /***/ 142:
  6224. /*!***********************************************************************************!*\
  6225. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swipeActionItem.js ***!
  6226. \***********************************************************************************/
  6227. /*! no static exports found */
  6228. /***/ (function(module, exports, __webpack_require__) {
  6229. "use strict";
  6230. Object.defineProperty(exports, "__esModule", {
  6231. value: true
  6232. });
  6233. exports.default = void 0;
  6234. /*
  6235. * @Author : LQ
  6236. * @Description :
  6237. * @version : 1.0
  6238. * @Date : 2021-08-20 16:44:21
  6239. * @LastAuthor : LQ
  6240. * @lastTime : 2021-08-20 17:01:13
  6241. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeActionItem.js
  6242. */
  6243. var _default = {
  6244. // swipeActionItem 组件
  6245. swipeActionItem: {
  6246. show: false,
  6247. name: '',
  6248. disabled: false,
  6249. threshold: 20,
  6250. autoClose: true,
  6251. options: [],
  6252. duration: 300
  6253. }
  6254. };
  6255. exports.default = _default;
  6256. /***/ }),
  6257. /***/ 1426:
  6258. /*!**************************************************************************!*\
  6259. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-steps/props.js ***!
  6260. \**************************************************************************/
  6261. /*! no static exports found */
  6262. /***/ (function(module, exports, __webpack_require__) {
  6263. "use strict";
  6264. /* WEBPACK VAR INJECTION */(function(uni) {
  6265. Object.defineProperty(exports, "__esModule", {
  6266. value: true
  6267. });
  6268. exports.default = void 0;
  6269. var _default = {
  6270. props: {
  6271. // 排列方向
  6272. direction: {
  6273. type: String,
  6274. default: uni.$u.props.steps.direction
  6275. },
  6276. // 设置第几个步骤
  6277. current: {
  6278. type: [String, Number],
  6279. default: uni.$u.props.steps.current
  6280. },
  6281. // 激活状态颜色
  6282. activeColor: {
  6283. type: String,
  6284. default: uni.$u.props.steps.activeColor
  6285. },
  6286. // 未激活状态颜色
  6287. inactiveColor: {
  6288. type: String,
  6289. default: uni.$u.props.steps.inactiveColor
  6290. },
  6291. // 激活状态的图标
  6292. activeIcon: {
  6293. type: String,
  6294. default: uni.$u.props.steps.activeIcon
  6295. },
  6296. // 未激活状态图标
  6297. inactiveIcon: {
  6298. type: String,
  6299. default: uni.$u.props.steps.inactiveIcon
  6300. },
  6301. // 是否显示点类型
  6302. dot: {
  6303. type: Boolean,
  6304. default: uni.$u.props.steps.dot
  6305. }
  6306. }
  6307. };
  6308. exports.default = _default;
  6309. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6310. /***/ }),
  6311. /***/ 143:
  6312. /*!**************************************************************************!*\
  6313. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swiper.js ***!
  6314. \**************************************************************************/
  6315. /*! no static exports found */
  6316. /***/ (function(module, exports, __webpack_require__) {
  6317. "use strict";
  6318. Object.defineProperty(exports, "__esModule", {
  6319. value: true
  6320. });
  6321. exports.default = void 0;
  6322. /*
  6323. * @Author : LQ
  6324. * @Description :
  6325. * @version : 1.0
  6326. * @Date : 2021-08-20 16:44:21
  6327. * @LastAuthor : LQ
  6328. * @lastTime : 2021-08-20 17:21:38
  6329. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
  6330. */
  6331. var _default = {
  6332. // swiper 组件
  6333. swiper: {
  6334. list: function list() {
  6335. return [];
  6336. },
  6337. indicator: false,
  6338. indicatorActiveColor: '#FFFFFF',
  6339. indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
  6340. indicatorStyle: '',
  6341. indicatorMode: 'line',
  6342. autoplay: true,
  6343. current: 0,
  6344. currentItemId: '',
  6345. interval: 3000,
  6346. duration: 300,
  6347. circular: false,
  6348. previousMargin: 0,
  6349. nextMargin: 0,
  6350. acceleration: false,
  6351. displayMultipleItems: 1,
  6352. easingFunction: 'default',
  6353. keyName: 'url',
  6354. imgMode: 'aspectFill',
  6355. height: 130,
  6356. bgColor: '#f3f4f6',
  6357. radius: 4,
  6358. loading: false,
  6359. showTitle: false
  6360. }
  6361. };
  6362. exports.default = _default;
  6363. /***/ }),
  6364. /***/ 1434:
  6365. /*!*******************************************************************************!*\
  6366. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-steps-item/props.js ***!
  6367. \*******************************************************************************/
  6368. /*! no static exports found */
  6369. /***/ (function(module, exports, __webpack_require__) {
  6370. "use strict";
  6371. /* WEBPACK VAR INJECTION */(function(uni) {
  6372. Object.defineProperty(exports, "__esModule", {
  6373. value: true
  6374. });
  6375. exports.default = void 0;
  6376. var _default = {
  6377. props: {
  6378. // 标题
  6379. title: {
  6380. type: [String, Number],
  6381. default: uni.$u.props.stepsItem.title
  6382. },
  6383. // 描述文本
  6384. desc: {
  6385. type: [String, Number],
  6386. default: uni.$u.props.stepsItem.desc
  6387. },
  6388. // 图标大小
  6389. iconSize: {
  6390. type: [String, Number],
  6391. default: uni.$u.props.stepsItem.iconSize
  6392. },
  6393. // 当前步骤是否处于失败状态
  6394. error: {
  6395. type: Boolean,
  6396. default: uni.$u.props.stepsItem.error
  6397. }
  6398. }
  6399. };
  6400. exports.default = _default;
  6401. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6402. /***/ }),
  6403. /***/ 144:
  6404. /*!************************************************************************************!*\
  6405. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swipterIndicator.js ***!
  6406. \************************************************************************************/
  6407. /*! no static exports found */
  6408. /***/ (function(module, exports, __webpack_require__) {
  6409. "use strict";
  6410. Object.defineProperty(exports, "__esModule", {
  6411. value: true
  6412. });
  6413. exports.default = void 0;
  6414. /*
  6415. * @Author : LQ
  6416. * @Description :
  6417. * @version : 1.0
  6418. * @Date : 2021-08-20 16:44:21
  6419. * @LastAuthor : LQ
  6420. * @lastTime : 2021-08-20 17:22:07
  6421. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiperIndicator.js
  6422. */
  6423. var _default = {
  6424. // swiperIndicator 组件
  6425. swiperIndicator: {
  6426. length: 0,
  6427. current: 0,
  6428. indicatorActiveColor: '',
  6429. indicatorInactiveColor: '',
  6430. indicatorMode: 'line'
  6431. }
  6432. };
  6433. exports.default = _default;
  6434. /***/ }),
  6435. /***/ 1442:
  6436. /*!*************************************************************************!*\
  6437. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-text/props.js ***!
  6438. \*************************************************************************/
  6439. /*! no static exports found */
  6440. /***/ (function(module, exports, __webpack_require__) {
  6441. "use strict";
  6442. /* WEBPACK VAR INJECTION */(function(uni) {
  6443. Object.defineProperty(exports, "__esModule", {
  6444. value: true
  6445. });
  6446. exports.default = void 0;
  6447. var _default = {
  6448. props: {
  6449. // 主题颜色
  6450. type: {
  6451. type: String,
  6452. default: uni.$u.props.text.type
  6453. },
  6454. // 是否显示
  6455. show: {
  6456. type: Boolean,
  6457. default: uni.$u.props.text.show
  6458. },
  6459. // 显示的值
  6460. text: {
  6461. type: [String, Number],
  6462. default: uni.$u.props.text.text
  6463. },
  6464. // 前置图标
  6465. prefixIcon: {
  6466. type: String,
  6467. default: uni.$u.props.text.prefixIcon
  6468. },
  6469. // 后置图标
  6470. suffixIcon: {
  6471. type: String,
  6472. default: uni.$u.props.text.suffixIcon
  6473. },
  6474. // 文本处理的匹配模式
  6475. // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接
  6476. mode: {
  6477. type: String,
  6478. default: uni.$u.props.text.mode
  6479. },
  6480. // mode=link下,配置的链接
  6481. href: {
  6482. type: String,
  6483. default: uni.$u.props.text.href
  6484. },
  6485. // 格式化规则
  6486. format: {
  6487. type: [String, Function],
  6488. default: uni.$u.props.text.format
  6489. },
  6490. // mode=phone时,点击文本是否拨打电话
  6491. call: {
  6492. type: Boolean,
  6493. default: uni.$u.props.text.call
  6494. },
  6495. // 小程序的打开方式
  6496. openType: {
  6497. type: String,
  6498. default: uni.$u.props.text.openType
  6499. },
  6500. // 是否粗体,默认normal
  6501. bold: {
  6502. type: Boolean,
  6503. default: uni.$u.props.text.bold
  6504. },
  6505. // 是否块状
  6506. block: {
  6507. type: Boolean,
  6508. default: uni.$u.props.text.block
  6509. },
  6510. // 文本显示的行数,如果设置,超出此行数,将会显示省略号
  6511. lines: {
  6512. type: [String, Number],
  6513. default: uni.$u.props.text.lines
  6514. },
  6515. // 文本颜色
  6516. color: {
  6517. type: String,
  6518. default: uni.$u.props.text.color
  6519. },
  6520. // 字体大小
  6521. size: {
  6522. type: [String, Number],
  6523. default: uni.$u.props.text.size
  6524. },
  6525. // 图标的样式
  6526. iconStyle: {
  6527. type: [Object, String],
  6528. default: uni.$u.props.text.iconStyle
  6529. },
  6530. // 文字装饰,下划线,中划线等,可选值 none|underline|line-through
  6531. decoration: {
  6532. type: String,
  6533. default: uni.$u.props.text.decoration
  6534. },
  6535. // 外边距,对象、字符串,数值形式均可
  6536. margin: {
  6537. type: [Object, String, Number],
  6538. default: uni.$u.props.text.margin
  6539. },
  6540. // 文本行高
  6541. lineHeight: {
  6542. type: [String, Number],
  6543. default: uni.$u.props.text.lineHeight
  6544. },
  6545. // 文本对齐方式,可选值left|center|right
  6546. align: {
  6547. type: String,
  6548. default: uni.$u.props.text.align
  6549. },
  6550. // 文字换行,可选值break-word|normal|anywhere
  6551. wordWrap: {
  6552. type: String,
  6553. default: uni.$u.props.text.wordWrap
  6554. }
  6555. }
  6556. };
  6557. exports.default = _default;
  6558. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6559. /***/ }),
  6560. /***/ 1448:
  6561. /*!*************************************************************************!*\
  6562. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-text/value.js ***!
  6563. \*************************************************************************/
  6564. /*! no static exports found */
  6565. /***/ (function(module, exports, __webpack_require__) {
  6566. "use strict";
  6567. /* WEBPACK VAR INJECTION */(function(uni) {
  6568. Object.defineProperty(exports, "__esModule", {
  6569. value: true
  6570. });
  6571. exports.default = void 0;
  6572. var _default = {
  6573. computed: {
  6574. // 经处理后需要显示的值
  6575. value: function value() {
  6576. var text = this.text,
  6577. mode = this.mode,
  6578. format = this.format,
  6579. href = this.href;
  6580. // 价格类型
  6581. if (mode === 'price') {
  6582. // 如果text不为金额进行提示
  6583. if (!/^\d+(\.\d+)?$/.test(text)) {
  6584. uni.$u.error('金额模式下,text参数需要为金额格式');
  6585. }
  6586. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的金额格式化处理
  6587. if (uni.$u.test.func(format)) {
  6588. // 如果用户传入的是函数,使用函数格式化
  6589. return format(text);
  6590. }
  6591. // 如果format非正则,非函数,则使用默认的金额格式化方法进行操作
  6592. return uni.$u.priceFormat(text, 2);
  6593. }
  6594. if (mode === 'date') {
  6595. // 判断是否合法的日期或者时间戳
  6596. !uni.$u.test.date(text) && uni.$u.error('日期模式下,text参数需要为日期或时间戳格式');
  6597. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的格式化处理
  6598. if (uni.$u.test.func(format)) {
  6599. // 如果用户传入的是函数,使用函数格式化
  6600. return format(text);
  6601. }
  6602. if (format) {
  6603. // 如果format非正则,非函数,则使用默认的时间格式化方法进行操作
  6604. return uni.$u.timeFormat(text, format);
  6605. }
  6606. // 如果没有设置format,则设置为默认的时间格式化形式
  6607. return uni.$u.timeFormat(text, 'yyyy-mm-dd');
  6608. }
  6609. if (mode === 'phone') {
  6610. // 判断是否合法的手机号
  6611. // !uni.$u.test.mobile(text) && uni.$u.error('手机号模式下,text参数需要为手机号码格式')
  6612. if (uni.$u.test.func(format)) {
  6613. // 如果用户传入的是函数,使用函数格式化
  6614. return format(text);
  6615. }
  6616. if (format === 'encrypt') {
  6617. // 如果format为encrypt,则将手机号进行星号加密处理
  6618. return "".concat(text.substr(0, 3), "****").concat(text.substr(7));
  6619. }
  6620. return text;
  6621. }
  6622. if (mode === 'name') {
  6623. // 判断是否合法的字符粗
  6624. !(typeof text === 'string') && uni.$u.error('姓名模式下,text参数需要为字符串格式');
  6625. if (uni.$u.test.func(format)) {
  6626. // 如果用户传入的是函数,使用函数格式化
  6627. return format(text);
  6628. }
  6629. if (format === 'encrypt') {
  6630. // 如果format为encrypt,则将姓名进行星号加密处理
  6631. return this.formatName(text);
  6632. }
  6633. return text;
  6634. }
  6635. if (mode === 'link') {
  6636. // 判断是否合法的字符粗
  6637. !uni.$u.test.url(href) && uni.$u.error('超链接模式下,href参数需要为URL格式');
  6638. return text;
  6639. }
  6640. return text;
  6641. }
  6642. },
  6643. methods: {
  6644. // 默认的姓名脱敏规则
  6645. formatName: function formatName(name) {
  6646. var value = '';
  6647. if (name.length === 2) {
  6648. value = name.substr(0, 1) + '*';
  6649. } else if (name.length > 2) {
  6650. var char = '';
  6651. for (var i = 0, len = name.length - 2; i < len; i++) {
  6652. char += '*';
  6653. }
  6654. value = name.substr(0, 1) + char + name.substr(-1, 1);
  6655. } else {
  6656. value = name;
  6657. }
  6658. return value;
  6659. }
  6660. }
  6661. };
  6662. exports.default = _default;
  6663. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6664. /***/ }),
  6665. /***/ 1449:
  6666. /*!*******************************************************************!*\
  6667. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/button.js ***!
  6668. \*******************************************************************/
  6669. /*! no static exports found */
  6670. /***/ (function(module, exports, __webpack_require__) {
  6671. "use strict";
  6672. Object.defineProperty(exports, "__esModule", {
  6673. value: true
  6674. });
  6675. exports.default = void 0;
  6676. var _default = {
  6677. props: {
  6678. lang: String,
  6679. sessionFrom: String,
  6680. sendMessageTitle: String,
  6681. sendMessagePath: String,
  6682. sendMessageImg: String,
  6683. showMessageCard: Boolean,
  6684. appParameter: String,
  6685. formType: String,
  6686. openType: String
  6687. }
  6688. };
  6689. exports.default = _default;
  6690. /***/ }),
  6691. /***/ 145:
  6692. /*!**************************************************************************!*\
  6693. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/switch.js ***!
  6694. \**************************************************************************/
  6695. /*! no static exports found */
  6696. /***/ (function(module, exports, __webpack_require__) {
  6697. "use strict";
  6698. Object.defineProperty(exports, "__esModule", {
  6699. value: true
  6700. });
  6701. exports.default = void 0;
  6702. /*
  6703. * @Author : LQ
  6704. * @Description :
  6705. * @version : 1.0
  6706. * @Date : 2021-08-20 16:44:21
  6707. * @LastAuthor : LQ
  6708. * @lastTime : 2021-08-20 17:22:24
  6709. * @FilePath : /u-view2.0/uview-ui/libs/config/props/switch.js
  6710. */
  6711. var _default = {
  6712. // switch
  6713. switch: {
  6714. loading: false,
  6715. disabled: false,
  6716. size: 25,
  6717. activeColor: '#2979ff',
  6718. inactiveColor: '#ffffff',
  6719. value: false,
  6720. activeValue: true,
  6721. inactiveValue: false,
  6722. asyncChange: false,
  6723. space: 0
  6724. }
  6725. };
  6726. exports.default = _default;
  6727. /***/ }),
  6728. /***/ 1450:
  6729. /*!*********************************************************************!*\
  6730. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/openType.js ***!
  6731. \*********************************************************************/
  6732. /*! no static exports found */
  6733. /***/ (function(module, exports, __webpack_require__) {
  6734. "use strict";
  6735. Object.defineProperty(exports, "__esModule", {
  6736. value: true
  6737. });
  6738. exports.default = void 0;
  6739. var _default = {
  6740. props: {
  6741. openType: String
  6742. },
  6743. methods: {
  6744. onGetUserInfo: function onGetUserInfo(event) {
  6745. this.$emit('getuserinfo', event.detail);
  6746. },
  6747. onContact: function onContact(event) {
  6748. this.$emit('contact', event.detail);
  6749. },
  6750. onGetPhoneNumber: function onGetPhoneNumber(event) {
  6751. this.$emit('getphonenumber', event.detail);
  6752. },
  6753. onError: function onError(event) {
  6754. this.$emit('error', event.detail);
  6755. },
  6756. onLaunchApp: function onLaunchApp(event) {
  6757. this.$emit('launchapp', event.detail);
  6758. },
  6759. onOpenSetting: function onOpenSetting(event) {
  6760. this.$emit('opensetting', event.detail);
  6761. }
  6762. }
  6763. };
  6764. exports.default = _default;
  6765. /***/ }),
  6766. /***/ 1458:
  6767. /*!*************************************************************************!*\
  6768. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-link/props.js ***!
  6769. \*************************************************************************/
  6770. /*! no static exports found */
  6771. /***/ (function(module, exports, __webpack_require__) {
  6772. "use strict";
  6773. /* WEBPACK VAR INJECTION */(function(uni) {
  6774. Object.defineProperty(exports, "__esModule", {
  6775. value: true
  6776. });
  6777. exports.default = void 0;
  6778. var _default = {
  6779. props: {
  6780. // 文字颜色
  6781. color: {
  6782. type: String,
  6783. default: uni.$u.props.link.color
  6784. },
  6785. // 字体大小,单位px
  6786. fontSize: {
  6787. type: [String, Number],
  6788. default: uni.$u.props.link.fontSize
  6789. },
  6790. // 是否显示下划线
  6791. underLine: {
  6792. type: Boolean,
  6793. default: uni.$u.props.link.underLine
  6794. },
  6795. // 要跳转的链接
  6796. href: {
  6797. type: String,
  6798. default: uni.$u.props.link.href
  6799. },
  6800. // 小程序中复制到粘贴板的提示语
  6801. mpTips: {
  6802. type: String,
  6803. default: uni.$u.props.link.mpTips
  6804. },
  6805. // 下划线颜色
  6806. lineColor: {
  6807. type: String,
  6808. default: uni.$u.props.link.lineColor
  6809. },
  6810. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  6811. text: {
  6812. type: String,
  6813. default: uni.$u.props.link.text
  6814. }
  6815. }
  6816. };
  6817. exports.default = _default;
  6818. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6819. /***/ }),
  6820. /***/ 146:
  6821. /*!**************************************************************************!*\
  6822. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tabbar.js ***!
  6823. \**************************************************************************/
  6824. /*! no static exports found */
  6825. /***/ (function(module, exports, __webpack_require__) {
  6826. "use strict";
  6827. Object.defineProperty(exports, "__esModule", {
  6828. value: true
  6829. });
  6830. exports.default = void 0;
  6831. /*
  6832. * @Author : LQ
  6833. * @Description :
  6834. * @version : 1.0
  6835. * @Date : 2021-08-20 16:44:21
  6836. * @LastAuthor : LQ
  6837. * @lastTime : 2021-08-20 17:22:40
  6838. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbar.js
  6839. */
  6840. var _default = {
  6841. // tabbar
  6842. tabbar: {
  6843. value: null,
  6844. safeAreaInsetBottom: true,
  6845. border: true,
  6846. zIndex: 1,
  6847. activeColor: '#1989fa',
  6848. inactiveColor: '#7d7e80',
  6849. fixed: true,
  6850. placeholder: true
  6851. }
  6852. };
  6853. exports.default = _default;
  6854. /***/ }),
  6855. /***/ 147:
  6856. /*!******************************************************************************!*\
  6857. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tabbarItem.js ***!
  6858. \******************************************************************************/
  6859. /*! no static exports found */
  6860. /***/ (function(module, exports, __webpack_require__) {
  6861. "use strict";
  6862. Object.defineProperty(exports, "__esModule", {
  6863. value: true
  6864. });
  6865. exports.default = void 0;
  6866. /*
  6867. * @Author : LQ
  6868. * @Description :
  6869. * @version : 1.0
  6870. * @Date : 2021-08-20 16:44:21
  6871. * @LastAuthor : LQ
  6872. * @lastTime : 2021-08-20 17:22:55
  6873. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbarItem.js
  6874. */
  6875. var _default = {
  6876. //
  6877. tabbarItem: {
  6878. name: null,
  6879. icon: '',
  6880. badge: null,
  6881. dot: false,
  6882. text: '',
  6883. badgeStyle: 'top: 6px;right:2px;'
  6884. }
  6885. };
  6886. exports.default = _default;
  6887. /***/ }),
  6888. /***/ 148:
  6889. /*!************************************************************************!*\
  6890. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tabs.js ***!
  6891. \************************************************************************/
  6892. /*! no static exports found */
  6893. /***/ (function(module, exports, __webpack_require__) {
  6894. "use strict";
  6895. Object.defineProperty(exports, "__esModule", {
  6896. value: true
  6897. });
  6898. exports.default = void 0;
  6899. /*
  6900. * @Author : LQ
  6901. * @Description :
  6902. * @version : 1.0
  6903. * @Date : 2021-08-20 16:44:21
  6904. * @LastAuthor : LQ
  6905. * @lastTime : 2021-08-20 17:23:14
  6906. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
  6907. */
  6908. var _default = {
  6909. //
  6910. tabs: {
  6911. duration: 300,
  6912. list: function list() {
  6913. return [];
  6914. },
  6915. lineColor: '#3c9cff',
  6916. activeStyle: function activeStyle() {
  6917. return {
  6918. color: '#303133'
  6919. };
  6920. },
  6921. inactiveStyle: function inactiveStyle() {
  6922. return {
  6923. color: '#606266'
  6924. };
  6925. },
  6926. lineWidth: 20,
  6927. lineHeight: 3,
  6928. lineBgSize: 'cover',
  6929. itemStyle: function itemStyle() {
  6930. return {
  6931. height: '44px'
  6932. };
  6933. },
  6934. scrollable: true,
  6935. current: 0,
  6936. keyName: 'name'
  6937. }
  6938. };
  6939. exports.default = _default;
  6940. /***/ }),
  6941. /***/ 149:
  6942. /*!***********************************************************************!*\
  6943. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tag.js ***!
  6944. \***********************************************************************/
  6945. /*! no static exports found */
  6946. /***/ (function(module, exports, __webpack_require__) {
  6947. "use strict";
  6948. Object.defineProperty(exports, "__esModule", {
  6949. value: true
  6950. });
  6951. exports.default = void 0;
  6952. /*
  6953. * @Author : LQ
  6954. * @Description :
  6955. * @version : 1.0
  6956. * @Date : 2021-08-20 16:44:21
  6957. * @LastAuthor : LQ
  6958. * @lastTime : 2021-08-20 17:23:37
  6959. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tag.js
  6960. */
  6961. var _default = {
  6962. // tag 组件
  6963. tag: {
  6964. type: 'primary',
  6965. disabled: false,
  6966. size: 'medium',
  6967. shape: 'square',
  6968. text: '',
  6969. bgColor: '',
  6970. color: '',
  6971. borderColor: '',
  6972. closeColor: '#C6C7CB',
  6973. name: '',
  6974. plainFill: false,
  6975. plain: false,
  6976. closable: false,
  6977. show: true,
  6978. icon: ''
  6979. }
  6980. };
  6981. exports.default = _default;
  6982. /***/ }),
  6983. /***/ 15:
  6984. /*!**********************************************************!*\
  6985. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  6986. \**********************************************************/
  6987. /*! no static exports found */
  6988. /***/ (function(module, exports, __webpack_require__) {
  6989. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  6990. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  6991. function _construct(t, e, r) {
  6992. if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
  6993. var o = [null];
  6994. o.push.apply(o, e);
  6995. var p = new (t.bind.apply(t, o))();
  6996. return r && setPrototypeOf(p, r.prototype), p;
  6997. }
  6998. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  6999. /***/ }),
  7000. /***/ 150:
  7001. /*!************************************************************************!*\
  7002. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/text.js ***!
  7003. \************************************************************************/
  7004. /*! no static exports found */
  7005. /***/ (function(module, exports, __webpack_require__) {
  7006. "use strict";
  7007. Object.defineProperty(exports, "__esModule", {
  7008. value: true
  7009. });
  7010. exports.default = void 0;
  7011. /*
  7012. * @Author : LQ
  7013. * @Description :
  7014. * @version : 1.0
  7015. * @Date : 2021-08-20 16:44:21
  7016. * @LastAuthor : LQ
  7017. * @lastTime : 2021-08-20 17:23:58
  7018. * @FilePath : /u-view2.0/uview-ui/libs/config/props/text.js
  7019. */
  7020. var _default = {
  7021. // text 组件
  7022. text: {
  7023. type: '',
  7024. show: true,
  7025. text: '',
  7026. prefixIcon: '',
  7027. suffixIcon: '',
  7028. mode: '',
  7029. href: '',
  7030. format: '',
  7031. call: false,
  7032. openType: '',
  7033. bold: false,
  7034. block: false,
  7035. lines: '',
  7036. color: '#303133',
  7037. size: 15,
  7038. iconStyle: function iconStyle() {
  7039. return {
  7040. fontSize: '15px'
  7041. };
  7042. },
  7043. decoration: 'none',
  7044. margin: 0,
  7045. lineHeight: '',
  7046. align: 'left',
  7047. wordWrap: 'normal'
  7048. }
  7049. };
  7050. exports.default = _default;
  7051. /***/ }),
  7052. /***/ 151:
  7053. /*!****************************************************************************!*\
  7054. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/textarea.js ***!
  7055. \****************************************************************************/
  7056. /*! no static exports found */
  7057. /***/ (function(module, exports, __webpack_require__) {
  7058. "use strict";
  7059. Object.defineProperty(exports, "__esModule", {
  7060. value: true
  7061. });
  7062. exports.default = void 0;
  7063. /*
  7064. * @Author : LQ
  7065. * @Description :
  7066. * @version : 1.0
  7067. * @Date : 2021-08-20 16:44:21
  7068. * @LastAuthor : LQ
  7069. * @lastTime : 2021-08-20 17:24:32
  7070. * @FilePath : /u-view2.0/uview-ui/libs/config/props/textarea.js
  7071. */
  7072. var _default = {
  7073. // textarea 组件
  7074. textarea: {
  7075. value: '',
  7076. placeholder: '',
  7077. placeholderClass: 'textarea-placeholder',
  7078. placeholderStyle: 'color: #c0c4cc',
  7079. height: 70,
  7080. confirmType: 'done',
  7081. disabled: false,
  7082. count: false,
  7083. focus: false,
  7084. autoHeight: false,
  7085. fixed: false,
  7086. cursorSpacing: 0,
  7087. cursor: '',
  7088. showConfirmBar: true,
  7089. selectionStart: -1,
  7090. selectionEnd: -1,
  7091. adjustPosition: true,
  7092. disableDefaultPadding: false,
  7093. holdKeyboard: false,
  7094. maxlength: 140,
  7095. border: 'surround',
  7096. formatter: null
  7097. }
  7098. };
  7099. exports.default = _default;
  7100. /***/ }),
  7101. /***/ 152:
  7102. /*!*************************************************************************!*\
  7103. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/toast.js ***!
  7104. \*************************************************************************/
  7105. /*! no static exports found */
  7106. /***/ (function(module, exports, __webpack_require__) {
  7107. "use strict";
  7108. Object.defineProperty(exports, "__esModule", {
  7109. value: true
  7110. });
  7111. exports.default = void 0;
  7112. /*
  7113. * @Author : LQ
  7114. * @Description :
  7115. * @version : 1.0
  7116. * @Date : 2021-08-20 16:44:21
  7117. * @LastAuthor : LQ
  7118. * @lastTime : 2021-08-20 17:07:07
  7119. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toast.js
  7120. */
  7121. var _default = {
  7122. // toast组件
  7123. toast: {
  7124. zIndex: 10090,
  7125. loading: false,
  7126. text: '',
  7127. icon: '',
  7128. type: '',
  7129. loadingMode: '',
  7130. show: '',
  7131. overlay: false,
  7132. position: 'center',
  7133. params: function params() {},
  7134. duration: 2000,
  7135. isTab: false,
  7136. url: '',
  7137. callback: null,
  7138. back: false
  7139. }
  7140. };
  7141. exports.default = _default;
  7142. /***/ }),
  7143. /***/ 153:
  7144. /*!***************************************************************************!*\
  7145. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/toolbar.js ***!
  7146. \***************************************************************************/
  7147. /*! no static exports found */
  7148. /***/ (function(module, exports, __webpack_require__) {
  7149. "use strict";
  7150. Object.defineProperty(exports, "__esModule", {
  7151. value: true
  7152. });
  7153. exports.default = void 0;
  7154. /*
  7155. * @Author : LQ
  7156. * @Description :
  7157. * @version : 1.0
  7158. * @Date : 2021-08-20 16:44:21
  7159. * @LastAuthor : LQ
  7160. * @lastTime : 2021-08-20 17:24:55
  7161. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toolbar.js
  7162. */
  7163. var _default = {
  7164. // toolbar 组件
  7165. toolbar: {
  7166. show: true,
  7167. cancelText: '取消',
  7168. confirmText: '确认',
  7169. cancelColor: '#909193',
  7170. confirmColor: '#3c9cff',
  7171. title: ''
  7172. }
  7173. };
  7174. exports.default = _default;
  7175. /***/ }),
  7176. /***/ 154:
  7177. /*!***************************************************************************!*\
  7178. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tooltip.js ***!
  7179. \***************************************************************************/
  7180. /*! no static exports found */
  7181. /***/ (function(module, exports, __webpack_require__) {
  7182. "use strict";
  7183. Object.defineProperty(exports, "__esModule", {
  7184. value: true
  7185. });
  7186. exports.default = void 0;
  7187. /*
  7188. * @Author : LQ
  7189. * @Description :
  7190. * @version : 1.0
  7191. * @Date : 2021-08-20 16:44:21
  7192. * @LastAuthor : LQ
  7193. * @lastTime : 2021-08-20 17:25:14
  7194. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
  7195. */
  7196. var _default = {
  7197. // tooltip 组件
  7198. tooltip: {
  7199. text: '',
  7200. copyText: '',
  7201. size: 14,
  7202. color: '#606266',
  7203. bgColor: 'transparent',
  7204. direction: 'top',
  7205. zIndex: 10071,
  7206. showCopy: true,
  7207. buttons: function buttons() {
  7208. return [];
  7209. },
  7210. overlay: true,
  7211. showToast: true
  7212. }
  7213. };
  7214. exports.default = _default;
  7215. /***/ }),
  7216. /***/ 155:
  7217. /*!******************************************************************************!*\
  7218. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/transition.js ***!
  7219. \******************************************************************************/
  7220. /*! no static exports found */
  7221. /***/ (function(module, exports, __webpack_require__) {
  7222. "use strict";
  7223. Object.defineProperty(exports, "__esModule", {
  7224. value: true
  7225. });
  7226. exports.default = void 0;
  7227. /*
  7228. * @Author : LQ
  7229. * @Description :
  7230. * @version : 1.0
  7231. * @Date : 2021-08-20 16:44:21
  7232. * @LastAuthor : LQ
  7233. * @lastTime : 2021-08-20 16:59:00
  7234. * @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
  7235. */
  7236. var _default = {
  7237. // transition动画组件的props
  7238. transition: {
  7239. show: false,
  7240. mode: 'fade',
  7241. duration: '300',
  7242. timingFunction: 'ease-out'
  7243. }
  7244. };
  7245. exports.default = _default;
  7246. /***/ }),
  7247. /***/ 156:
  7248. /*!**************************************************************************!*\
  7249. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/upload.js ***!
  7250. \**************************************************************************/
  7251. /*! no static exports found */
  7252. /***/ (function(module, exports, __webpack_require__) {
  7253. "use strict";
  7254. Object.defineProperty(exports, "__esModule", {
  7255. value: true
  7256. });
  7257. exports.default = void 0;
  7258. /*
  7259. * @Author : LQ
  7260. * @Description :
  7261. * @version : 1.0
  7262. * @Date : 2021-08-20 16:44:21
  7263. * @LastAuthor : LQ
  7264. * @lastTime : 2021-08-20 17:09:50
  7265. * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
  7266. */
  7267. var _default = {
  7268. // upload组件
  7269. upload: {
  7270. accept: 'image',
  7271. capture: function capture() {
  7272. return ['album', 'camera'];
  7273. },
  7274. compressed: true,
  7275. camera: 'back',
  7276. maxDuration: 60,
  7277. uploadIcon: 'camera-fill',
  7278. uploadIconColor: '#D3D4D6',
  7279. useBeforeRead: false,
  7280. previewFullImage: true,
  7281. maxCount: 52,
  7282. disabled: false,
  7283. imageMode: 'aspectFill',
  7284. name: '',
  7285. sizeType: function sizeType() {
  7286. return ['original', 'compressed'];
  7287. },
  7288. multiple: false,
  7289. deletable: true,
  7290. maxSize: Number.MAX_VALUE,
  7291. fileList: function fileList() {
  7292. return [];
  7293. },
  7294. uploadText: '',
  7295. width: 80,
  7296. height: 80,
  7297. previewImage: true
  7298. }
  7299. };
  7300. exports.default = _default;
  7301. /***/ }),
  7302. /***/ 157:
  7303. /*!********************************************************************!*\
  7304. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/zIndex.js ***!
  7305. \********************************************************************/
  7306. /*! no static exports found */
  7307. /***/ (function(module, exports, __webpack_require__) {
  7308. "use strict";
  7309. Object.defineProperty(exports, "__esModule", {
  7310. value: true
  7311. });
  7312. exports.default = void 0;
  7313. // uniapp在H5中各API的z-index值如下:
  7314. /**
  7315. * actionsheet: 999
  7316. * modal: 999
  7317. * navigate: 998
  7318. * tabbar: 998
  7319. * toast: 999
  7320. */
  7321. var _default = {
  7322. toast: 10090,
  7323. noNetwork: 10080,
  7324. // popup包含popup,actionsheet,keyboard,picker的值
  7325. popup: 10075,
  7326. mask: 10070,
  7327. navbar: 980,
  7328. topTips: 975,
  7329. sticky: 970,
  7330. indexListSticky: 965
  7331. };
  7332. exports.default = _default;
  7333. /***/ }),
  7334. /***/ 158:
  7335. /*!************************************************************************!*\
  7336. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/platform.js ***!
  7337. \************************************************************************/
  7338. /*! no static exports found */
  7339. /***/ (function(module, exports, __webpack_require__) {
  7340. "use strict";
  7341. Object.defineProperty(exports, "__esModule", {
  7342. value: true
  7343. });
  7344. exports.default = void 0;
  7345. /**
  7346. * 注意:
  7347. * 此部分内容,在vue-cli模式下,需要在vue.config.js加入如下内容才有效:
  7348. * module.exports = {
  7349. * transpileDependencies: ['uview-v2']
  7350. * }
  7351. */
  7352. var platform = 'none';
  7353. platform = 'vue2';
  7354. platform = 'weixin';
  7355. platform = 'mp';
  7356. var _default = platform;
  7357. exports.default = _default;
  7358. /***/ }),
  7359. /***/ 159:
  7360. /*!****************************************************!*\
  7361. !*** ./node_modules/vue-i18n/dist/vue-i18n.esm.js ***!
  7362. \****************************************************/
  7363. /*! exports provided: default */
  7364. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7365. "use strict";
  7366. __webpack_require__.r(__webpack_exports__);
  7367. /*!
  7368. * vue-i18n v8.28.2
  7369. * (c) 2022 kazuya kawaguchi
  7370. * Released under the MIT License.
  7371. */
  7372. /* */
  7373. /**
  7374. * constants
  7375. */
  7376. var numberFormatKeys = [
  7377. 'compactDisplay',
  7378. 'currency',
  7379. 'currencyDisplay',
  7380. 'currencySign',
  7381. 'localeMatcher',
  7382. 'notation',
  7383. 'numberingSystem',
  7384. 'signDisplay',
  7385. 'style',
  7386. 'unit',
  7387. 'unitDisplay',
  7388. 'useGrouping',
  7389. 'minimumIntegerDigits',
  7390. 'minimumFractionDigits',
  7391. 'maximumFractionDigits',
  7392. 'minimumSignificantDigits',
  7393. 'maximumSignificantDigits'
  7394. ];
  7395. var dateTimeFormatKeys = [
  7396. 'dateStyle',
  7397. 'timeStyle',
  7398. 'calendar',
  7399. 'localeMatcher',
  7400. "hour12",
  7401. "hourCycle",
  7402. "timeZone",
  7403. "formatMatcher",
  7404. 'weekday',
  7405. 'era',
  7406. 'year',
  7407. 'month',
  7408. 'day',
  7409. 'hour',
  7410. 'minute',
  7411. 'second',
  7412. 'timeZoneName' ];
  7413. /**
  7414. * utilities
  7415. */
  7416. function warn (msg, err) {
  7417. if (typeof console !== 'undefined') {
  7418. console.warn('[vue-i18n] ' + msg);
  7419. /* istanbul ignore if */
  7420. if (err) {
  7421. console.warn(err.stack);
  7422. }
  7423. }
  7424. }
  7425. function error (msg, err) {
  7426. if (typeof console !== 'undefined') {
  7427. console.error('[vue-i18n] ' + msg);
  7428. /* istanbul ignore if */
  7429. if (err) {
  7430. console.error(err.stack);
  7431. }
  7432. }
  7433. }
  7434. var isArray = Array.isArray;
  7435. function isObject (obj) {
  7436. return obj !== null && typeof obj === 'object'
  7437. }
  7438. function isBoolean (val) {
  7439. return typeof val === 'boolean'
  7440. }
  7441. function isString (val) {
  7442. return typeof val === 'string'
  7443. }
  7444. var toString = Object.prototype.toString;
  7445. var OBJECT_STRING = '[object Object]';
  7446. function isPlainObject (obj) {
  7447. return toString.call(obj) === OBJECT_STRING
  7448. }
  7449. function isNull (val) {
  7450. return val === null || val === undefined
  7451. }
  7452. function isFunction (val) {
  7453. return typeof val === 'function'
  7454. }
  7455. function parseArgs () {
  7456. var args = [], len = arguments.length;
  7457. while ( len-- ) args[ len ] = arguments[ len ];
  7458. var locale = null;
  7459. var params = null;
  7460. if (args.length === 1) {
  7461. if (isObject(args[0]) || isArray(args[0])) {
  7462. params = args[0];
  7463. } else if (typeof args[0] === 'string') {
  7464. locale = args[0];
  7465. }
  7466. } else if (args.length === 2) {
  7467. if (typeof args[0] === 'string') {
  7468. locale = args[0];
  7469. }
  7470. /* istanbul ignore if */
  7471. if (isObject(args[1]) || isArray(args[1])) {
  7472. params = args[1];
  7473. }
  7474. }
  7475. return { locale: locale, params: params }
  7476. }
  7477. function looseClone (obj) {
  7478. return JSON.parse(JSON.stringify(obj))
  7479. }
  7480. function remove (arr, item) {
  7481. if (arr.delete(item)) {
  7482. return arr
  7483. }
  7484. }
  7485. function arrayFrom (arr) {
  7486. var ret = [];
  7487. arr.forEach(function (a) { return ret.push(a); });
  7488. return ret
  7489. }
  7490. function includes (arr, item) {
  7491. return !!~arr.indexOf(item)
  7492. }
  7493. var hasOwnProperty = Object.prototype.hasOwnProperty;
  7494. function hasOwn (obj, key) {
  7495. return hasOwnProperty.call(obj, key)
  7496. }
  7497. function merge (target) {
  7498. var arguments$1 = arguments;
  7499. var output = Object(target);
  7500. for (var i = 1; i < arguments.length; i++) {
  7501. var source = arguments$1[i];
  7502. if (source !== undefined && source !== null) {
  7503. var key = (void 0);
  7504. for (key in source) {
  7505. if (hasOwn(source, key)) {
  7506. if (isObject(source[key])) {
  7507. output[key] = merge(output[key], source[key]);
  7508. } else {
  7509. output[key] = source[key];
  7510. }
  7511. }
  7512. }
  7513. }
  7514. }
  7515. return output
  7516. }
  7517. function looseEqual (a, b) {
  7518. if (a === b) { return true }
  7519. var isObjectA = isObject(a);
  7520. var isObjectB = isObject(b);
  7521. if (isObjectA && isObjectB) {
  7522. try {
  7523. var isArrayA = isArray(a);
  7524. var isArrayB = isArray(b);
  7525. if (isArrayA && isArrayB) {
  7526. return a.length === b.length && a.every(function (e, i) {
  7527. return looseEqual(e, b[i])
  7528. })
  7529. } else if (!isArrayA && !isArrayB) {
  7530. var keysA = Object.keys(a);
  7531. var keysB = Object.keys(b);
  7532. return keysA.length === keysB.length && keysA.every(function (key) {
  7533. return looseEqual(a[key], b[key])
  7534. })
  7535. } else {
  7536. /* istanbul ignore next */
  7537. return false
  7538. }
  7539. } catch (e) {
  7540. /* istanbul ignore next */
  7541. return false
  7542. }
  7543. } else if (!isObjectA && !isObjectB) {
  7544. return String(a) === String(b)
  7545. } else {
  7546. return false
  7547. }
  7548. }
  7549. /**
  7550. * Sanitizes html special characters from input strings. For mitigating risk of XSS attacks.
  7551. * @param rawText The raw input from the user that should be escaped.
  7552. */
  7553. function escapeHtml(rawText) {
  7554. return rawText
  7555. .replace(/</g, '&lt;')
  7556. .replace(/>/g, '&gt;')
  7557. .replace(/"/g, '&quot;')
  7558. .replace(/'/g, '&apos;')
  7559. }
  7560. /**
  7561. * Escapes html tags and special symbols from all provided params which were returned from parseArgs().params.
  7562. * This method performs an in-place operation on the params object.
  7563. *
  7564. * @param {any} params Parameters as provided from `parseArgs().params`.
  7565. * May be either an array of strings or a string->any map.
  7566. *
  7567. * @returns The manipulated `params` object.
  7568. */
  7569. function escapeParams(params) {
  7570. if(params != null) {
  7571. Object.keys(params).forEach(function (key) {
  7572. if(typeof(params[key]) == 'string') {
  7573. params[key] = escapeHtml(params[key]);
  7574. }
  7575. });
  7576. }
  7577. return params
  7578. }
  7579. /* */
  7580. function extend (Vue) {
  7581. if (!Vue.prototype.hasOwnProperty('$i18n')) {
  7582. // $FlowFixMe
  7583. Object.defineProperty(Vue.prototype, '$i18n', {
  7584. get: function get () { return this._i18n }
  7585. });
  7586. }
  7587. Vue.prototype.$t = function (key) {
  7588. var values = [], len = arguments.length - 1;
  7589. while ( len-- > 0 ) values[ len ] = arguments[ len + 1 ];
  7590. var i18n = this.$i18n;
  7591. return i18n._t.apply(i18n, [ key, i18n.locale, i18n._getMessages(), this ].concat( values ))
  7592. };
  7593. Vue.prototype.$tc = function (key, choice) {
  7594. var values = [], len = arguments.length - 2;
  7595. while ( len-- > 0 ) values[ len ] = arguments[ len + 2 ];
  7596. var i18n = this.$i18n;
  7597. return i18n._tc.apply(i18n, [ key, i18n.locale, i18n._getMessages(), this, choice ].concat( values ))
  7598. };
  7599. Vue.prototype.$te = function (key, locale) {
  7600. var i18n = this.$i18n;
  7601. return i18n._te(key, i18n.locale, i18n._getMessages(), locale)
  7602. };
  7603. Vue.prototype.$d = function (value) {
  7604. var ref;
  7605. var args = [], len = arguments.length - 1;
  7606. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  7607. return (ref = this.$i18n).d.apply(ref, [ value ].concat( args ))
  7608. };
  7609. Vue.prototype.$n = function (value) {
  7610. var ref;
  7611. var args = [], len = arguments.length - 1;
  7612. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  7613. return (ref = this.$i18n).n.apply(ref, [ value ].concat( args ))
  7614. };
  7615. }
  7616. /* */
  7617. /**
  7618. * Mixin
  7619. *
  7620. * If `bridge` mode, empty mixin is returned,
  7621. * else regulary mixin implementation is returned.
  7622. */
  7623. function defineMixin (bridge) {
  7624. if ( bridge === void 0 ) bridge = false;
  7625. function mounted () {
  7626. if (this !== this.$root && this.$options.__INTLIFY_META__ && this.$el) {
  7627. this.$el.setAttribute('data-intlify', this.$options.__INTLIFY_META__);
  7628. }
  7629. }
  7630. return bridge
  7631. ? { mounted: mounted } // delegate `vue-i18n-bridge` mixin implementation
  7632. : { // regulary
  7633. beforeCreate: function beforeCreate () {
  7634. var options = this.$options;
  7635. options.i18n = options.i18n || ((options.__i18nBridge || options.__i18n) ? {} : null);
  7636. if (options.i18n) {
  7637. if (options.i18n instanceof VueI18n) {
  7638. // init locale messages via custom blocks
  7639. if ((options.__i18nBridge || options.__i18n)) {
  7640. try {
  7641. var localeMessages = options.i18n && options.i18n.messages ? options.i18n.messages : {};
  7642. var _i18n = options.__i18nBridge || options.__i18n;
  7643. _i18n.forEach(function (resource) {
  7644. localeMessages = merge(localeMessages, JSON.parse(resource));
  7645. });
  7646. Object.keys(localeMessages).forEach(function (locale) {
  7647. options.i18n.mergeLocaleMessage(locale, localeMessages[locale]);
  7648. });
  7649. } catch (e) {
  7650. if (true) {
  7651. error("Cannot parse locale messages via custom blocks.", e);
  7652. }
  7653. }
  7654. }
  7655. this._i18n = options.i18n;
  7656. this._i18nWatcher = this._i18n.watchI18nData();
  7657. } else if (isPlainObject(options.i18n)) {
  7658. var rootI18n = this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n
  7659. ? this.$root.$i18n
  7660. : null;
  7661. // component local i18n
  7662. if (rootI18n) {
  7663. options.i18n.root = this.$root;
  7664. options.i18n.formatter = rootI18n.formatter;
  7665. options.i18n.fallbackLocale = rootI18n.fallbackLocale;
  7666. options.i18n.formatFallbackMessages = rootI18n.formatFallbackMessages;
  7667. options.i18n.silentTranslationWarn = rootI18n.silentTranslationWarn;
  7668. options.i18n.silentFallbackWarn = rootI18n.silentFallbackWarn;
  7669. options.i18n.pluralizationRules = rootI18n.pluralizationRules;
  7670. options.i18n.preserveDirectiveContent = rootI18n.preserveDirectiveContent;
  7671. }
  7672. // init locale messages via custom blocks
  7673. if ((options.__i18nBridge || options.__i18n)) {
  7674. try {
  7675. var localeMessages$1 = options.i18n && options.i18n.messages ? options.i18n.messages : {};
  7676. var _i18n$1 = options.__i18nBridge || options.__i18n;
  7677. _i18n$1.forEach(function (resource) {
  7678. localeMessages$1 = merge(localeMessages$1, JSON.parse(resource));
  7679. });
  7680. options.i18n.messages = localeMessages$1;
  7681. } catch (e) {
  7682. if (true) {
  7683. warn("Cannot parse locale messages via custom blocks.", e);
  7684. }
  7685. }
  7686. }
  7687. var ref = options.i18n;
  7688. var sharedMessages = ref.sharedMessages;
  7689. if (sharedMessages && isPlainObject(sharedMessages)) {
  7690. options.i18n.messages = merge(options.i18n.messages, sharedMessages);
  7691. }
  7692. this._i18n = new VueI18n(options.i18n);
  7693. this._i18nWatcher = this._i18n.watchI18nData();
  7694. if (options.i18n.sync === undefined || !!options.i18n.sync) {
  7695. this._localeWatcher = this.$i18n.watchLocale();
  7696. }
  7697. if (rootI18n) {
  7698. rootI18n.onComponentInstanceCreated(this._i18n);
  7699. }
  7700. } else {
  7701. if (true) {
  7702. warn("Cannot be interpreted 'i18n' option.");
  7703. }
  7704. }
  7705. } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {
  7706. // root i18n
  7707. this._i18n = this.$root.$i18n;
  7708. } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {
  7709. // parent i18n
  7710. this._i18n = options.parent.$i18n;
  7711. }
  7712. },
  7713. beforeMount: function beforeMount () {
  7714. var options = this.$options;
  7715. options.i18n = options.i18n || ((options.__i18nBridge || options.__i18n) ? {} : null);
  7716. if (options.i18n) {
  7717. if (options.i18n instanceof VueI18n) {
  7718. // init locale messages via custom blocks
  7719. this._i18n.subscribeDataChanging(this);
  7720. this._subscribing = true;
  7721. } else if (isPlainObject(options.i18n)) {
  7722. this._i18n.subscribeDataChanging(this);
  7723. this._subscribing = true;
  7724. } else {
  7725. if (true) {
  7726. warn("Cannot be interpreted 'i18n' option.");
  7727. }
  7728. }
  7729. } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {
  7730. this._i18n.subscribeDataChanging(this);
  7731. this._subscribing = true;
  7732. } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {
  7733. this._i18n.subscribeDataChanging(this);
  7734. this._subscribing = true;
  7735. }
  7736. },
  7737. mounted: mounted,
  7738. beforeDestroy: function beforeDestroy () {
  7739. if (!this._i18n) { return }
  7740. var self = this;
  7741. this.$nextTick(function () {
  7742. if (self._subscribing) {
  7743. self._i18n.unsubscribeDataChanging(self);
  7744. delete self._subscribing;
  7745. }
  7746. if (self._i18nWatcher) {
  7747. self._i18nWatcher();
  7748. self._i18n.destroyVM();
  7749. delete self._i18nWatcher;
  7750. }
  7751. if (self._localeWatcher) {
  7752. self._localeWatcher();
  7753. delete self._localeWatcher;
  7754. }
  7755. });
  7756. }
  7757. }
  7758. }
  7759. /* */
  7760. var interpolationComponent = {
  7761. name: 'i18n',
  7762. functional: true,
  7763. props: {
  7764. tag: {
  7765. type: [String, Boolean, Object],
  7766. default: 'span'
  7767. },
  7768. path: {
  7769. type: String,
  7770. required: true
  7771. },
  7772. locale: {
  7773. type: String
  7774. },
  7775. places: {
  7776. type: [Array, Object]
  7777. }
  7778. },
  7779. render: function render (h, ref) {
  7780. var data = ref.data;
  7781. var parent = ref.parent;
  7782. var props = ref.props;
  7783. var slots = ref.slots;
  7784. var $i18n = parent.$i18n;
  7785. if (!$i18n) {
  7786. if (true) {
  7787. warn('Cannot find VueI18n instance!');
  7788. }
  7789. return
  7790. }
  7791. var path = props.path;
  7792. var locale = props.locale;
  7793. var places = props.places;
  7794. var params = slots();
  7795. var children = $i18n.i(
  7796. path,
  7797. locale,
  7798. onlyHasDefaultPlace(params) || places
  7799. ? useLegacyPlaces(params.default, places)
  7800. : params
  7801. );
  7802. var tag = (!!props.tag && props.tag !== true) || props.tag === false ? props.tag : 'span';
  7803. return tag ? h(tag, data, children) : children
  7804. }
  7805. };
  7806. function onlyHasDefaultPlace (params) {
  7807. var prop;
  7808. for (prop in params) {
  7809. if (prop !== 'default') { return false }
  7810. }
  7811. return Boolean(prop)
  7812. }
  7813. function useLegacyPlaces (children, places) {
  7814. var params = places ? createParamsFromPlaces(places) : {};
  7815. if (!children) { return params }
  7816. // Filter empty text nodes
  7817. children = children.filter(function (child) {
  7818. return child.tag || child.text.trim() !== ''
  7819. });
  7820. var everyPlace = children.every(vnodeHasPlaceAttribute);
  7821. if ( true && everyPlace) {
  7822. warn('`place` attribute is deprecated in next major version. Please switch to Vue slots.');
  7823. }
  7824. return children.reduce(
  7825. everyPlace ? assignChildPlace : assignChildIndex,
  7826. params
  7827. )
  7828. }
  7829. function createParamsFromPlaces (places) {
  7830. if (true) {
  7831. warn('`places` prop is deprecated in next major version. Please switch to Vue slots.');
  7832. }
  7833. return Array.isArray(places)
  7834. ? places.reduce(assignChildIndex, {})
  7835. : Object.assign({}, places)
  7836. }
  7837. function assignChildPlace (params, child) {
  7838. if (child.data && child.data.attrs && child.data.attrs.place) {
  7839. params[child.data.attrs.place] = child;
  7840. }
  7841. return params
  7842. }
  7843. function assignChildIndex (params, child, index) {
  7844. params[index] = child;
  7845. return params
  7846. }
  7847. function vnodeHasPlaceAttribute (vnode) {
  7848. return Boolean(vnode.data && vnode.data.attrs && vnode.data.attrs.place)
  7849. }
  7850. /* */
  7851. var numberComponent = {
  7852. name: 'i18n-n',
  7853. functional: true,
  7854. props: {
  7855. tag: {
  7856. type: [String, Boolean, Object],
  7857. default: 'span'
  7858. },
  7859. value: {
  7860. type: Number,
  7861. required: true
  7862. },
  7863. format: {
  7864. type: [String, Object]
  7865. },
  7866. locale: {
  7867. type: String
  7868. }
  7869. },
  7870. render: function render (h, ref) {
  7871. var props = ref.props;
  7872. var parent = ref.parent;
  7873. var data = ref.data;
  7874. var i18n = parent.$i18n;
  7875. if (!i18n) {
  7876. if (true) {
  7877. warn('Cannot find VueI18n instance!');
  7878. }
  7879. return null
  7880. }
  7881. var key = null;
  7882. var options = null;
  7883. if (isString(props.format)) {
  7884. key = props.format;
  7885. } else if (isObject(props.format)) {
  7886. if (props.format.key) {
  7887. key = props.format.key;
  7888. }
  7889. // Filter out number format options only
  7890. options = Object.keys(props.format).reduce(function (acc, prop) {
  7891. var obj;
  7892. if (includes(numberFormatKeys, prop)) {
  7893. return Object.assign({}, acc, ( obj = {}, obj[prop] = props.format[prop], obj ))
  7894. }
  7895. return acc
  7896. }, null);
  7897. }
  7898. var locale = props.locale || i18n.locale;
  7899. var parts = i18n._ntp(props.value, locale, key, options);
  7900. var values = parts.map(function (part, index) {
  7901. var obj;
  7902. var slot = data.scopedSlots && data.scopedSlots[part.type];
  7903. return slot ? slot(( obj = {}, obj[part.type] = part.value, obj.index = index, obj.parts = parts, obj )) : part.value
  7904. });
  7905. var tag = (!!props.tag && props.tag !== true) || props.tag === false ? props.tag : 'span';
  7906. return tag
  7907. ? h(tag, {
  7908. attrs: data.attrs,
  7909. 'class': data['class'],
  7910. staticClass: data.staticClass
  7911. }, values)
  7912. : values
  7913. }
  7914. };
  7915. /* */
  7916. function bind (el, binding, vnode) {
  7917. if (!assert(el, vnode)) { return }
  7918. t(el, binding, vnode);
  7919. }
  7920. function update (el, binding, vnode, oldVNode) {
  7921. if (!assert(el, vnode)) { return }
  7922. var i18n = vnode.context.$i18n;
  7923. if (localeEqual(el, vnode) &&
  7924. (looseEqual(binding.value, binding.oldValue) &&
  7925. looseEqual(el._localeMessage, i18n.getLocaleMessage(i18n.locale)))) { return }
  7926. t(el, binding, vnode);
  7927. }
  7928. function unbind (el, binding, vnode, oldVNode) {
  7929. var vm = vnode.context;
  7930. if (!vm) {
  7931. warn('Vue instance does not exists in VNode context');
  7932. return
  7933. }
  7934. var i18n = vnode.context.$i18n || {};
  7935. if (!binding.modifiers.preserve && !i18n.preserveDirectiveContent) {
  7936. el.textContent = '';
  7937. }
  7938. el._vt = undefined;
  7939. delete el['_vt'];
  7940. el._locale = undefined;
  7941. delete el['_locale'];
  7942. el._localeMessage = undefined;
  7943. delete el['_localeMessage'];
  7944. }
  7945. function assert (el, vnode) {
  7946. var vm = vnode.context;
  7947. if (!vm) {
  7948. warn('Vue instance does not exists in VNode context');
  7949. return false
  7950. }
  7951. if (!vm.$i18n) {
  7952. warn('VueI18n instance does not exists in Vue instance');
  7953. return false
  7954. }
  7955. return true
  7956. }
  7957. function localeEqual (el, vnode) {
  7958. var vm = vnode.context;
  7959. return el._locale === vm.$i18n.locale
  7960. }
  7961. function t (el, binding, vnode) {
  7962. var ref$1, ref$2;
  7963. var value = binding.value;
  7964. var ref = parseValue(value);
  7965. var path = ref.path;
  7966. var locale = ref.locale;
  7967. var args = ref.args;
  7968. var choice = ref.choice;
  7969. if (!path && !locale && !args) {
  7970. warn('value type not supported');
  7971. return
  7972. }
  7973. if (!path) {
  7974. warn('`path` is required in v-t directive');
  7975. return
  7976. }
  7977. var vm = vnode.context;
  7978. if (choice != null) {
  7979. el._vt = el.textContent = (ref$1 = vm.$i18n).tc.apply(ref$1, [ path, choice ].concat( makeParams(locale, args) ));
  7980. } else {
  7981. el._vt = el.textContent = (ref$2 = vm.$i18n).t.apply(ref$2, [ path ].concat( makeParams(locale, args) ));
  7982. }
  7983. el._locale = vm.$i18n.locale;
  7984. el._localeMessage = vm.$i18n.getLocaleMessage(vm.$i18n.locale);
  7985. }
  7986. function parseValue (value) {
  7987. var path;
  7988. var locale;
  7989. var args;
  7990. var choice;
  7991. if (isString(value)) {
  7992. path = value;
  7993. } else if (isPlainObject(value)) {
  7994. path = value.path;
  7995. locale = value.locale;
  7996. args = value.args;
  7997. choice = value.choice;
  7998. }
  7999. return { path: path, locale: locale, args: args, choice: choice }
  8000. }
  8001. function makeParams (locale, args) {
  8002. var params = [];
  8003. locale && params.push(locale);
  8004. if (args && (Array.isArray(args) || isPlainObject(args))) {
  8005. params.push(args);
  8006. }
  8007. return params
  8008. }
  8009. var Vue;
  8010. function install (_Vue, options) {
  8011. if ( options === void 0 ) options = { bridge: false };
  8012. /* istanbul ignore if */
  8013. if ( true && install.installed && _Vue === Vue) {
  8014. warn('already installed.');
  8015. return
  8016. }
  8017. install.installed = true;
  8018. Vue = _Vue;
  8019. var version = (Vue.version && Number(Vue.version.split('.')[0])) || -1;
  8020. /* istanbul ignore if */
  8021. if ( true && version < 2) {
  8022. warn(("vue-i18n (" + (install.version) + ") need to use Vue 2.0 or later (Vue: " + (Vue.version) + ")."));
  8023. return
  8024. }
  8025. extend(Vue);
  8026. Vue.mixin(defineMixin(options.bridge));
  8027. Vue.directive('t', { bind: bind, update: update, unbind: unbind });
  8028. Vue.component(interpolationComponent.name, interpolationComponent);
  8029. Vue.component(numberComponent.name, numberComponent);
  8030. // use simple mergeStrategies to prevent i18n instance lose '__proto__'
  8031. var strats = Vue.config.optionMergeStrategies;
  8032. strats.i18n = function (parentVal, childVal) {
  8033. return childVal === undefined
  8034. ? parentVal
  8035. : childVal
  8036. };
  8037. }
  8038. /* */
  8039. var BaseFormatter = function BaseFormatter () {
  8040. this._caches = Object.create(null);
  8041. };
  8042. BaseFormatter.prototype.interpolate = function interpolate (message, values) {
  8043. if (!values) {
  8044. return [message]
  8045. }
  8046. var tokens = this._caches[message];
  8047. if (!tokens) {
  8048. tokens = parse(message);
  8049. this._caches[message] = tokens;
  8050. }
  8051. return compile(tokens, values)
  8052. };
  8053. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  8054. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  8055. function parse (format) {
  8056. var tokens = [];
  8057. var position = 0;
  8058. var text = '';
  8059. while (position < format.length) {
  8060. var char = format[position++];
  8061. if (char === '{') {
  8062. if (text) {
  8063. tokens.push({ type: 'text', value: text });
  8064. }
  8065. text = '';
  8066. var sub = '';
  8067. char = format[position++];
  8068. while (char !== undefined && char !== '}') {
  8069. sub += char;
  8070. char = format[position++];
  8071. }
  8072. var isClosed = char === '}';
  8073. var type = RE_TOKEN_LIST_VALUE.test(sub)
  8074. ? 'list'
  8075. : isClosed && RE_TOKEN_NAMED_VALUE.test(sub)
  8076. ? 'named'
  8077. : 'unknown';
  8078. tokens.push({ value: sub, type: type });
  8079. } else if (char === '%') {
  8080. // when found rails i18n syntax, skip text capture
  8081. if (format[(position)] !== '{') {
  8082. text += char;
  8083. }
  8084. } else {
  8085. text += char;
  8086. }
  8087. }
  8088. text && tokens.push({ type: 'text', value: text });
  8089. return tokens
  8090. }
  8091. function compile (tokens, values) {
  8092. var compiled = [];
  8093. var index = 0;
  8094. var mode = Array.isArray(values)
  8095. ? 'list'
  8096. : isObject(values)
  8097. ? 'named'
  8098. : 'unknown';
  8099. if (mode === 'unknown') { return compiled }
  8100. while (index < tokens.length) {
  8101. var token = tokens[index];
  8102. switch (token.type) {
  8103. case 'text':
  8104. compiled.push(token.value);
  8105. break
  8106. case 'list':
  8107. compiled.push(values[parseInt(token.value, 10)]);
  8108. break
  8109. case 'named':
  8110. if (mode === 'named') {
  8111. compiled.push((values)[token.value]);
  8112. } else {
  8113. if (true) {
  8114. warn(("Type of token '" + (token.type) + "' and format of value '" + mode + "' don't match!"));
  8115. }
  8116. }
  8117. break
  8118. case 'unknown':
  8119. if (true) {
  8120. warn("Detect 'unknown' type of token!");
  8121. }
  8122. break
  8123. }
  8124. index++;
  8125. }
  8126. return compiled
  8127. }
  8128. /* */
  8129. /**
  8130. * Path parser
  8131. * - Inspired:
  8132. * Vue.js Path parser
  8133. */
  8134. // actions
  8135. var APPEND = 0;
  8136. var PUSH = 1;
  8137. var INC_SUB_PATH_DEPTH = 2;
  8138. var PUSH_SUB_PATH = 3;
  8139. // states
  8140. var BEFORE_PATH = 0;
  8141. var IN_PATH = 1;
  8142. var BEFORE_IDENT = 2;
  8143. var IN_IDENT = 3;
  8144. var IN_SUB_PATH = 4;
  8145. var IN_SINGLE_QUOTE = 5;
  8146. var IN_DOUBLE_QUOTE = 6;
  8147. var AFTER_PATH = 7;
  8148. var ERROR = 8;
  8149. var pathStateMachine = [];
  8150. pathStateMachine[BEFORE_PATH] = {
  8151. 'ws': [BEFORE_PATH],
  8152. 'ident': [IN_IDENT, APPEND],
  8153. '[': [IN_SUB_PATH],
  8154. 'eof': [AFTER_PATH]
  8155. };
  8156. pathStateMachine[IN_PATH] = {
  8157. 'ws': [IN_PATH],
  8158. '.': [BEFORE_IDENT],
  8159. '[': [IN_SUB_PATH],
  8160. 'eof': [AFTER_PATH]
  8161. };
  8162. pathStateMachine[BEFORE_IDENT] = {
  8163. 'ws': [BEFORE_IDENT],
  8164. 'ident': [IN_IDENT, APPEND],
  8165. '0': [IN_IDENT, APPEND],
  8166. 'number': [IN_IDENT, APPEND]
  8167. };
  8168. pathStateMachine[IN_IDENT] = {
  8169. 'ident': [IN_IDENT, APPEND],
  8170. '0': [IN_IDENT, APPEND],
  8171. 'number': [IN_IDENT, APPEND],
  8172. 'ws': [IN_PATH, PUSH],
  8173. '.': [BEFORE_IDENT, PUSH],
  8174. '[': [IN_SUB_PATH, PUSH],
  8175. 'eof': [AFTER_PATH, PUSH]
  8176. };
  8177. pathStateMachine[IN_SUB_PATH] = {
  8178. "'": [IN_SINGLE_QUOTE, APPEND],
  8179. '"': [IN_DOUBLE_QUOTE, APPEND],
  8180. '[': [IN_SUB_PATH, INC_SUB_PATH_DEPTH],
  8181. ']': [IN_PATH, PUSH_SUB_PATH],
  8182. 'eof': ERROR,
  8183. 'else': [IN_SUB_PATH, APPEND]
  8184. };
  8185. pathStateMachine[IN_SINGLE_QUOTE] = {
  8186. "'": [IN_SUB_PATH, APPEND],
  8187. 'eof': ERROR,
  8188. 'else': [IN_SINGLE_QUOTE, APPEND]
  8189. };
  8190. pathStateMachine[IN_DOUBLE_QUOTE] = {
  8191. '"': [IN_SUB_PATH, APPEND],
  8192. 'eof': ERROR,
  8193. 'else': [IN_DOUBLE_QUOTE, APPEND]
  8194. };
  8195. /**
  8196. * Check if an expression is a literal value.
  8197. */
  8198. var literalValueRE = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
  8199. function isLiteral (exp) {
  8200. return literalValueRE.test(exp)
  8201. }
  8202. /**
  8203. * Strip quotes from a string
  8204. */
  8205. function stripQuotes (str) {
  8206. var a = str.charCodeAt(0);
  8207. var b = str.charCodeAt(str.length - 1);
  8208. return a === b && (a === 0x22 || a === 0x27)
  8209. ? str.slice(1, -1)
  8210. : str
  8211. }
  8212. /**
  8213. * Determine the type of a character in a keypath.
  8214. */
  8215. function getPathCharType (ch) {
  8216. if (ch === undefined || ch === null) { return 'eof' }
  8217. var code = ch.charCodeAt(0);
  8218. switch (code) {
  8219. case 0x5B: // [
  8220. case 0x5D: // ]
  8221. case 0x2E: // .
  8222. case 0x22: // "
  8223. case 0x27: // '
  8224. return ch
  8225. case 0x5F: // _
  8226. case 0x24: // $
  8227. case 0x2D: // -
  8228. return 'ident'
  8229. case 0x09: // Tab
  8230. case 0x0A: // Newline
  8231. case 0x0D: // Return
  8232. case 0xA0: // No-break space
  8233. case 0xFEFF: // Byte Order Mark
  8234. case 0x2028: // Line Separator
  8235. case 0x2029: // Paragraph Separator
  8236. return 'ws'
  8237. }
  8238. return 'ident'
  8239. }
  8240. /**
  8241. * Format a subPath, return its plain form if it is
  8242. * a literal string or number. Otherwise prepend the
  8243. * dynamic indicator (*).
  8244. */
  8245. function formatSubPath (path) {
  8246. var trimmed = path.trim();
  8247. // invalid leading 0
  8248. if (path.charAt(0) === '0' && isNaN(path)) { return false }
  8249. return isLiteral(trimmed) ? stripQuotes(trimmed) : '*' + trimmed
  8250. }
  8251. /**
  8252. * Parse a string path into an array of segments
  8253. */
  8254. function parse$1 (path) {
  8255. var keys = [];
  8256. var index = -1;
  8257. var mode = BEFORE_PATH;
  8258. var subPathDepth = 0;
  8259. var c;
  8260. var key;
  8261. var newChar;
  8262. var type;
  8263. var transition;
  8264. var action;
  8265. var typeMap;
  8266. var actions = [];
  8267. actions[PUSH] = function () {
  8268. if (key !== undefined) {
  8269. keys.push(key);
  8270. key = undefined;
  8271. }
  8272. };
  8273. actions[APPEND] = function () {
  8274. if (key === undefined) {
  8275. key = newChar;
  8276. } else {
  8277. key += newChar;
  8278. }
  8279. };
  8280. actions[INC_SUB_PATH_DEPTH] = function () {
  8281. actions[APPEND]();
  8282. subPathDepth++;
  8283. };
  8284. actions[PUSH_SUB_PATH] = function () {
  8285. if (subPathDepth > 0) {
  8286. subPathDepth--;
  8287. mode = IN_SUB_PATH;
  8288. actions[APPEND]();
  8289. } else {
  8290. subPathDepth = 0;
  8291. if (key === undefined) { return false }
  8292. key = formatSubPath(key);
  8293. if (key === false) {
  8294. return false
  8295. } else {
  8296. actions[PUSH]();
  8297. }
  8298. }
  8299. };
  8300. function maybeUnescapeQuote () {
  8301. var nextChar = path[index + 1];
  8302. if ((mode === IN_SINGLE_QUOTE && nextChar === "'") ||
  8303. (mode === IN_DOUBLE_QUOTE && nextChar === '"')) {
  8304. index++;
  8305. newChar = '\\' + nextChar;
  8306. actions[APPEND]();
  8307. return true
  8308. }
  8309. }
  8310. while (mode !== null) {
  8311. index++;
  8312. c = path[index];
  8313. if (c === '\\' && maybeUnescapeQuote()) {
  8314. continue
  8315. }
  8316. type = getPathCharType(c);
  8317. typeMap = pathStateMachine[mode];
  8318. transition = typeMap[type] || typeMap['else'] || ERROR;
  8319. if (transition === ERROR) {
  8320. return // parse error
  8321. }
  8322. mode = transition[0];
  8323. action = actions[transition[1]];
  8324. if (action) {
  8325. newChar = transition[2];
  8326. newChar = newChar === undefined
  8327. ? c
  8328. : newChar;
  8329. if (action() === false) {
  8330. return
  8331. }
  8332. }
  8333. if (mode === AFTER_PATH) {
  8334. return keys
  8335. }
  8336. }
  8337. }
  8338. var I18nPath = function I18nPath () {
  8339. this._cache = Object.create(null);
  8340. };
  8341. /**
  8342. * External parse that check for a cache hit first
  8343. */
  8344. I18nPath.prototype.parsePath = function parsePath (path) {
  8345. var hit = this._cache[path];
  8346. if (!hit) {
  8347. hit = parse$1(path);
  8348. if (hit) {
  8349. this._cache[path] = hit;
  8350. }
  8351. }
  8352. return hit || []
  8353. };
  8354. /**
  8355. * Get path value from path string
  8356. */
  8357. I18nPath.prototype.getPathValue = function getPathValue (obj, path) {
  8358. if (!isObject(obj)) { return null }
  8359. var paths = this.parsePath(path);
  8360. if (paths.length === 0) {
  8361. return null
  8362. } else {
  8363. var length = paths.length;
  8364. var last = obj;
  8365. var i = 0;
  8366. while (i < length) {
  8367. var value = last[paths[i]];
  8368. if (value === undefined || value === null) {
  8369. return null
  8370. }
  8371. last = value;
  8372. i++;
  8373. }
  8374. return last
  8375. }
  8376. };
  8377. /* */
  8378. var htmlTagMatcher = /<\/?[\w\s="/.':;#-\/]+>/;
  8379. var linkKeyMatcher = /(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g;
  8380. var linkKeyPrefixMatcher = /^@(?:\.([a-zA-Z]+))?:/;
  8381. var bracketsMatcher = /[()]/g;
  8382. var defaultModifiers = {
  8383. 'upper': function (str) { return str.toLocaleUpperCase(); },
  8384. 'lower': function (str) { return str.toLocaleLowerCase(); },
  8385. 'capitalize': function (str) { return ("" + (str.charAt(0).toLocaleUpperCase()) + (str.substr(1))); }
  8386. };
  8387. var defaultFormatter = new BaseFormatter();
  8388. var VueI18n = function VueI18n (options) {
  8389. var this$1 = this;
  8390. if ( options === void 0 ) options = {};
  8391. // Auto install if it is not done yet and `window` has `Vue`.
  8392. // To allow users to avoid auto-installation in some cases,
  8393. // this code should be placed here. See #290
  8394. /* istanbul ignore if */
  8395. if (!Vue && typeof window !== 'undefined' && window.Vue) {
  8396. install(window.Vue);
  8397. }
  8398. var locale = options.locale || 'en-US';
  8399. var fallbackLocale = options.fallbackLocale === false
  8400. ? false
  8401. : options.fallbackLocale || 'en-US';
  8402. var messages = options.messages || {};
  8403. var dateTimeFormats = options.dateTimeFormats || options.datetimeFormats || {};
  8404. var numberFormats = options.numberFormats || {};
  8405. this._vm = null;
  8406. this._formatter = options.formatter || defaultFormatter;
  8407. this._modifiers = options.modifiers || {};
  8408. this._missing = options.missing || null;
  8409. this._root = options.root || null;
  8410. this._sync = options.sync === undefined ? true : !!options.sync;
  8411. this._fallbackRoot = options.fallbackRoot === undefined
  8412. ? true
  8413. : !!options.fallbackRoot;
  8414. this._fallbackRootWithEmptyString = options.fallbackRootWithEmptyString === undefined
  8415. ? true
  8416. : !!options.fallbackRootWithEmptyString;
  8417. this._formatFallbackMessages = options.formatFallbackMessages === undefined
  8418. ? false
  8419. : !!options.formatFallbackMessages;
  8420. this._silentTranslationWarn = options.silentTranslationWarn === undefined
  8421. ? false
  8422. : options.silentTranslationWarn;
  8423. this._silentFallbackWarn = options.silentFallbackWarn === undefined
  8424. ? false
  8425. : !!options.silentFallbackWarn;
  8426. this._dateTimeFormatters = {};
  8427. this._numberFormatters = {};
  8428. this._path = new I18nPath();
  8429. this._dataListeners = new Set();
  8430. this._componentInstanceCreatedListener = options.componentInstanceCreatedListener || null;
  8431. this._preserveDirectiveContent = options.preserveDirectiveContent === undefined
  8432. ? false
  8433. : !!options.preserveDirectiveContent;
  8434. this.pluralizationRules = options.pluralizationRules || {};
  8435. this._warnHtmlInMessage = options.warnHtmlInMessage || 'off';
  8436. this._postTranslation = options.postTranslation || null;
  8437. this._escapeParameterHtml = options.escapeParameterHtml || false;
  8438. if ('__VUE_I18N_BRIDGE__' in options) {
  8439. this.__VUE_I18N_BRIDGE__ = options.__VUE_I18N_BRIDGE__;
  8440. }
  8441. /**
  8442. * @param choice {number} a choice index given by the input to $tc: `$tc('path.to.rule', choiceIndex)`
  8443. * @param choicesLength {number} an overall amount of available choices
  8444. * @returns a final choice index
  8445. */
  8446. this.getChoiceIndex = function (choice, choicesLength) {
  8447. var thisPrototype = Object.getPrototypeOf(this$1);
  8448. if (thisPrototype && thisPrototype.getChoiceIndex) {
  8449. var prototypeGetChoiceIndex = (thisPrototype.getChoiceIndex);
  8450. return (prototypeGetChoiceIndex).call(this$1, choice, choicesLength)
  8451. }
  8452. // Default (old) getChoiceIndex implementation - english-compatible
  8453. var defaultImpl = function (_choice, _choicesLength) {
  8454. _choice = Math.abs(_choice);
  8455. if (_choicesLength === 2) {
  8456. return _choice
  8457. ? _choice > 1
  8458. ? 1
  8459. : 0
  8460. : 1
  8461. }
  8462. return _choice ? Math.min(_choice, 2) : 0
  8463. };
  8464. if (this$1.locale in this$1.pluralizationRules) {
  8465. return this$1.pluralizationRules[this$1.locale].apply(this$1, [choice, choicesLength])
  8466. } else {
  8467. return defaultImpl(choice, choicesLength)
  8468. }
  8469. };
  8470. this._exist = function (message, key) {
  8471. if (!message || !key) { return false }
  8472. if (!isNull(this$1._path.getPathValue(message, key))) { return true }
  8473. // fallback for flat key
  8474. if (message[key]) { return true }
  8475. return false
  8476. };
  8477. if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {
  8478. Object.keys(messages).forEach(function (locale) {
  8479. this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);
  8480. });
  8481. }
  8482. this._initVM({
  8483. locale: locale,
  8484. fallbackLocale: fallbackLocale,
  8485. messages: messages,
  8486. dateTimeFormats: dateTimeFormats,
  8487. numberFormats: numberFormats
  8488. });
  8489. };
  8490. var prototypeAccessors = { vm: { configurable: true },messages: { configurable: true },dateTimeFormats: { configurable: true },numberFormats: { configurable: true },availableLocales: { configurable: true },locale: { configurable: true },fallbackLocale: { configurable: true },formatFallbackMessages: { configurable: true },missing: { configurable: true },formatter: { configurable: true },silentTranslationWarn: { configurable: true },silentFallbackWarn: { configurable: true },preserveDirectiveContent: { configurable: true },warnHtmlInMessage: { configurable: true },postTranslation: { configurable: true },sync: { configurable: true } };
  8491. VueI18n.prototype._checkLocaleMessage = function _checkLocaleMessage (locale, level, message) {
  8492. var paths = [];
  8493. var fn = function (level, locale, message, paths) {
  8494. if (isPlainObject(message)) {
  8495. Object.keys(message).forEach(function (key) {
  8496. var val = message[key];
  8497. if (isPlainObject(val)) {
  8498. paths.push(key);
  8499. paths.push('.');
  8500. fn(level, locale, val, paths);
  8501. paths.pop();
  8502. paths.pop();
  8503. } else {
  8504. paths.push(key);
  8505. fn(level, locale, val, paths);
  8506. paths.pop();
  8507. }
  8508. });
  8509. } else if (isArray(message)) {
  8510. message.forEach(function (item, index) {
  8511. if (isPlainObject(item)) {
  8512. paths.push(("[" + index + "]"));
  8513. paths.push('.');
  8514. fn(level, locale, item, paths);
  8515. paths.pop();
  8516. paths.pop();
  8517. } else {
  8518. paths.push(("[" + index + "]"));
  8519. fn(level, locale, item, paths);
  8520. paths.pop();
  8521. }
  8522. });
  8523. } else if (isString(message)) {
  8524. var ret = htmlTagMatcher.test(message);
  8525. if (ret) {
  8526. var msg = "Detected HTML in message '" + message + "' of keypath '" + (paths.join('')) + "' at '" + locale + "'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";
  8527. if (level === 'warn') {
  8528. warn(msg);
  8529. } else if (level === 'error') {
  8530. error(msg);
  8531. }
  8532. }
  8533. }
  8534. };
  8535. fn(level, locale, message, paths);
  8536. };
  8537. VueI18n.prototype._initVM = function _initVM (data) {
  8538. var silent = Vue.config.silent;
  8539. Vue.config.silent = true;
  8540. this._vm = new Vue({ data: data, __VUE18N__INSTANCE__: true });
  8541. Vue.config.silent = silent;
  8542. };
  8543. VueI18n.prototype.destroyVM = function destroyVM () {
  8544. this._vm.$destroy();
  8545. };
  8546. VueI18n.prototype.subscribeDataChanging = function subscribeDataChanging (vm) {
  8547. this._dataListeners.add(vm);
  8548. };
  8549. VueI18n.prototype.unsubscribeDataChanging = function unsubscribeDataChanging (vm) {
  8550. remove(this._dataListeners, vm);
  8551. };
  8552. VueI18n.prototype.watchI18nData = function watchI18nData () {
  8553. var this$1 = this;
  8554. return this._vm.$watch('$data', function () {
  8555. var listeners = arrayFrom(this$1._dataListeners);
  8556. var i = listeners.length;
  8557. while(i--) {
  8558. Vue.nextTick(function () {
  8559. listeners[i] && listeners[i].$forceUpdate();
  8560. });
  8561. }
  8562. }, { deep: true })
  8563. };
  8564. VueI18n.prototype.watchLocale = function watchLocale (composer) {
  8565. if (!composer) {
  8566. /* istanbul ignore if */
  8567. if (!this._sync || !this._root) { return null }
  8568. var target = this._vm;
  8569. return this._root.$i18n.vm.$watch('locale', function (val) {
  8570. target.$set(target, 'locale', val);
  8571. target.$forceUpdate();
  8572. }, { immediate: true })
  8573. } else {
  8574. // deal with vue-i18n-bridge
  8575. if (!this.__VUE_I18N_BRIDGE__) { return null }
  8576. var self = this;
  8577. var target$1 = this._vm;
  8578. return this.vm.$watch('locale', function (val) {
  8579. target$1.$set(target$1, 'locale', val);
  8580. if (self.__VUE_I18N_BRIDGE__ && composer) {
  8581. composer.locale.value = val;
  8582. }
  8583. target$1.$forceUpdate();
  8584. }, { immediate: true })
  8585. }
  8586. };
  8587. VueI18n.prototype.onComponentInstanceCreated = function onComponentInstanceCreated (newI18n) {
  8588. if (this._componentInstanceCreatedListener) {
  8589. this._componentInstanceCreatedListener(newI18n, this);
  8590. }
  8591. };
  8592. prototypeAccessors.vm.get = function () { return this._vm };
  8593. prototypeAccessors.messages.get = function () { return looseClone(this._getMessages()) };
  8594. prototypeAccessors.dateTimeFormats.get = function () { return looseClone(this._getDateTimeFormats()) };
  8595. prototypeAccessors.numberFormats.get = function () { return looseClone(this._getNumberFormats()) };
  8596. prototypeAccessors.availableLocales.get = function () { return Object.keys(this.messages).sort() };
  8597. prototypeAccessors.locale.get = function () { return this._vm.locale };
  8598. prototypeAccessors.locale.set = function (locale) {
  8599. this._vm.$set(this._vm, 'locale', locale);
  8600. };
  8601. prototypeAccessors.fallbackLocale.get = function () { return this._vm.fallbackLocale };
  8602. prototypeAccessors.fallbackLocale.set = function (locale) {
  8603. this._localeChainCache = {};
  8604. this._vm.$set(this._vm, 'fallbackLocale', locale);
  8605. };
  8606. prototypeAccessors.formatFallbackMessages.get = function () { return this._formatFallbackMessages };
  8607. prototypeAccessors.formatFallbackMessages.set = function (fallback) { this._formatFallbackMessages = fallback; };
  8608. prototypeAccessors.missing.get = function () { return this._missing };
  8609. prototypeAccessors.missing.set = function (handler) { this._missing = handler; };
  8610. prototypeAccessors.formatter.get = function () { return this._formatter };
  8611. prototypeAccessors.formatter.set = function (formatter) { this._formatter = formatter; };
  8612. prototypeAccessors.silentTranslationWarn.get = function () { return this._silentTranslationWarn };
  8613. prototypeAccessors.silentTranslationWarn.set = function (silent) { this._silentTranslationWarn = silent; };
  8614. prototypeAccessors.silentFallbackWarn.get = function () { return this._silentFallbackWarn };
  8615. prototypeAccessors.silentFallbackWarn.set = function (silent) { this._silentFallbackWarn = silent; };
  8616. prototypeAccessors.preserveDirectiveContent.get = function () { return this._preserveDirectiveContent };
  8617. prototypeAccessors.preserveDirectiveContent.set = function (preserve) { this._preserveDirectiveContent = preserve; };
  8618. prototypeAccessors.warnHtmlInMessage.get = function () { return this._warnHtmlInMessage };
  8619. prototypeAccessors.warnHtmlInMessage.set = function (level) {
  8620. var this$1 = this;
  8621. var orgLevel = this._warnHtmlInMessage;
  8622. this._warnHtmlInMessage = level;
  8623. if (orgLevel !== level && (level === 'warn' || level === 'error')) {
  8624. var messages = this._getMessages();
  8625. Object.keys(messages).forEach(function (locale) {
  8626. this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);
  8627. });
  8628. }
  8629. };
  8630. prototypeAccessors.postTranslation.get = function () { return this._postTranslation };
  8631. prototypeAccessors.postTranslation.set = function (handler) { this._postTranslation = handler; };
  8632. prototypeAccessors.sync.get = function () { return this._sync };
  8633. prototypeAccessors.sync.set = function (val) { this._sync = val; };
  8634. VueI18n.prototype._getMessages = function _getMessages () { return this._vm.messages };
  8635. VueI18n.prototype._getDateTimeFormats = function _getDateTimeFormats () { return this._vm.dateTimeFormats };
  8636. VueI18n.prototype._getNumberFormats = function _getNumberFormats () { return this._vm.numberFormats };
  8637. VueI18n.prototype._warnDefault = function _warnDefault (locale, key, result, vm, values, interpolateMode) {
  8638. if (!isNull(result)) { return result }
  8639. if (this._missing) {
  8640. var missingRet = this._missing.apply(null, [locale, key, vm, values]);
  8641. if (isString(missingRet)) {
  8642. return missingRet
  8643. }
  8644. } else {
  8645. if ( true && !this._isSilentTranslationWarn(key)) {
  8646. warn(
  8647. "Cannot translate the value of keypath '" + key + "'. " +
  8648. 'Use the value of keypath as default.'
  8649. );
  8650. }
  8651. }
  8652. if (this._formatFallbackMessages) {
  8653. var parsedArgs = parseArgs.apply(void 0, values);
  8654. return this._render(key, interpolateMode, parsedArgs.params, key)
  8655. } else {
  8656. return key
  8657. }
  8658. };
  8659. VueI18n.prototype._isFallbackRoot = function _isFallbackRoot (val) {
  8660. return (this._fallbackRootWithEmptyString? !val : isNull(val)) && !isNull(this._root) && this._fallbackRoot
  8661. };
  8662. VueI18n.prototype._isSilentFallbackWarn = function _isSilentFallbackWarn (key) {
  8663. return this._silentFallbackWarn instanceof RegExp
  8664. ? this._silentFallbackWarn.test(key)
  8665. : this._silentFallbackWarn
  8666. };
  8667. VueI18n.prototype._isSilentFallback = function _isSilentFallback (locale, key) {
  8668. return this._isSilentFallbackWarn(key) && (this._isFallbackRoot() || locale !== this.fallbackLocale)
  8669. };
  8670. VueI18n.prototype._isSilentTranslationWarn = function _isSilentTranslationWarn (key) {
  8671. return this._silentTranslationWarn instanceof RegExp
  8672. ? this._silentTranslationWarn.test(key)
  8673. : this._silentTranslationWarn
  8674. };
  8675. VueI18n.prototype._interpolate = function _interpolate (
  8676. locale,
  8677. message,
  8678. key,
  8679. host,
  8680. interpolateMode,
  8681. values,
  8682. visitedLinkStack
  8683. ) {
  8684. if (!message) { return null }
  8685. var pathRet = this._path.getPathValue(message, key);
  8686. if (isArray(pathRet) || isPlainObject(pathRet)) { return pathRet }
  8687. var ret;
  8688. if (isNull(pathRet)) {
  8689. /* istanbul ignore else */
  8690. if (isPlainObject(message)) {
  8691. ret = message[key];
  8692. if (!(isString(ret) || isFunction(ret))) {
  8693. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {
  8694. warn(("Value of key '" + key + "' is not a string or function !"));
  8695. }
  8696. return null
  8697. }
  8698. } else {
  8699. return null
  8700. }
  8701. } else {
  8702. /* istanbul ignore else */
  8703. if (isString(pathRet) || isFunction(pathRet)) {
  8704. ret = pathRet;
  8705. } else {
  8706. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {
  8707. warn(("Value of key '" + key + "' is not a string or function!"));
  8708. }
  8709. return null
  8710. }
  8711. }
  8712. // Check for the existence of links within the translated string
  8713. if (isString(ret) && (ret.indexOf('@:') >= 0 || ret.indexOf('@.') >= 0)) {
  8714. ret = this._link(locale, message, ret, host, 'raw', values, visitedLinkStack);
  8715. }
  8716. return this._render(ret, interpolateMode, values, key)
  8717. };
  8718. VueI18n.prototype._link = function _link (
  8719. locale,
  8720. message,
  8721. str,
  8722. host,
  8723. interpolateMode,
  8724. values,
  8725. visitedLinkStack
  8726. ) {
  8727. var ret = str;
  8728. // Match all the links within the local
  8729. // We are going to replace each of
  8730. // them with its translation
  8731. var matches = ret.match(linkKeyMatcher);
  8732. // eslint-disable-next-line no-autofix/prefer-const
  8733. for (var idx in matches) {
  8734. // ie compatible: filter custom array
  8735. // prototype method
  8736. if (!matches.hasOwnProperty(idx)) {
  8737. continue
  8738. }
  8739. var link = matches[idx];
  8740. var linkKeyPrefixMatches = link.match(linkKeyPrefixMatcher);
  8741. var linkPrefix = linkKeyPrefixMatches[0];
  8742. var formatterName = linkKeyPrefixMatches[1];
  8743. // Remove the leading @:, @.case: and the brackets
  8744. var linkPlaceholder = link.replace(linkPrefix, '').replace(bracketsMatcher, '');
  8745. if (includes(visitedLinkStack, linkPlaceholder)) {
  8746. if (true) {
  8747. warn(("Circular reference found. \"" + link + "\" is already visited in the chain of " + (visitedLinkStack.reverse().join(' <- '))));
  8748. }
  8749. return ret
  8750. }
  8751. visitedLinkStack.push(linkPlaceholder);
  8752. // Translate the link
  8753. var translated = this._interpolate(
  8754. locale, message, linkPlaceholder, host,
  8755. interpolateMode === 'raw' ? 'string' : interpolateMode,
  8756. interpolateMode === 'raw' ? undefined : values,
  8757. visitedLinkStack
  8758. );
  8759. if (this._isFallbackRoot(translated)) {
  8760. if ( true && !this._isSilentTranslationWarn(linkPlaceholder)) {
  8761. warn(("Fall back to translate the link placeholder '" + linkPlaceholder + "' with root locale."));
  8762. }
  8763. /* istanbul ignore if */
  8764. if (!this._root) { throw Error('unexpected error') }
  8765. var root = this._root.$i18n;
  8766. translated = root._translate(
  8767. root._getMessages(), root.locale, root.fallbackLocale,
  8768. linkPlaceholder, host, interpolateMode, values
  8769. );
  8770. }
  8771. translated = this._warnDefault(
  8772. locale, linkPlaceholder, translated, host,
  8773. isArray(values) ? values : [values],
  8774. interpolateMode
  8775. );
  8776. if (this._modifiers.hasOwnProperty(formatterName)) {
  8777. translated = this._modifiers[formatterName](translated);
  8778. } else if (defaultModifiers.hasOwnProperty(formatterName)) {
  8779. translated = defaultModifiers[formatterName](translated);
  8780. }
  8781. visitedLinkStack.pop();
  8782. // Replace the link with the translated
  8783. ret = !translated ? ret : ret.replace(link, translated);
  8784. }
  8785. return ret
  8786. };
  8787. VueI18n.prototype._createMessageContext = function _createMessageContext (values, formatter, path, interpolateMode) {
  8788. var this$1 = this;
  8789. var _list = isArray(values) ? values : [];
  8790. var _named = isObject(values) ? values : {};
  8791. var list = function (index) { return _list[index]; };
  8792. var named = function (key) { return _named[key]; };
  8793. var messages = this._getMessages();
  8794. var locale = this.locale;
  8795. return {
  8796. list: list,
  8797. named: named,
  8798. values: values,
  8799. formatter: formatter,
  8800. path: path,
  8801. messages: messages,
  8802. locale: locale,
  8803. linked: function (linkedKey) { return this$1._interpolate(locale, messages[locale] || {}, linkedKey, null, interpolateMode, undefined, [linkedKey]); }
  8804. }
  8805. };
  8806. VueI18n.prototype._render = function _render (message, interpolateMode, values, path) {
  8807. if (isFunction(message)) {
  8808. return message(
  8809. this._createMessageContext(values, this._formatter || defaultFormatter, path, interpolateMode)
  8810. )
  8811. }
  8812. var ret = this._formatter.interpolate(message, values, path);
  8813. // If the custom formatter refuses to work - apply the default one
  8814. if (!ret) {
  8815. ret = defaultFormatter.interpolate(message, values, path);
  8816. }
  8817. // if interpolateMode is **not** 'string' ('row'),
  8818. // return the compiled data (e.g. ['foo', VNode, 'bar']) with formatter
  8819. return interpolateMode === 'string' && !isString(ret) ? ret.join('') : ret
  8820. };
  8821. VueI18n.prototype._appendItemToChain = function _appendItemToChain (chain, item, blocks) {
  8822. var follow = false;
  8823. if (!includes(chain, item)) {
  8824. follow = true;
  8825. if (item) {
  8826. follow = item[item.length - 1] !== '!';
  8827. item = item.replace(/!/g, '');
  8828. chain.push(item);
  8829. if (blocks && blocks[item]) {
  8830. follow = blocks[item];
  8831. }
  8832. }
  8833. }
  8834. return follow
  8835. };
  8836. VueI18n.prototype._appendLocaleToChain = function _appendLocaleToChain (chain, locale, blocks) {
  8837. var follow;
  8838. var tokens = locale.split('-');
  8839. do {
  8840. var item = tokens.join('-');
  8841. follow = this._appendItemToChain(chain, item, blocks);
  8842. tokens.splice(-1, 1);
  8843. } while (tokens.length && (follow === true))
  8844. return follow
  8845. };
  8846. VueI18n.prototype._appendBlockToChain = function _appendBlockToChain (chain, block, blocks) {
  8847. var follow = true;
  8848. for (var i = 0; (i < block.length) && (isBoolean(follow)); i++) {
  8849. var locale = block[i];
  8850. if (isString(locale)) {
  8851. follow = this._appendLocaleToChain(chain, locale, blocks);
  8852. }
  8853. }
  8854. return follow
  8855. };
  8856. VueI18n.prototype._getLocaleChain = function _getLocaleChain (start, fallbackLocale) {
  8857. if (start === '') { return [] }
  8858. if (!this._localeChainCache) {
  8859. this._localeChainCache = {};
  8860. }
  8861. var chain = this._localeChainCache[start];
  8862. if (!chain) {
  8863. if (!fallbackLocale) {
  8864. fallbackLocale = this.fallbackLocale;
  8865. }
  8866. chain = [];
  8867. // first block defined by start
  8868. var block = [start];
  8869. // while any intervening block found
  8870. while (isArray(block)) {
  8871. block = this._appendBlockToChain(
  8872. chain,
  8873. block,
  8874. fallbackLocale
  8875. );
  8876. }
  8877. // last block defined by default
  8878. var defaults;
  8879. if (isArray(fallbackLocale)) {
  8880. defaults = fallbackLocale;
  8881. } else if (isObject(fallbackLocale)) {
  8882. /* $FlowFixMe */
  8883. if (fallbackLocale['default']) {
  8884. defaults = fallbackLocale['default'];
  8885. } else {
  8886. defaults = null;
  8887. }
  8888. } else {
  8889. defaults = fallbackLocale;
  8890. }
  8891. // convert defaults to array
  8892. if (isString(defaults)) {
  8893. block = [defaults];
  8894. } else {
  8895. block = defaults;
  8896. }
  8897. if (block) {
  8898. this._appendBlockToChain(
  8899. chain,
  8900. block,
  8901. null
  8902. );
  8903. }
  8904. this._localeChainCache[start] = chain;
  8905. }
  8906. return chain
  8907. };
  8908. VueI18n.prototype._translate = function _translate (
  8909. messages,
  8910. locale,
  8911. fallback,
  8912. key,
  8913. host,
  8914. interpolateMode,
  8915. args
  8916. ) {
  8917. var chain = this._getLocaleChain(locale, fallback);
  8918. var res;
  8919. for (var i = 0; i < chain.length; i++) {
  8920. var step = chain[i];
  8921. res =
  8922. this._interpolate(step, messages[step], key, host, interpolateMode, args, [key]);
  8923. if (!isNull(res)) {
  8924. if (step !== locale && "development" !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  8925. warn(("Fall back to translate the keypath '" + key + "' with '" + step + "' locale."));
  8926. }
  8927. return res
  8928. }
  8929. }
  8930. return null
  8931. };
  8932. VueI18n.prototype._t = function _t (key, _locale, messages, host) {
  8933. var ref;
  8934. var values = [], len = arguments.length - 4;
  8935. while ( len-- > 0 ) values[ len ] = arguments[ len + 4 ];
  8936. if (!key) { return '' }
  8937. var parsedArgs = parseArgs.apply(void 0, values);
  8938. if(this._escapeParameterHtml) {
  8939. parsedArgs.params = escapeParams(parsedArgs.params);
  8940. }
  8941. var locale = parsedArgs.locale || _locale;
  8942. var ret = this._translate(
  8943. messages, locale, this.fallbackLocale, key,
  8944. host, 'string', parsedArgs.params
  8945. );
  8946. if (this._isFallbackRoot(ret)) {
  8947. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  8948. warn(("Fall back to translate the keypath '" + key + "' with root locale."));
  8949. }
  8950. /* istanbul ignore if */
  8951. if (!this._root) { throw Error('unexpected error') }
  8952. return (ref = this._root).$t.apply(ref, [ key ].concat( values ))
  8953. } else {
  8954. ret = this._warnDefault(locale, key, ret, host, values, 'string');
  8955. if (this._postTranslation && ret !== null && ret !== undefined) {
  8956. ret = this._postTranslation(ret, key);
  8957. }
  8958. return ret
  8959. }
  8960. };
  8961. VueI18n.prototype.t = function t (key) {
  8962. var ref;
  8963. var values = [], len = arguments.length - 1;
  8964. while ( len-- > 0 ) values[ len ] = arguments[ len + 1 ];
  8965. return (ref = this)._t.apply(ref, [ key, this.locale, this._getMessages(), null ].concat( values ))
  8966. };
  8967. VueI18n.prototype._i = function _i (key, locale, messages, host, values) {
  8968. var ret =
  8969. this._translate(messages, locale, this.fallbackLocale, key, host, 'raw', values);
  8970. if (this._isFallbackRoot(ret)) {
  8971. if ( true && !this._isSilentTranslationWarn(key)) {
  8972. warn(("Fall back to interpolate the keypath '" + key + "' with root locale."));
  8973. }
  8974. if (!this._root) { throw Error('unexpected error') }
  8975. return this._root.$i18n.i(key, locale, values)
  8976. } else {
  8977. return this._warnDefault(locale, key, ret, host, [values], 'raw')
  8978. }
  8979. };
  8980. VueI18n.prototype.i = function i (key, locale, values) {
  8981. /* istanbul ignore if */
  8982. if (!key) { return '' }
  8983. if (!isString(locale)) {
  8984. locale = this.locale;
  8985. }
  8986. return this._i(key, locale, this._getMessages(), null, values)
  8987. };
  8988. VueI18n.prototype._tc = function _tc (
  8989. key,
  8990. _locale,
  8991. messages,
  8992. host,
  8993. choice
  8994. ) {
  8995. var ref;
  8996. var values = [], len = arguments.length - 5;
  8997. while ( len-- > 0 ) values[ len ] = arguments[ len + 5 ];
  8998. if (!key) { return '' }
  8999. if (choice === undefined) {
  9000. choice = 1;
  9001. }
  9002. var predefined = { 'count': choice, 'n': choice };
  9003. var parsedArgs = parseArgs.apply(void 0, values);
  9004. parsedArgs.params = Object.assign(predefined, parsedArgs.params);
  9005. values = parsedArgs.locale === null ? [parsedArgs.params] : [parsedArgs.locale, parsedArgs.params];
  9006. return this.fetchChoice((ref = this)._t.apply(ref, [ key, _locale, messages, host ].concat( values )), choice)
  9007. };
  9008. VueI18n.prototype.fetchChoice = function fetchChoice (message, choice) {
  9009. /* istanbul ignore if */
  9010. if (!message || !isString(message)) { return null }
  9011. var choices = message.split('|');
  9012. choice = this.getChoiceIndex(choice, choices.length);
  9013. if (!choices[choice]) { return message }
  9014. return choices[choice].trim()
  9015. };
  9016. VueI18n.prototype.tc = function tc (key, choice) {
  9017. var ref;
  9018. var values = [], len = arguments.length - 2;
  9019. while ( len-- > 0 ) values[ len ] = arguments[ len + 2 ];
  9020. return (ref = this)._tc.apply(ref, [ key, this.locale, this._getMessages(), null, choice ].concat( values ))
  9021. };
  9022. VueI18n.prototype._te = function _te (key, locale, messages) {
  9023. var args = [], len = arguments.length - 3;
  9024. while ( len-- > 0 ) args[ len ] = arguments[ len + 3 ];
  9025. var _locale = parseArgs.apply(void 0, args).locale || locale;
  9026. return this._exist(messages[_locale], key)
  9027. };
  9028. VueI18n.prototype.te = function te (key, locale) {
  9029. return this._te(key, this.locale, this._getMessages(), locale)
  9030. };
  9031. VueI18n.prototype.getLocaleMessage = function getLocaleMessage (locale) {
  9032. return looseClone(this._vm.messages[locale] || {})
  9033. };
  9034. VueI18n.prototype.setLocaleMessage = function setLocaleMessage (locale, message) {
  9035. if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {
  9036. this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);
  9037. }
  9038. this._vm.$set(this._vm.messages, locale, message);
  9039. };
  9040. VueI18n.prototype.mergeLocaleMessage = function mergeLocaleMessage (locale, message) {
  9041. if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {
  9042. this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);
  9043. }
  9044. this._vm.$set(this._vm.messages, locale, merge(
  9045. typeof this._vm.messages[locale] !== 'undefined' && Object.keys(this._vm.messages[locale]).length
  9046. ? Object.assign({}, this._vm.messages[locale])
  9047. : {},
  9048. message
  9049. ));
  9050. };
  9051. VueI18n.prototype.getDateTimeFormat = function getDateTimeFormat (locale) {
  9052. return looseClone(this._vm.dateTimeFormats[locale] || {})
  9053. };
  9054. VueI18n.prototype.setDateTimeFormat = function setDateTimeFormat (locale, format) {
  9055. this._vm.$set(this._vm.dateTimeFormats, locale, format);
  9056. this._clearDateTimeFormat(locale, format);
  9057. };
  9058. VueI18n.prototype.mergeDateTimeFormat = function mergeDateTimeFormat (locale, format) {
  9059. this._vm.$set(this._vm.dateTimeFormats, locale, merge(this._vm.dateTimeFormats[locale] || {}, format));
  9060. this._clearDateTimeFormat(locale, format);
  9061. };
  9062. VueI18n.prototype._clearDateTimeFormat = function _clearDateTimeFormat (locale, format) {
  9063. // eslint-disable-next-line no-autofix/prefer-const
  9064. for (var key in format) {
  9065. var id = locale + "__" + key;
  9066. if (!this._dateTimeFormatters.hasOwnProperty(id)) {
  9067. continue
  9068. }
  9069. delete this._dateTimeFormatters[id];
  9070. }
  9071. };
  9072. VueI18n.prototype._localizeDateTime = function _localizeDateTime (
  9073. value,
  9074. locale,
  9075. fallback,
  9076. dateTimeFormats,
  9077. key,
  9078. options
  9079. ) {
  9080. var _locale = locale;
  9081. var formats = dateTimeFormats[_locale];
  9082. var chain = this._getLocaleChain(locale, fallback);
  9083. for (var i = 0; i < chain.length; i++) {
  9084. var current = _locale;
  9085. var step = chain[i];
  9086. formats = dateTimeFormats[step];
  9087. _locale = step;
  9088. // fallback locale
  9089. if (isNull(formats) || isNull(formats[key])) {
  9090. if (step !== locale && "development" !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  9091. warn(("Fall back to '" + step + "' datetime formats from '" + current + "' datetime formats."));
  9092. }
  9093. } else {
  9094. break
  9095. }
  9096. }
  9097. if (isNull(formats) || isNull(formats[key])) {
  9098. return null
  9099. } else {
  9100. var format = formats[key];
  9101. var formatter;
  9102. if (options) {
  9103. formatter = new Intl.DateTimeFormat(_locale, Object.assign({}, format, options));
  9104. } else {
  9105. var id = _locale + "__" + key;
  9106. formatter = this._dateTimeFormatters[id];
  9107. if (!formatter) {
  9108. formatter = this._dateTimeFormatters[id] = new Intl.DateTimeFormat(_locale, format);
  9109. }
  9110. }
  9111. return formatter.format(value)
  9112. }
  9113. };
  9114. VueI18n.prototype._d = function _d (value, locale, key, options) {
  9115. /* istanbul ignore if */
  9116. if ( true && !VueI18n.availabilities.dateTimeFormat) {
  9117. warn('Cannot format a Date value due to not supported Intl.DateTimeFormat.');
  9118. return ''
  9119. }
  9120. if (!key) {
  9121. var dtf = !options ? new Intl.DateTimeFormat(locale) : new Intl.DateTimeFormat(locale, options);
  9122. return dtf.format(value)
  9123. }
  9124. var ret =
  9125. this._localizeDateTime(value, locale, this.fallbackLocale, this._getDateTimeFormats(), key, options);
  9126. if (this._isFallbackRoot(ret)) {
  9127. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  9128. warn(("Fall back to datetime localization of root: key '" + key + "'."));
  9129. }
  9130. /* istanbul ignore if */
  9131. if (!this._root) { throw Error('unexpected error') }
  9132. return this._root.$i18n.d(value, key, locale)
  9133. } else {
  9134. return ret || ''
  9135. }
  9136. };
  9137. VueI18n.prototype.d = function d (value) {
  9138. var args = [], len = arguments.length - 1;
  9139. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  9140. var locale = this.locale;
  9141. var key = null;
  9142. var options = null;
  9143. if (args.length === 1) {
  9144. if (isString(args[0])) {
  9145. key = args[0];
  9146. } else if (isObject(args[0])) {
  9147. if (args[0].locale) {
  9148. locale = args[0].locale;
  9149. }
  9150. if (args[0].key) {
  9151. key = args[0].key;
  9152. }
  9153. }
  9154. options = Object.keys(args[0]).reduce(function (acc, key) {
  9155. var obj;
  9156. if (includes(dateTimeFormatKeys, key)) {
  9157. return Object.assign({}, acc, ( obj = {}, obj[key] = args[0][key], obj ))
  9158. }
  9159. return acc
  9160. }, null);
  9161. } else if (args.length === 2) {
  9162. if (isString(args[0])) {
  9163. key = args[0];
  9164. }
  9165. if (isString(args[1])) {
  9166. locale = args[1];
  9167. }
  9168. }
  9169. return this._d(value, locale, key, options)
  9170. };
  9171. VueI18n.prototype.getNumberFormat = function getNumberFormat (locale) {
  9172. return looseClone(this._vm.numberFormats[locale] || {})
  9173. };
  9174. VueI18n.prototype.setNumberFormat = function setNumberFormat (locale, format) {
  9175. this._vm.$set(this._vm.numberFormats, locale, format);
  9176. this._clearNumberFormat(locale, format);
  9177. };
  9178. VueI18n.prototype.mergeNumberFormat = function mergeNumberFormat (locale, format) {
  9179. this._vm.$set(this._vm.numberFormats, locale, merge(this._vm.numberFormats[locale] || {}, format));
  9180. this._clearNumberFormat(locale, format);
  9181. };
  9182. VueI18n.prototype._clearNumberFormat = function _clearNumberFormat (locale, format) {
  9183. // eslint-disable-next-line no-autofix/prefer-const
  9184. for (var key in format) {
  9185. var id = locale + "__" + key;
  9186. if (!this._numberFormatters.hasOwnProperty(id)) {
  9187. continue
  9188. }
  9189. delete this._numberFormatters[id];
  9190. }
  9191. };
  9192. VueI18n.prototype._getNumberFormatter = function _getNumberFormatter (
  9193. value,
  9194. locale,
  9195. fallback,
  9196. numberFormats,
  9197. key,
  9198. options
  9199. ) {
  9200. var _locale = locale;
  9201. var formats = numberFormats[_locale];
  9202. var chain = this._getLocaleChain(locale, fallback);
  9203. for (var i = 0; i < chain.length; i++) {
  9204. var current = _locale;
  9205. var step = chain[i];
  9206. formats = numberFormats[step];
  9207. _locale = step;
  9208. // fallback locale
  9209. if (isNull(formats) || isNull(formats[key])) {
  9210. if (step !== locale && "development" !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  9211. warn(("Fall back to '" + step + "' number formats from '" + current + "' number formats."));
  9212. }
  9213. } else {
  9214. break
  9215. }
  9216. }
  9217. if (isNull(formats) || isNull(formats[key])) {
  9218. return null
  9219. } else {
  9220. var format = formats[key];
  9221. var formatter;
  9222. if (options) {
  9223. // If options specified - create one time number formatter
  9224. formatter = new Intl.NumberFormat(_locale, Object.assign({}, format, options));
  9225. } else {
  9226. var id = _locale + "__" + key;
  9227. formatter = this._numberFormatters[id];
  9228. if (!formatter) {
  9229. formatter = this._numberFormatters[id] = new Intl.NumberFormat(_locale, format);
  9230. }
  9231. }
  9232. return formatter
  9233. }
  9234. };
  9235. VueI18n.prototype._n = function _n (value, locale, key, options) {
  9236. /* istanbul ignore if */
  9237. if (!VueI18n.availabilities.numberFormat) {
  9238. if (true) {
  9239. warn('Cannot format a Number value due to not supported Intl.NumberFormat.');
  9240. }
  9241. return ''
  9242. }
  9243. if (!key) {
  9244. var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);
  9245. return nf.format(value)
  9246. }
  9247. var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);
  9248. var ret = formatter && formatter.format(value);
  9249. if (this._isFallbackRoot(ret)) {
  9250. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  9251. warn(("Fall back to number localization of root: key '" + key + "'."));
  9252. }
  9253. /* istanbul ignore if */
  9254. if (!this._root) { throw Error('unexpected error') }
  9255. return this._root.$i18n.n(value, Object.assign({}, { key: key, locale: locale }, options))
  9256. } else {
  9257. return ret || ''
  9258. }
  9259. };
  9260. VueI18n.prototype.n = function n (value) {
  9261. var args = [], len = arguments.length - 1;
  9262. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  9263. var locale = this.locale;
  9264. var key = null;
  9265. var options = null;
  9266. if (args.length === 1) {
  9267. if (isString(args[0])) {
  9268. key = args[0];
  9269. } else if (isObject(args[0])) {
  9270. if (args[0].locale) {
  9271. locale = args[0].locale;
  9272. }
  9273. if (args[0].key) {
  9274. key = args[0].key;
  9275. }
  9276. // Filter out number format options only
  9277. options = Object.keys(args[0]).reduce(function (acc, key) {
  9278. var obj;
  9279. if (includes(numberFormatKeys, key)) {
  9280. return Object.assign({}, acc, ( obj = {}, obj[key] = args[0][key], obj ))
  9281. }
  9282. return acc
  9283. }, null);
  9284. }
  9285. } else if (args.length === 2) {
  9286. if (isString(args[0])) {
  9287. key = args[0];
  9288. }
  9289. if (isString(args[1])) {
  9290. locale = args[1];
  9291. }
  9292. }
  9293. return this._n(value, locale, key, options)
  9294. };
  9295. VueI18n.prototype._ntp = function _ntp (value, locale, key, options) {
  9296. /* istanbul ignore if */
  9297. if (!VueI18n.availabilities.numberFormat) {
  9298. if (true) {
  9299. warn('Cannot format to parts a Number value due to not supported Intl.NumberFormat.');
  9300. }
  9301. return []
  9302. }
  9303. if (!key) {
  9304. var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);
  9305. return nf.formatToParts(value)
  9306. }
  9307. var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);
  9308. var ret = formatter && formatter.formatToParts(value);
  9309. if (this._isFallbackRoot(ret)) {
  9310. if ( true && !this._isSilentTranslationWarn(key)) {
  9311. warn(("Fall back to format number to parts of root: key '" + key + "' ."));
  9312. }
  9313. /* istanbul ignore if */
  9314. if (!this._root) { throw Error('unexpected error') }
  9315. return this._root.$i18n._ntp(value, locale, key, options)
  9316. } else {
  9317. return ret || []
  9318. }
  9319. };
  9320. Object.defineProperties( VueI18n.prototype, prototypeAccessors );
  9321. var availabilities;
  9322. // $FlowFixMe
  9323. Object.defineProperty(VueI18n, 'availabilities', {
  9324. get: function get () {
  9325. if (!availabilities) {
  9326. var intlDefined = typeof Intl !== 'undefined';
  9327. availabilities = {
  9328. dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',
  9329. numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'
  9330. };
  9331. }
  9332. return availabilities
  9333. }
  9334. });
  9335. VueI18n.install = install;
  9336. VueI18n.version = '8.28.2';
  9337. /* harmony default export */ __webpack_exports__["default"] = (VueI18n);
  9338. /***/ }),
  9339. /***/ 16:
  9340. /*!***************************************************************!*\
  9341. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  9342. \***************************************************************/
  9343. /*! no static exports found */
  9344. /***/ (function(module, exports) {
  9345. function _setPrototypeOf(o, p) {
  9346. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  9347. o.__proto__ = p;
  9348. return o;
  9349. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9350. return _setPrototypeOf(o, p);
  9351. }
  9352. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9353. /***/ }),
  9354. /***/ 160:
  9355. /*!*********************************************************!*\
  9356. !*** D:/project/crossBorder/wx-qhb/commont/messages.js ***!
  9357. \*********************************************************/
  9358. /*! no static exports found */
  9359. /***/ (function(module, exports, __webpack_require__) {
  9360. "use strict";
  9361. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9362. Object.defineProperty(exports, "__esModule", {
  9363. value: true
  9364. });
  9365. exports.default = void 0;
  9366. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9367. var _index, _index2, _index3, _index4;
  9368. var _default = {
  9369. //中文
  9370. "zh-CN": {
  9371. index: (_index = {
  9372. homepage: "主页",
  9373. switchLanguage: "切换语言",
  9374. address: "地址管理",
  9375. addAndEdit: "新增/修改地址",
  9376. account: "账号与安全",
  9377. password: "修改密码/手机号",
  9378. switch: "切换语言",
  9379. user: "用户协议",
  9380. privacy: "隐私政策",
  9381. platform: "平台规则",
  9382. merchant: "商户入驻申请协议",
  9383. layout: "退出登录",
  9384. setup: "账号设置",
  9385. information: "个人信息",
  9386. headerImg: "头像",
  9387. nickname: "昵称",
  9388. prompt: "限4-24个字符(1汉字=2字符,1英文活数字=1字符)",
  9389. editNextname: "编辑昵称",
  9390. inland: "中国内地",
  9391. international: "国际",
  9392. initial: "默认地址",
  9393. edit: "编辑",
  9394. delete: "删除",
  9395. wx: "微信导入",
  9396. add: "新增地址",
  9397. contacts: "联系人信息",
  9398. wxAddress: "微信地址薄",
  9399. newAddress: "新建地址",
  9400. name: "姓名",
  9401. phone: "手机号",
  9402. city: "省市区",
  9403. detailed: "详细地址",
  9404. goods: "请填写收货人信息",
  9405. pleasePhoneNumber: "请填写收货人手机号",
  9406. township: "省市区县、乡镇等",
  9407. sect: "请输入详细地址精确到门牌号",
  9408. company: "公司名称(选填)",
  9409. preserve: "保存",
  9410. empty: "清空",
  9411. country: "国家",
  9412. postalCode: "邮编",
  9413. email: "电子邮箱",
  9414. companyName: "公司名称",
  9415. selection: "请选择",
  9416. PleacePostalCode: "请输入邮编",
  9417. addressBook: "保存到地址薄",
  9418. pleaseEmail: "请输入电子邮箱(选填)",
  9419. editPassword: "修改登录密码",
  9420. editPhone: "修改手机号",
  9421. accountCancellation: "账号注销",
  9422. setPassword: "设置密码",
  9423. cancellation: "注销后无法恢复,请谨慎操作",
  9424. myDeposit: "我的保证金",
  9425. balance: "余额",
  9426. mineFollow: "我的关注",
  9427. myPackage: "我的包裹",
  9428. mallOrders: "商城订单",
  9429. whole: "全部",
  9430. pendingPayment: "待付款",
  9431. joiningGroups: "拼团中",
  9432. toBeShipped: "待发货",
  9433. toBeReceived: "待收货",
  9434. refund: "退款/售后",
  9435. leaderunction: "团长功能"
  9436. }, (0, _defineProperty2.default)(_index, "platform", "平台商品库"), (0, _defineProperty2.default)(_index, "productManagement", "商品管理"), (0, _defineProperty2.default)(_index, "orderManagement", "订单管理"), (0, _defineProperty2.default)(_index, "afterSales", "售后管理"), (0, _defineProperty2.default)(_index, "supplyChain", "供应链商品"), (0, _defineProperty2.default)(_index, "PCEnd", "PC端"), (0, _defineProperty2.default)(_index, "pontact", "联系客服"), (0, _defineProperty2.default)(_index, "accountSettings", "账号设置"), (0, _defineProperty2.default)(_index, "shop", "商城"), (0, _defineProperty2.default)(_index, "border", "跨境速递"), (0, _defineProperty2.default)(_index, "item", "物品信息"), (0, _defineProperty2.default)(_index, "required", "必填"), (0, _defineProperty2.default)(_index, "flow", "跨境物流"), (0, _defineProperty2.default)(_index, "share", "分享给好友"), (0, _defineProperty2.default)(_index, "compute", "物流计算器"), (0, _defineProperty2.default)(_index, "deliver", "发往中转点"), (0, _defineProperty2.default)(_index, "Sign", "中转已签收"), (0, _defineProperty2.default)(_index, "overseas", "正发往海外"), (0, _defineProperty2.default)(_index, "mail", "去寄件"), (0, _defineProperty2.default)(_index, "mine", "我的"), (0, _defineProperty2.default)(_index, "addsign", "添加寄往中转点包裹"), (0, _defineProperty2.default)(_index, "more", "更多"), (0, _defineProperty2.default)(_index, "price", "单价"), (0, _defineProperty2.default)(_index, "already", "已拼"), (0, _defineProperty2.default)(_index, "parcel", "包裹"), (0, _defineProperty2.default)(_index, "residue", "剩余重量"), (0, _defineProperty2.default)(_index, "plan", "进度"), (0, _defineProperty2.default)(_index, "start", "开始时间"), (0, _defineProperty2.default)(_index, "cut", "截止时间"), (0, _defineProperty2.default)(_index, "parceling", "拼包发海外"), (0, _defineProperty2.default)(_index, "goparceling", "去拼包"), (0, _defineProperty2.default)(_index, "sender", "新建寄件人"), (0, _defineProperty2.default)(_index, "recipient", "新建收件人"), (0, _defineProperty2.default)(_index, "informat", "点击填写寄件地址信息"), (0, _defineProperty2.default)(_index, "informate", "点击填写收件地址信息"), (0, _defineProperty2.default)(_index, "addressbook", "地址簿"), (0, _defineProperty2.default)(_index, "select", "请选择物品信息"), (0, _defineProperty2.default)(_index, "search", "搜索"), (0, _defineProperty2.default)(_index, "Searchcon", "请输入要搜索的内容"), (0, _defineProperty2.default)(_index, "expensive", "买贵必赔"), (0, _defineProperty2.default)(_index, "Something", "全球好物"), (0, _defineProperty2.default)(_index, "postage", "包邮"), (0, _defineProperty2.default)(_index, "Trade", "以旧换新"), (0, _defineProperty2.default)(_index, "sort", "分类"), (0, _defineProperty2.default)(_index, "fill", "已补"), (0, _defineProperty2.default)(_index, "RMB", "元"), (0, _defineProperty2.default)(_index, "history", "历史地址"), (0, _defineProperty2.default)(_index, "Fill", "请填写"), (0, _defineProperty2.default)(_index, "senderinfo", "填写寄件人信息"), (0, _defineProperty2.default)(_index, "addressee", "请输入收件人姓名"), (0, _defineProperty2.default)(_index, "enter", "确定"), (0, _defineProperty2.default)(_index, "shoptype", "商品类型"), (0, _defineProperty2.default)(_index, "estimated", "预估重量"), (0, _defineProperty2.default)(_index, "piece", "件数"), (0, _defineProperty2.default)(_index, "rule", "了解计费规则"), (0, _defineProperty2.default)(_index, "Starting", "起始地"), (0, _defineProperty2.default)(_index, "destination", "目的地"), (0, _defineProperty2.default)(_index, "Commodity", "商品重量"), (0, _defineProperty2.default)(_index, "Acquisition", "获取价格"), (0, _defineProperty2.default)(_index, "Calculated", "计算重量"), (0, _defineProperty2.default)(_index, "Estimated", "预估运费"), (0, _defineProperty2.default)(_index, "details", "查看详情"), (0, _defineProperty2.default)(_index, "Normal", "普通商品"), (0, _defineProperty2.default)(_index, "special", "特殊商品"), (0, _defineProperty2.default)(_index, "orderSearch", "请输入订单编号搜索"), (0, _defineProperty2.default)(_index, "orderWeight", "当前页面加载的订单总重量"), (0, _defineProperty2.default)(_index, "purchase", "平台自购"), (0, _defineProperty2.default)(_index, "OrderNumber", "订单编号"), (0, _defineProperty2.default)(_index, "Parcelweight", "包裹重量"), (0, _defineProperty2.default)(_index, "payment", "立即付款"), (0, _defineProperty2.default)(_index, "Frozen", "冻结"), (0, _defineProperty2.default)(_index, "recover", "恢复"), (0, _defineProperty2.default)(_index, "total", "合计"), (0, _defineProperty2.default)(_index, "selfPost", "自寄"), (0, _defineProperty2.default)(_index, "receiveGoods", "待平台收货"), (0, _defineProperty2.default)(_index, "TrackingNumber", "快递单号"), (0, _defineProperty2.default)(_index, "trackingNumber", "输入快递单号,快速添加到我的包裹"), (0, _defineProperty2.default)(_index, "Expresscompany", "快递公司"), (0, _defineProperty2.default)(_index, "ExpressCompany", "输入快递公司名称"), (0, _defineProperty2.default)(_index, "parcelWeight", "请输入包裹重量"), (0, _defineProperty2.default)(_index, "Addlist", "添加到包裹列表"), (0, _defineProperty2.default)(_index, "Addparcel", "添加包裹"), (0, _defineProperty2.default)(_index, "Packlist", "拼包列表"), (0, _defineProperty2.default)(_index, "classification", "商品分类"), (0, _defineProperty2.default)(_index, "synthesis", "综合"), (0, _defineProperty2.default)(_index, "sell", "销售"), (0, _defineProperty2.default)(_index, "Pricea", "价格"), (0, _defineProperty2.default)(_index, "screen", "筛选"), (0, _defineProperty2.default)(_index, "Pricerange", "价格区间"), (0, _defineProperty2.default)(_index, "Weightinterval", "重量区间"), (0, _defineProperty2.default)(_index, "brand", "品牌"), (0, _defineProperty2.default)(_index, "Proprietary", "自营商品"), (0, _defineProperty2.default)(_index, "reset", "重置"), (0, _defineProperty2.default)(_index, "yes", "是"), (0, _defineProperty2.default)(_index, "Bottomprice", "最低价"), (0, _defineProperty2.default)(_index, "highestprice", "最高价"), (0, _defineProperty2.default)(_index, "Discounted", "折扣价"), (0, _defineProperty2.default)(_index, "service", "服务"), (0, _defineProperty2.default)(_index, "Netcontent", "净含量"), (0, _defineProperty2.default)(_index, "sametype", "同款低价"), (0, _defineProperty2.default)(_index, "review", "评论"), (0, _defineProperty2.default)(_index, "Productdetails", "商品详情"), (0, _defineProperty2.default)(_index, "Specification", "规格参数"), (0, _defineProperty2.default)(_index, "Recommended", "推荐商品"), (0, _defineProperty2.default)(_index, "material", "主要原料"), (0, _defineProperty2.default)(_index, "specification", "规格"), (0, _defineProperty2.default)(_index, "Shelflife", "保质期"), (0, _defineProperty2.default)(_index, "Suitableobject", "适合对象"), (0, _defineProperty2.default)(_index, "Customer", "客服"), (0, _defineProperty2.default)(_index, "Shopping", "购物车"), (0, _defineProperty2.default)(_index, "follow", "关注"), (0, _defineProperty2.default)(_index, "notification", "到货通知"), (0, _defineProperty2.default)(_index, "Sele", "选择"), (0, _defineProperty2.default)(_index, "Salesvolume", "销售量"), (0, _defineProperty2.default)(_index, "stroll", "逛逛"), (0, _defineProperty2.default)(_index, "article", "条"), (0, _defineProperty2.default)(_index, "know", "我知道了"), (0, _defineProperty2.default)(_index, "shar", "分享"), (0, _defineProperty2.default)(_index, "Copylink", "复制链接"), (0, _defineProperty2.default)(_index, "Generatepicture", "生成图片"), (0, _defineProperty2.default)(_index, "Cancel", "取消"), (0, _defineProperty2.default)(_index, "Paymentsuccess", "支付成功"), (0, _defineProperty2.default)(_index, "MyOrder", "可在“个人中心-我的订单”查看"), (0, _defineProperty2.default)(_index, "Vieworder", "查看订单"), (0, _defineProperty2.default)(_index, "Backtohomepage", "返回首页"), (0, _defineProperty2.default)(_index, "Channelspecification", "渠道说明"), (0, _defineProperty2.default)(_index, "Billingmode", "计费模式"), (0, _defineProperty2.default)(_index, "Chargeableweight", "计费重量"), (0, _defineProperty2.default)(_index, "Estimatedcost", "预估费用"), (0, _defineProperty2.default)(_index, "Itemtype", "物品类型"), (0, _defineProperty2.default)(_index, "Channelrule", "渠道规则"), (0, _defineProperty2.default)(_index, "Copiedpaste", "已复制,快去粘贴吧~"), (0, _defineProperty2.default)(_index, "Replicationfailure", "复制失败"), (0, _defineProperty2.default)(_index, "shelves", "当该商品有库存并上架时我们会通过微信消息提醒您"), (0, _defineProperty2.default)(_index, "Actual", "实付金额"), (0, _defineProperty2.default)(_index, "Balancepayment", "余额支付"), (0, _defineProperty2.default)(_index, "Currentbalance", "当前余额"), (0, _defineProperty2.default)(_index, "WechatPay", "微信支付"), (0, _defineProperty2.default)(_index, "applicable", "适用微信支付"), (0, _defineProperty2.default)(_index, "Customerservicepayment", "客服支付"), (0, _defineProperty2.default)(_index, "Contactpayment", "联系客服支付"), (0, _defineProperty2.default)(_index, "Paymentinstructions", "付款须知"), (0, _defineProperty2.default)(_index, "Confirmpayment", "确定付款"), (0, _defineProperty2.default)(_index, "Commodityamount", "商品金额"), (0, _defineProperty2.default)(_index, "Grosscommodityweight", "商品总重"), (0, _defineProperty2.default)(_index, "Costperkilogram", "每公斤费用"), (0, _defineProperty2.default)(_index, "freight", "运费"), (0, _defineProperty2.default)(_index, "subtotal", "小计"), (0, _defineProperty2.default)(_index, "Atotalof", "共"), (0, _defineProperty2.default)(_index, "Submitorder", "提交订单"), (0, _defineProperty2.default)(_index, "next", "下一步"), (0, _defineProperty2.default)(_index, "Shipmentdate", "发柜日期"), (0, _defineProperty2.default)(_index, "Estimatedtimeofarrival", "预计到达时间"), (0, _defineProperty2.default)(_index, "Workingday", "个工作日"), (0, _defineProperty2.default)(_index, "buy", "购买到"), (0, _defineProperty2.default)(_index, "morefavorable", "会更优惠"), (0, _defineProperty2.default)(_index, "Pleaseproductname", "请输入相关商品名称"), (0, _defineProperty2.default)(_index, "Goodgoods", "品质好货"), (0, _defineProperty2.default)(_index, "Saveeverything", "每款必省"), (0, _defineProperty2.default)(_index, "willpay", "买贵必赔"), (0, _defineProperty2.default)(_index, "Subsidized", "补贴价"), (0, _defineProperty2.default)(_index, "typeof", "类型"), (0, _defineProperty2.default)(_index, "weight", "重量"), (0, _defineProperty2.default)(_index, "number", "数量"), (0, _defineProperty2.default)(_index, "Immediatepayment", "立即支付"), (0, _defineProperty2.default)(_index, "readandagree", "我阅读并同意"), (0, _defineProperty2.default)(_index, "International", "国际快递服务协议"), (0, _defineProperty2.default)(_index, "Estimatedprice", "预估总价"), (0, _defineProperty2.default)(_index, "Marinetank", "号海运柜"), (0, _defineProperty2.default)(_index, "Expressservice", "快递服务"), (0, _defineProperty2.default)(_index, "Orderconfirmation", "确认下单"), (0, _defineProperty2.default)(_index, "successful", "下单成功"), (0, _defineProperty2.default)(_index, "pickpackage", "待快递员上门取件"), (0, _defineProperty2.default)(_index, "Ordertime", "下单时间"), (0, _defineProperty2.default)(_index, "Popularshipment", "热门寄件"), (0, _defineProperty2.default)(_index, "manage", "管理"), (0, _defineProperty2.default)(_index, "complete", "完成"), (0, _defineProperty2.default)(_index, "selectall", "全选"), (0, _defineProperty2.default)(_index, "Grossweight", "总重量"), (0, _defineProperty2.default)(_index, "GotoResult", "去结算"), (0, _defineProperty2.default)(_index, "orderpaysforitself", "坏单包赔"), (0, _defineProperty2.default)(_index, "Soldout", "已售"), (0, _defineProperty2.default)(_index, "accountBalance", "账户余额"), (0, _defineProperty2.default)(_index, "myBalance", "我的余额"), (0, _defineProperty2.default)(_index, "withdrawal", "提现"), (0, _defineProperty2.default)(_index, "recharge", "充值"), (0, _defineProperty2.default)(_index, "balanceDetails", "余额明细"), (0, _defineProperty2.default)(_index, "all", "全部"), (0, _defineProperty2.default)(_index, "theres", "没有更多数据了"), (0, _defineProperty2.default)(_index, "mineCommodity", "商品"), (0, _defineProperty2.default)(_index, "team", "团长"), (0, _defineProperty2.default)(_index, "people", "人关注"), (0, _defineProperty2.default)(_index, "see", "查看主页"), (0, _defineProperty2.default)(_index, "orderNum", "请输入订单编号搜索"), (0, _defineProperty2.default)(_index, "toTrasferimento", "发往中转点"), (0, _defineProperty2.default)(_index, "firmaPer", "中转已签收"), (0, _defineProperty2.default)(_index, "oltreoceano", "正发往海外"), (0, _defineProperty2.default)(_index, "piattaforma", "平台自购"), (0, _defineProperty2.default)(_index, "thatPerson", "个人功能"), (0, _defineProperty2.default)(_index, "become", "成为团长"), _index)
  9437. },
  9438. //英语
  9439. "en-US": {
  9440. index: (_index2 = {
  9441. homepage: "Homepage",
  9442. switchLanguage: "Switch Language",
  9443. address: "Address Management",
  9444. addAndEdit: "add/modify Address",
  9445. account: "Account and Security",
  9446. password: "Change password/Phone Number",
  9447. switch: "Switch Language",
  9448. user: "User Agreement",
  9449. privacy: "Privacy Policy",
  9450. platform: "Platform rules",
  9451. merchant: "Merchant Entry Application Agreement",
  9452. layout: "Log out and log in",
  9453. setup: "Account Settings",
  9454. information: "Personal Information",
  9455. headerImg: "Avatar",
  9456. nickname: "Nickname",
  9457. prompt: "Limited to 4-24 characters (1 Chinese character=2 characters, 1 English live number=1 character)",
  9458. editNextname: "Edit Nickname",
  9459. inland: "Mainland China",
  9460. international: "International",
  9461. initial: "Default Address",
  9462. edit: "Edit",
  9463. delete: "Delete",
  9464. wx: "WeChat import",
  9465. add: "Add Address",
  9466. contacts: "Contact Information ",
  9467. wxAddress: "WeChat Address Book",
  9468. newAddress: "New Address",
  9469. name: "Name",
  9470. phone: "Mobile phone number",
  9471. city: "Provinces, cities, and districts",
  9472. detailed: "Detailed address",
  9473. goods: "Please fill in the recipient information",
  9474. pleasePhoneNumber: "Please fill in the recipient's mobile phone number",
  9475. township: "Provinces, cities, counties, townships, etc",
  9476. sect: "Please enter a detailed address accurate to the house number",
  9477. company: "Company name (optional)",
  9478. preserve: "Preserve",
  9479. empty: "Empty",
  9480. country: "Country",
  9481. postalCode: "Postal code",
  9482. email: "E-mail",
  9483. companyName: "Company Name",
  9484. selection: "Please Select",
  9485. PleacePostalCode: "Please enter your postal code",
  9486. addressBook: "Save to Address Book",
  9487. pleaseEmail: "Please enter your email address (optional)",
  9488. cancellation: "Unable to recover after logging out, please operate with caution",
  9489. editPassword: "Change login password",
  9490. editPhone: "Change phone number",
  9491. accountCancellation: "Account Cancellation",
  9492. setPassword: "Set password",
  9493. myDeposit: "My deposit",
  9494. balance: "Balance",
  9495. mineFollow: "My following",
  9496. myPackage: "My Package",
  9497. mallOrders: "Mall orders",
  9498. whole: "Whole",
  9499. pendingPayment: "Pending payment",
  9500. joiningGroups: "Joining groups",
  9501. toBeShipped: "To be shipped",
  9502. toBeReceived: "To be received",
  9503. refund: "Refund/After sales",
  9504. leaderunction: "Leader function"
  9505. }, (0, _defineProperty2.default)(_index2, "platform", "Platform product library"), (0, _defineProperty2.default)(_index2, "productManagement", "Product Management"), (0, _defineProperty2.default)(_index2, "orderManagement", "order management"), (0, _defineProperty2.default)(_index2, "afterSales", "After sales"), (0, _defineProperty2.default)(_index2, "supplyChain", "Supply chain goods"), (0, _defineProperty2.default)(_index2, "PCEnd", "PC end"), (0, _defineProperty2.default)(_index2, "pontact", "Contact customer service"), (0, _defineProperty2.default)(_index2, "accountSettings", "Account Settings"), (0, _defineProperty2.default)(_index2, "shop", "store"), (0, _defineProperty2.default)(_index2, "border", "border"), (0, _defineProperty2.default)(_index2, "item", "Item information"), (0, _defineProperty2.default)(_index2, "required", "required"), (0, _defineProperty2.default)(_index2, "flow", "Cross border logistics"), (0, _defineProperty2.default)(_index2, "share", "Share"), (0, _defineProperty2.default)(_index2, "compute", "The Reckoner"), (0, _defineProperty2.default)(_index2, "deliver", "To transfer point"), (0, _defineProperty2.default)(_index2, "Sign", "Transfer has been signed for"), (0, _defineProperty2.default)(_index2, "overseas", "Sending overseas"), (0, _defineProperty2.default)(_index2, "mail", "Go and send the package"), (0, _defineProperty2.default)(_index2, "mine", "mine"), (0, _defineProperty2.default)(_index2, "addsign", "Add package to transit point"), (0, _defineProperty2.default)(_index2, "more", "more"), (0, _defineProperty2.default)(_index2, "price", "unit price"), (0, _defineProperty2.default)(_index2, "already", "Spliced"), (0, _defineProperty2.default)(_index2, "parcel", "package"), (0, _defineProperty2.default)(_index2, "residue", " weight"), (0, _defineProperty2.default)(_index2, "plan", "schedule"), (0, _defineProperty2.default)(_index2, "start", "start time"), (0, _defineProperty2.default)(_index2, "cut", "Deadline"), (0, _defineProperty2.default)(_index2, "parceling", "Package shipping overseas"), (0, _defineProperty2.default)(_index2, "goparceling", "Go pack up"), (0, _defineProperty2.default)(_index2, "sender", "New sender"), (0, _defineProperty2.default)(_index2, "recipient", "New recipient"), (0, _defineProperty2.default)(_index2, "informat", "Fill in the mailing address information"), (0, _defineProperty2.default)(_index2, "informate", "Fill in the shipping address information"), (0, _defineProperty2.default)(_index2, "addressbook", "Address Book"), (0, _defineProperty2.default)(_index2, "select", "Please select item information"), (0, _defineProperty2.default)(_index2, "search", "search"), (0, _defineProperty2.default)(_index2, "Searchcon", "you want to search for"), (0, _defineProperty2.default)(_index2, "expensive", "Buy high Must compensate"), (0, _defineProperty2.default)(_index2, "Something", "Global goodies"), (0, _defineProperty2.default)(_index2, "postage", "Exempt from postage"), (0, _defineProperty2.default)(_index2, "Trade", "Trade-in"), (0, _defineProperty2.default)(_index2, "sort", "sort"), (0, _defineProperty2.default)(_index2, "fill", "subsidy"), (0, _defineProperty2.default)(_index2, "RMB", "RMB"), (0, _defineProperty2.default)(_index2, "history", "Historical address"), (0, _defineProperty2.default)(_index2, "Fill", "Fill out"), (0, _defineProperty2.default)(_index2, "senderinfo", "Sender information"), (0, _defineProperty2.default)(_index2, "addressee", "Indicare il nome del destinatario"), (0, _defineProperty2.default)(_index2, "enter", "confirm"), (0, _defineProperty2.default)(_index2, "shoptype", "type of merchandise"), (0, _defineProperty2.default)(_index2, "estimated", "estimated weight"), (0, _defineProperty2.default)(_index2, "piece", "piece"), (0, _defineProperty2.default)(_index2, "rule", "Understanding billing rules"), (0, _defineProperty2.default)(_index2, "Starting", "Starting place"), (0, _defineProperty2.default)(_index2, "destination", "destination"), (0, _defineProperty2.default)(_index2, "Commodity", "Commodity weight"), (0, _defineProperty2.default)(_index2, "Acquisition", "Acquisition price"), (0, _defineProperty2.default)(_index2, "Calculated", "Calculated weight"), (0, _defineProperty2.default)(_index2, "Estimated", "Estimated freight"), (0, _defineProperty2.default)(_index2, "details", "View details"), (0, _defineProperty2.default)(_index2, "Normal", "General goods"), (0, _defineProperty2.default)(_index2, "special", "Special goods"), (0, _defineProperty2.default)(_index2, "orderSearch", "Please enter the order number to search"), (0, _defineProperty2.default)(_index2, "orderWeight", "The total weight of the order currently loaded on the page"), (0, _defineProperty2.default)(_index2, "purchase", "Platform purchase"), (0, _defineProperty2.default)(_index2, "OrderNumber", "Order number"), (0, _defineProperty2.default)(_index2, "Parcelweight", "Parcel weight"), (0, _defineProperty2.default)(_index2, "payment", "Immediate payment"), (0, _defineProperty2.default)(_index2, "Frozen", "Frozen"), (0, _defineProperty2.default)(_index2, "recover", "recover"), (0, _defineProperty2.default)(_index2, "total", "total"), (0, _defineProperty2.default)(_index2, "selfPost", "self-post"), (0, _defineProperty2.default)(_index2, "receiveGoods", "Wait for the platform to receive the goods"), (0, _defineProperty2.default)(_index2, "TrackingNumber", "Tracking number"), (0, _defineProperty2.default)(_index2, "trackingNumber", "Enter the tracking number to quickly add to my package"), (0, _defineProperty2.default)(_index2, "Expresscompany", "Express company"), (0, _defineProperty2.default)(_index2, "ExpressCompany", "Enter the name of the Courier company"), (0, _defineProperty2.default)(_index2, "parcelWeight", "Please enter the parcel weight"), (0, _defineProperty2.default)(_index2, "Addlist", "Add to package list"), (0, _defineProperty2.default)(_index2, "Addparcel", "Add parcel"), (0, _defineProperty2.default)(_index2, "Packlist", "Pack list"), (0, _defineProperty2.default)(_index2, "classification", "Commodity classification"), (0, _defineProperty2.default)(_index2, "synthesis", "synthesis"), (0, _defineProperty2.default)(_index2, "sell", "sell"), (0, _defineProperty2.default)(_index2, "Pricea", "Price"), (0, _defineProperty2.default)(_index2, "screen", "screen"), (0, _defineProperty2.default)(_index2, "Pricerange", "Price range"), (0, _defineProperty2.default)(_index2, "Weightinterval", "Weight section"), (0, _defineProperty2.default)(_index2, "brand", "brand"), (0, _defineProperty2.default)(_index2, "Proprietary", "Proprietary commodities"), (0, _defineProperty2.default)(_index2, "reset", "reset"), (0, _defineProperty2.default)(_index2, "yes", "yes"), (0, _defineProperty2.default)(_index2, "Bottomprice", "Bottom price"), (0, _defineProperty2.default)(_index2, "highestprice", "The highest price"), (0, _defineProperty2.default)(_index2, "Discounted", "Discounted price"), (0, _defineProperty2.default)(_index2, "service", "service"), (0, _defineProperty2.default)(_index2, "Netcontent", "Net content"), (0, _defineProperty2.default)(_index2, "sametype", "Lower price of the same type"), (0, _defineProperty2.default)(_index2, "review", "review"), (0, _defineProperty2.default)(_index2, "Productdetails", "Product details"), (0, _defineProperty2.default)(_index2, "Specification", "Specification parameter"), (0, _defineProperty2.default)(_index2, "Recommended", "Recommended goods"), (0, _defineProperty2.default)(_index2, "material", "Main raw material"), (0, _defineProperty2.default)(_index2, "specification", "specification"), (0, _defineProperty2.default)(_index2, "Shelflife", "Shelf life"), (0, _defineProperty2.default)(_index2, "Suitableobject", "Suitable object"), (0, _defineProperty2.default)(_index2, "Customer", "Customer service"), (0, _defineProperty2.default)(_index2, "Shopping", "Shopping cart"), (0, _defineProperty2.default)(_index2, "follow", "follow"), (0, _defineProperty2.default)(_index2, "notification", "Notice of arrival"), (0, _defineProperty2.default)(_index2, "Sele", "Select"), (0, _defineProperty2.default)(_index2, "Salesvolume", "Sales volume"), (0, _defineProperty2.default)(_index2, "stroll", "stroll"), (0, _defineProperty2.default)(_index2, "article", "article"), (0, _defineProperty2.default)(_index2, "know", "I know"), (0, _defineProperty2.default)(_index2, "shar", "Share"), (0, _defineProperty2.default)(_index2, "Copylink", "Copy link"), (0, _defineProperty2.default)(_index2, "Generatepicture", "Generate picture"), (0, _defineProperty2.default)(_index2, "Cancel", "Cancel"), (0, _defineProperty2.default)(_index2, "Paymentsuccess", "Payment success"), (0, _defineProperty2.default)(_index2, "MyOrder", 'It can be viewed in "Personal Center - My Order"'), (0, _defineProperty2.default)(_index2, "Vieworder", "View order"), (0, _defineProperty2.default)(_index2, "Backtohomepage", "Back to home page"), (0, _defineProperty2.default)(_index2, "Channelspecification", "Channel specification"), (0, _defineProperty2.default)(_index2, "Billingmode", "Billing mode"), (0, _defineProperty2.default)(_index2, "Chargeableweight", "Chargeable weight"), (0, _defineProperty2.default)(_index2, "Estimatedcost", "Estimated cost"), (0, _defineProperty2.default)(_index2, "Itemtype", "Item type"), (0, _defineProperty2.default)(_index2, "Channelrule", "Channel rule"), (0, _defineProperty2.default)(_index2, "Copiedpaste", "Copied, go paste ~"), (0, _defineProperty2.default)(_index2, "Replicationfailure", "Replication failure"), (0, _defineProperty2.default)(_index2, "shelves", "We will alert you via wechat message when the item is in stock and on the shelves"), (0, _defineProperty2.default)(_index2, "Actual", "Actual amount paid"), (0, _defineProperty2.default)(_index2, "Balancepayment", "Balance payment"), (0, _defineProperty2.default)(_index2, "Currentbalance", "Current balance"), (0, _defineProperty2.default)(_index2, "WechatPay", "Wechat Pay"), (0, _defineProperty2.default)(_index2, "applicable", "Wechat Pay is applicable"), (0, _defineProperty2.default)(_index2, "Customerservicepayment", "Customer service payment"), (0, _defineProperty2.default)(_index2, "Contactpayment", "Contact customer service payment"), (0, _defineProperty2.default)(_index2, "Paymentinstructions", "Payment instructions"), (0, _defineProperty2.default)(_index2, "Confirmpayment", "Firm payment"), (0, _defineProperty2.default)(_index2, "Commodityamount", "Commodity amount"), (0, _defineProperty2.default)(_index2, "Grosscommodityweight", "Gross commodity weight"), (0, _defineProperty2.default)(_index2, "Costperkilogram", "Cost per kilogram"), (0, _defineProperty2.default)(_index2, "freight", "freight"), (0, _defineProperty2.default)(_index2, "subtotal", "subtotal"), (0, _defineProperty2.default)(_index2, "Atotalof", "A total of"), (0, _defineProperty2.default)(_index2, "Submitorder", "Submit an order"), (0, _defineProperty2.default)(_index2, "next", "next"), (0, _defineProperty2.default)(_index2, "Shipmentdate", "Shipment date"), (0, _defineProperty2.default)(_index2, "Estimatedtimeofarrival", "Estimated time of arrival"), (0, _defineProperty2.default)(_index2, "Workingday", "Working day"), (0, _defineProperty2.default)(_index2, "buy", "buy"), (0, _defineProperty2.default)(_index2, "morefavorable", "Will be more favorable"), (0, _defineProperty2.default)(_index2, "Pleaseproductname", "Please enter the relevant product name"), (0, _defineProperty2.default)(_index2, "Goodgoods", "Good quality goods"), (0, _defineProperty2.default)(_index2, "Saveeverything", "Save everything"), (0, _defineProperty2.default)(_index2, "willpay", "If you buy, you will pay"), (0, _defineProperty2.default)(_index2, "Subsidized", "Subsidized price"), (0, _defineProperty2.default)(_index2, "typeof", "Type"), (0, _defineProperty2.default)(_index2, "weight", "Weight"), (0, _defineProperty2.default)(_index2, "number", "Number"), (0, _defineProperty2.default)(_index2, "Immediatepayment", "Immediate Payment"), (0, _defineProperty2.default)(_index2, "readandagree", "Read and Agree"), (0, _defineProperty2.default)(_index2, "International", "International"), (0, _defineProperty2.default)(_index2, "Estimatedprice", "Estimated Price"), (0, _defineProperty2.default)(_index2, "Marinetank", "Sea Freight Container"), (0, _defineProperty2.default)(_index2, "Expressservice", "Express Service"), (0, _defineProperty2.default)(_index2, "Orderconfirmation", "Order Confirmation"), (0, _defineProperty2.default)(_index2, "successful", "Successful"), (0, _defineProperty2.default)(_index2, "pickpackage", "Waiting for Courier Pickup"), (0, _defineProperty2.default)(_index2, "Ordertime", "Order Time"), (0, _defineProperty2.default)(_index2, "Popularshipment", "Popular Shipment"), (0, _defineProperty2.default)(_index2, "manage", "Management"), (0, _defineProperty2.default)(_index2, "complete", "Complete"), (0, _defineProperty2.default)(_index2, "selectall", "Select All"), (0, _defineProperty2.default)(_index2, "Grossweight", "Gross Weight"), (0, _defineProperty2.default)(_index2, "GotoResult", "Go to Checkout"), (0, _defineProperty2.default)(_index2, "orderpaysforitself", "Order Pays for Itself"), (0, _defineProperty2.default)(_index2, "Soldout", "Sold Out"), (0, _defineProperty2.default)(_index2, "accountBalance", "Account balance"), (0, _defineProperty2.default)(_index2, "myBalance", "my Balance"), (0, _defineProperty2.default)(_index2, "withdrawal", "withdrawal"), (0, _defineProperty2.default)(_index2, "recharge", "recharge"), (0, _defineProperty2.default)(_index2, "balanceDetails", "balance Details"), (0, _defineProperty2.default)(_index2, "all", "whole"), (0, _defineProperty2.default)(_index2, "theres", "There's no more data left"), (0, _defineProperty2.default)(_index2, "mineCommodity", "commodity"), (0, _defineProperty2.default)(_index2, "team", "Team leader"), (0, _defineProperty2.default)(_index2, "people", "people follow"), (0, _defineProperty2.default)(_index2, "see", "View Home Page"), (0, _defineProperty2.default)(_index2, "thatPerson", "Personal functions"), (0, _defineProperty2.default)(_index2, "become", "Become a team leader"), _index2)
  9506. },
  9507. // 西班牙
  9508. "es-ES": {
  9509. index: (_index3 = {
  9510. homepage: "La página",
  9511. switchLanguage: "Cambiar el idioma",
  9512. address: "Gestión de direcciones",
  9513. addAndEdit: "Añadir/cambiar dirección",
  9514. account: "Cuenta y seguridad",
  9515. password: "Cambiar contraseña/número de teléfono móvil",
  9516. switch: "Cambiar el idioma",
  9517. user: "Acuerdo de usuario",
  9518. privacy: "Política de privacidad",
  9519. platform: "Reglas de plataforma",
  9520. merchant: "Acuerdo de solicitud de entrada comercial",
  9521. layout: "Salir del login",
  9522. setup: "Configuración de cuenta",
  9523. information: "Información personal",
  9524. headerImg: "avatares",
  9525. nickname: "apodo",
  9526. prompt: "Limitado a 4-24 caracteres (1 kanji =2 caracteres, 1 número vivo en inglés =1 carácter)",
  9527. editNextname: "Editar el apodo",
  9528. inland: "China continental",
  9529. international: "internacional",
  9530. initial: "Dirección por defecto",
  9531. edit: "editor",
  9532. delete: "borrar",
  9533. wx: "Importación de wechat",
  9534. add: "Nueva dirección añadida",
  9535. contacts: "Información de contacto",
  9536. wxAddress: "Dirección wechat delgada",
  9537. newAddress: "Nueva dirección",
  9538. name: "Los nombres",
  9539. phone: "Teléfono móvil no",
  9540. city: "Provincia y ciudad",
  9541. detailed: "Dirección completa",
  9542. goods: "Por favor complete la información del destinatario",
  9543. pleasePhoneNumber: "Por favor, introduzca el número de teléfono móvil del destinatario",
  9544. township: "Provincia ciudad distrito condado pueblo etc",
  9545. sect: "Por favor, introduzca la dirección exacta al número de la casa",
  9546. company: "Nombre de la empresa (opcional)",
  9547. preserve: "guardar",
  9548. empty: "vacíe",
  9549. country: "países",
  9550. postalCode: "Código postal",
  9551. email: "Correo electrónico",
  9552. companyName: "Nombre de empresa",
  9553. selection: "favor seleccione",
  9554. PleacePostalCode: "Por favor ingrese su código postal",
  9555. addressBook: "Guardar a la dirección delgada",
  9556. pleaseEmail: "Por favor, introduzca su correo electrónico (opcional)",
  9557. editPassword: "Cambiar contraseña de acceso",
  9558. editPhone: "Cambiar el número de teléfono",
  9559. accountCancellation: "Cierre de cuenta",
  9560. setPassword: "Establecer una contraseña",
  9561. cancellation: "No se puede restaurar después de la cancelación, por favor, tenga cuidado",
  9562. myDeposit: "Mi depósito de seguridad",
  9563. balance: "El saldo",
  9564. mineFollow: "Mi preocupación por",
  9565. myPackage: "Mi paquete de",
  9566. mallOrders: "Orden del centro",
  9567. whole: "total",
  9568. pendingPayment: "Pendiente de pago",
  9569. joiningGroups: "En grupo",
  9570. toBeShipped: "Listo para enviar",
  9571. toBeReceived: "Para recibir",
  9572. refund: "Reembolso/post-venta",
  9573. leaderunction: "Función jefe"
  9574. }, (0, _defineProperty2.default)(_index3, "platform", "Plataforma mercancía biblioteca"), (0, _defineProperty2.default)(_index3, "productManagement", "Gestión de mercancías"), (0, _defineProperty2.default)(_index3, "orderManagement", "Gestión de pedidos"), (0, _defineProperty2.default)(_index3, "afterSales", "Gestión post-venta"), (0, _defineProperty2.default)(_index3, "supplyChain", "Cadena de suministro commodities"), (0, _defineProperty2.default)(_index3, "PCEnd", "PC cliente"), (0, _defineProperty2.default)(_index3, "pontact", "Contactar servicio al cliente"), (0, _defineProperty2.default)(_index3, "accountSettings", "Configuración de cuenta"), (0, _defineProperty2.default)(_index3, "shop", "Comercial"), (0, _defineProperty2.default)(_index3, "border", "transfronterizo"), (0, _defineProperty2.default)(_index3, "item", "Artículos"), (0, _defineProperty2.default)(_index3, "required", "Obligatorio"), (0, _defineProperty2.default)(_index3, "flow", "Logística transfronteriza"), (0, _defineProperty2.default)(_index3, "share", "Compartir"), (0, _defineProperty2.default)(_index3, "compute", "Calculadora"), (0, _defineProperty2.default)(_index3, "deliver", "Enviado al punto de tránsito"), (0, _defineProperty2.default)(_index3, "Sign", "El tránsito ha sido firmado"), (0, _defineProperty2.default)(_index3, "overseas", "Se está enviando al extranjero"), (0, _defineProperty2.default)(_index3, "mail", "Ir a enviar"), (0, _defineProperty2.default)(_index3, "mine", "El mío"), (0, _defineProperty2.default)(_index3, "addsign", "Añadir paquetes de puntos de tránsito"), (0, _defineProperty2.default)(_index3, "more", "Más"), (0, _defineProperty2.default)(_index3, "price", "Precio unitario"), (0, _defineProperty2.default)(_index3, "already", "Se ha luchado"), (0, _defineProperty2.default)(_index3, "parcel", "Paquete"), (0, _defineProperty2.default)(_index3, "residue", "residual"), (0, _defineProperty2.default)(_index3, "plan", "Progreso"), (0, _defineProperty2.default)(_index3, "start", "Hora de inicio"), (0, _defineProperty2.default)(_index3, "cut", "Plazo"), (0, _defineProperty2.default)(_index3, "parceling", "Envío de paquetes en el extranjero"), (0, _defineProperty2.default)(_index3, "goparceling", "Ir a empacar"), (0, _defineProperty2.default)(_index3, "sender", "Nuevo remitente"), (0, _defineProperty2.default)(_index3, "recipient", "Nuevo destinatario"), (0, _defineProperty2.default)(_index3, "informat", "Rellene la información de la dirección de envío"), (0, _defineProperty2.default)(_index3, "informate", "Rellene la información de la dirección de recepción"), (0, _defineProperty2.default)(_index3, "addressbook", "Libreta de direcciones"), (0, _defineProperty2.default)(_index3, "select", "Por favor, seleccione la información del artículo"), (0, _defineProperty2.default)(_index3, "search", "Buscar"), (0, _defineProperty2.default)(_index3, "Searchcon", "Contenido de la búsqueda"), (0, _defineProperty2.default)(_index3, "expensive", "Comprar caro Debe pagar"), (0, _defineProperty2.default)(_index3, "Something", "Cosas buenas del mundo"), (0, _defineProperty2.default)(_index3, "postage", "Envío gratis"), (0, _defineProperty2.default)(_index3, "Trade", "Cambiar lo viejo por lo nuevo"), (0, _defineProperty2.default)(_index3, "sort", "Clasificación"), (0, _defineProperty2.default)(_index3, "fill", "Subvenciones"), (0, _defineProperty2.default)(_index3, "RMB", "RMB"), (0, _defineProperty2.default)(_index3, "history", "Dirección histórica"), (0, _defineProperty2.default)(_index3, "Fill", "Por favor, rellene"), (0, _defineProperty2.default)(_index3, "senderinfo", "Rellene la información del remitente"), (0, _defineProperty2.default)(_index3, "addressee", "Por favor ingrese el nombre del destinatario"), (0, _defineProperty2.default)(_index3, "enter", "determinar"), (0, _defineProperty2.default)(_index3, "shoptype", "Tipo de mercancía"), (0, _defineProperty2.default)(_index3, "estimated", "Peso estimado estimado"), (0, _defineProperty2.default)(_index3, "piece", "algo"), (0, _defineProperty2.default)(_index3, "rule", "Entender las reglas de facturación"), (0, _defineProperty2.default)(_index3, "Starting", "incipiente"), (0, _defineProperty2.default)(_index3, "destination", "destino"), (0, _defineProperty2.default)(_index3, "Commodity", "Peso de mercancía"), (0, _defineProperty2.default)(_index3, "Acquisition", "Obtener el precio"), (0, _defineProperty2.default)(_index3, "Calculated", "Calcula el peso"), (0, _defineProperty2.default)(_index3, "Estimated", "Gastos de envío estimados"), (0, _defineProperty2.default)(_index3, "details", "Ver los detalles"), (0, _defineProperty2.default)(_index3, "Normal", "Bienes comunes"), (0, _defineProperty2.default)(_index3, "special", "Mercancía especial"), (0, _defineProperty2.default)(_index3, "orderSearch", "Por favor, introduzca el número de pedido buscar"), (0, _defineProperty2.default)(_index3, "orderWeight", "Peso total del pedido cargado por la página actual"), (0, _defineProperty2.default)(_index3, "purchase", "Plataforma de compra propia"), (0, _defineProperty2.default)(_index3, "OrderNumber", "Número de pedido"), (0, _defineProperty2.default)(_index3, "Parcelweight", "Peso del paquete"), (0, _defineProperty2.default)(_index3, "payment", "Pague ahora mismo"), (0, _defineProperty2.default)(_index3, "Frozen", " congelación"), (0, _defineProperty2.default)(_index3, "recover", " recuperación"), (0, _defineProperty2.default)(_index3, "total", "total"), (0, _defineProperty2.default)(_index3, "selfPost", "Postal desde"), (0, _defineProperty2.default)(_index3, "receiveGoods", "A recibir en la plataforma"), (0, _defineProperty2.default)(_index3, "TrackingNumber", "Número de seguimiento"), (0, _defineProperty2.default)(_index3, "trackingNumber", "Ingrese el número de seguimiento para agregar rápidamente a mi paquete"), (0, _defineProperty2.default)(_index3, "Expresscompany", "Empresa de mensajería"), (0, _defineProperty2.default)(_index3, "ExpressCompany", "Introduzca el nombre de la empresa de mensajería"), (0, _defineProperty2.default)(_index3, "parcelWeight", "Por favor ingrese el peso del paquete"), (0, _defineProperty2.default)(_index3, "Addlist", "Añadir a la lista de paquetes"), (0, _defineProperty2.default)(_index3, "Addparcel", "Añadir un paquete"), (0, _defineProperty2.default)(_index3, "Packlist", "Lista de paquetes"), (0, _defineProperty2.default)(_index3, "classification", "Clasificación de mercancías"), (0, _defineProperty2.default)(_index3, "synthesis", "integrado"), (0, _defineProperty2.default)(_index3, "sell", "venta"), (0, _defineProperty2.default)(_index3, "Pricea", "precio"), (0, _defineProperty2.default)(_index3, "screen", "selección"), (0, _defineProperty2.default)(_index3, "Pricerange", "Rango de precios"), (0, _defineProperty2.default)(_index3, "Weightinterval", "Intervalo de peso"), (0, _defineProperty2.default)(_index3, "brand", "La marca"), (0, _defineProperty2.default)(_index3, "Proprietary", "Mercancía por cuenta propia"), (0, _defineProperty2.default)(_index3, "reset", "restaurar"), (0, _defineProperty2.default)(_index3, "yes", "es"), (0, _defineProperty2.default)(_index3, "Bottomprice", "Precio más bajo"), (0, _defineProperty2.default)(_index3, "highestprice", "Precio máximo"), (0, _defineProperty2.default)(_index3, "Discounted", "Precio con descuento"), (0, _defineProperty2.default)(_index3, "service", "servicios"), (0, _defineProperty2.default)(_index3, "Netcontent", "Contenido neto"), (0, _defineProperty2.default)(_index3, "sametype", "Mismo modelo bajo precio"), (0, _defineProperty2.default)(_index3, "review", "comentarios"), (0, _defineProperty2.default)(_index3, "Productdetails", "Detalles de mercancía"), (0, _defineProperty2.default)(_index3, "Specification", "Especificaciones y parámetros"), (0, _defineProperty2.default)(_index3, "Recommended", "Artículos recomendados para"), (0, _defineProperty2.default)(_index3, "material", "Materia prima principal"), (0, _defineProperty2.default)(_index3, "specification", "Las especificaciones"), (0, _defineProperty2.default)(_index3, "Shelflife", "caducidad"), (0, _defineProperty2.default)(_index3, "Suitableobject", "Apto para objetos"), (0, _defineProperty2.default)(_index3, "Customer", "call"), (0, _defineProperty2.default)(_index3, "Shopping", "carrito"), (0, _defineProperty2.default)(_index3, "follow", "atención"), (0, _defineProperty2.default)(_index3, "notification", "Notificación de llegada"), (0, _defineProperty2.default)(_index3, "Sele", "seleccione"), (0, _defineProperty2.default)(_index3, "Salesvolume", "Volumen de ventas"), (0, _defineProperty2.default)(_index3, "stroll", "Los alrededores"), (0, _defineProperty2.default)(_index3, "article", "Art"), (0, _defineProperty2.default)(_index3, "know", "Lo sé"), (0, _defineProperty2.default)(_index3, "shar", "compartir"), (0, _defineProperty2.default)(_index3, "Copylink", "Copiar el enlace"), (0, _defineProperty2.default)(_index3, "Generatepicture", "Generar una imagen"), (0, _defineProperty2.default)(_index3, "Cancel", "cancelación"), (0, _defineProperty2.default)(_index3, "Paymentsuccess", "Pago realizado con éxito"), (0, _defineProperty2.default)(_index3, "MyOrder", "Disponible en personal center - mis pedidos"), (0, _defineProperty2.default)(_index3, "Vieworder", "Ver el pedido"), (0, _defineProperty2.default)(_index3, "Backtohomepage", "Volver al inicio"), (0, _defineProperty2.default)(_index3, "Channelspecification", "Descripción del canal"), (0, _defineProperty2.default)(_index3, "Billingmode", "Modelo de facturación"), (0, _defineProperty2.default)(_index3, "Chargeableweight", "Peso facturable"), (0, _defineProperty2.default)(_index3, "Estimatedcost", "Estimación de gastos"), (0, _defineProperty2.default)(_index3, "Itemtype", "Tipos de artículos"), (0, _defineProperty2.default)(_index3, "Channelrule", "Reglas del canal"), (0, _defineProperty2.default)(_index3, "Copiedpaste", "Ya copiado, ir y pegar"), (0, _defineProperty2.default)(_index3, "Replicationfailure", "Falla en copiar"), (0, _defineProperty2.default)(_index3, "shelves", "Le recordaremos a través del mensaje de wechat cuando el artículo está en stock y en estante"), (0, _defineProperty2.default)(_index3, "Actual", "Cantidad a pagar"), (0, _defineProperty2.default)(_index3, "Balancepayment", "Pago del saldo"), (0, _defineProperty2.default)(_index3, "Currentbalance", "Balance actual"), (0, _defineProperty2.default)(_index3, "WechatPay", "Pago con wechat"), (0, _defineProperty2.default)(_index3, "applicable", "Pago wechat aplicable"), (0, _defineProperty2.default)(_index3, "Customerservicepayment", "Servicio al cliente pago"), (0, _defineProperty2.default)(_index3, "Contactpayment", "Contacto servicio al cliente pago"), (0, _defineProperty2.default)(_index3, "Paymentinstructions", "Notas de pago"), (0, _defineProperty2.default)(_index3, "Confirmpayment", "Determine su pago"), (0, _defineProperty2.default)(_index3, "Commodityamount", "Cantidad de bienes"), (0, _defineProperty2.default)(_index3, "Grosscommodityweight", "Peso total de la mercancía"), (0, _defineProperty2.default)(_index3, "Costperkilogram", "Coste por kg"), (0, _defineProperty2.default)(_index3, "freight", "El flete"), (0, _defineProperty2.default)(_index3, "subtotal", "subtotal"), (0, _defineProperty2.default)(_index3, "Atotalof", "total"), (0, _defineProperty2.default)(_index3, "Submitorder", "Enviar un pedido"), (0, _defineProperty2.default)(_index3, "next", "Siguiente paso"), (0, _defineProperty2.default)(_index3, "Shipmentdate", "Fecha del gabinete de salida"), (0, _defineProperty2.default)(_index3, "Estimatedtimeofarrival", "Hora estimada de llegada"), (0, _defineProperty2.default)(_index3, "Workingday", "Días laborables"), (0, _defineProperty2.default)(_index3, "buy", "Comprar hasta"), (0, _defineProperty2.default)(_index3, "morefavorable", "Será mejor"), (0, _defineProperty2.default)(_index3, "Pleaseproductname", "Por favor ingrese el nombre comercial relevante"), (0, _defineProperty2.default)(_index3, "Goodgoods", "Productos de buena calidad"), (0, _defineProperty2.default)(_index3, "Saveeverything", "Cada estilo debe ahorrar"), (0, _defineProperty2.default)(_index3, "willpay", "Comprar caro, pagar"), (0, _defineProperty2.default)(_index3, "Subsidized", "Precio subvencionado"), (0, _defineProperty2.default)(_index3, "typeof", "tipo"), (0, _defineProperty2.default)(_index3, "weight", "peso"), (0, _defineProperty2.default)(_index3, "number", "número"), (0, _defineProperty2.default)(_index3, "Immediatepayment", "pago inmediato"), (0, _defineProperty2.default)(_index3, "readandagree", "he leído y acepto"), (0, _defineProperty2.default)(_index3, "International", "internacional"), (0, _defineProperty2.default)(_index3, "Estimatedprice", "precio estimado"), (0, _defineProperty2.default)(_index3, "Marinetank", "contenedor marítimo"), (0, _defineProperty2.default)(_index3, "Expressservice", "servicio de expreso"), (0, _defineProperty2.default)(_index3, "Orderconfirmation", "confirmación de pedido"), (0, _defineProperty2.default)(_index3, "successful", "exitoso"), (0, _defineProperty2.default)(_index3, "pickpackage", "esperando recogida del mensajero"), (0, _defineProperty2.default)(_index3, "Ordertime", "hora del pedido"), (0, _defineProperty2.default)(_index3, "Popularshipment", "envío popular"), (0, _defineProperty2.default)(_index3, "manage", "gestionar"), (0, _defineProperty2.default)(_index3, "complete", "completar"), (0, _defineProperty2.default)(_index3, "selectall", "seleccionar todo"), (0, _defineProperty2.default)(_index3, "Grossweight", "peso bruto"), (0, _defineProperty2.default)(_index3, "GotoResult", "ir al pago"), (0, _defineProperty2.default)(_index3, "orderpaysforitself", "compensación por pedidos defectuosos"), (0, _defineProperty2.default)(_index3, "Soldout", "agotado"), (0, _defineProperty2.default)(_index3, "accountBalance", "Saldo de la cuenta"), (0, _defineProperty2.default)(_index3, "myBalance", "Mi saldo"), (0, _defineProperty2.default)(_index3, "withdrawal", "Retiro de efectivo"), (0, _defineProperty2.default)(_index3, "recharge", "Recargar"), (0, _defineProperty2.default)(_index3, "balanceDetails", "Detalles del saldo"), (0, _defineProperty2.default)(_index3, "all", "Todo"), (0, _defineProperty2.default)(_index3, "theres", "No hay más datos"), (0, _defineProperty2.default)(_index3, "mineCommodity", "Productos Básicos"), (0, _defineProperty2.default)(_index3, "team", "Jefe del regimiento"), (0, _defineProperty2.default)(_index3, "people", "Atención humana"), (0, _defineProperty2.default)(_index3, "see", "Ver página de inicio"), (0, _defineProperty2.default)(_index3, "thatPerson", "Función personal"), (0, _defineProperty2.default)(_index3, "become", "Convertirse en Jefe de grupo"), _index3)
  9575. },
  9576. //意大利
  9577. "it-IT": {
  9578. index: (_index4 = {
  9579. homepage: "Home page",
  9580. switchLanguage: "Cambio di lingua",
  9581. address: "Gestione degli indirizzi",
  9582. addAndEdit: "Nuovi indirizzi/modifiche",
  9583. account: "Numero di conto e sicurezza",
  9584. password: "Modificare la parola d’ordine/numero di cellulare",
  9585. switch: "Cambio di lingua",
  9586. user: "Accordi per gli utenti",
  9587. privacy: "Politica in materia di tutela della vita privata",
  9588. platform: "Regole per le piattaforme",
  9589. merchant: "Accordo di adesione di un commerciante",
  9590. layout: "Uscita logon",
  9591. setup: "Fissazione del numero di conto",
  9592. information: "Dati personali",
  9593. headerImg: "avatar",
  9594. nickname: "soprannome",
  9595. prompt: "Limite da 4 a 24 caratteri (1 cinese =2 caratteri, 1 inglese vivo =1 carattere)",
  9596. editNextname: "Soprannomi di redazione",
  9597. inland: "Cina continentale",
  9598. international: "internazionale",
  9599. initial: "Indirizzo predefinito",
  9600. edit: "editoriale",
  9601. delete: "cancellare",
  9602. wx: "Importazioni di wechat",
  9603. add: "Nuovo indirizzo",
  9604. contacts: "Información de contacto",
  9605. wxAddress: "Dirección wechat delgada",
  9606. newAddress: "Nuovi indirizzi",
  9607. name: "nomi",
  9608. phone: "Numero di telefono",
  9609. city: "Aree metropolitane",
  9610. detailed: "Indirizzo completo",
  9611. goods: "Per piacere, completare l’informazione del destinatario",
  9612. pleasePhoneNumber: "Per piacere, completare il numero di telefono del destinatario",
  9613. township: "I comuni e le province le regioni, le città, ecc",
  9614. sect: "Si prega di indicare l’indirizzo completo con il numero della targa",
  9615. company: "Nome della società (indicare il nome della società)",
  9616. preserve: "conservazione",
  9617. empty: "svuotati",
  9618. country: "paesi",
  9619. postalCode: "P.",
  9620. email: "Posta elettronica",
  9621. companyName: "Nome della società",
  9622. selection: "selezione",
  9623. PleacePostalCode: "Per favore digitate il codice postale",
  9624. addressBook: "Conservare all’indirizzo sottile",
  9625. pleaseEmail: "Per abbonarsi, digitare la casella di posta elettronica (indirizzatela)",
  9626. editPassword: "Modificare la password logon",
  9627. editPhone: "Modifica del numero di telefono",
  9628. accountCancellation: "Annullamento dei conti",
  9629. setPassword: "Stabilire la password",
  9630. cancellation: "Se il recupero non è possibile dopo l’annullamento, occorre procedere con cautela",
  9631. myDeposit: "I margine",
  9632. balance: "saldo",
  9633. mineFollow: "La mia preoccupazione",
  9634. myPackage: "Il mio pacco",
  9635. mallOrders: "Orden del centro",
  9636. whole: "totale",
  9637. pendingPayment: "Pagamenti da effettuare",
  9638. joiningGroups: "Nella composizione",
  9639. toBeShipped: "Prodotti in attesa di spedizione",
  9640. toBeReceived: "Para recibir",
  9641. refund: "Rimborso/assistenza post-vendita",
  9642. leaderunction: "Funzioni del capo servizio"
  9643. }, (0, _defineProperty2.default)(_index4, "platform", "Banca di prodotti di base"), (0, _defineProperty2.default)(_index4, "productManagement", "Gestione dei prodotti di base"), (0, _defineProperty2.default)(_index4, "orderManagement", "Gestione delle ordinazioni"), (0, _defineProperty2.default)(_index4, "afterSales", "Gestione post-vendita"), (0, _defineProperty2.default)(_index4, "supplyChain", "Prodotti della catena d’approvvigionamento"), (0, _defineProperty2.default)(_index4, "PCEnd", "PC, copiglie, pernotti"), (0, _defineProperty2.default)(_index4, "pontact", "Contatti con il servizio clienti"), (0, _defineProperty2.default)(_index4, "accountSettings", "Fissazione del numero di conto"), (0, _defineProperty2.default)(_index4, "shop", "posta"), (0, _defineProperty2.default)(_index4, "border", "transfrontaliero"), (0, _defineProperty2.default)(_index4, "item", "Informazioni sugli articoli"), (0, _defineProperty2.default)(_index4, "required", "Sarà compilata"), (0, _defineProperty2.default)(_index4, "flow", "La logistica transfrontaliera"), (0, _defineProperty2.default)(_index4, "share", "condividere"), (0, _defineProperty2.default)(_index4, "compute", "calcolatrici"), (0, _defineProperty2.default)(_index4, "deliver", "Punti di transito"), (0, _defineProperty2.default)(_index4, "Sign", "I trasferimenti sono stati firmati"), (0, _defineProperty2.default)(_index4, "overseas", "Sta andando all’estero"), (0, _defineProperty2.default)(_index4, "mail", "Per inviare gli articoli"), (0, _defineProperty2.default)(_index4, "mine", "La mia"), (0, _defineProperty2.default)(_index4, "addsign", "Aggiungere i pacchi ai punti di transito"), (0, _defineProperty2.default)(_index4, "more", "più"), (0, _defineProperty2.default)(_index4, "price", "Prezzo unitario"), (0, _defineProperty2.default)(_index4, "already", "Ha scritto"), (0, _defineProperty2.default)(_index4, "parcel", "pacchi"), (0, _defineProperty2.default)(_index4, "residue", "residuo"), (0, _defineProperty2.default)(_index4, "plan", "processo "), (0, _defineProperty2.default)(_index4, "start", "Ora di inizio"), (0, _defineProperty2.default)(_index4, "cut", "Tempo di chiusura"), (0, _defineProperty2.default)(_index4, "parceling", "Speaker all’estero"), (0, _defineProperty2.default)(_index4, "goparceling", "dischetti"), (0, _defineProperty2.default)(_index4, "sender", "Nuovi mittenti"), (0, _defineProperty2.default)(_index4, "recipient", "Nuovi destinatari"), (0, _defineProperty2.default)(_index4, "informat", "Compilare il tagliando di spedizione"), (0, _defineProperty2.default)(_index4, "informate", "Indicare l’indirizzo per il ricevimento"), (0, _defineProperty2.default)(_index4, "addressbook", "Indirizzo sottile"), (0, _defineProperty2.default)(_index4, "select", "Si prega di selezionare informazioni sugli articoli"), (0, _defineProperty2.default)(_index4, "search", "ricerca"), (0, _defineProperty2.default)(_index4, "Searchcon", "Contenuto della ricerca"), (0, _defineProperty2.default)(_index4, "expensive", "Comprare costoso Mosto del"), (0, _defineProperty2.default)(_index4, "Something", "Il bene globale"), (0, _defineProperty2.default)(_index4, "postage", "Circostanze eccezionali"), (0, _defineProperty2.default)(_index4, "Trade", "Cambiare vecchio per nuovo"), (0, _defineProperty2.default)(_index4, "sort", "classificazione"), (0, _defineProperty2.default)(_index4, "fill", "sovvenzioni"), (0, _defineProperty2.default)(_index4, "RMB", "RMB"), (0, _defineProperty2.default)(_index4, "history", "Indirizzo storico"), (0, _defineProperty2.default)(_index4, "Fill", "Per piacere"), (0, _defineProperty2.default)(_index4, "senderinfo", "Compilare le informazioni inviate ai mittenti"), (0, _defineProperty2.default)(_index4, "addressee", "Indicare il nome del destinatario"), (0, _defineProperty2.default)(_index4, "enter", "definire"), (0, _defineProperty2.default)(_index4, "shoptype", "Tipo di merce"), (0, _defineProperty2.default)(_index4, "estimated", "Peso stimato"), (0, _defineProperty2.default)(_index4, "piece", "cosa"), (0, _defineProperty2.default)(_index4, "rule", "Conoscenza delle norme di fatturazione"), (0, _defineProperty2.default)(_index4, "Starting", "Verso l’alto"), (0, _defineProperty2.default)(_index4, "destination", "destinazione"), (0, _defineProperty2.default)(_index4, "Commodity", "Peso delle merci"), (0, _defineProperty2.default)(_index4, "Acquisition", "Accesso ai prezzi"), (0, _defineProperty2.default)(_index4, "Calculated", "Calcolo del peso"), (0, _defineProperty2.default)(_index4, "Estimated", "Nolo stimato"), (0, _defineProperty2.default)(_index4, "details", "Esaminare i dettagli"), (0, _defineProperty2.default)(_index4, "Normal", "Merci comuni"), (0, _defineProperty2.default)(_index4, "special", "Prodotti speciali"), (0, _defineProperty2.default)(_index4, "orderSearch", "Digitare il numero d’ordine per effettuare la ricerca"), (0, _defineProperty2.default)(_index4, "orderWeight", "Peso totale delle ordinazioni attualmente caricate"), (0, _defineProperty2.default)(_index4, "purchase", "Acquisto di piattaforme"), (0, _defineProperty2.default)(_index4, "OrderNumber", "Numero d’ordine"), (0, _defineProperty2.default)(_index4, "Parcelweight", "Peso del pacco"), (0, _defineProperty2.default)(_index4, "payment", "Pagamenti immediati"), (0, _defineProperty2.default)(_index4, "Frozen", "congelamento"), (0, _defineProperty2.default)(_index4, "recover", "ripristino"), (0, _defineProperty2.default)(_index4, "total", "totale"), (0, _defineProperty2.default)(_index4, "selfPost", "Inviata dal"), (0, _defineProperty2.default)(_index4, "receiveGoods", "Lascia alla piattaforma il carico"), (0, _defineProperty2.default)(_index4, "TrackingNumber", "Numero del corriere espresso"), (0, _defineProperty2.default)(_index4, "trackingNumber", "Inserire il numero d’ordine del corriere rapido e completare rapidamente il pacco"), (0, _defineProperty2.default)(_index4, "Expresscompany", "Società di corriere rapido"), (0, _defineProperty2.default)(_index4, "ExpressCompany", "Indicare il nome del servizio di corriere espresso"), (0, _defineProperty2.default)(_index4, "parcelWeight", "Per piacere indicare il peso del pacco"), (0, _defineProperty2.default)(_index4, "Addlist", "Aggiunta all’elenco dei colli"), (0, _defineProperty2.default)(_index4, "Addparcel", "Aggiunta di pacchi"), (0, _defineProperty2.default)(_index4, "Packlist", "Elenco degli statuti"), (0, _defineProperty2.default)(_index4, "classification", "Classificazione delle merci"), (0, _defineProperty2.default)(_index4, "synthesis", "integrato"), (0, _defineProperty2.default)(_index4, "sell", "vendita"), (0, _defineProperty2.default)(_index4, "Pricea", "prezzi"), (0, _defineProperty2.default)(_index4, "screen", "screening"), (0, _defineProperty2.default)(_index4, "Pricerange", "Fascia di prezzo"), (0, _defineProperty2.default)(_index4, "Weightinterval", "Intervallo di peso"), (0, _defineProperty2.default)(_index4, "brand", "marca"), (0, _defineProperty2.default)(_index4, "Proprietary", "Prodotti per uso proprio"), (0, _defineProperty2.default)(_index4, "reset", "sostituzione"), (0, _defineProperty2.default)(_index4, "yes", "è"), (0, _defineProperty2.default)(_index4, "Bottomprice", "Prezzo più basso"), (0, _defineProperty2.default)(_index4, "highestprice", "Prezzo massimo"), (0, _defineProperty2.default)(_index4, "Discounted", "Prezzo ridotto"), (0, _defineProperty2.default)(_index4, "service", "servizi"), (0, _defineProperty2.default)(_index4, "Netcontent", "Tenore netto"), (0, _defineProperty2.default)(_index4, "sametype", "Prezzo ridotto dello stesso articolo"), (0, _defineProperty2.default)(_index4, "review", "commenti"), (0, _defineProperty2.default)(_index4, "Productdetails", "Dettaglio delle merci"), (0, _defineProperty2.default)(_index4, "Specification", "Parametri delle specifiche"), (0, _defineProperty2.default)(_index4, "Recommended", "Prodotti raccomandati"), (0, _defineProperty2.default)(_index4, "material", "Principali materie prime"), (0, _defineProperty2.default)(_index4, "specification", "Le specifiche"), (0, _defineProperty2.default)(_index4, "Shelflife", "Periodo di validità"), (0, _defineProperty2.default)(_index4, "Suitableobject", "Adatto agli oggetti"), (0, _defineProperty2.default)(_index4, "Customer", "servizio"), (0, _defineProperty2.default)(_index4, "Shopping", "Carrelli per acquisti"), (0, _defineProperty2.default)(_index4, "follow", "attenzione"), (0, _defineProperty2.default)(_index4, "notification", "Notifica di ricevimento"), (0, _defineProperty2.default)(_index4, "Sele", "scelta"), (0, _defineProperty2.default)(_index4, "Salesvolume", "Volume delle vendite"), (0, _defineProperty2.default)(_index4, "stroll", "gira"), (0, _defineProperty2.default)(_index4, "article", "articolo"), (0, _defineProperty2.default)(_index4, "know", "Io so che"), (0, _defineProperty2.default)(_index4, "shar", "condividere"), (0, _defineProperty2.default)(_index4, "Copylink", "Riproduzione di un link"), (0, _defineProperty2.default)(_index4, "Generatepicture", "Creazione di immagini"), (0, _defineProperty2.default)(_index4, "Cancel", "soppressione"), (0, _defineProperty2.default)(_index4, "MyOrder", "Disponibile presso il centro personale"), (0, _defineProperty2.default)(_index4, "Vieworder", "Controllare l’ordine"), (0, _defineProperty2.default)(_index4, "Backtohomepage", "Ritorno alla pagina iniziale"), (0, _defineProperty2.default)(_index4, "Channelspecification", "Descrizione dei canali"), (0, _defineProperty2.default)(_index4, "Billingmode", "Modelli di fatturazione"), (0, _defineProperty2.default)(_index4, "Chargeableweight", "Peso della fatturazione"), (0, _defineProperty2.default)(_index4, "Estimatedcost", "Oneri stimati"), (0, _defineProperty2.default)(_index4, "Itemtype", "Tipo di articolo"), (0, _defineProperty2.default)(_index4, "Channelrule", "Regolamentazione del canale"), (0, _defineProperty2.default)(_index4, "Copiedpaste", "Già copiato. Andiamo a fare affissione"), (0, _defineProperty2.default)(_index4, "Replicationfailure", "Fallimento della riproduzione"), (0, _defineProperty2.default)(_index4, "shelves", "Vi ricorderemo tramite wechat quando la merce è in stock e si mette sul mercato"), (0, _defineProperty2.default)(_index4, "Actual", "Importo versato"), (0, _defineProperty2.default)(_index4, "Balancepayment", "Pagamenti del saldo"), (0, _defineProperty2.default)(_index4, "Currentbalance", "Saldo delle partite correnti"), (0, _defineProperty2.default)(_index4, "WechatPay", "Pagamento tramite wechat"), (0, _defineProperty2.default)(_index4, "applicable", "Si applicano i pagamenti di wechat"), (0, _defineProperty2.default)(_index4, "Customerservicepayment", "Retribuzione del trasporto passeggeri"), (0, _defineProperty2.default)(_index4, "Contactpayment", "Contatti con i clienti pagamento"), (0, _defineProperty2.default)(_index4, "Paymentinstructions", "Avvisi di pagamento"), (0, _defineProperty2.default)(_index4, "Confirmpayment", "Determinazione dei pagamenti"), (0, _defineProperty2.default)(_index4, "Commodityamount", "Volume delle merci"), (0, _defineProperty2.default)(_index4, "Grosscommodityweight", "Peso totale delle merci"), (0, _defineProperty2.default)(_index4, "Costperkilogram", "Onere per kg"), (0, _defineProperty2.default)(_index4, "freight", "nolo"), (0, _defineProperty2.default)(_index4, "subtotal", "Totale parziale"), (0, _defineProperty2.default)(_index4, "Atotalof", "total"), (0, _defineProperty2.default)(_index4, "Submitorder", "Presentazione delle ordinazioni"), (0, _defineProperty2.default)(_index4, "next", "Le fasi successive"), (0, _defineProperty2.default)(_index4, "Shipmentdate", "Data di spedizione"), (0, _defineProperty2.default)(_index4, "Estimatedtimeofarrival", "Orario d’arrivo previsto"), (0, _defineProperty2.default)(_index4, "Workingday", "Giorni lavorativi"), (0, _defineProperty2.default)(_index4, "buy", "acquisti"), (0, _defineProperty2.default)(_index4, "morefavorable", "Più favorevole"), (0, _defineProperty2.default)(_index4, "Pleaseproductname", "Indicare il nome commerciale"), (0, _defineProperty2.default)(_index4, "Goodgoods", "Prodotti di qualità"), (0, _defineProperty2.default)(_index4, "Saveeverything", "Ogni contributo sarà provinciale"), (0, _defineProperty2.default)(_index4, "willpay", "L’acquisto è a pagamento"), (0, _defineProperty2.default)(_index4, "Subsidized", "Prezzo sovvenzionato"), (0, _defineProperty2.default)(_index4, "typeof", "tipo"), (0, _defineProperty2.default)(_index4, "weight", "peso"), (0, _defineProperty2.default)(_index4, "number", "numero"), (0, _defineProperty2.default)(_index4, "Immediatepayment", "pagamento immediato"), (0, _defineProperty2.default)(_index4, "readandagree", "ho letto e accetto"), (0, _defineProperty2.default)(_index4, "International", "internazionale"), (0, _defineProperty2.default)(_index4, "Estimatedprice", "prezzo stimato"), (0, _defineProperty2.default)(_index4, "Marinetank", "container marittimo"), (0, _defineProperty2.default)(_index4, "Expressservice", "servizio di espressione"), (0, _defineProperty2.default)(_index4, "Orderconfirmation", "conferma dell'ordine"), (0, _defineProperty2.default)(_index4, "successful", "riusciti"), (0, _defineProperty2.default)(_index4, "pickpackage", "in attesa della raccolta dal corriere"), (0, _defineProperty2.default)(_index4, "Ordertime", "tempo dell'ordine"), (0, _defineProperty2.default)(_index4, "switch", "commutare"), (0, _defineProperty2.default)(_index4, "Popularshipment", "spedizione popolare"), (0, _defineProperty2.default)(_index4, "manage", "gestire"), (0, _defineProperty2.default)(_index4, "complete", "completare"), (0, _defineProperty2.default)(_index4, "selectall", "seleziona tutto"), (0, _defineProperty2.default)(_index4, "Grossweight", "peso lordo"), (0, _defineProperty2.default)(_index4, "GotoResult", "vai al checkout"), (0, _defineProperty2.default)(_index4, "orderpaysforitself", "risarcimento per gli ordini difettosi"), (0, _defineProperty2.default)(_index4, "Soldout", "esaurito"), (0, _defineProperty2.default)(_index4, "accountBalance", "Saldo del conto"), (0, _defineProperty2.default)(_index4, "myBalance", "Il mio equilibrio"), (0, _defineProperty2.default)(_index4, "withdrawal", "Ritiro"), (0, _defineProperty2.default)(_index4, "recharge", "Ricarica"), (0, _defineProperty2.default)(_index4, "balanceDetails", "Dettagli del saldo"), (0, _defineProperty2.default)(_index4, "all", "intero"), (0, _defineProperty2.default)(_index4, "theres", "Non ci sono più dati"), (0, _defineProperty2.default)(_index4, "mineCommodity", "merce"), (0, _defineProperty2.default)(_index4, "team", "Team leader"), (0, _defineProperty2.default)(_index4, "people", "La gente segue"), (0, _defineProperty2.default)(_index4, "see", "Visualizza Home Page"), (0, _defineProperty2.default)(_index4, "thatPerson", "Funzioni personali"), (0, _defineProperty2.default)(_index4, "become", "Diventa un team leader"), _index4)
  9644. }
  9645. };
  9646. exports.default = _default;
  9647. /***/ }),
  9648. /***/ 161:
  9649. /*!*****************************************************************!*\
  9650. !*** D:/project/crossBorder/wx-qhb/commont/http.interceptor.js ***!
  9651. \*****************************************************************/
  9652. /*! no static exports found */
  9653. /***/ (function(module, exports, __webpack_require__) {
  9654. /* WEBPACK VAR INJECTION */(function(uni) {// 此vm参数为页面的实例,可以通过它引用vuex中的变量
  9655. module.exports = function (vm) {
  9656. // 初始化请求配置
  9657. uni.$u.http.setConfig(function (config) {
  9658. /* config 为默认全局配置*/
  9659. config.baseURL = "https://cbec.hdlkeji.com"; /* 根域名 */
  9660. return config;
  9661. });
  9662. // 请求拦截
  9663. uni.$u.http.interceptors.request.use(function (config) {
  9664. // 可使用async await 做异步操作
  9665. // 初始化请求拦截器时,会执行此方法,此时data为undefined,赋予默认{}
  9666. config.data = config.data || {};
  9667. // 根据custom参数中配置的是否需要token,添加对应的请求头
  9668. // if(config?.custom?.auth) {
  9669. // 可以在此通过vm引用vuex中的变量,具体值在vm.$store.state中
  9670. var token = uni.getStorageSync("token");
  9671. config.header.Authorization = "Bearer" + " " + token;
  9672. // }
  9673. return config;
  9674. }, function (config) {
  9675. // 可使用async await 做异步操作
  9676. return Promise.reject(config);
  9677. });
  9678. // 响应拦截
  9679. uni.$u.http.interceptors.response.use(function (res) {
  9680. var _res$config;
  9681. /* 对响应成功做点什么 可使用async await 做异步操作*/
  9682. var data = res.data;
  9683. // 自定义参数
  9684. var custom = (_res$config = res.config) === null || _res$config === void 0 ? void 0 : _res$config.custom;
  9685. if (data.code !== 10000 && data.code !== 10011) {
  9686. if (data.code == 10001) {
  9687. uni.showModal({
  9688. title: '提示',
  9689. content: '未登录,请先登录',
  9690. success: function success(res) {
  9691. if (res.confirm) {
  9692. console.log('用户点击确定');
  9693. uni.reLaunch({
  9694. url: '/pages/login/login'
  9695. });
  9696. } else if (res.cancel) {
  9697. console.log('用户点击取消');
  9698. }
  9699. }
  9700. });
  9701. }
  9702. // 如果没有显式定义custom的toast参数为false的话,默认对报错进行toast弹出提示
  9703. else if (custom.toast !== false) {
  9704. uni.$u.toast(data.message);
  9705. }
  9706. // 如果需要catch返回,则进行reject
  9707. if (custom !== null && custom !== void 0 && custom.catch) {
  9708. return Promise.reject(data);
  9709. } else {
  9710. // 否则返回一个pending中的promise,请求不会进入catch中
  9711. return new Promise(function () {});
  9712. }
  9713. }
  9714. return data.data === undefined ? {} : data.data;
  9715. }, function (res) {
  9716. // 对响应错误做点什么 (statusCode !== 200)
  9717. return Promise.reject(res);
  9718. });
  9719. };
  9720. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9721. /***/ }),
  9722. /***/ 168:
  9723. /*!********************************************************!*\
  9724. !*** D:/project/crossBorder/wx-qhb/network/shopApi.js ***!
  9725. \********************************************************/
  9726. /*! no static exports found */
  9727. /***/ (function(module, exports, __webpack_require__) {
  9728. "use strict";
  9729. Object.defineProperty(exports, "__esModule", {
  9730. value: true
  9731. });
  9732. exports.detail = detail;
  9733. exports.recom = recom;
  9734. var _http = __webpack_require__(/*! ./http.js */ 169);
  9735. //商品推荐
  9736. function recom() {
  9737. return (0, _http.request)({
  9738. url: "/goods/recommend",
  9739. method: "post"
  9740. });
  9741. }
  9742. //商品详情
  9743. function detail(data) {
  9744. return (0, _http.request)({
  9745. url: "/goods/detail/" + data,
  9746. method: "get",
  9747. data: data
  9748. });
  9749. }
  9750. /***/ }),
  9751. /***/ 169:
  9752. /*!*****************************************************!*\
  9753. !*** D:/project/crossBorder/wx-qhb/network/http.js ***!
  9754. \*****************************************************/
  9755. /*! no static exports found */
  9756. /***/ (function(module, exports, __webpack_require__) {
  9757. "use strict";
  9758. var _base = __webpack_require__(/*! ./base.js */ 170);
  9759. /***/ }),
  9760. /***/ 17:
  9761. /*!*************************************************************************!*\
  9762. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  9763. \*************************************************************************/
  9764. /*! no static exports found */
  9765. /***/ (function(module, exports) {
  9766. function _isNativeReflectConstruct() {
  9767. try {
  9768. var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  9769. } catch (t) {}
  9770. return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() {
  9771. return !!t;
  9772. }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
  9773. }
  9774. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9775. /***/ }),
  9776. /***/ 170:
  9777. /*!*****************************************************!*\
  9778. !*** D:/project/crossBorder/wx-qhb/network/base.js ***!
  9779. \*****************************************************/
  9780. /*! no static exports found */
  9781. /***/ (function(module, exports, __webpack_require__) {
  9782. "use strict";
  9783. Object.defineProperty(exports, "__esModule", {
  9784. value: true
  9785. });
  9786. exports.showHttpLog = exports.baseURL = void 0;
  9787. var baseURL = "https://cbec.hdlkeji.com/api";
  9788. exports.baseURL = baseURL;
  9789. var showHttpLog = false;
  9790. exports.showHttpLog = showHttpLog;
  9791. /***/ }),
  9792. /***/ 18:
  9793. /*!******************************************************************!*\
  9794. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  9795. \******************************************************************/
  9796. /*! no static exports found */
  9797. /***/ (function(module, exports, __webpack_require__) {
  9798. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  9799. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  9800. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  9801. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  9802. function _toConsumableArray(arr) {
  9803. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  9804. }
  9805. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9806. /***/ }),
  9807. /***/ 19:
  9808. /*!******************************************************************!*\
  9809. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  9810. \******************************************************************/
  9811. /*! no static exports found */
  9812. /***/ (function(module, exports, __webpack_require__) {
  9813. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  9814. function _arrayWithoutHoles(arr) {
  9815. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  9816. }
  9817. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9818. /***/ }),
  9819. /***/ 2:
  9820. /*!************************************************************!*\
  9821. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  9822. \************************************************************/
  9823. /*! no static exports found */
  9824. /***/ (function(module, exports, __webpack_require__) {
  9825. "use strict";
  9826. /* WEBPACK VAR INJECTION */(function(wx, global) {
  9827. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9828. Object.defineProperty(exports, "__esModule", {
  9829. value: true
  9830. });
  9831. exports.createApp = createApp;
  9832. exports.createComponent = createComponent;
  9833. exports.createPage = createPage;
  9834. exports.createPlugin = createPlugin;
  9835. exports.createSubpackageApp = createSubpackageApp;
  9836. exports.default = void 0;
  9837. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  9838. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9839. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  9840. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  9841. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  9842. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  9843. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  9844. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9845. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9846. var realAtob;
  9847. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  9848. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  9849. if (typeof atob !== 'function') {
  9850. realAtob = function realAtob(str) {
  9851. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  9852. if (!b64re.test(str)) {
  9853. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  9854. }
  9855. // Adding the padding if missing, for semplicity
  9856. str += '=='.slice(2 - (str.length & 3));
  9857. var bitmap;
  9858. var result = '';
  9859. var r1;
  9860. var r2;
  9861. var i = 0;
  9862. for (; i < str.length;) {
  9863. bitmap = b64.indexOf(str.charAt(i++)) << 18 | b64.indexOf(str.charAt(i++)) << 12 | (r1 = b64.indexOf(str.charAt(i++))) << 6 | (r2 = b64.indexOf(str.charAt(i++)));
  9864. result += r1 === 64 ? String.fromCharCode(bitmap >> 16 & 255) : r2 === 64 ? String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255) : String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255, bitmap & 255);
  9865. }
  9866. return result;
  9867. };
  9868. } else {
  9869. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  9870. realAtob = atob;
  9871. }
  9872. function b64DecodeUnicode(str) {
  9873. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  9874. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  9875. }).join(''));
  9876. }
  9877. function getCurrentUserInfo() {
  9878. var token = wx.getStorageSync('uni_id_token') || '';
  9879. var tokenArr = token.split('.');
  9880. if (!token || tokenArr.length !== 3) {
  9881. return {
  9882. uid: null,
  9883. role: [],
  9884. permission: [],
  9885. tokenExpired: 0
  9886. };
  9887. }
  9888. var userInfo;
  9889. try {
  9890. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  9891. } catch (error) {
  9892. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  9893. }
  9894. userInfo.tokenExpired = userInfo.exp * 1000;
  9895. delete userInfo.exp;
  9896. delete userInfo.iat;
  9897. return userInfo;
  9898. }
  9899. function uniIdMixin(Vue) {
  9900. Vue.prototype.uniIDHasRole = function (roleId) {
  9901. var _getCurrentUserInfo = getCurrentUserInfo(),
  9902. role = _getCurrentUserInfo.role;
  9903. return role.indexOf(roleId) > -1;
  9904. };
  9905. Vue.prototype.uniIDHasPermission = function (permissionId) {
  9906. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  9907. permission = _getCurrentUserInfo2.permission;
  9908. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  9909. };
  9910. Vue.prototype.uniIDTokenValid = function () {
  9911. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  9912. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  9913. return tokenExpired > Date.now();
  9914. };
  9915. }
  9916. var _toString = Object.prototype.toString;
  9917. var hasOwnProperty = Object.prototype.hasOwnProperty;
  9918. function isFn(fn) {
  9919. return typeof fn === 'function';
  9920. }
  9921. function isStr(str) {
  9922. return typeof str === 'string';
  9923. }
  9924. function isObject(obj) {
  9925. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  9926. }
  9927. function isPlainObject(obj) {
  9928. return _toString.call(obj) === '[object Object]';
  9929. }
  9930. function hasOwn(obj, key) {
  9931. return hasOwnProperty.call(obj, key);
  9932. }
  9933. function noop() {}
  9934. /**
  9935. * Create a cached version of a pure function.
  9936. */
  9937. function cached(fn) {
  9938. var cache = Object.create(null);
  9939. return function cachedFn(str) {
  9940. var hit = cache[str];
  9941. return hit || (cache[str] = fn(str));
  9942. };
  9943. }
  9944. /**
  9945. * Camelize a hyphen-delimited string.
  9946. */
  9947. var camelizeRE = /-(\w)/g;
  9948. var camelize = cached(function (str) {
  9949. return str.replace(camelizeRE, function (_, c) {
  9950. return c ? c.toUpperCase() : '';
  9951. });
  9952. });
  9953. function sortObject(obj) {
  9954. var sortObj = {};
  9955. if (isPlainObject(obj)) {
  9956. Object.keys(obj).sort().forEach(function (key) {
  9957. sortObj[key] = obj[key];
  9958. });
  9959. }
  9960. return !Object.keys(sortObj) ? obj : sortObj;
  9961. }
  9962. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  9963. var globalInterceptors = {};
  9964. var scopedInterceptors = {};
  9965. function mergeHook(parentVal, childVal) {
  9966. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  9967. return res ? dedupeHooks(res) : res;
  9968. }
  9969. function dedupeHooks(hooks) {
  9970. var res = [];
  9971. for (var i = 0; i < hooks.length; i++) {
  9972. if (res.indexOf(hooks[i]) === -1) {
  9973. res.push(hooks[i]);
  9974. }
  9975. }
  9976. return res;
  9977. }
  9978. function removeHook(hooks, hook) {
  9979. var index = hooks.indexOf(hook);
  9980. if (index !== -1) {
  9981. hooks.splice(index, 1);
  9982. }
  9983. }
  9984. function mergeInterceptorHook(interceptor, option) {
  9985. Object.keys(option).forEach(function (hook) {
  9986. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  9987. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  9988. }
  9989. });
  9990. }
  9991. function removeInterceptorHook(interceptor, option) {
  9992. if (!interceptor || !option) {
  9993. return;
  9994. }
  9995. Object.keys(option).forEach(function (hook) {
  9996. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  9997. removeHook(interceptor[hook], option[hook]);
  9998. }
  9999. });
  10000. }
  10001. function addInterceptor(method, option) {
  10002. if (typeof method === 'string' && isPlainObject(option)) {
  10003. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  10004. } else if (isPlainObject(method)) {
  10005. mergeInterceptorHook(globalInterceptors, method);
  10006. }
  10007. }
  10008. function removeInterceptor(method, option) {
  10009. if (typeof method === 'string') {
  10010. if (isPlainObject(option)) {
  10011. removeInterceptorHook(scopedInterceptors[method], option);
  10012. } else {
  10013. delete scopedInterceptors[method];
  10014. }
  10015. } else if (isPlainObject(method)) {
  10016. removeInterceptorHook(globalInterceptors, method);
  10017. }
  10018. }
  10019. function wrapperHook(hook, params) {
  10020. return function (data) {
  10021. return hook(data, params) || data;
  10022. };
  10023. }
  10024. function isPromise(obj) {
  10025. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  10026. }
  10027. function queue(hooks, data, params) {
  10028. var promise = false;
  10029. for (var i = 0; i < hooks.length; i++) {
  10030. var hook = hooks[i];
  10031. if (promise) {
  10032. promise = Promise.resolve(wrapperHook(hook, params));
  10033. } else {
  10034. var res = hook(data, params);
  10035. if (isPromise(res)) {
  10036. promise = Promise.resolve(res);
  10037. }
  10038. if (res === false) {
  10039. return {
  10040. then: function then() {}
  10041. };
  10042. }
  10043. }
  10044. }
  10045. return promise || {
  10046. then: function then(callback) {
  10047. return callback(data);
  10048. }
  10049. };
  10050. }
  10051. function wrapperOptions(interceptor) {
  10052. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10053. ['success', 'fail', 'complete'].forEach(function (name) {
  10054. if (Array.isArray(interceptor[name])) {
  10055. var oldCallback = options[name];
  10056. options[name] = function callbackInterceptor(res) {
  10057. queue(interceptor[name], res, options).then(function (res) {
  10058. /* eslint-disable no-mixed-operators */
  10059. return isFn(oldCallback) && oldCallback(res) || res;
  10060. });
  10061. };
  10062. }
  10063. });
  10064. return options;
  10065. }
  10066. function wrapperReturnValue(method, returnValue) {
  10067. var returnValueHooks = [];
  10068. if (Array.isArray(globalInterceptors.returnValue)) {
  10069. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  10070. }
  10071. var interceptor = scopedInterceptors[method];
  10072. if (interceptor && Array.isArray(interceptor.returnValue)) {
  10073. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  10074. }
  10075. returnValueHooks.forEach(function (hook) {
  10076. returnValue = hook(returnValue) || returnValue;
  10077. });
  10078. return returnValue;
  10079. }
  10080. function getApiInterceptorHooks(method) {
  10081. var interceptor = Object.create(null);
  10082. Object.keys(globalInterceptors).forEach(function (hook) {
  10083. if (hook !== 'returnValue') {
  10084. interceptor[hook] = globalInterceptors[hook].slice();
  10085. }
  10086. });
  10087. var scopedInterceptor = scopedInterceptors[method];
  10088. if (scopedInterceptor) {
  10089. Object.keys(scopedInterceptor).forEach(function (hook) {
  10090. if (hook !== 'returnValue') {
  10091. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  10092. }
  10093. });
  10094. }
  10095. return interceptor;
  10096. }
  10097. function invokeApi(method, api, options) {
  10098. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  10099. params[_key - 3] = arguments[_key];
  10100. }
  10101. var interceptor = getApiInterceptorHooks(method);
  10102. if (interceptor && Object.keys(interceptor).length) {
  10103. if (Array.isArray(interceptor.invoke)) {
  10104. var res = queue(interceptor.invoke, options);
  10105. return res.then(function (options) {
  10106. // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
  10107. return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
  10108. });
  10109. } else {
  10110. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  10111. }
  10112. }
  10113. return api.apply(void 0, [options].concat(params));
  10114. }
  10115. var promiseInterceptor = {
  10116. returnValue: function returnValue(res) {
  10117. if (!isPromise(res)) {
  10118. return res;
  10119. }
  10120. return new Promise(function (resolve, reject) {
  10121. res.then(function (res) {
  10122. if (res[0]) {
  10123. reject(res[0]);
  10124. } else {
  10125. resolve(res[1]);
  10126. }
  10127. });
  10128. });
  10129. }
  10130. };
  10131. var SYNC_API_RE = /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/;
  10132. var CONTEXT_API_RE = /^create|Manager$/;
  10133. // Context例外情况
  10134. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  10135. // 同步例外情况
  10136. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  10137. var CALLBACK_API_RE = /^on|^off/;
  10138. function isContextApi(name) {
  10139. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  10140. }
  10141. function isSyncApi(name) {
  10142. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  10143. }
  10144. function isCallbackApi(name) {
  10145. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  10146. }
  10147. function handlePromise(promise) {
  10148. return promise.then(function (data) {
  10149. return [null, data];
  10150. }).catch(function (err) {
  10151. return [err];
  10152. });
  10153. }
  10154. function shouldPromise(name) {
  10155. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  10156. return false;
  10157. }
  10158. return true;
  10159. }
  10160. /* eslint-disable no-extend-native */
  10161. if (!Promise.prototype.finally) {
  10162. Promise.prototype.finally = function (callback) {
  10163. var promise = this.constructor;
  10164. return this.then(function (value) {
  10165. return promise.resolve(callback()).then(function () {
  10166. return value;
  10167. });
  10168. }, function (reason) {
  10169. return promise.resolve(callback()).then(function () {
  10170. throw reason;
  10171. });
  10172. });
  10173. };
  10174. }
  10175. function promisify(name, api) {
  10176. if (!shouldPromise(name) || !isFn(api)) {
  10177. return api;
  10178. }
  10179. return function promiseApi() {
  10180. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  10181. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  10182. params[_key2 - 1] = arguments[_key2];
  10183. }
  10184. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  10185. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  10186. }
  10187. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  10188. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  10189. success: resolve,
  10190. fail: reject
  10191. })].concat(params));
  10192. })));
  10193. };
  10194. }
  10195. var EPS = 1e-4;
  10196. var BASE_DEVICE_WIDTH = 750;
  10197. var isIOS = false;
  10198. var deviceWidth = 0;
  10199. var deviceDPR = 0;
  10200. function checkDeviceWidth() {
  10201. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  10202. platform = _wx$getSystemInfoSync.platform,
  10203. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  10204. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  10205. deviceWidth = windowWidth;
  10206. deviceDPR = pixelRatio;
  10207. isIOS = platform === 'ios';
  10208. }
  10209. function upx2px(number, newDeviceWidth) {
  10210. if (deviceWidth === 0) {
  10211. checkDeviceWidth();
  10212. }
  10213. number = Number(number);
  10214. if (number === 0) {
  10215. return 0;
  10216. }
  10217. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  10218. if (result < 0) {
  10219. result = -result;
  10220. }
  10221. result = Math.floor(result + EPS);
  10222. if (result === 0) {
  10223. if (deviceDPR === 1 || !isIOS) {
  10224. result = 1;
  10225. } else {
  10226. result = 0.5;
  10227. }
  10228. }
  10229. return number < 0 ? -result : result;
  10230. }
  10231. var LOCALE_ZH_HANS = 'zh-Hans';
  10232. var LOCALE_ZH_HANT = 'zh-Hant';
  10233. var LOCALE_EN = 'en';
  10234. var LOCALE_FR = 'fr';
  10235. var LOCALE_ES = 'es';
  10236. var messages = {};
  10237. var locale;
  10238. {
  10239. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  10240. }
  10241. function initI18nMessages() {
  10242. if (!isEnableLocale()) {
  10243. return;
  10244. }
  10245. var localeKeys = Object.keys(__uniConfig.locales);
  10246. if (localeKeys.length) {
  10247. localeKeys.forEach(function (locale) {
  10248. var curMessages = messages[locale];
  10249. var userMessages = __uniConfig.locales[locale];
  10250. if (curMessages) {
  10251. Object.assign(curMessages, userMessages);
  10252. } else {
  10253. messages[locale] = userMessages;
  10254. }
  10255. });
  10256. }
  10257. }
  10258. initI18nMessages();
  10259. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  10260. var t = i18n.t;
  10261. var i18nMixin = i18n.mixin = {
  10262. beforeCreate: function beforeCreate() {
  10263. var _this = this;
  10264. var unwatch = i18n.i18n.watchLocale(function () {
  10265. _this.$forceUpdate();
  10266. });
  10267. this.$once('hook:beforeDestroy', function () {
  10268. unwatch();
  10269. });
  10270. },
  10271. methods: {
  10272. $$t: function $$t(key, values) {
  10273. return t(key, values);
  10274. }
  10275. }
  10276. };
  10277. var setLocale = i18n.setLocale;
  10278. var getLocale = i18n.getLocale;
  10279. function initAppLocale(Vue, appVm, locale) {
  10280. var state = Vue.observable({
  10281. locale: locale || i18n.getLocale()
  10282. });
  10283. var localeWatchers = [];
  10284. appVm.$watchLocale = function (fn) {
  10285. localeWatchers.push(fn);
  10286. };
  10287. Object.defineProperty(appVm, '$locale', {
  10288. get: function get() {
  10289. return state.locale;
  10290. },
  10291. set: function set(v) {
  10292. state.locale = v;
  10293. localeWatchers.forEach(function (watch) {
  10294. return watch(v);
  10295. });
  10296. }
  10297. });
  10298. }
  10299. function isEnableLocale() {
  10300. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  10301. }
  10302. function include(str, parts) {
  10303. return !!parts.find(function (part) {
  10304. return str.indexOf(part) !== -1;
  10305. });
  10306. }
  10307. function startsWith(str, parts) {
  10308. return parts.find(function (part) {
  10309. return str.indexOf(part) === 0;
  10310. });
  10311. }
  10312. function normalizeLocale(locale, messages) {
  10313. if (!locale) {
  10314. return;
  10315. }
  10316. locale = locale.trim().replace(/_/g, '-');
  10317. if (messages && messages[locale]) {
  10318. return locale;
  10319. }
  10320. locale = locale.toLowerCase();
  10321. if (locale === 'chinese') {
  10322. // 支付宝
  10323. return LOCALE_ZH_HANS;
  10324. }
  10325. if (locale.indexOf('zh') === 0) {
  10326. if (locale.indexOf('-hans') > -1) {
  10327. return LOCALE_ZH_HANS;
  10328. }
  10329. if (locale.indexOf('-hant') > -1) {
  10330. return LOCALE_ZH_HANT;
  10331. }
  10332. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  10333. return LOCALE_ZH_HANT;
  10334. }
  10335. return LOCALE_ZH_HANS;
  10336. }
  10337. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  10338. if (lang) {
  10339. return lang;
  10340. }
  10341. }
  10342. // export function initI18n() {
  10343. // const localeKeys = Object.keys(__uniConfig.locales || {})
  10344. // if (localeKeys.length) {
  10345. // localeKeys.forEach((locale) =>
  10346. // i18n.add(locale, __uniConfig.locales[locale])
  10347. // )
  10348. // }
  10349. // }
  10350. function getLocale$1() {
  10351. // 优先使用 $locale
  10352. if (isFn(getApp)) {
  10353. var app = getApp({
  10354. allowDefault: true
  10355. });
  10356. if (app && app.$vm) {
  10357. return app.$vm.$locale;
  10358. }
  10359. }
  10360. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  10361. }
  10362. function setLocale$1(locale) {
  10363. var app = isFn(getApp) ? getApp() : false;
  10364. if (!app) {
  10365. return false;
  10366. }
  10367. var oldLocale = app.$vm.$locale;
  10368. if (oldLocale !== locale) {
  10369. app.$vm.$locale = locale;
  10370. onLocaleChangeCallbacks.forEach(function (fn) {
  10371. return fn({
  10372. locale: locale
  10373. });
  10374. });
  10375. return true;
  10376. }
  10377. return false;
  10378. }
  10379. var onLocaleChangeCallbacks = [];
  10380. function onLocaleChange(fn) {
  10381. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  10382. onLocaleChangeCallbacks.push(fn);
  10383. }
  10384. }
  10385. if (typeof global !== 'undefined') {
  10386. global.getLocale = getLocale$1;
  10387. }
  10388. var interceptors = {
  10389. promiseInterceptor: promiseInterceptor
  10390. };
  10391. var baseApi = /*#__PURE__*/Object.freeze({
  10392. __proto__: null,
  10393. upx2px: upx2px,
  10394. getLocale: getLocale$1,
  10395. setLocale: setLocale$1,
  10396. onLocaleChange: onLocaleChange,
  10397. addInterceptor: addInterceptor,
  10398. removeInterceptor: removeInterceptor,
  10399. interceptors: interceptors
  10400. });
  10401. function findExistsPageIndex(url) {
  10402. var pages = getCurrentPages();
  10403. var len = pages.length;
  10404. while (len--) {
  10405. var page = pages[len];
  10406. if (page.$page && page.$page.fullPath === url) {
  10407. return len;
  10408. }
  10409. }
  10410. return -1;
  10411. }
  10412. var redirectTo = {
  10413. name: function name(fromArgs) {
  10414. if (fromArgs.exists === 'back' && fromArgs.delta) {
  10415. return 'navigateBack';
  10416. }
  10417. return 'redirectTo';
  10418. },
  10419. args: function args(fromArgs) {
  10420. if (fromArgs.exists === 'back' && fromArgs.url) {
  10421. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  10422. if (existsPageIndex !== -1) {
  10423. var delta = getCurrentPages().length - 1 - existsPageIndex;
  10424. if (delta > 0) {
  10425. fromArgs.delta = delta;
  10426. }
  10427. }
  10428. }
  10429. }
  10430. };
  10431. var previewImage = {
  10432. args: function args(fromArgs) {
  10433. var currentIndex = parseInt(fromArgs.current);
  10434. if (isNaN(currentIndex)) {
  10435. return;
  10436. }
  10437. var urls = fromArgs.urls;
  10438. if (!Array.isArray(urls)) {
  10439. return;
  10440. }
  10441. var len = urls.length;
  10442. if (!len) {
  10443. return;
  10444. }
  10445. if (currentIndex < 0) {
  10446. currentIndex = 0;
  10447. } else if (currentIndex >= len) {
  10448. currentIndex = len - 1;
  10449. }
  10450. if (currentIndex > 0) {
  10451. fromArgs.current = urls[currentIndex];
  10452. fromArgs.urls = urls.filter(function (item, index) {
  10453. return index < currentIndex ? item !== urls[currentIndex] : true;
  10454. });
  10455. } else {
  10456. fromArgs.current = urls[0];
  10457. }
  10458. return {
  10459. indicator: false,
  10460. loop: false
  10461. };
  10462. }
  10463. };
  10464. var UUID_KEY = '__DC_STAT_UUID';
  10465. var deviceId;
  10466. function useDeviceId(result) {
  10467. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  10468. if (!deviceId) {
  10469. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  10470. wx.setStorage({
  10471. key: UUID_KEY,
  10472. data: deviceId
  10473. });
  10474. }
  10475. result.deviceId = deviceId;
  10476. }
  10477. function addSafeAreaInsets(result) {
  10478. if (result.safeArea) {
  10479. var safeArea = result.safeArea;
  10480. result.safeAreaInsets = {
  10481. top: safeArea.top,
  10482. left: safeArea.left,
  10483. right: result.windowWidth - safeArea.right,
  10484. bottom: result.screenHeight - safeArea.bottom
  10485. };
  10486. }
  10487. }
  10488. function populateParameters(result) {
  10489. var _result$brand = result.brand,
  10490. brand = _result$brand === void 0 ? '' : _result$brand,
  10491. _result$model = result.model,
  10492. model = _result$model === void 0 ? '' : _result$model,
  10493. _result$system = result.system,
  10494. system = _result$system === void 0 ? '' : _result$system,
  10495. _result$language = result.language,
  10496. language = _result$language === void 0 ? '' : _result$language,
  10497. theme = result.theme,
  10498. version = result.version,
  10499. platform = result.platform,
  10500. fontSizeSetting = result.fontSizeSetting,
  10501. SDKVersion = result.SDKVersion,
  10502. pixelRatio = result.pixelRatio,
  10503. deviceOrientation = result.deviceOrientation;
  10504. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  10505. var extraParam = {};
  10506. // osName osVersion
  10507. var osName = '';
  10508. var osVersion = '';
  10509. {
  10510. osName = system.split(' ')[0] || '';
  10511. osVersion = system.split(' ')[1] || '';
  10512. }
  10513. var hostVersion = version;
  10514. // deviceType
  10515. var deviceType = getGetDeviceType(result, model);
  10516. // deviceModel
  10517. var deviceBrand = getDeviceBrand(brand);
  10518. // hostName
  10519. var _hostName = getHostName(result);
  10520. // deviceOrientation
  10521. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  10522. // devicePixelRatio
  10523. var _devicePixelRatio = pixelRatio;
  10524. // SDKVersion
  10525. var _SDKVersion = SDKVersion;
  10526. // hostLanguage
  10527. var hostLanguage = language.replace(/_/g, '-');
  10528. // wx.getAccountInfoSync
  10529. var parameters = {
  10530. appId: "__UNI__EF90963",
  10531. appName: "kjds",
  10532. appVersion: "1.0.0",
  10533. appVersionCode: "100",
  10534. appLanguage: getAppLanguage(hostLanguage),
  10535. uniCompileVersion: "4.24",
  10536. uniRuntimeVersion: "4.24",
  10537. uniPlatform: undefined || "mp-weixin",
  10538. deviceBrand: deviceBrand,
  10539. deviceModel: model,
  10540. deviceType: deviceType,
  10541. devicePixelRatio: _devicePixelRatio,
  10542. deviceOrientation: _deviceOrientation,
  10543. osName: osName.toLocaleLowerCase(),
  10544. osVersion: osVersion,
  10545. hostTheme: theme,
  10546. hostVersion: hostVersion,
  10547. hostLanguage: hostLanguage,
  10548. hostName: _hostName,
  10549. hostSDKVersion: _SDKVersion,
  10550. hostFontSizeSetting: fontSizeSetting,
  10551. windowTop: 0,
  10552. windowBottom: 0,
  10553. // TODO
  10554. osLanguage: undefined,
  10555. osTheme: undefined,
  10556. ua: undefined,
  10557. hostPackageName: undefined,
  10558. browserName: undefined,
  10559. browserVersion: undefined
  10560. };
  10561. Object.assign(result, parameters, extraParam);
  10562. }
  10563. function getGetDeviceType(result, model) {
  10564. var deviceType = result.deviceType || 'phone';
  10565. {
  10566. var deviceTypeMaps = {
  10567. ipad: 'pad',
  10568. windows: 'pc',
  10569. mac: 'pc'
  10570. };
  10571. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  10572. var _model = model.toLocaleLowerCase();
  10573. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  10574. var _m = deviceTypeMapsKeys[index];
  10575. if (_model.indexOf(_m) !== -1) {
  10576. deviceType = deviceTypeMaps[_m];
  10577. break;
  10578. }
  10579. }
  10580. }
  10581. return deviceType;
  10582. }
  10583. function getDeviceBrand(brand) {
  10584. var deviceBrand = brand;
  10585. if (deviceBrand) {
  10586. deviceBrand = brand.toLocaleLowerCase();
  10587. }
  10588. return deviceBrand;
  10589. }
  10590. function getAppLanguage(defaultLanguage) {
  10591. return getLocale$1 ? getLocale$1() : defaultLanguage;
  10592. }
  10593. function getHostName(result) {
  10594. var _platform = 'WeChat';
  10595. var _hostName = result.hostName || _platform; // mp-jd
  10596. {
  10597. if (result.environment) {
  10598. _hostName = result.environment;
  10599. } else if (result.host && result.host.env) {
  10600. _hostName = result.host.env;
  10601. }
  10602. }
  10603. return _hostName;
  10604. }
  10605. var getSystemInfo = {
  10606. returnValue: function returnValue(result) {
  10607. useDeviceId(result);
  10608. addSafeAreaInsets(result);
  10609. populateParameters(result);
  10610. }
  10611. };
  10612. var showActionSheet = {
  10613. args: function args(fromArgs) {
  10614. if ((0, _typeof2.default)(fromArgs) === 'object') {
  10615. fromArgs.alertText = fromArgs.title;
  10616. }
  10617. }
  10618. };
  10619. var getAppBaseInfo = {
  10620. returnValue: function returnValue(result) {
  10621. var _result = result,
  10622. version = _result.version,
  10623. language = _result.language,
  10624. SDKVersion = _result.SDKVersion,
  10625. theme = _result.theme;
  10626. var _hostName = getHostName(result);
  10627. var hostLanguage = language.replace('_', '-');
  10628. result = sortObject(Object.assign(result, {
  10629. appId: "__UNI__EF90963",
  10630. appName: "kjds",
  10631. appVersion: "1.0.0",
  10632. appVersionCode: "100",
  10633. appLanguage: getAppLanguage(hostLanguage),
  10634. hostVersion: version,
  10635. hostLanguage: hostLanguage,
  10636. hostName: _hostName,
  10637. hostSDKVersion: SDKVersion,
  10638. hostTheme: theme
  10639. }));
  10640. }
  10641. };
  10642. var getDeviceInfo = {
  10643. returnValue: function returnValue(result) {
  10644. var _result2 = result,
  10645. brand = _result2.brand,
  10646. model = _result2.model;
  10647. var deviceType = getGetDeviceType(result, model);
  10648. var deviceBrand = getDeviceBrand(brand);
  10649. useDeviceId(result);
  10650. result = sortObject(Object.assign(result, {
  10651. deviceType: deviceType,
  10652. deviceBrand: deviceBrand,
  10653. deviceModel: model
  10654. }));
  10655. }
  10656. };
  10657. var getWindowInfo = {
  10658. returnValue: function returnValue(result) {
  10659. addSafeAreaInsets(result);
  10660. result = sortObject(Object.assign(result, {
  10661. windowTop: 0,
  10662. windowBottom: 0
  10663. }));
  10664. }
  10665. };
  10666. var getAppAuthorizeSetting = {
  10667. returnValue: function returnValue(result) {
  10668. var locationReducedAccuracy = result.locationReducedAccuracy;
  10669. result.locationAccuracy = 'unsupported';
  10670. if (locationReducedAccuracy === true) {
  10671. result.locationAccuracy = 'reduced';
  10672. } else if (locationReducedAccuracy === false) {
  10673. result.locationAccuracy = 'full';
  10674. }
  10675. }
  10676. };
  10677. // import navigateTo from 'uni-helpers/navigate-to'
  10678. var compressImage = {
  10679. args: function args(fromArgs) {
  10680. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  10681. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  10682. fromArgs.compressHeight = fromArgs.compressedHeight;
  10683. }
  10684. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  10685. fromArgs.compressWidth = fromArgs.compressedWidth;
  10686. }
  10687. }
  10688. };
  10689. var protocols = {
  10690. redirectTo: redirectTo,
  10691. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  10692. previewImage: previewImage,
  10693. getSystemInfo: getSystemInfo,
  10694. getSystemInfoSync: getSystemInfo,
  10695. showActionSheet: showActionSheet,
  10696. getAppBaseInfo: getAppBaseInfo,
  10697. getDeviceInfo: getDeviceInfo,
  10698. getWindowInfo: getWindowInfo,
  10699. getAppAuthorizeSetting: getAppAuthorizeSetting,
  10700. compressImage: compressImage
  10701. };
  10702. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  10703. var canIUses = [];
  10704. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  10705. function processCallback(methodName, method, returnValue) {
  10706. return function (res) {
  10707. return method(processReturnValue(methodName, res, returnValue));
  10708. };
  10709. }
  10710. function processArgs(methodName, fromArgs) {
  10711. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  10712. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  10713. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  10714. if (isPlainObject(fromArgs)) {
  10715. // 一般 api 的参数解析
  10716. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  10717. if (isFn(argsOption)) {
  10718. argsOption = argsOption(fromArgs, toArgs) || {};
  10719. }
  10720. for (var key in fromArgs) {
  10721. if (hasOwn(argsOption, key)) {
  10722. var keyOption = argsOption[key];
  10723. if (isFn(keyOption)) {
  10724. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  10725. }
  10726. if (!keyOption) {
  10727. // 不支持的参数
  10728. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  10729. } else if (isStr(keyOption)) {
  10730. // 重写参数 key
  10731. toArgs[keyOption] = fromArgs[key];
  10732. } else if (isPlainObject(keyOption)) {
  10733. // {name:newName,value:value}可重新指定参数 key:value
  10734. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  10735. }
  10736. } else if (CALLBACKS.indexOf(key) !== -1) {
  10737. if (isFn(fromArgs[key])) {
  10738. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  10739. }
  10740. } else {
  10741. if (!keepFromArgs) {
  10742. toArgs[key] = fromArgs[key];
  10743. }
  10744. }
  10745. }
  10746. return toArgs;
  10747. } else if (isFn(fromArgs)) {
  10748. fromArgs = processCallback(methodName, fromArgs, returnValue);
  10749. }
  10750. return fromArgs;
  10751. }
  10752. function processReturnValue(methodName, res, returnValue) {
  10753. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  10754. if (isFn(protocols.returnValue)) {
  10755. // 处理通用 returnValue
  10756. res = protocols.returnValue(methodName, res);
  10757. }
  10758. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  10759. }
  10760. function wrapper(methodName, method) {
  10761. if (hasOwn(protocols, methodName)) {
  10762. var protocol = protocols[methodName];
  10763. if (!protocol) {
  10764. // 暂不支持的 api
  10765. return function () {
  10766. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  10767. };
  10768. }
  10769. return function (arg1, arg2) {
  10770. // 目前 api 最多两个参数
  10771. var options = protocol;
  10772. if (isFn(protocol)) {
  10773. options = protocol(arg1);
  10774. }
  10775. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  10776. var args = [arg1];
  10777. if (typeof arg2 !== 'undefined') {
  10778. args.push(arg2);
  10779. }
  10780. if (isFn(options.name)) {
  10781. methodName = options.name(arg1);
  10782. } else if (isStr(options.name)) {
  10783. methodName = options.name;
  10784. }
  10785. var returnValue = wx[methodName].apply(wx, args);
  10786. if (isSyncApi(methodName)) {
  10787. // 同步 api
  10788. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  10789. }
  10790. return returnValue;
  10791. };
  10792. }
  10793. return method;
  10794. }
  10795. var todoApis = Object.create(null);
  10796. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  10797. function createTodoApi(name) {
  10798. return function todoApi(_ref) {
  10799. var fail = _ref.fail,
  10800. complete = _ref.complete;
  10801. var res = {
  10802. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  10803. };
  10804. isFn(fail) && fail(res);
  10805. isFn(complete) && complete(res);
  10806. };
  10807. }
  10808. TODOS.forEach(function (name) {
  10809. todoApis[name] = createTodoApi(name);
  10810. });
  10811. var providers = {
  10812. oauth: ['weixin'],
  10813. share: ['weixin'],
  10814. payment: ['wxpay'],
  10815. push: ['weixin']
  10816. };
  10817. function getProvider(_ref2) {
  10818. var service = _ref2.service,
  10819. success = _ref2.success,
  10820. fail = _ref2.fail,
  10821. complete = _ref2.complete;
  10822. var res = false;
  10823. if (providers[service]) {
  10824. res = {
  10825. errMsg: 'getProvider:ok',
  10826. service: service,
  10827. provider: providers[service]
  10828. };
  10829. isFn(success) && success(res);
  10830. } else {
  10831. res = {
  10832. errMsg: 'getProvider:fail service not found'
  10833. };
  10834. isFn(fail) && fail(res);
  10835. }
  10836. isFn(complete) && complete(res);
  10837. }
  10838. var extraApi = /*#__PURE__*/Object.freeze({
  10839. __proto__: null,
  10840. getProvider: getProvider
  10841. });
  10842. var getEmitter = function () {
  10843. var Emitter;
  10844. return function getUniEmitter() {
  10845. if (!Emitter) {
  10846. Emitter = new _vue.default();
  10847. }
  10848. return Emitter;
  10849. };
  10850. }();
  10851. function apply(ctx, method, args) {
  10852. return ctx[method].apply(ctx, args);
  10853. }
  10854. function $on() {
  10855. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  10856. }
  10857. function $off() {
  10858. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  10859. }
  10860. function $once() {
  10861. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  10862. }
  10863. function $emit() {
  10864. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  10865. }
  10866. var eventApi = /*#__PURE__*/Object.freeze({
  10867. __proto__: null,
  10868. $on: $on,
  10869. $off: $off,
  10870. $once: $once,
  10871. $emit: $emit
  10872. });
  10873. /**
  10874. * 框架内 try-catch
  10875. */
  10876. /**
  10877. * 开发者 try-catch
  10878. */
  10879. function tryCatch(fn) {
  10880. return function () {
  10881. try {
  10882. return fn.apply(fn, arguments);
  10883. } catch (e) {
  10884. // TODO
  10885. console.error(e);
  10886. }
  10887. };
  10888. }
  10889. function getApiCallbacks(params) {
  10890. var apiCallbacks = {};
  10891. for (var name in params) {
  10892. var param = params[name];
  10893. if (isFn(param)) {
  10894. apiCallbacks[name] = tryCatch(param);
  10895. delete params[name];
  10896. }
  10897. }
  10898. return apiCallbacks;
  10899. }
  10900. var cid;
  10901. var cidErrMsg;
  10902. var enabled;
  10903. function normalizePushMessage(message) {
  10904. try {
  10905. return JSON.parse(message);
  10906. } catch (e) {}
  10907. return message;
  10908. }
  10909. function invokePushCallback(args) {
  10910. if (args.type === 'enabled') {
  10911. enabled = true;
  10912. } else if (args.type === 'clientId') {
  10913. cid = args.cid;
  10914. cidErrMsg = args.errMsg;
  10915. invokeGetPushCidCallbacks(cid, args.errMsg);
  10916. } else if (args.type === 'pushMsg') {
  10917. var message = {
  10918. type: 'receive',
  10919. data: normalizePushMessage(args.message)
  10920. };
  10921. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  10922. var callback = onPushMessageCallbacks[i];
  10923. callback(message);
  10924. // 该消息已被阻止
  10925. if (message.stopped) {
  10926. break;
  10927. }
  10928. }
  10929. } else if (args.type === 'click') {
  10930. onPushMessageCallbacks.forEach(function (callback) {
  10931. callback({
  10932. type: 'click',
  10933. data: normalizePushMessage(args.message)
  10934. });
  10935. });
  10936. }
  10937. }
  10938. var getPushCidCallbacks = [];
  10939. function invokeGetPushCidCallbacks(cid, errMsg) {
  10940. getPushCidCallbacks.forEach(function (callback) {
  10941. callback(cid, errMsg);
  10942. });
  10943. getPushCidCallbacks.length = 0;
  10944. }
  10945. function getPushClientId(args) {
  10946. if (!isPlainObject(args)) {
  10947. args = {};
  10948. }
  10949. var _getApiCallbacks = getApiCallbacks(args),
  10950. success = _getApiCallbacks.success,
  10951. fail = _getApiCallbacks.fail,
  10952. complete = _getApiCallbacks.complete;
  10953. var hasSuccess = isFn(success);
  10954. var hasFail = isFn(fail);
  10955. var hasComplete = isFn(complete);
  10956. Promise.resolve().then(function () {
  10957. if (typeof enabled === 'undefined') {
  10958. enabled = false;
  10959. cid = '';
  10960. cidErrMsg = 'uniPush is not enabled';
  10961. }
  10962. getPushCidCallbacks.push(function (cid, errMsg) {
  10963. var res;
  10964. if (cid) {
  10965. res = {
  10966. errMsg: 'getPushClientId:ok',
  10967. cid: cid
  10968. };
  10969. hasSuccess && success(res);
  10970. } else {
  10971. res = {
  10972. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  10973. };
  10974. hasFail && fail(res);
  10975. }
  10976. hasComplete && complete(res);
  10977. });
  10978. if (typeof cid !== 'undefined') {
  10979. invokeGetPushCidCallbacks(cid, cidErrMsg);
  10980. }
  10981. });
  10982. }
  10983. var onPushMessageCallbacks = [];
  10984. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  10985. var onPushMessage = function onPushMessage(fn) {
  10986. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  10987. onPushMessageCallbacks.push(fn);
  10988. }
  10989. };
  10990. var offPushMessage = function offPushMessage(fn) {
  10991. if (!fn) {
  10992. onPushMessageCallbacks.length = 0;
  10993. } else {
  10994. var index = onPushMessageCallbacks.indexOf(fn);
  10995. if (index > -1) {
  10996. onPushMessageCallbacks.splice(index, 1);
  10997. }
  10998. }
  10999. };
  11000. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  11001. if (!baseInfo) {
  11002. baseInfo = wx.getSystemInfoSync();
  11003. }
  11004. var host = baseInfo ? baseInfo.host : null;
  11005. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  11006. var api = /*#__PURE__*/Object.freeze({
  11007. __proto__: null,
  11008. shareVideoMessage: shareVideoMessage,
  11009. getPushClientId: getPushClientId,
  11010. onPushMessage: onPushMessage,
  11011. offPushMessage: offPushMessage,
  11012. invokePushCallback: invokePushCallback
  11013. });
  11014. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  11015. function findVmByVueId(vm, vuePid) {
  11016. var $children = vm.$children;
  11017. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  11018. for (var i = $children.length - 1; i >= 0; i--) {
  11019. var childVm = $children[i];
  11020. if (childVm.$scope._$vueId === vuePid) {
  11021. return childVm;
  11022. }
  11023. }
  11024. // 反向递归查找
  11025. var parentVm;
  11026. for (var _i = $children.length - 1; _i >= 0; _i--) {
  11027. parentVm = findVmByVueId($children[_i], vuePid);
  11028. if (parentVm) {
  11029. return parentVm;
  11030. }
  11031. }
  11032. }
  11033. function initBehavior(options) {
  11034. return Behavior(options);
  11035. }
  11036. function isPage() {
  11037. return !!this.route;
  11038. }
  11039. function initRelation(detail) {
  11040. this.triggerEvent('__l', detail);
  11041. }
  11042. function selectAllComponents(mpInstance, selector, $refs) {
  11043. var components = mpInstance.selectAllComponents(selector) || [];
  11044. components.forEach(function (component) {
  11045. var ref = component.dataset.ref;
  11046. $refs[ref] = component.$vm || toSkip(component);
  11047. {
  11048. if (component.dataset.vueGeneric === 'scoped') {
  11049. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  11050. selectAllComponents(scopedComponent, selector, $refs);
  11051. });
  11052. }
  11053. }
  11054. });
  11055. }
  11056. function syncRefs(refs, newRefs) {
  11057. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  11058. var newKeys = Object.keys(newRefs);
  11059. newKeys.forEach(function (key) {
  11060. var oldValue = refs[key];
  11061. var newValue = newRefs[key];
  11062. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  11063. return oldValue.includes(value);
  11064. })) {
  11065. return;
  11066. }
  11067. refs[key] = newValue;
  11068. oldKeys.delete(key);
  11069. });
  11070. oldKeys.forEach(function (key) {
  11071. delete refs[key];
  11072. });
  11073. return refs;
  11074. }
  11075. function initRefs(vm) {
  11076. var mpInstance = vm.$scope;
  11077. var refs = {};
  11078. Object.defineProperty(vm, '$refs', {
  11079. get: function get() {
  11080. var $refs = {};
  11081. selectAllComponents(mpInstance, '.vue-ref', $refs);
  11082. // TODO 暂不考虑 for 中的 scoped
  11083. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  11084. forComponents.forEach(function (component) {
  11085. var ref = component.dataset.ref;
  11086. if (!$refs[ref]) {
  11087. $refs[ref] = [];
  11088. }
  11089. $refs[ref].push(component.$vm || toSkip(component));
  11090. });
  11091. return syncRefs(refs, $refs);
  11092. }
  11093. });
  11094. }
  11095. function handleLink(event) {
  11096. var _ref3 = event.detail || event.value,
  11097. vuePid = _ref3.vuePid,
  11098. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  11099. var parentVm;
  11100. if (vuePid) {
  11101. parentVm = findVmByVueId(this.$vm, vuePid);
  11102. }
  11103. if (!parentVm) {
  11104. parentVm = this.$vm;
  11105. }
  11106. vueOptions.parent = parentVm;
  11107. }
  11108. function markMPComponent(component) {
  11109. // 在 Vue 中标记为小程序组件
  11110. var IS_MP = '__v_isMPComponent';
  11111. Object.defineProperty(component, IS_MP, {
  11112. configurable: true,
  11113. enumerable: false,
  11114. value: true
  11115. });
  11116. return component;
  11117. }
  11118. function toSkip(obj) {
  11119. var OB = '__ob__';
  11120. var SKIP = '__v_skip';
  11121. if (isObject(obj) && Object.isExtensible(obj)) {
  11122. // 避免被 @vue/composition-api 观测
  11123. Object.defineProperty(obj, OB, {
  11124. configurable: true,
  11125. enumerable: false,
  11126. value: (0, _defineProperty2.default)({}, SKIP, true)
  11127. });
  11128. }
  11129. return obj;
  11130. }
  11131. var WORKLET_RE = /_(.*)_worklet_factory_/;
  11132. function initWorkletMethods(mpMethods, vueMethods) {
  11133. if (vueMethods) {
  11134. Object.keys(vueMethods).forEach(function (name) {
  11135. var matches = name.match(WORKLET_RE);
  11136. if (matches) {
  11137. var workletName = matches[1];
  11138. mpMethods[name] = vueMethods[name];
  11139. mpMethods[workletName] = vueMethods[workletName];
  11140. }
  11141. });
  11142. }
  11143. }
  11144. var MPPage = Page;
  11145. var MPComponent = Component;
  11146. var customizeRE = /:/g;
  11147. var customize = cached(function (str) {
  11148. return camelize(str.replace(customizeRE, '-'));
  11149. });
  11150. function initTriggerEvent(mpInstance) {
  11151. var oldTriggerEvent = mpInstance.triggerEvent;
  11152. var newTriggerEvent = function newTriggerEvent(event) {
  11153. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  11154. args[_key3 - 1] = arguments[_key3];
  11155. }
  11156. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  11157. if (this.$vm || this.dataset && this.dataset.comType) {
  11158. event = customize(event);
  11159. } else {
  11160. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  11161. var newEvent = customize(event);
  11162. if (newEvent !== event) {
  11163. oldTriggerEvent.apply(this, [newEvent].concat(args));
  11164. }
  11165. }
  11166. return oldTriggerEvent.apply(this, [event].concat(args));
  11167. };
  11168. try {
  11169. // 京东小程序 triggerEvent 为只读
  11170. mpInstance.triggerEvent = newTriggerEvent;
  11171. } catch (error) {
  11172. mpInstance._triggerEvent = newTriggerEvent;
  11173. }
  11174. }
  11175. function initHook(name, options, isComponent) {
  11176. var oldHook = options[name];
  11177. options[name] = function () {
  11178. markMPComponent(this);
  11179. initTriggerEvent(this);
  11180. if (oldHook) {
  11181. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  11182. args[_key4] = arguments[_key4];
  11183. }
  11184. return oldHook.apply(this, args);
  11185. }
  11186. };
  11187. }
  11188. if (!MPPage.__$wrappered) {
  11189. MPPage.__$wrappered = true;
  11190. Page = function Page() {
  11191. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  11192. initHook('onLoad', options);
  11193. return MPPage(options);
  11194. };
  11195. Page.after = MPPage.after;
  11196. Component = function Component() {
  11197. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  11198. initHook('created', options);
  11199. return MPComponent(options);
  11200. };
  11201. }
  11202. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  11203. function initMocks(vm, mocks) {
  11204. var mpInstance = vm.$mp[vm.mpType];
  11205. mocks.forEach(function (mock) {
  11206. if (hasOwn(mpInstance, mock)) {
  11207. vm[mock] = mpInstance[mock];
  11208. }
  11209. });
  11210. }
  11211. function hasHook(hook, vueOptions) {
  11212. if (!vueOptions) {
  11213. return true;
  11214. }
  11215. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  11216. return true;
  11217. }
  11218. vueOptions = vueOptions.default || vueOptions;
  11219. if (isFn(vueOptions)) {
  11220. if (isFn(vueOptions.extendOptions[hook])) {
  11221. return true;
  11222. }
  11223. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  11224. return true;
  11225. }
  11226. return false;
  11227. }
  11228. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  11229. return true;
  11230. }
  11231. var mixins = vueOptions.mixins;
  11232. if (Array.isArray(mixins)) {
  11233. return !!mixins.find(function (mixin) {
  11234. return hasHook(hook, mixin);
  11235. });
  11236. }
  11237. }
  11238. function initHooks(mpOptions, hooks, vueOptions) {
  11239. hooks.forEach(function (hook) {
  11240. if (hasHook(hook, vueOptions)) {
  11241. mpOptions[hook] = function (args) {
  11242. return this.$vm && this.$vm.__call_hook(hook, args);
  11243. };
  11244. }
  11245. });
  11246. }
  11247. function initUnknownHooks(mpOptions, vueOptions) {
  11248. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  11249. findHooks(vueOptions).forEach(function (hook) {
  11250. return initHook$1(mpOptions, hook, excludes);
  11251. });
  11252. }
  11253. function findHooks(vueOptions) {
  11254. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  11255. if (vueOptions) {
  11256. Object.keys(vueOptions).forEach(function (name) {
  11257. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  11258. hooks.push(name);
  11259. }
  11260. });
  11261. }
  11262. return hooks;
  11263. }
  11264. function initHook$1(mpOptions, hook, excludes) {
  11265. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  11266. mpOptions[hook] = function (args) {
  11267. return this.$vm && this.$vm.__call_hook(hook, args);
  11268. };
  11269. }
  11270. }
  11271. function initVueComponent(Vue, vueOptions) {
  11272. vueOptions = vueOptions.default || vueOptions;
  11273. var VueComponent;
  11274. if (isFn(vueOptions)) {
  11275. VueComponent = vueOptions;
  11276. } else {
  11277. VueComponent = Vue.extend(vueOptions);
  11278. }
  11279. vueOptions = VueComponent.options;
  11280. return [VueComponent, vueOptions];
  11281. }
  11282. function initSlots(vm, vueSlots) {
  11283. if (Array.isArray(vueSlots) && vueSlots.length) {
  11284. var $slots = Object.create(null);
  11285. vueSlots.forEach(function (slotName) {
  11286. $slots[slotName] = true;
  11287. });
  11288. vm.$scopedSlots = vm.$slots = $slots;
  11289. }
  11290. }
  11291. function initVueIds(vueIds, mpInstance) {
  11292. vueIds = (vueIds || '').split(',');
  11293. var len = vueIds.length;
  11294. if (len === 1) {
  11295. mpInstance._$vueId = vueIds[0];
  11296. } else if (len === 2) {
  11297. mpInstance._$vueId = vueIds[0];
  11298. mpInstance._$vuePid = vueIds[1];
  11299. }
  11300. }
  11301. function initData(vueOptions, context) {
  11302. var data = vueOptions.data || {};
  11303. var methods = vueOptions.methods || {};
  11304. if (typeof data === 'function') {
  11305. try {
  11306. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  11307. } catch (e) {
  11308. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  11309. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  11310. }
  11311. }
  11312. } else {
  11313. try {
  11314. // 对 data 格式化
  11315. data = JSON.parse(JSON.stringify(data));
  11316. } catch (e) {}
  11317. }
  11318. if (!isPlainObject(data)) {
  11319. data = {};
  11320. }
  11321. Object.keys(methods).forEach(function (methodName) {
  11322. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  11323. data[methodName] = methods[methodName];
  11324. }
  11325. });
  11326. return data;
  11327. }
  11328. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  11329. function createObserver(name) {
  11330. return function observer(newVal, oldVal) {
  11331. if (this.$vm) {
  11332. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  11333. }
  11334. };
  11335. }
  11336. function initBehaviors(vueOptions, initBehavior) {
  11337. var vueBehaviors = vueOptions.behaviors;
  11338. var vueExtends = vueOptions.extends;
  11339. var vueMixins = vueOptions.mixins;
  11340. var vueProps = vueOptions.props;
  11341. if (!vueProps) {
  11342. vueOptions.props = vueProps = [];
  11343. }
  11344. var behaviors = [];
  11345. if (Array.isArray(vueBehaviors)) {
  11346. vueBehaviors.forEach(function (behavior) {
  11347. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  11348. if (behavior === 'uni://form-field') {
  11349. if (Array.isArray(vueProps)) {
  11350. vueProps.push('name');
  11351. vueProps.push('value');
  11352. } else {
  11353. vueProps.name = {
  11354. type: String,
  11355. default: ''
  11356. };
  11357. vueProps.value = {
  11358. type: [String, Number, Boolean, Array, Object, Date],
  11359. default: ''
  11360. };
  11361. }
  11362. }
  11363. });
  11364. }
  11365. if (isPlainObject(vueExtends) && vueExtends.props) {
  11366. behaviors.push(initBehavior({
  11367. properties: initProperties(vueExtends.props, true)
  11368. }));
  11369. }
  11370. if (Array.isArray(vueMixins)) {
  11371. vueMixins.forEach(function (vueMixin) {
  11372. if (isPlainObject(vueMixin) && vueMixin.props) {
  11373. behaviors.push(initBehavior({
  11374. properties: initProperties(vueMixin.props, true)
  11375. }));
  11376. }
  11377. });
  11378. }
  11379. return behaviors;
  11380. }
  11381. function parsePropType(key, type, defaultValue, file) {
  11382. // [String]=>String
  11383. if (Array.isArray(type) && type.length === 1) {
  11384. return type[0];
  11385. }
  11386. return type;
  11387. }
  11388. function initProperties(props) {
  11389. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  11390. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  11391. var options = arguments.length > 3 ? arguments[3] : undefined;
  11392. var properties = {};
  11393. if (!isBehavior) {
  11394. properties.vueId = {
  11395. type: String,
  11396. value: ''
  11397. };
  11398. {
  11399. if (options.virtualHost) {
  11400. properties.virtualHostStyle = {
  11401. type: null,
  11402. value: ''
  11403. };
  11404. properties.virtualHostClass = {
  11405. type: null,
  11406. value: ''
  11407. };
  11408. }
  11409. }
  11410. // scopedSlotsCompiler auto
  11411. properties.scopedSlotsCompiler = {
  11412. type: String,
  11413. value: ''
  11414. };
  11415. properties.vueSlots = {
  11416. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  11417. type: null,
  11418. value: [],
  11419. observer: function observer(newVal, oldVal) {
  11420. var $slots = Object.create(null);
  11421. newVal.forEach(function (slotName) {
  11422. $slots[slotName] = true;
  11423. });
  11424. this.setData({
  11425. $slots: $slots
  11426. });
  11427. }
  11428. };
  11429. }
  11430. if (Array.isArray(props)) {
  11431. // ['title']
  11432. props.forEach(function (key) {
  11433. properties[key] = {
  11434. type: null,
  11435. observer: createObserver(key)
  11436. };
  11437. });
  11438. } else if (isPlainObject(props)) {
  11439. // {title:{type:String,default:''},content:String}
  11440. Object.keys(props).forEach(function (key) {
  11441. var opts = props[key];
  11442. if (isPlainObject(opts)) {
  11443. // title:{type:String,default:''}
  11444. var value = opts.default;
  11445. if (isFn(value)) {
  11446. value = value();
  11447. }
  11448. opts.type = parsePropType(key, opts.type);
  11449. properties[key] = {
  11450. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  11451. value: value,
  11452. observer: createObserver(key)
  11453. };
  11454. } else {
  11455. // content:String
  11456. var type = parsePropType(key, opts);
  11457. properties[key] = {
  11458. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  11459. observer: createObserver(key)
  11460. };
  11461. }
  11462. });
  11463. }
  11464. return properties;
  11465. }
  11466. function wrapper$1(event) {
  11467. // TODO 又得兼容 mpvue 的 mp 对象
  11468. try {
  11469. event.mp = JSON.parse(JSON.stringify(event));
  11470. } catch (e) {}
  11471. event.stopPropagation = noop;
  11472. event.preventDefault = noop;
  11473. event.target = event.target || {};
  11474. if (!hasOwn(event, 'detail')) {
  11475. event.detail = {};
  11476. }
  11477. if (hasOwn(event, 'markerId')) {
  11478. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  11479. event.detail.markerId = event.markerId;
  11480. }
  11481. if (isPlainObject(event.detail)) {
  11482. event.target = Object.assign({}, event.target, event.detail);
  11483. }
  11484. return event;
  11485. }
  11486. function getExtraValue(vm, dataPathsArray) {
  11487. var context = vm;
  11488. dataPathsArray.forEach(function (dataPathArray) {
  11489. var dataPath = dataPathArray[0];
  11490. var value = dataPathArray[2];
  11491. if (dataPath || typeof value !== 'undefined') {
  11492. // ['','',index,'disable']
  11493. var propPath = dataPathArray[1];
  11494. var valuePath = dataPathArray[3];
  11495. var vFor;
  11496. if (Number.isInteger(dataPath)) {
  11497. vFor = dataPath;
  11498. } else if (!dataPath) {
  11499. vFor = context;
  11500. } else if (typeof dataPath === 'string' && dataPath) {
  11501. if (dataPath.indexOf('#s#') === 0) {
  11502. vFor = dataPath.substr(3);
  11503. } else {
  11504. vFor = vm.__get_value(dataPath, context);
  11505. }
  11506. }
  11507. if (Number.isInteger(vFor)) {
  11508. context = value;
  11509. } else if (!propPath) {
  11510. context = vFor[value];
  11511. } else {
  11512. if (Array.isArray(vFor)) {
  11513. context = vFor.find(function (vForItem) {
  11514. return vm.__get_value(propPath, vForItem) === value;
  11515. });
  11516. } else if (isPlainObject(vFor)) {
  11517. context = Object.keys(vFor).find(function (vForKey) {
  11518. return vm.__get_value(propPath, vFor[vForKey]) === value;
  11519. });
  11520. } else {
  11521. console.error('v-for 暂不支持循环数据:', vFor);
  11522. }
  11523. }
  11524. if (valuePath) {
  11525. context = vm.__get_value(valuePath, context);
  11526. }
  11527. }
  11528. });
  11529. return context;
  11530. }
  11531. function processEventExtra(vm, extra, event, __args__) {
  11532. var extraObj = {};
  11533. if (Array.isArray(extra) && extra.length) {
  11534. /**
  11535. *[
  11536. * ['data.items', 'data.id', item.data.id],
  11537. * ['metas', 'id', meta.id]
  11538. *],
  11539. *[
  11540. * ['data.items', 'data.id', item.data.id],
  11541. * ['metas', 'id', meta.id]
  11542. *],
  11543. *'test'
  11544. */
  11545. extra.forEach(function (dataPath, index) {
  11546. if (typeof dataPath === 'string') {
  11547. if (!dataPath) {
  11548. // model,prop.sync
  11549. extraObj['$' + index] = vm;
  11550. } else {
  11551. if (dataPath === '$event') {
  11552. // $event
  11553. extraObj['$' + index] = event;
  11554. } else if (dataPath === 'arguments') {
  11555. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  11556. } else if (dataPath.indexOf('$event.') === 0) {
  11557. // $event.target.value
  11558. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  11559. } else {
  11560. extraObj['$' + index] = vm.__get_value(dataPath);
  11561. }
  11562. }
  11563. } else {
  11564. extraObj['$' + index] = getExtraValue(vm, dataPath);
  11565. }
  11566. });
  11567. }
  11568. return extraObj;
  11569. }
  11570. function getObjByArray(arr) {
  11571. var obj = {};
  11572. for (var i = 1; i < arr.length; i++) {
  11573. var element = arr[i];
  11574. obj[element[0]] = element[1];
  11575. }
  11576. return obj;
  11577. }
  11578. function processEventArgs(vm, event) {
  11579. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  11580. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  11581. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  11582. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  11583. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  11584. // fixed 用户直接触发 mpInstance.triggerEvent
  11585. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  11586. if (isCustom) {
  11587. // 自定义事件
  11588. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  11589. if (!args.length) {
  11590. // 无参数,直接传入 event 或 detail 数组
  11591. if (isCustomMPEvent) {
  11592. return [event];
  11593. }
  11594. return __args__;
  11595. }
  11596. }
  11597. var extraObj = processEventExtra(vm, extra, event, __args__);
  11598. var ret = [];
  11599. args.forEach(function (arg) {
  11600. if (arg === '$event') {
  11601. if (methodName === '__set_model' && !isCustom) {
  11602. // input v-model value
  11603. ret.push(event.target.value);
  11604. } else {
  11605. if (isCustom && !isCustomMPEvent) {
  11606. ret.push(__args__[0]);
  11607. } else {
  11608. // wxcomponent 组件或内置组件
  11609. ret.push(event);
  11610. }
  11611. }
  11612. } else {
  11613. if (Array.isArray(arg) && arg[0] === 'o') {
  11614. ret.push(getObjByArray(arg));
  11615. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  11616. ret.push(extraObj[arg]);
  11617. } else {
  11618. ret.push(arg);
  11619. }
  11620. }
  11621. });
  11622. return ret;
  11623. }
  11624. var ONCE = '~';
  11625. var CUSTOM = '^';
  11626. function isMatchEventType(eventType, optType) {
  11627. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  11628. }
  11629. function getContextVm(vm) {
  11630. var $parent = vm.$parent;
  11631. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  11632. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  11633. $parent = $parent.$parent;
  11634. }
  11635. return $parent && $parent.$parent;
  11636. }
  11637. function handleEvent(event) {
  11638. var _this2 = this;
  11639. event = wrapper$1(event);
  11640. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  11641. var dataset = (event.currentTarget || event.target).dataset;
  11642. if (!dataset) {
  11643. return console.warn('事件信息不存在');
  11644. }
  11645. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  11646. if (!eventOpts) {
  11647. return console.warn('事件信息不存在');
  11648. }
  11649. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  11650. var eventType = event.type;
  11651. var ret = [];
  11652. eventOpts.forEach(function (eventOpt) {
  11653. var type = eventOpt[0];
  11654. var eventsArray = eventOpt[1];
  11655. var isCustom = type.charAt(0) === CUSTOM;
  11656. type = isCustom ? type.slice(1) : type;
  11657. var isOnce = type.charAt(0) === ONCE;
  11658. type = isOnce ? type.slice(1) : type;
  11659. if (eventsArray && isMatchEventType(eventType, type)) {
  11660. eventsArray.forEach(function (eventArray) {
  11661. var methodName = eventArray[0];
  11662. if (methodName) {
  11663. var handlerCtx = _this2.$vm;
  11664. if (handlerCtx.$options.generic) {
  11665. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  11666. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  11667. }
  11668. if (methodName === '$emit') {
  11669. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  11670. return;
  11671. }
  11672. var handler = handlerCtx[methodName];
  11673. if (!isFn(handler)) {
  11674. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  11675. var path = _this2.route || _this2.is;
  11676. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  11677. }
  11678. if (isOnce) {
  11679. if (handler.once) {
  11680. return;
  11681. }
  11682. handler.once = true;
  11683. }
  11684. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  11685. params = Array.isArray(params) ? params : [];
  11686. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  11687. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  11688. // eslint-disable-next-line no-sparse-arrays
  11689. params = params.concat([,,,,,,,,,, event]);
  11690. }
  11691. ret.push(handler.apply(handlerCtx, params));
  11692. }
  11693. });
  11694. }
  11695. });
  11696. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  11697. return ret[0];
  11698. }
  11699. }
  11700. var eventChannels = {};
  11701. function getEventChannel(id) {
  11702. var eventChannel = eventChannels[id];
  11703. delete eventChannels[id];
  11704. return eventChannel;
  11705. }
  11706. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  11707. function initEventChannel() {
  11708. _vue.default.prototype.getOpenerEventChannel = function () {
  11709. // 微信小程序使用自身getOpenerEventChannel
  11710. {
  11711. return this.$scope.getOpenerEventChannel();
  11712. }
  11713. };
  11714. var callHook = _vue.default.prototype.__call_hook;
  11715. _vue.default.prototype.__call_hook = function (hook, args) {
  11716. if (hook === 'onLoad' && args && args.__id__) {
  11717. this.__eventChannel__ = getEventChannel(args.__id__);
  11718. delete args.__id__;
  11719. }
  11720. return callHook.call(this, hook, args);
  11721. };
  11722. }
  11723. function initScopedSlotsParams() {
  11724. var center = {};
  11725. var parents = {};
  11726. function currentId(fn) {
  11727. var vueIds = this.$options.propsData.vueId;
  11728. if (vueIds) {
  11729. var vueId = vueIds.split(',')[0];
  11730. fn(vueId);
  11731. }
  11732. }
  11733. _vue.default.prototype.$hasSSP = function (vueId) {
  11734. var slot = center[vueId];
  11735. if (!slot) {
  11736. parents[vueId] = this;
  11737. this.$on('hook:destroyed', function () {
  11738. delete parents[vueId];
  11739. });
  11740. }
  11741. return slot;
  11742. };
  11743. _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
  11744. var slot = center[vueId];
  11745. if (slot) {
  11746. var params = slot[name] || [];
  11747. if (needAll) {
  11748. return params;
  11749. }
  11750. return params[0];
  11751. }
  11752. };
  11753. _vue.default.prototype.$setSSP = function (name, value) {
  11754. var index = 0;
  11755. currentId.call(this, function (vueId) {
  11756. var slot = center[vueId];
  11757. var params = slot[name] = slot[name] || [];
  11758. params.push(value);
  11759. index = params.length - 1;
  11760. });
  11761. return index;
  11762. };
  11763. _vue.default.prototype.$initSSP = function () {
  11764. currentId.call(this, function (vueId) {
  11765. center[vueId] = {};
  11766. });
  11767. };
  11768. _vue.default.prototype.$callSSP = function () {
  11769. currentId.call(this, function (vueId) {
  11770. if (parents[vueId]) {
  11771. parents[vueId].$forceUpdate();
  11772. }
  11773. });
  11774. };
  11775. _vue.default.mixin({
  11776. destroyed: function destroyed() {
  11777. var propsData = this.$options.propsData;
  11778. var vueId = propsData && propsData.vueId;
  11779. if (vueId) {
  11780. delete center[vueId];
  11781. delete parents[vueId];
  11782. }
  11783. }
  11784. });
  11785. }
  11786. function parseBaseApp(vm, _ref4) {
  11787. var mocks = _ref4.mocks,
  11788. initRefs = _ref4.initRefs;
  11789. initEventChannel();
  11790. {
  11791. initScopedSlotsParams();
  11792. }
  11793. if (vm.$options.store) {
  11794. _vue.default.prototype.$store = vm.$options.store;
  11795. }
  11796. uniIdMixin(_vue.default);
  11797. _vue.default.prototype.mpHost = "mp-weixin";
  11798. _vue.default.mixin({
  11799. beforeCreate: function beforeCreate() {
  11800. if (!this.$options.mpType) {
  11801. return;
  11802. }
  11803. this.mpType = this.$options.mpType;
  11804. this.$mp = (0, _defineProperty2.default)({
  11805. data: {}
  11806. }, this.mpType, this.$options.mpInstance);
  11807. this.$scope = this.$options.mpInstance;
  11808. delete this.$options.mpType;
  11809. delete this.$options.mpInstance;
  11810. if (this.mpType === 'page' && typeof getApp === 'function') {
  11811. // hack vue-i18n
  11812. var app = getApp();
  11813. if (app.$vm && app.$vm.$i18n) {
  11814. this._i18n = app.$vm.$i18n;
  11815. }
  11816. }
  11817. if (this.mpType !== 'app') {
  11818. initRefs(this);
  11819. initMocks(this, mocks);
  11820. }
  11821. }
  11822. });
  11823. var appOptions = {
  11824. onLaunch: function onLaunch(args) {
  11825. if (this.$vm) {
  11826. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  11827. return;
  11828. }
  11829. {
  11830. if (wx.canIUse && !wx.canIUse('nextTick')) {
  11831. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  11832. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  11833. }
  11834. }
  11835. this.$vm = vm;
  11836. this.$vm.$mp = {
  11837. app: this
  11838. };
  11839. this.$vm.$scope = this;
  11840. // vm 上也挂载 globalData
  11841. this.$vm.globalData = this.globalData;
  11842. this.$vm._isMounted = true;
  11843. this.$vm.__call_hook('mounted', args);
  11844. this.$vm.__call_hook('onLaunch', args);
  11845. }
  11846. };
  11847. // 兼容旧版本 globalData
  11848. appOptions.globalData = vm.$options.globalData || {};
  11849. // 将 methods 中的方法挂在 getApp() 中
  11850. var methods = vm.$options.methods;
  11851. if (methods) {
  11852. Object.keys(methods).forEach(function (name) {
  11853. appOptions[name] = methods[name];
  11854. });
  11855. }
  11856. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  11857. initHooks(appOptions, hooks);
  11858. initUnknownHooks(appOptions, vm.$options);
  11859. return appOptions;
  11860. }
  11861. function parseApp(vm) {
  11862. return parseBaseApp(vm, {
  11863. mocks: mocks,
  11864. initRefs: initRefs
  11865. });
  11866. }
  11867. function createApp(vm) {
  11868. App(parseApp(vm));
  11869. return vm;
  11870. }
  11871. var encodeReserveRE = /[!'()*]/g;
  11872. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  11873. return '%' + c.charCodeAt(0).toString(16);
  11874. };
  11875. var commaRE = /%2C/g;
  11876. // fixed encodeURIComponent which is more conformant to RFC3986:
  11877. // - escapes [!'()*]
  11878. // - preserve commas
  11879. var encode = function encode(str) {
  11880. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  11881. };
  11882. function stringifyQuery(obj) {
  11883. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  11884. var res = obj ? Object.keys(obj).map(function (key) {
  11885. var val = obj[key];
  11886. if (val === undefined) {
  11887. return '';
  11888. }
  11889. if (val === null) {
  11890. return encodeStr(key);
  11891. }
  11892. if (Array.isArray(val)) {
  11893. var result = [];
  11894. val.forEach(function (val2) {
  11895. if (val2 === undefined) {
  11896. return;
  11897. }
  11898. if (val2 === null) {
  11899. result.push(encodeStr(key));
  11900. } else {
  11901. result.push(encodeStr(key) + '=' + encodeStr(val2));
  11902. }
  11903. });
  11904. return result.join('&');
  11905. }
  11906. return encodeStr(key) + '=' + encodeStr(val);
  11907. }).filter(function (x) {
  11908. return x.length > 0;
  11909. }).join('&') : null;
  11910. return res ? "?".concat(res) : '';
  11911. }
  11912. function parseBaseComponent(vueComponentOptions) {
  11913. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  11914. isPage = _ref5.isPage,
  11915. initRelation = _ref5.initRelation;
  11916. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  11917. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  11918. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  11919. VueComponent = _initVueComponent2[0],
  11920. vueOptions = _initVueComponent2[1];
  11921. var options = _objectSpread({
  11922. multipleSlots: true,
  11923. // styleIsolation: 'apply-shared',
  11924. addGlobalClass: true
  11925. }, vueOptions.options || {});
  11926. {
  11927. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  11928. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  11929. Object.assign(options, vueOptions['mp-weixin'].options);
  11930. }
  11931. }
  11932. var componentOptions = {
  11933. options: options,
  11934. data: initData(vueOptions, _vue.default.prototype),
  11935. behaviors: initBehaviors(vueOptions, initBehavior),
  11936. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  11937. lifetimes: {
  11938. attached: function attached() {
  11939. var properties = this.properties;
  11940. var options = {
  11941. mpType: isPage.call(this) ? 'page' : 'component',
  11942. mpInstance: this,
  11943. propsData: properties
  11944. };
  11945. initVueIds(properties.vueId, this);
  11946. // 处理父子关系
  11947. initRelation.call(this, {
  11948. vuePid: this._$vuePid,
  11949. vueOptions: options
  11950. });
  11951. // 初始化 vue 实例
  11952. this.$vm = new VueComponent(options);
  11953. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  11954. initSlots(this.$vm, properties.vueSlots);
  11955. // 触发首次 setData
  11956. this.$vm.$mount();
  11957. },
  11958. ready: function ready() {
  11959. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  11960. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  11961. if (this.$vm) {
  11962. this.$vm._isMounted = true;
  11963. this.$vm.__call_hook('mounted');
  11964. this.$vm.__call_hook('onReady');
  11965. }
  11966. },
  11967. detached: function detached() {
  11968. this.$vm && this.$vm.$destroy();
  11969. }
  11970. },
  11971. pageLifetimes: {
  11972. show: function show(args) {
  11973. this.$vm && this.$vm.__call_hook('onPageShow', args);
  11974. },
  11975. hide: function hide() {
  11976. this.$vm && this.$vm.__call_hook('onPageHide');
  11977. },
  11978. resize: function resize(size) {
  11979. this.$vm && this.$vm.__call_hook('onPageResize', size);
  11980. }
  11981. },
  11982. methods: {
  11983. __l: handleLink,
  11984. __e: handleEvent
  11985. }
  11986. };
  11987. // externalClasses
  11988. if (vueOptions.externalClasses) {
  11989. componentOptions.externalClasses = vueOptions.externalClasses;
  11990. }
  11991. if (Array.isArray(vueOptions.wxsCallMethods)) {
  11992. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  11993. componentOptions.methods[callMethod] = function (args) {
  11994. return this.$vm[callMethod](args);
  11995. };
  11996. });
  11997. }
  11998. if (needVueOptions) {
  11999. return [componentOptions, vueOptions, VueComponent];
  12000. }
  12001. if (isPage) {
  12002. return componentOptions;
  12003. }
  12004. return [componentOptions, VueComponent];
  12005. }
  12006. function parseComponent(vueComponentOptions, needVueOptions) {
  12007. return parseBaseComponent(vueComponentOptions, {
  12008. isPage: isPage,
  12009. initRelation: initRelation
  12010. }, needVueOptions);
  12011. }
  12012. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  12013. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  12014. function parseBasePage(vuePageOptions) {
  12015. var _parseComponent = parseComponent(vuePageOptions, true),
  12016. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  12017. pageOptions = _parseComponent2[0],
  12018. vueOptions = _parseComponent2[1];
  12019. initHooks(pageOptions.methods, hooks$1, vueOptions);
  12020. pageOptions.methods.onLoad = function (query) {
  12021. this.options = query;
  12022. var copyQuery = Object.assign({}, query);
  12023. delete copyQuery.__id__;
  12024. this.$page = {
  12025. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  12026. };
  12027. this.$vm.$mp.query = query; // 兼容 mpvue
  12028. this.$vm.__call_hook('onLoad', query);
  12029. };
  12030. {
  12031. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  12032. }
  12033. {
  12034. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  12035. }
  12036. return pageOptions;
  12037. }
  12038. function parsePage(vuePageOptions) {
  12039. return parseBasePage(vuePageOptions);
  12040. }
  12041. function createPage(vuePageOptions) {
  12042. {
  12043. return Component(parsePage(vuePageOptions));
  12044. }
  12045. }
  12046. function createComponent(vueOptions) {
  12047. {
  12048. return Component(parseComponent(vueOptions));
  12049. }
  12050. }
  12051. function createSubpackageApp(vm) {
  12052. var appOptions = parseApp(vm);
  12053. var app = getApp({
  12054. allowDefault: true
  12055. });
  12056. vm.$scope = app;
  12057. var globalData = app.globalData;
  12058. if (globalData) {
  12059. Object.keys(appOptions.globalData).forEach(function (name) {
  12060. if (!hasOwn(globalData, name)) {
  12061. globalData[name] = appOptions.globalData[name];
  12062. }
  12063. });
  12064. }
  12065. Object.keys(appOptions).forEach(function (name) {
  12066. if (!hasOwn(app, name)) {
  12067. app[name] = appOptions[name];
  12068. }
  12069. });
  12070. if (isFn(appOptions.onShow) && wx.onAppShow) {
  12071. wx.onAppShow(function () {
  12072. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  12073. args[_key5] = arguments[_key5];
  12074. }
  12075. vm.__call_hook('onShow', args);
  12076. });
  12077. }
  12078. if (isFn(appOptions.onHide) && wx.onAppHide) {
  12079. wx.onAppHide(function () {
  12080. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  12081. args[_key6] = arguments[_key6];
  12082. }
  12083. vm.__call_hook('onHide', args);
  12084. });
  12085. }
  12086. if (isFn(appOptions.onLaunch)) {
  12087. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  12088. vm.__call_hook('onLaunch', args);
  12089. }
  12090. return vm;
  12091. }
  12092. function createPlugin(vm) {
  12093. var appOptions = parseApp(vm);
  12094. if (isFn(appOptions.onShow) && wx.onAppShow) {
  12095. wx.onAppShow(function () {
  12096. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  12097. args[_key7] = arguments[_key7];
  12098. }
  12099. vm.__call_hook('onShow', args);
  12100. });
  12101. }
  12102. if (isFn(appOptions.onHide) && wx.onAppHide) {
  12103. wx.onAppHide(function () {
  12104. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  12105. args[_key8] = arguments[_key8];
  12106. }
  12107. vm.__call_hook('onHide', args);
  12108. });
  12109. }
  12110. if (isFn(appOptions.onLaunch)) {
  12111. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  12112. vm.__call_hook('onLaunch', args);
  12113. }
  12114. return vm;
  12115. }
  12116. todos.forEach(function (todoApi) {
  12117. protocols[todoApi] = false;
  12118. });
  12119. canIUses.forEach(function (canIUseApi) {
  12120. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  12121. if (!wx.canIUse(apiName)) {
  12122. protocols[canIUseApi] = false;
  12123. }
  12124. });
  12125. var uni = {};
  12126. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  12127. uni = new Proxy({}, {
  12128. get: function get(target, name) {
  12129. if (hasOwn(target, name)) {
  12130. return target[name];
  12131. }
  12132. if (baseApi[name]) {
  12133. return baseApi[name];
  12134. }
  12135. if (api[name]) {
  12136. return promisify(name, api[name]);
  12137. }
  12138. {
  12139. if (extraApi[name]) {
  12140. return promisify(name, extraApi[name]);
  12141. }
  12142. if (todoApis[name]) {
  12143. return promisify(name, todoApis[name]);
  12144. }
  12145. }
  12146. if (eventApi[name]) {
  12147. return eventApi[name];
  12148. }
  12149. return promisify(name, wrapper(name, wx[name]));
  12150. },
  12151. set: function set(target, name, value) {
  12152. target[name] = value;
  12153. return true;
  12154. }
  12155. });
  12156. } else {
  12157. Object.keys(baseApi).forEach(function (name) {
  12158. uni[name] = baseApi[name];
  12159. });
  12160. {
  12161. Object.keys(todoApis).forEach(function (name) {
  12162. uni[name] = promisify(name, todoApis[name]);
  12163. });
  12164. Object.keys(extraApi).forEach(function (name) {
  12165. uni[name] = promisify(name, extraApi[name]);
  12166. });
  12167. }
  12168. Object.keys(eventApi).forEach(function (name) {
  12169. uni[name] = eventApi[name];
  12170. });
  12171. Object.keys(api).forEach(function (name) {
  12172. uni[name] = promisify(name, api[name]);
  12173. });
  12174. Object.keys(wx).forEach(function (name) {
  12175. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  12176. uni[name] = promisify(name, wrapper(name, wx[name]));
  12177. }
  12178. });
  12179. }
  12180. wx.createApp = createApp;
  12181. wx.createPage = createPage;
  12182. wx.createComponent = createComponent;
  12183. wx.createSubpackageApp = createSubpackageApp;
  12184. wx.createPlugin = createPlugin;
  12185. var uni$1 = uni;
  12186. var _default = uni$1;
  12187. exports.default = _default;
  12188. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  12189. /***/ }),
  12190. /***/ 20:
  12191. /*!****************************************************************!*\
  12192. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  12193. \****************************************************************/
  12194. /*! no static exports found */
  12195. /***/ (function(module, exports) {
  12196. function _iterableToArray(iter) {
  12197. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  12198. }
  12199. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12200. /***/ }),
  12201. /***/ 21:
  12202. /*!******************************************************************!*\
  12203. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  12204. \******************************************************************/
  12205. /*! no static exports found */
  12206. /***/ (function(module, exports) {
  12207. function _nonIterableSpread() {
  12208. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  12209. }
  12210. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12211. /***/ }),
  12212. /***/ 211:
  12213. /*!************************************************************!*\
  12214. !*** D:/project/crossBorder/wx-qhb/network/api/homeApi.js ***!
  12215. \************************************************************/
  12216. /*! no static exports found */
  12217. /***/ (function(module, exports, __webpack_require__) {
  12218. "use strict";
  12219. Object.defineProperty(exports, "__esModule", {
  12220. value: true
  12221. });
  12222. exports.login = login;
  12223. var _http = __webpack_require__(/*! ../http.js */ 169);
  12224. function login(data) {
  12225. return (0, _http.request)({
  12226. url: "/login",
  12227. method: "post",
  12228. data: data
  12229. });
  12230. }
  12231. /***/ }),
  12232. /***/ 22:
  12233. /*!*************************************************************!*\
  12234. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  12235. \*************************************************************/
  12236. /*! no static exports found */
  12237. /***/ (function(module, exports, __webpack_require__) {
  12238. "use strict";
  12239. /* WEBPACK VAR INJECTION */(function(uni, global) {
  12240. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12241. Object.defineProperty(exports, "__esModule", {
  12242. value: true
  12243. });
  12244. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  12245. exports.compileI18nJsonStr = compileI18nJsonStr;
  12246. exports.hasI18nJson = hasI18nJson;
  12247. exports.initVueI18n = initVueI18n;
  12248. exports.isI18nStr = isI18nStr;
  12249. exports.isString = void 0;
  12250. exports.normalizeLocale = normalizeLocale;
  12251. exports.parseI18nJson = parseI18nJson;
  12252. exports.resolveLocale = resolveLocale;
  12253. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  12254. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  12255. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  12256. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  12257. var isObject = function isObject(val) {
  12258. return val !== null && (0, _typeof2.default)(val) === 'object';
  12259. };
  12260. var defaultDelimiters = ['{', '}'];
  12261. var BaseFormatter = /*#__PURE__*/function () {
  12262. function BaseFormatter() {
  12263. (0, _classCallCheck2.default)(this, BaseFormatter);
  12264. this._caches = Object.create(null);
  12265. }
  12266. (0, _createClass2.default)(BaseFormatter, [{
  12267. key: "interpolate",
  12268. value: function interpolate(message, values) {
  12269. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  12270. if (!values) {
  12271. return [message];
  12272. }
  12273. var tokens = this._caches[message];
  12274. if (!tokens) {
  12275. tokens = parse(message, delimiters);
  12276. this._caches[message] = tokens;
  12277. }
  12278. return compile(tokens, values);
  12279. }
  12280. }]);
  12281. return BaseFormatter;
  12282. }();
  12283. exports.Formatter = BaseFormatter;
  12284. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  12285. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  12286. function parse(format, _ref) {
  12287. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  12288. startDelimiter = _ref2[0],
  12289. endDelimiter = _ref2[1];
  12290. var tokens = [];
  12291. var position = 0;
  12292. var text = '';
  12293. while (position < format.length) {
  12294. var char = format[position++];
  12295. if (char === startDelimiter) {
  12296. if (text) {
  12297. tokens.push({
  12298. type: 'text',
  12299. value: text
  12300. });
  12301. }
  12302. text = '';
  12303. var sub = '';
  12304. char = format[position++];
  12305. while (char !== undefined && char !== endDelimiter) {
  12306. sub += char;
  12307. char = format[position++];
  12308. }
  12309. var isClosed = char === endDelimiter;
  12310. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  12311. tokens.push({
  12312. value: sub,
  12313. type: type
  12314. });
  12315. }
  12316. // else if (char === '%') {
  12317. // // when found rails i18n syntax, skip text capture
  12318. // if (format[position] !== '{') {
  12319. // text += char
  12320. // }
  12321. // }
  12322. else {
  12323. text += char;
  12324. }
  12325. }
  12326. text && tokens.push({
  12327. type: 'text',
  12328. value: text
  12329. });
  12330. return tokens;
  12331. }
  12332. function compile(tokens, values) {
  12333. var compiled = [];
  12334. var index = 0;
  12335. var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  12336. if (mode === 'unknown') {
  12337. return compiled;
  12338. }
  12339. while (index < tokens.length) {
  12340. var token = tokens[index];
  12341. switch (token.type) {
  12342. case 'text':
  12343. compiled.push(token.value);
  12344. break;
  12345. case 'list':
  12346. compiled.push(values[parseInt(token.value, 10)]);
  12347. break;
  12348. case 'named':
  12349. if (mode === 'named') {
  12350. compiled.push(values[token.value]);
  12351. } else {
  12352. if (true) {
  12353. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  12354. }
  12355. }
  12356. break;
  12357. case 'unknown':
  12358. if (true) {
  12359. console.warn("Detect 'unknown' type of token!");
  12360. }
  12361. break;
  12362. }
  12363. index++;
  12364. }
  12365. return compiled;
  12366. }
  12367. var LOCALE_ZH_HANS = 'zh-Hans';
  12368. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  12369. var LOCALE_ZH_HANT = 'zh-Hant';
  12370. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  12371. var LOCALE_EN = 'en';
  12372. exports.LOCALE_EN = LOCALE_EN;
  12373. var LOCALE_FR = 'fr';
  12374. exports.LOCALE_FR = LOCALE_FR;
  12375. var LOCALE_ES = 'es';
  12376. exports.LOCALE_ES = LOCALE_ES;
  12377. var hasOwnProperty = Object.prototype.hasOwnProperty;
  12378. var hasOwn = function hasOwn(val, key) {
  12379. return hasOwnProperty.call(val, key);
  12380. };
  12381. var defaultFormatter = new BaseFormatter();
  12382. function include(str, parts) {
  12383. return !!parts.find(function (part) {
  12384. return str.indexOf(part) !== -1;
  12385. });
  12386. }
  12387. function startsWith(str, parts) {
  12388. return parts.find(function (part) {
  12389. return str.indexOf(part) === 0;
  12390. });
  12391. }
  12392. function normalizeLocale(locale, messages) {
  12393. if (!locale) {
  12394. return;
  12395. }
  12396. locale = locale.trim().replace(/_/g, '-');
  12397. if (messages && messages[locale]) {
  12398. return locale;
  12399. }
  12400. locale = locale.toLowerCase();
  12401. if (locale === 'chinese') {
  12402. // 支付宝
  12403. return LOCALE_ZH_HANS;
  12404. }
  12405. if (locale.indexOf('zh') === 0) {
  12406. if (locale.indexOf('-hans') > -1) {
  12407. return LOCALE_ZH_HANS;
  12408. }
  12409. if (locale.indexOf('-hant') > -1) {
  12410. return LOCALE_ZH_HANT;
  12411. }
  12412. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  12413. return LOCALE_ZH_HANT;
  12414. }
  12415. return LOCALE_ZH_HANS;
  12416. }
  12417. var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
  12418. if (messages && Object.keys(messages).length > 0) {
  12419. locales = Object.keys(messages);
  12420. }
  12421. var lang = startsWith(locale, locales);
  12422. if (lang) {
  12423. return lang;
  12424. }
  12425. }
  12426. var I18n = /*#__PURE__*/function () {
  12427. function I18n(_ref3) {
  12428. var locale = _ref3.locale,
  12429. fallbackLocale = _ref3.fallbackLocale,
  12430. messages = _ref3.messages,
  12431. watcher = _ref3.watcher,
  12432. formater = _ref3.formater;
  12433. (0, _classCallCheck2.default)(this, I18n);
  12434. this.locale = LOCALE_EN;
  12435. this.fallbackLocale = LOCALE_EN;
  12436. this.message = {};
  12437. this.messages = {};
  12438. this.watchers = [];
  12439. if (fallbackLocale) {
  12440. this.fallbackLocale = fallbackLocale;
  12441. }
  12442. this.formater = formater || defaultFormatter;
  12443. this.messages = messages || {};
  12444. this.setLocale(locale || LOCALE_EN);
  12445. if (watcher) {
  12446. this.watchLocale(watcher);
  12447. }
  12448. }
  12449. (0, _createClass2.default)(I18n, [{
  12450. key: "setLocale",
  12451. value: function setLocale(locale) {
  12452. var _this = this;
  12453. var oldLocale = this.locale;
  12454. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  12455. if (!this.messages[this.locale]) {
  12456. // 可能初始化时不存在
  12457. this.messages[this.locale] = {};
  12458. }
  12459. this.message = this.messages[this.locale];
  12460. // 仅发生变化时,通知
  12461. if (oldLocale !== this.locale) {
  12462. this.watchers.forEach(function (watcher) {
  12463. watcher(_this.locale, oldLocale);
  12464. });
  12465. }
  12466. }
  12467. }, {
  12468. key: "getLocale",
  12469. value: function getLocale() {
  12470. return this.locale;
  12471. }
  12472. }, {
  12473. key: "watchLocale",
  12474. value: function watchLocale(fn) {
  12475. var _this2 = this;
  12476. var index = this.watchers.push(fn) - 1;
  12477. return function () {
  12478. _this2.watchers.splice(index, 1);
  12479. };
  12480. }
  12481. }, {
  12482. key: "add",
  12483. value: function add(locale, message) {
  12484. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  12485. var curMessages = this.messages[locale];
  12486. if (curMessages) {
  12487. if (override) {
  12488. Object.assign(curMessages, message);
  12489. } else {
  12490. Object.keys(message).forEach(function (key) {
  12491. if (!hasOwn(curMessages, key)) {
  12492. curMessages[key] = message[key];
  12493. }
  12494. });
  12495. }
  12496. } else {
  12497. this.messages[locale] = message;
  12498. }
  12499. }
  12500. }, {
  12501. key: "f",
  12502. value: function f(message, values, delimiters) {
  12503. return this.formater.interpolate(message, values, delimiters).join('');
  12504. }
  12505. }, {
  12506. key: "t",
  12507. value: function t(key, locale, values) {
  12508. var message = this.message;
  12509. if (typeof locale === 'string') {
  12510. locale = normalizeLocale(locale, this.messages);
  12511. locale && (message = this.messages[locale]);
  12512. } else {
  12513. values = locale;
  12514. }
  12515. if (!hasOwn(message, key)) {
  12516. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  12517. return key;
  12518. }
  12519. return this.formater.interpolate(message[key], values).join('');
  12520. }
  12521. }]);
  12522. return I18n;
  12523. }();
  12524. exports.I18n = I18n;
  12525. function watchAppLocale(appVm, i18n) {
  12526. // 需要保证 watch 的触发在组件渲染之前
  12527. if (appVm.$watchLocale) {
  12528. // vue2
  12529. appVm.$watchLocale(function (newLocale) {
  12530. i18n.setLocale(newLocale);
  12531. });
  12532. } else {
  12533. appVm.$watch(function () {
  12534. return appVm.$locale;
  12535. }, function (newLocale) {
  12536. i18n.setLocale(newLocale);
  12537. });
  12538. }
  12539. }
  12540. function getDefaultLocale() {
  12541. if (typeof uni !== 'undefined' && uni.getLocale) {
  12542. return uni.getLocale();
  12543. }
  12544. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  12545. if (typeof global !== 'undefined' && global.getLocale) {
  12546. return global.getLocale();
  12547. }
  12548. return LOCALE_EN;
  12549. }
  12550. function initVueI18n(locale) {
  12551. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  12552. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  12553. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  12554. // 兼容旧版本入参
  12555. if (typeof locale !== 'string') {
  12556. var _ref4 = [messages, locale];
  12557. locale = _ref4[0];
  12558. messages = _ref4[1];
  12559. }
  12560. if (typeof locale !== 'string') {
  12561. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  12562. locale = getDefaultLocale();
  12563. }
  12564. if (typeof fallbackLocale !== 'string') {
  12565. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  12566. }
  12567. var i18n = new I18n({
  12568. locale: locale,
  12569. fallbackLocale: fallbackLocale,
  12570. messages: messages,
  12571. watcher: watcher
  12572. });
  12573. var _t = function t(key, values) {
  12574. if (typeof getApp !== 'function') {
  12575. // app view
  12576. /* eslint-disable no-func-assign */
  12577. _t = function t(key, values) {
  12578. return i18n.t(key, values);
  12579. };
  12580. } else {
  12581. var isWatchedAppLocale = false;
  12582. _t = function t(key, values) {
  12583. var appVm = getApp().$vm;
  12584. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  12585. // options: {
  12586. // type: Array,
  12587. // default () {
  12588. // return [{
  12589. // icon: 'shop',
  12590. // text: t("uni-goods-nav.options.shop"),
  12591. // }, {
  12592. // icon: 'cart',
  12593. // text: t("uni-goods-nav.options.cart")
  12594. // }]
  12595. // }
  12596. // },
  12597. if (appVm) {
  12598. // 触发响应式
  12599. appVm.$locale;
  12600. if (!isWatchedAppLocale) {
  12601. isWatchedAppLocale = true;
  12602. watchAppLocale(appVm, i18n);
  12603. }
  12604. }
  12605. return i18n.t(key, values);
  12606. };
  12607. }
  12608. return _t(key, values);
  12609. };
  12610. return {
  12611. i18n: i18n,
  12612. f: function f(message, values, delimiters) {
  12613. return i18n.f(message, values, delimiters);
  12614. },
  12615. t: function t(key, values) {
  12616. return _t(key, values);
  12617. },
  12618. add: function add(locale, message) {
  12619. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  12620. return i18n.add(locale, message, override);
  12621. },
  12622. watch: function watch(fn) {
  12623. return i18n.watchLocale(fn);
  12624. },
  12625. getLocale: function getLocale() {
  12626. return i18n.getLocale();
  12627. },
  12628. setLocale: function setLocale(newLocale) {
  12629. return i18n.setLocale(newLocale);
  12630. }
  12631. };
  12632. }
  12633. var isString = function isString(val) {
  12634. return typeof val === 'string';
  12635. };
  12636. exports.isString = isString;
  12637. var formater;
  12638. function hasI18nJson(jsonObj, delimiters) {
  12639. if (!formater) {
  12640. formater = new BaseFormatter();
  12641. }
  12642. return walkJsonObj(jsonObj, function (jsonObj, key) {
  12643. var value = jsonObj[key];
  12644. if (isString(value)) {
  12645. if (isI18nStr(value, delimiters)) {
  12646. return true;
  12647. }
  12648. } else {
  12649. return hasI18nJson(value, delimiters);
  12650. }
  12651. });
  12652. }
  12653. function parseI18nJson(jsonObj, values, delimiters) {
  12654. if (!formater) {
  12655. formater = new BaseFormatter();
  12656. }
  12657. walkJsonObj(jsonObj, function (jsonObj, key) {
  12658. var value = jsonObj[key];
  12659. if (isString(value)) {
  12660. if (isI18nStr(value, delimiters)) {
  12661. jsonObj[key] = compileStr(value, values, delimiters);
  12662. }
  12663. } else {
  12664. parseI18nJson(value, values, delimiters);
  12665. }
  12666. });
  12667. return jsonObj;
  12668. }
  12669. function compileI18nJsonStr(jsonStr, _ref5) {
  12670. var locale = _ref5.locale,
  12671. locales = _ref5.locales,
  12672. delimiters = _ref5.delimiters;
  12673. if (!isI18nStr(jsonStr, delimiters)) {
  12674. return jsonStr;
  12675. }
  12676. if (!formater) {
  12677. formater = new BaseFormatter();
  12678. }
  12679. var localeValues = [];
  12680. Object.keys(locales).forEach(function (name) {
  12681. if (name !== locale) {
  12682. localeValues.push({
  12683. locale: name,
  12684. values: locales[name]
  12685. });
  12686. }
  12687. });
  12688. localeValues.unshift({
  12689. locale: locale,
  12690. values: locales[locale]
  12691. });
  12692. try {
  12693. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  12694. } catch (e) {}
  12695. return jsonStr;
  12696. }
  12697. function isI18nStr(value, delimiters) {
  12698. return value.indexOf(delimiters[0]) > -1;
  12699. }
  12700. function compileStr(value, values, delimiters) {
  12701. return formater.interpolate(value, values, delimiters).join('');
  12702. }
  12703. function compileValue(jsonObj, key, localeValues, delimiters) {
  12704. var value = jsonObj[key];
  12705. if (isString(value)) {
  12706. // 存在国际化
  12707. if (isI18nStr(value, delimiters)) {
  12708. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  12709. if (localeValues.length > 1) {
  12710. // 格式化国际化语言
  12711. var valueLocales = jsonObj[key + 'Locales'] = {};
  12712. localeValues.forEach(function (localValue) {
  12713. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  12714. });
  12715. }
  12716. }
  12717. } else {
  12718. compileJsonObj(value, localeValues, delimiters);
  12719. }
  12720. }
  12721. function compileJsonObj(jsonObj, localeValues, delimiters) {
  12722. walkJsonObj(jsonObj, function (jsonObj, key) {
  12723. compileValue(jsonObj, key, localeValues, delimiters);
  12724. });
  12725. return jsonObj;
  12726. }
  12727. function walkJsonObj(jsonObj, walk) {
  12728. if (Array.isArray(jsonObj)) {
  12729. for (var i = 0; i < jsonObj.length; i++) {
  12730. if (walk(jsonObj, i)) {
  12731. return true;
  12732. }
  12733. }
  12734. } else if (isObject(jsonObj)) {
  12735. for (var key in jsonObj) {
  12736. if (walk(jsonObj, key)) {
  12737. return true;
  12738. }
  12739. }
  12740. }
  12741. return false;
  12742. }
  12743. function resolveLocale(locales) {
  12744. return function (locale) {
  12745. if (!locale) {
  12746. return locale;
  12747. }
  12748. locale = normalizeLocale(locale) || locale;
  12749. return resolveLocaleChain(locale).find(function (locale) {
  12750. return locales.indexOf(locale) > -1;
  12751. });
  12752. };
  12753. }
  12754. function resolveLocaleChain(locale) {
  12755. var chain = [];
  12756. var tokens = locale.split('-');
  12757. while (tokens.length) {
  12758. chain.push(tokens.join('-'));
  12759. tokens.pop();
  12760. }
  12761. return chain;
  12762. }
  12763. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  12764. /***/ }),
  12765. /***/ 23:
  12766. /*!***************************************************************!*\
  12767. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  12768. \***************************************************************/
  12769. /*! no static exports found */
  12770. /***/ (function(module, exports) {
  12771. function _classCallCheck(instance, Constructor) {
  12772. if (!(instance instanceof Constructor)) {
  12773. throw new TypeError("Cannot call a class as a function");
  12774. }
  12775. }
  12776. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12777. /***/ }),
  12778. /***/ 24:
  12779. /*!************************************************************!*\
  12780. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  12781. \************************************************************/
  12782. /*! no static exports found */
  12783. /***/ (function(module, exports, __webpack_require__) {
  12784. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  12785. function _defineProperties(target, props) {
  12786. for (var i = 0; i < props.length; i++) {
  12787. var descriptor = props[i];
  12788. descriptor.enumerable = descriptor.enumerable || false;
  12789. descriptor.configurable = true;
  12790. if ("value" in descriptor) descriptor.writable = true;
  12791. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  12792. }
  12793. }
  12794. function _createClass(Constructor, protoProps, staticProps) {
  12795. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  12796. if (staticProps) _defineProperties(Constructor, staticProps);
  12797. Object.defineProperty(Constructor, "prototype", {
  12798. writable: false
  12799. });
  12800. return Constructor;
  12801. }
  12802. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12803. /***/ }),
  12804. /***/ 25:
  12805. /*!******************************************************************************************!*\
  12806. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  12807. \******************************************************************************************/
  12808. /*! exports provided: default */
  12809. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12810. "use strict";
  12811. __webpack_require__.r(__webpack_exports__);
  12812. /* WEBPACK VAR INJECTION */(function(global) {/*!
  12813. * Vue.js v2.6.11
  12814. * (c) 2014-2023 Evan You
  12815. * Released under the MIT License.
  12816. */
  12817. /* */
  12818. var emptyObject = Object.freeze({});
  12819. // These helpers produce better VM code in JS engines due to their
  12820. // explicitness and function inlining.
  12821. function isUndef (v) {
  12822. return v === undefined || v === null
  12823. }
  12824. function isDef (v) {
  12825. return v !== undefined && v !== null
  12826. }
  12827. function isTrue (v) {
  12828. return v === true
  12829. }
  12830. function isFalse (v) {
  12831. return v === false
  12832. }
  12833. /**
  12834. * Check if value is primitive.
  12835. */
  12836. function isPrimitive (value) {
  12837. return (
  12838. typeof value === 'string' ||
  12839. typeof value === 'number' ||
  12840. // $flow-disable-line
  12841. typeof value === 'symbol' ||
  12842. typeof value === 'boolean'
  12843. )
  12844. }
  12845. /**
  12846. * Quick object check - this is primarily used to tell
  12847. * Objects from primitive values when we know the value
  12848. * is a JSON-compliant type.
  12849. */
  12850. function isObject (obj) {
  12851. return obj !== null && typeof obj === 'object'
  12852. }
  12853. /**
  12854. * Get the raw type string of a value, e.g., [object Object].
  12855. */
  12856. var _toString = Object.prototype.toString;
  12857. function toRawType (value) {
  12858. return _toString.call(value).slice(8, -1)
  12859. }
  12860. /**
  12861. * Strict object type check. Only returns true
  12862. * for plain JavaScript objects.
  12863. */
  12864. function isPlainObject (obj) {
  12865. return _toString.call(obj) === '[object Object]'
  12866. }
  12867. function isRegExp (v) {
  12868. return _toString.call(v) === '[object RegExp]'
  12869. }
  12870. /**
  12871. * Check if val is a valid array index.
  12872. */
  12873. function isValidArrayIndex (val) {
  12874. var n = parseFloat(String(val));
  12875. return n >= 0 && Math.floor(n) === n && isFinite(val)
  12876. }
  12877. function isPromise (val) {
  12878. return (
  12879. isDef(val) &&
  12880. typeof val.then === 'function' &&
  12881. typeof val.catch === 'function'
  12882. )
  12883. }
  12884. /**
  12885. * Convert a value to a string that is actually rendered.
  12886. */
  12887. function toString (val) {
  12888. return val == null
  12889. ? ''
  12890. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  12891. ? JSON.stringify(val, null, 2)
  12892. : String(val)
  12893. }
  12894. /**
  12895. * Convert an input value to a number for persistence.
  12896. * If the conversion fails, return original string.
  12897. */
  12898. function toNumber (val) {
  12899. var n = parseFloat(val);
  12900. return isNaN(n) ? val : n
  12901. }
  12902. /**
  12903. * Make a map and return a function for checking if a key
  12904. * is in that map.
  12905. */
  12906. function makeMap (
  12907. str,
  12908. expectsLowerCase
  12909. ) {
  12910. var map = Object.create(null);
  12911. var list = str.split(',');
  12912. for (var i = 0; i < list.length; i++) {
  12913. map[list[i]] = true;
  12914. }
  12915. return expectsLowerCase
  12916. ? function (val) { return map[val.toLowerCase()]; }
  12917. : function (val) { return map[val]; }
  12918. }
  12919. /**
  12920. * Check if a tag is a built-in tag.
  12921. */
  12922. var isBuiltInTag = makeMap('slot,component', true);
  12923. /**
  12924. * Check if an attribute is a reserved attribute.
  12925. */
  12926. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  12927. /**
  12928. * Remove an item from an array.
  12929. */
  12930. function remove (arr, item) {
  12931. if (arr.length) {
  12932. var index = arr.indexOf(item);
  12933. if (index > -1) {
  12934. return arr.splice(index, 1)
  12935. }
  12936. }
  12937. }
  12938. /**
  12939. * Check whether an object has the property.
  12940. */
  12941. var hasOwnProperty = Object.prototype.hasOwnProperty;
  12942. function hasOwn (obj, key) {
  12943. return hasOwnProperty.call(obj, key)
  12944. }
  12945. /**
  12946. * Create a cached version of a pure function.
  12947. */
  12948. function cached (fn) {
  12949. var cache = Object.create(null);
  12950. return (function cachedFn (str) {
  12951. var hit = cache[str];
  12952. return hit || (cache[str] = fn(str))
  12953. })
  12954. }
  12955. /**
  12956. * Camelize a hyphen-delimited string.
  12957. */
  12958. var camelizeRE = /-(\w)/g;
  12959. var camelize = cached(function (str) {
  12960. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  12961. });
  12962. /**
  12963. * Capitalize a string.
  12964. */
  12965. var capitalize = cached(function (str) {
  12966. return str.charAt(0).toUpperCase() + str.slice(1)
  12967. });
  12968. /**
  12969. * Hyphenate a camelCase string.
  12970. */
  12971. var hyphenateRE = /\B([A-Z])/g;
  12972. var hyphenate = cached(function (str) {
  12973. return str.replace(hyphenateRE, '-$1').toLowerCase()
  12974. });
  12975. /**
  12976. * Simple bind polyfill for environments that do not support it,
  12977. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  12978. * since native bind is now performant enough in most browsers.
  12979. * But removing it would mean breaking code that was able to run in
  12980. * PhantomJS 1.x, so this must be kept for backward compatibility.
  12981. */
  12982. /* istanbul ignore next */
  12983. function polyfillBind (fn, ctx) {
  12984. function boundFn (a) {
  12985. var l = arguments.length;
  12986. return l
  12987. ? l > 1
  12988. ? fn.apply(ctx, arguments)
  12989. : fn.call(ctx, a)
  12990. : fn.call(ctx)
  12991. }
  12992. boundFn._length = fn.length;
  12993. return boundFn
  12994. }
  12995. function nativeBind (fn, ctx) {
  12996. return fn.bind(ctx)
  12997. }
  12998. var bind = Function.prototype.bind
  12999. ? nativeBind
  13000. : polyfillBind;
  13001. /**
  13002. * Convert an Array-like object to a real Array.
  13003. */
  13004. function toArray (list, start) {
  13005. start = start || 0;
  13006. var i = list.length - start;
  13007. var ret = new Array(i);
  13008. while (i--) {
  13009. ret[i] = list[i + start];
  13010. }
  13011. return ret
  13012. }
  13013. /**
  13014. * Mix properties into target object.
  13015. */
  13016. function extend (to, _from) {
  13017. for (var key in _from) {
  13018. to[key] = _from[key];
  13019. }
  13020. return to
  13021. }
  13022. /**
  13023. * Merge an Array of Objects into a single Object.
  13024. */
  13025. function toObject (arr) {
  13026. var res = {};
  13027. for (var i = 0; i < arr.length; i++) {
  13028. if (arr[i]) {
  13029. extend(res, arr[i]);
  13030. }
  13031. }
  13032. return res
  13033. }
  13034. /* eslint-disable no-unused-vars */
  13035. /**
  13036. * Perform no operation.
  13037. * Stubbing args to make Flow happy without leaving useless transpiled code
  13038. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  13039. */
  13040. function noop (a, b, c) {}
  13041. /**
  13042. * Always return false.
  13043. */
  13044. var no = function (a, b, c) { return false; };
  13045. /* eslint-enable no-unused-vars */
  13046. /**
  13047. * Return the same value.
  13048. */
  13049. var identity = function (_) { return _; };
  13050. /**
  13051. * Check if two values are loosely equal - that is,
  13052. * if they are plain objects, do they have the same shape?
  13053. */
  13054. function looseEqual (a, b) {
  13055. if (a === b) { return true }
  13056. var isObjectA = isObject(a);
  13057. var isObjectB = isObject(b);
  13058. if (isObjectA && isObjectB) {
  13059. try {
  13060. var isArrayA = Array.isArray(a);
  13061. var isArrayB = Array.isArray(b);
  13062. if (isArrayA && isArrayB) {
  13063. return a.length === b.length && a.every(function (e, i) {
  13064. return looseEqual(e, b[i])
  13065. })
  13066. } else if (a instanceof Date && b instanceof Date) {
  13067. return a.getTime() === b.getTime()
  13068. } else if (!isArrayA && !isArrayB) {
  13069. var keysA = Object.keys(a);
  13070. var keysB = Object.keys(b);
  13071. return keysA.length === keysB.length && keysA.every(function (key) {
  13072. return looseEqual(a[key], b[key])
  13073. })
  13074. } else {
  13075. /* istanbul ignore next */
  13076. return false
  13077. }
  13078. } catch (e) {
  13079. /* istanbul ignore next */
  13080. return false
  13081. }
  13082. } else if (!isObjectA && !isObjectB) {
  13083. return String(a) === String(b)
  13084. } else {
  13085. return false
  13086. }
  13087. }
  13088. /**
  13089. * Return the first index at which a loosely equal value can be
  13090. * found in the array (if value is a plain object, the array must
  13091. * contain an object of the same shape), or -1 if it is not present.
  13092. */
  13093. function looseIndexOf (arr, val) {
  13094. for (var i = 0; i < arr.length; i++) {
  13095. if (looseEqual(arr[i], val)) { return i }
  13096. }
  13097. return -1
  13098. }
  13099. /**
  13100. * Ensure a function is called only once.
  13101. */
  13102. function once (fn) {
  13103. var called = false;
  13104. return function () {
  13105. if (!called) {
  13106. called = true;
  13107. fn.apply(this, arguments);
  13108. }
  13109. }
  13110. }
  13111. var ASSET_TYPES = [
  13112. 'component',
  13113. 'directive',
  13114. 'filter'
  13115. ];
  13116. var LIFECYCLE_HOOKS = [
  13117. 'beforeCreate',
  13118. 'created',
  13119. 'beforeMount',
  13120. 'mounted',
  13121. 'beforeUpdate',
  13122. 'updated',
  13123. 'beforeDestroy',
  13124. 'destroyed',
  13125. 'activated',
  13126. 'deactivated',
  13127. 'errorCaptured',
  13128. 'serverPrefetch'
  13129. ];
  13130. /* */
  13131. var config = ({
  13132. /**
  13133. * Option merge strategies (used in core/util/options)
  13134. */
  13135. // $flow-disable-line
  13136. optionMergeStrategies: Object.create(null),
  13137. /**
  13138. * Whether to suppress warnings.
  13139. */
  13140. silent: false,
  13141. /**
  13142. * Show production mode tip message on boot?
  13143. */
  13144. productionTip: "development" !== 'production',
  13145. /**
  13146. * Whether to enable devtools
  13147. */
  13148. devtools: "development" !== 'production',
  13149. /**
  13150. * Whether to record perf
  13151. */
  13152. performance: false,
  13153. /**
  13154. * Error handler for watcher errors
  13155. */
  13156. errorHandler: null,
  13157. /**
  13158. * Warn handler for watcher warns
  13159. */
  13160. warnHandler: null,
  13161. /**
  13162. * Ignore certain custom elements
  13163. */
  13164. ignoredElements: [],
  13165. /**
  13166. * Custom user key aliases for v-on
  13167. */
  13168. // $flow-disable-line
  13169. keyCodes: Object.create(null),
  13170. /**
  13171. * Check if a tag is reserved so that it cannot be registered as a
  13172. * component. This is platform-dependent and may be overwritten.
  13173. */
  13174. isReservedTag: no,
  13175. /**
  13176. * Check if an attribute is reserved so that it cannot be used as a component
  13177. * prop. This is platform-dependent and may be overwritten.
  13178. */
  13179. isReservedAttr: no,
  13180. /**
  13181. * Check if a tag is an unknown element.
  13182. * Platform-dependent.
  13183. */
  13184. isUnknownElement: no,
  13185. /**
  13186. * Get the namespace of an element
  13187. */
  13188. getTagNamespace: noop,
  13189. /**
  13190. * Parse the real tag name for the specific platform.
  13191. */
  13192. parsePlatformTagName: identity,
  13193. /**
  13194. * Check if an attribute must be bound using property, e.g. value
  13195. * Platform-dependent.
  13196. */
  13197. mustUseProp: no,
  13198. /**
  13199. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  13200. * This will significantly reduce performance if set to false.
  13201. */
  13202. async: true,
  13203. /**
  13204. * Exposed for legacy reasons
  13205. */
  13206. _lifecycleHooks: LIFECYCLE_HOOKS
  13207. });
  13208. /* */
  13209. /**
  13210. * unicode letters used for parsing html tags, component names and property paths.
  13211. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  13212. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  13213. */
  13214. var unicodeRegExp = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
  13215. /**
  13216. * Check if a string starts with $ or _
  13217. */
  13218. function isReserved (str) {
  13219. var c = (str + '').charCodeAt(0);
  13220. return c === 0x24 || c === 0x5F
  13221. }
  13222. /**
  13223. * Define a property.
  13224. */
  13225. function def (obj, key, val, enumerable) {
  13226. Object.defineProperty(obj, key, {
  13227. value: val,
  13228. enumerable: !!enumerable,
  13229. writable: true,
  13230. configurable: true
  13231. });
  13232. }
  13233. /**
  13234. * Parse simple path.
  13235. */
  13236. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  13237. function parsePath (path) {
  13238. if (bailRE.test(path)) {
  13239. return
  13240. }
  13241. var segments = path.split('.');
  13242. return function (obj) {
  13243. for (var i = 0; i < segments.length; i++) {
  13244. if (!obj) { return }
  13245. obj = obj[segments[i]];
  13246. }
  13247. return obj
  13248. }
  13249. }
  13250. /* */
  13251. // can we use __proto__?
  13252. var hasProto = '__proto__' in {};
  13253. // Browser environment sniffing
  13254. var inBrowser = typeof window !== 'undefined';
  13255. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  13256. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  13257. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  13258. var isIE = UA && /msie|trident/.test(UA);
  13259. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  13260. var isEdge = UA && UA.indexOf('edge/') > 0;
  13261. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  13262. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  13263. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  13264. var isPhantomJS = UA && /phantomjs/.test(UA);
  13265. var isFF = UA && UA.match(/firefox\/(\d+)/);
  13266. // Firefox has a "watch" function on Object.prototype...
  13267. var nativeWatch = ({}).watch;
  13268. if (inBrowser) {
  13269. try {
  13270. var opts = {};
  13271. Object.defineProperty(opts, 'passive', ({
  13272. get: function get () {
  13273. }
  13274. })); // https://github.com/facebook/flow/issues/285
  13275. window.addEventListener('test-passive', null, opts);
  13276. } catch (e) {}
  13277. }
  13278. // this needs to be lazy-evaled because vue may be required before
  13279. // vue-server-renderer can set VUE_ENV
  13280. var _isServer;
  13281. var isServerRendering = function () {
  13282. if (_isServer === undefined) {
  13283. /* istanbul ignore if */
  13284. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  13285. // detect presence of vue-server-renderer and avoid
  13286. // Webpack shimming the process
  13287. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  13288. } else {
  13289. _isServer = false;
  13290. }
  13291. }
  13292. return _isServer
  13293. };
  13294. // detect devtools
  13295. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  13296. /* istanbul ignore next */
  13297. function isNative (Ctor) {
  13298. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  13299. }
  13300. var hasSymbol =
  13301. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  13302. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  13303. var _Set;
  13304. /* istanbul ignore if */ // $flow-disable-line
  13305. if (typeof Set !== 'undefined' && isNative(Set)) {
  13306. // use native Set when available.
  13307. _Set = Set;
  13308. } else {
  13309. // a non-standard Set polyfill that only works with primitive keys.
  13310. _Set = /*@__PURE__*/(function () {
  13311. function Set () {
  13312. this.set = Object.create(null);
  13313. }
  13314. Set.prototype.has = function has (key) {
  13315. return this.set[key] === true
  13316. };
  13317. Set.prototype.add = function add (key) {
  13318. this.set[key] = true;
  13319. };
  13320. Set.prototype.clear = function clear () {
  13321. this.set = Object.create(null);
  13322. };
  13323. return Set;
  13324. }());
  13325. }
  13326. /* */
  13327. var warn = noop;
  13328. var tip = noop;
  13329. var generateComponentTrace = (noop); // work around flow check
  13330. var formatComponentName = (noop);
  13331. if (true) {
  13332. var hasConsole = typeof console !== 'undefined';
  13333. var classifyRE = /(?:^|[-_])(\w)/g;
  13334. var classify = function (str) { return str
  13335. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  13336. .replace(/[-_]/g, ''); };
  13337. warn = function (msg, vm) {
  13338. var trace = vm ? generateComponentTrace(vm) : '';
  13339. if (config.warnHandler) {
  13340. config.warnHandler.call(null, msg, vm, trace);
  13341. } else if (hasConsole && (!config.silent)) {
  13342. console.error(("[Vue warn]: " + msg + trace));
  13343. }
  13344. };
  13345. tip = function (msg, vm) {
  13346. if (hasConsole && (!config.silent)) {
  13347. console.warn("[Vue tip]: " + msg + (
  13348. vm ? generateComponentTrace(vm) : ''
  13349. ));
  13350. }
  13351. };
  13352. formatComponentName = function (vm, includeFile) {
  13353. if (vm.$root === vm) {
  13354. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  13355. return ('') + vm.$options.__file
  13356. }
  13357. return '<Root>'
  13358. }
  13359. var options = typeof vm === 'function' && vm.cid != null
  13360. ? vm.options
  13361. : vm._isVue
  13362. ? vm.$options || vm.constructor.options
  13363. : vm;
  13364. var name = options.name || options._componentTag;
  13365. var file = options.__file;
  13366. if (!name && file) {
  13367. var match = file.match(/([^/\\]+)\.vue$/);
  13368. name = match && match[1];
  13369. }
  13370. return (
  13371. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  13372. (file && includeFile !== false ? (" at " + file) : '')
  13373. )
  13374. };
  13375. var repeat = function (str, n) {
  13376. var res = '';
  13377. while (n) {
  13378. if (n % 2 === 1) { res += str; }
  13379. if (n > 1) { str += str; }
  13380. n >>= 1;
  13381. }
  13382. return res
  13383. };
  13384. generateComponentTrace = function (vm) {
  13385. if (vm._isVue && vm.$parent) {
  13386. var tree = [];
  13387. var currentRecursiveSequence = 0;
  13388. while (vm && vm.$options.name !== 'PageBody') {
  13389. if (tree.length > 0) {
  13390. var last = tree[tree.length - 1];
  13391. if (last.constructor === vm.constructor) {
  13392. currentRecursiveSequence++;
  13393. vm = vm.$parent;
  13394. continue
  13395. } else if (currentRecursiveSequence > 0) {
  13396. tree[tree.length - 1] = [last, currentRecursiveSequence];
  13397. currentRecursiveSequence = 0;
  13398. }
  13399. }
  13400. !vm.$options.isReserved && tree.push(vm);
  13401. vm = vm.$parent;
  13402. }
  13403. return '\n\nfound in\n\n' + tree
  13404. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  13405. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  13406. : formatComponentName(vm))); })
  13407. .join('\n')
  13408. } else {
  13409. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  13410. }
  13411. };
  13412. }
  13413. /* */
  13414. var uid = 0;
  13415. /**
  13416. * A dep is an observable that can have multiple
  13417. * directives subscribing to it.
  13418. */
  13419. var Dep = function Dep () {
  13420. this.id = uid++;
  13421. this.subs = [];
  13422. };
  13423. Dep.prototype.addSub = function addSub (sub) {
  13424. this.subs.push(sub);
  13425. };
  13426. Dep.prototype.removeSub = function removeSub (sub) {
  13427. remove(this.subs, sub);
  13428. };
  13429. Dep.prototype.depend = function depend () {
  13430. if (Dep.SharedObject.target) {
  13431. Dep.SharedObject.target.addDep(this);
  13432. }
  13433. };
  13434. Dep.prototype.notify = function notify () {
  13435. // stabilize the subscriber list first
  13436. var subs = this.subs.slice();
  13437. if ( true && !config.async) {
  13438. // subs aren't sorted in scheduler if not running async
  13439. // we need to sort them now to make sure they fire in correct
  13440. // order
  13441. subs.sort(function (a, b) { return a.id - b.id; });
  13442. }
  13443. for (var i = 0, l = subs.length; i < l; i++) {
  13444. subs[i].update();
  13445. }
  13446. };
  13447. // The current target watcher being evaluated.
  13448. // This is globally unique because only one watcher
  13449. // can be evaluated at a time.
  13450. // fixed by xxxxxx (nvue shared vuex)
  13451. /* eslint-disable no-undef */
  13452. Dep.SharedObject = {};
  13453. Dep.SharedObject.target = null;
  13454. Dep.SharedObject.targetStack = [];
  13455. function pushTarget (target) {
  13456. Dep.SharedObject.targetStack.push(target);
  13457. Dep.SharedObject.target = target;
  13458. Dep.target = target;
  13459. }
  13460. function popTarget () {
  13461. Dep.SharedObject.targetStack.pop();
  13462. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  13463. Dep.target = Dep.SharedObject.target;
  13464. }
  13465. /* */
  13466. var VNode = function VNode (
  13467. tag,
  13468. data,
  13469. children,
  13470. text,
  13471. elm,
  13472. context,
  13473. componentOptions,
  13474. asyncFactory
  13475. ) {
  13476. this.tag = tag;
  13477. this.data = data;
  13478. this.children = children;
  13479. this.text = text;
  13480. this.elm = elm;
  13481. this.ns = undefined;
  13482. this.context = context;
  13483. this.fnContext = undefined;
  13484. this.fnOptions = undefined;
  13485. this.fnScopeId = undefined;
  13486. this.key = data && data.key;
  13487. this.componentOptions = componentOptions;
  13488. this.componentInstance = undefined;
  13489. this.parent = undefined;
  13490. this.raw = false;
  13491. this.isStatic = false;
  13492. this.isRootInsert = true;
  13493. this.isComment = false;
  13494. this.isCloned = false;
  13495. this.isOnce = false;
  13496. this.asyncFactory = asyncFactory;
  13497. this.asyncMeta = undefined;
  13498. this.isAsyncPlaceholder = false;
  13499. };
  13500. var prototypeAccessors = { child: { configurable: true } };
  13501. // DEPRECATED: alias for componentInstance for backwards compat.
  13502. /* istanbul ignore next */
  13503. prototypeAccessors.child.get = function () {
  13504. return this.componentInstance
  13505. };
  13506. Object.defineProperties( VNode.prototype, prototypeAccessors );
  13507. var createEmptyVNode = function (text) {
  13508. if ( text === void 0 ) text = '';
  13509. var node = new VNode();
  13510. node.text = text;
  13511. node.isComment = true;
  13512. return node
  13513. };
  13514. function createTextVNode (val) {
  13515. return new VNode(undefined, undefined, undefined, String(val))
  13516. }
  13517. // optimized shallow clone
  13518. // used for static nodes and slot nodes because they may be reused across
  13519. // multiple renders, cloning them avoids errors when DOM manipulations rely
  13520. // on their elm reference.
  13521. function cloneVNode (vnode) {
  13522. var cloned = new VNode(
  13523. vnode.tag,
  13524. vnode.data,
  13525. // #7975
  13526. // clone children array to avoid mutating original in case of cloning
  13527. // a child.
  13528. vnode.children && vnode.children.slice(),
  13529. vnode.text,
  13530. vnode.elm,
  13531. vnode.context,
  13532. vnode.componentOptions,
  13533. vnode.asyncFactory
  13534. );
  13535. cloned.ns = vnode.ns;
  13536. cloned.isStatic = vnode.isStatic;
  13537. cloned.key = vnode.key;
  13538. cloned.isComment = vnode.isComment;
  13539. cloned.fnContext = vnode.fnContext;
  13540. cloned.fnOptions = vnode.fnOptions;
  13541. cloned.fnScopeId = vnode.fnScopeId;
  13542. cloned.asyncMeta = vnode.asyncMeta;
  13543. cloned.isCloned = true;
  13544. return cloned
  13545. }
  13546. /*
  13547. * not type checking this file because flow doesn't play well with
  13548. * dynamically accessing methods on Array prototype
  13549. */
  13550. var arrayProto = Array.prototype;
  13551. var arrayMethods = Object.create(arrayProto);
  13552. var methodsToPatch = [
  13553. 'push',
  13554. 'pop',
  13555. 'shift',
  13556. 'unshift',
  13557. 'splice',
  13558. 'sort',
  13559. 'reverse'
  13560. ];
  13561. /**
  13562. * Intercept mutating methods and emit events
  13563. */
  13564. methodsToPatch.forEach(function (method) {
  13565. // cache original method
  13566. var original = arrayProto[method];
  13567. def(arrayMethods, method, function mutator () {
  13568. var args = [], len = arguments.length;
  13569. while ( len-- ) args[ len ] = arguments[ len ];
  13570. var result = original.apply(this, args);
  13571. var ob = this.__ob__;
  13572. var inserted;
  13573. switch (method) {
  13574. case 'push':
  13575. case 'unshift':
  13576. inserted = args;
  13577. break
  13578. case 'splice':
  13579. inserted = args.slice(2);
  13580. break
  13581. }
  13582. if (inserted) { ob.observeArray(inserted); }
  13583. // notify change
  13584. ob.dep.notify();
  13585. return result
  13586. });
  13587. });
  13588. /* */
  13589. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  13590. /**
  13591. * In some cases we may want to disable observation inside a component's
  13592. * update computation.
  13593. */
  13594. var shouldObserve = true;
  13595. function toggleObserving (value) {
  13596. shouldObserve = value;
  13597. }
  13598. /**
  13599. * Observer class that is attached to each observed
  13600. * object. Once attached, the observer converts the target
  13601. * object's property keys into getter/setters that
  13602. * collect dependencies and dispatch updates.
  13603. */
  13604. var Observer = function Observer (value) {
  13605. this.value = value;
  13606. this.dep = new Dep();
  13607. this.vmCount = 0;
  13608. def(value, '__ob__', this);
  13609. if (Array.isArray(value)) {
  13610. if (hasProto) {
  13611. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  13612. if(value.push !== value.__proto__.push){
  13613. copyAugment(value, arrayMethods, arrayKeys);
  13614. } else {
  13615. protoAugment(value, arrayMethods);
  13616. }
  13617. }
  13618. } else {
  13619. copyAugment(value, arrayMethods, arrayKeys);
  13620. }
  13621. this.observeArray(value);
  13622. } else {
  13623. this.walk(value);
  13624. }
  13625. };
  13626. /**
  13627. * Walk through all properties and convert them into
  13628. * getter/setters. This method should only be called when
  13629. * value type is Object.
  13630. */
  13631. Observer.prototype.walk = function walk (obj) {
  13632. var keys = Object.keys(obj);
  13633. for (var i = 0; i < keys.length; i++) {
  13634. defineReactive$$1(obj, keys[i]);
  13635. }
  13636. };
  13637. /**
  13638. * Observe a list of Array items.
  13639. */
  13640. Observer.prototype.observeArray = function observeArray (items) {
  13641. for (var i = 0, l = items.length; i < l; i++) {
  13642. observe(items[i]);
  13643. }
  13644. };
  13645. // helpers
  13646. /**
  13647. * Augment a target Object or Array by intercepting
  13648. * the prototype chain using __proto__
  13649. */
  13650. function protoAugment (target, src) {
  13651. /* eslint-disable no-proto */
  13652. target.__proto__ = src;
  13653. /* eslint-enable no-proto */
  13654. }
  13655. /**
  13656. * Augment a target Object or Array by defining
  13657. * hidden properties.
  13658. */
  13659. /* istanbul ignore next */
  13660. function copyAugment (target, src, keys) {
  13661. for (var i = 0, l = keys.length; i < l; i++) {
  13662. var key = keys[i];
  13663. def(target, key, src[key]);
  13664. }
  13665. }
  13666. /**
  13667. * Attempt to create an observer instance for a value,
  13668. * returns the new observer if successfully observed,
  13669. * or the existing observer if the value already has one.
  13670. */
  13671. function observe (value, asRootData) {
  13672. if (!isObject(value) || value instanceof VNode) {
  13673. return
  13674. }
  13675. var ob;
  13676. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  13677. ob = value.__ob__;
  13678. } else if (
  13679. shouldObserve &&
  13680. !isServerRendering() &&
  13681. (Array.isArray(value) || isPlainObject(value)) &&
  13682. Object.isExtensible(value) &&
  13683. !value._isVue &&
  13684. !value.__v_isMPComponent
  13685. ) {
  13686. ob = new Observer(value);
  13687. }
  13688. if (asRootData && ob) {
  13689. ob.vmCount++;
  13690. }
  13691. return ob
  13692. }
  13693. /**
  13694. * Define a reactive property on an Object.
  13695. */
  13696. function defineReactive$$1 (
  13697. obj,
  13698. key,
  13699. val,
  13700. customSetter,
  13701. shallow
  13702. ) {
  13703. var dep = new Dep();
  13704. var property = Object.getOwnPropertyDescriptor(obj, key);
  13705. if (property && property.configurable === false) {
  13706. return
  13707. }
  13708. // cater for pre-defined getter/setters
  13709. var getter = property && property.get;
  13710. var setter = property && property.set;
  13711. if ((!getter || setter) && arguments.length === 2) {
  13712. val = obj[key];
  13713. }
  13714. var childOb = !shallow && observe(val);
  13715. Object.defineProperty(obj, key, {
  13716. enumerable: true,
  13717. configurable: true,
  13718. get: function reactiveGetter () {
  13719. var value = getter ? getter.call(obj) : val;
  13720. if (Dep.SharedObject.target) { // fixed by xxxxxx
  13721. dep.depend();
  13722. if (childOb) {
  13723. childOb.dep.depend();
  13724. if (Array.isArray(value)) {
  13725. dependArray(value);
  13726. }
  13727. }
  13728. }
  13729. return value
  13730. },
  13731. set: function reactiveSetter (newVal) {
  13732. var value = getter ? getter.call(obj) : val;
  13733. /* eslint-disable no-self-compare */
  13734. if (newVal === value || (newVal !== newVal && value !== value)) {
  13735. return
  13736. }
  13737. /* eslint-enable no-self-compare */
  13738. if ( true && customSetter) {
  13739. customSetter();
  13740. }
  13741. // #7981: for accessor properties without setter
  13742. if (getter && !setter) { return }
  13743. if (setter) {
  13744. setter.call(obj, newVal);
  13745. } else {
  13746. val = newVal;
  13747. }
  13748. childOb = !shallow && observe(newVal);
  13749. dep.notify();
  13750. }
  13751. });
  13752. }
  13753. /**
  13754. * Set a property on an object. Adds the new property and
  13755. * triggers change notification if the property doesn't
  13756. * already exist.
  13757. */
  13758. function set (target, key, val) {
  13759. if ( true &&
  13760. (isUndef(target) || isPrimitive(target))
  13761. ) {
  13762. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  13763. }
  13764. if (Array.isArray(target) && isValidArrayIndex(key)) {
  13765. target.length = Math.max(target.length, key);
  13766. target.splice(key, 1, val);
  13767. return val
  13768. }
  13769. if (key in target && !(key in Object.prototype)) {
  13770. target[key] = val;
  13771. return val
  13772. }
  13773. var ob = (target).__ob__;
  13774. if (target._isVue || (ob && ob.vmCount)) {
  13775. true && warn(
  13776. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  13777. 'at runtime - declare it upfront in the data option.'
  13778. );
  13779. return val
  13780. }
  13781. if (!ob) {
  13782. target[key] = val;
  13783. return val
  13784. }
  13785. defineReactive$$1(ob.value, key, val);
  13786. ob.dep.notify();
  13787. return val
  13788. }
  13789. /**
  13790. * Delete a property and trigger change if necessary.
  13791. */
  13792. function del (target, key) {
  13793. if ( true &&
  13794. (isUndef(target) || isPrimitive(target))
  13795. ) {
  13796. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  13797. }
  13798. if (Array.isArray(target) && isValidArrayIndex(key)) {
  13799. target.splice(key, 1);
  13800. return
  13801. }
  13802. var ob = (target).__ob__;
  13803. if (target._isVue || (ob && ob.vmCount)) {
  13804. true && warn(
  13805. 'Avoid deleting properties on a Vue instance or its root $data ' +
  13806. '- just set it to null.'
  13807. );
  13808. return
  13809. }
  13810. if (!hasOwn(target, key)) {
  13811. return
  13812. }
  13813. delete target[key];
  13814. if (!ob) {
  13815. return
  13816. }
  13817. ob.dep.notify();
  13818. }
  13819. /**
  13820. * Collect dependencies on array elements when the array is touched, since
  13821. * we cannot intercept array element access like property getters.
  13822. */
  13823. function dependArray (value) {
  13824. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  13825. e = value[i];
  13826. e && e.__ob__ && e.__ob__.dep.depend();
  13827. if (Array.isArray(e)) {
  13828. dependArray(e);
  13829. }
  13830. }
  13831. }
  13832. /* */
  13833. /**
  13834. * Option overwriting strategies are functions that handle
  13835. * how to merge a parent option value and a child option
  13836. * value into the final value.
  13837. */
  13838. var strats = config.optionMergeStrategies;
  13839. /**
  13840. * Options with restrictions
  13841. */
  13842. if (true) {
  13843. strats.el = strats.propsData = function (parent, child, vm, key) {
  13844. if (!vm) {
  13845. warn(
  13846. "option \"" + key + "\" can only be used during instance " +
  13847. 'creation with the `new` keyword.'
  13848. );
  13849. }
  13850. return defaultStrat(parent, child)
  13851. };
  13852. }
  13853. /**
  13854. * Helper that recursively merges two data objects together.
  13855. */
  13856. function mergeData (to, from) {
  13857. if (!from) { return to }
  13858. var key, toVal, fromVal;
  13859. var keys = hasSymbol
  13860. ? Reflect.ownKeys(from)
  13861. : Object.keys(from);
  13862. for (var i = 0; i < keys.length; i++) {
  13863. key = keys[i];
  13864. // in case the object is already observed...
  13865. if (key === '__ob__') { continue }
  13866. toVal = to[key];
  13867. fromVal = from[key];
  13868. if (!hasOwn(to, key)) {
  13869. set(to, key, fromVal);
  13870. } else if (
  13871. toVal !== fromVal &&
  13872. isPlainObject(toVal) &&
  13873. isPlainObject(fromVal)
  13874. ) {
  13875. mergeData(toVal, fromVal);
  13876. }
  13877. }
  13878. return to
  13879. }
  13880. /**
  13881. * Data
  13882. */
  13883. function mergeDataOrFn (
  13884. parentVal,
  13885. childVal,
  13886. vm
  13887. ) {
  13888. if (!vm) {
  13889. // in a Vue.extend merge, both should be functions
  13890. if (!childVal) {
  13891. return parentVal
  13892. }
  13893. if (!parentVal) {
  13894. return childVal
  13895. }
  13896. // when parentVal & childVal are both present,
  13897. // we need to return a function that returns the
  13898. // merged result of both functions... no need to
  13899. // check if parentVal is a function here because
  13900. // it has to be a function to pass previous merges.
  13901. return function mergedDataFn () {
  13902. return mergeData(
  13903. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  13904. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  13905. )
  13906. }
  13907. } else {
  13908. return function mergedInstanceDataFn () {
  13909. // instance merge
  13910. var instanceData = typeof childVal === 'function'
  13911. ? childVal.call(vm, vm)
  13912. : childVal;
  13913. var defaultData = typeof parentVal === 'function'
  13914. ? parentVal.call(vm, vm)
  13915. : parentVal;
  13916. if (instanceData) {
  13917. return mergeData(instanceData, defaultData)
  13918. } else {
  13919. return defaultData
  13920. }
  13921. }
  13922. }
  13923. }
  13924. strats.data = function (
  13925. parentVal,
  13926. childVal,
  13927. vm
  13928. ) {
  13929. if (!vm) {
  13930. if (childVal && typeof childVal !== 'function') {
  13931. true && warn(
  13932. 'The "data" option should be a function ' +
  13933. 'that returns a per-instance value in component ' +
  13934. 'definitions.',
  13935. vm
  13936. );
  13937. return parentVal
  13938. }
  13939. return mergeDataOrFn(parentVal, childVal)
  13940. }
  13941. return mergeDataOrFn(parentVal, childVal, vm)
  13942. };
  13943. /**
  13944. * Hooks and props are merged as arrays.
  13945. */
  13946. function mergeHook (
  13947. parentVal,
  13948. childVal
  13949. ) {
  13950. var res = childVal
  13951. ? parentVal
  13952. ? parentVal.concat(childVal)
  13953. : Array.isArray(childVal)
  13954. ? childVal
  13955. : [childVal]
  13956. : parentVal;
  13957. return res
  13958. ? dedupeHooks(res)
  13959. : res
  13960. }
  13961. function dedupeHooks (hooks) {
  13962. var res = [];
  13963. for (var i = 0; i < hooks.length; i++) {
  13964. if (res.indexOf(hooks[i]) === -1) {
  13965. res.push(hooks[i]);
  13966. }
  13967. }
  13968. return res
  13969. }
  13970. LIFECYCLE_HOOKS.forEach(function (hook) {
  13971. strats[hook] = mergeHook;
  13972. });
  13973. /**
  13974. * Assets
  13975. *
  13976. * When a vm is present (instance creation), we need to do
  13977. * a three-way merge between constructor options, instance
  13978. * options and parent options.
  13979. */
  13980. function mergeAssets (
  13981. parentVal,
  13982. childVal,
  13983. vm,
  13984. key
  13985. ) {
  13986. var res = Object.create(parentVal || null);
  13987. if (childVal) {
  13988. true && assertObjectType(key, childVal, vm);
  13989. return extend(res, childVal)
  13990. } else {
  13991. return res
  13992. }
  13993. }
  13994. ASSET_TYPES.forEach(function (type) {
  13995. strats[type + 's'] = mergeAssets;
  13996. });
  13997. /**
  13998. * Watchers.
  13999. *
  14000. * Watchers hashes should not overwrite one
  14001. * another, so we merge them as arrays.
  14002. */
  14003. strats.watch = function (
  14004. parentVal,
  14005. childVal,
  14006. vm,
  14007. key
  14008. ) {
  14009. // work around Firefox's Object.prototype.watch...
  14010. if (parentVal === nativeWatch) { parentVal = undefined; }
  14011. if (childVal === nativeWatch) { childVal = undefined; }
  14012. /* istanbul ignore if */
  14013. if (!childVal) { return Object.create(parentVal || null) }
  14014. if (true) {
  14015. assertObjectType(key, childVal, vm);
  14016. }
  14017. if (!parentVal) { return childVal }
  14018. var ret = {};
  14019. extend(ret, parentVal);
  14020. for (var key$1 in childVal) {
  14021. var parent = ret[key$1];
  14022. var child = childVal[key$1];
  14023. if (parent && !Array.isArray(parent)) {
  14024. parent = [parent];
  14025. }
  14026. ret[key$1] = parent
  14027. ? parent.concat(child)
  14028. : Array.isArray(child) ? child : [child];
  14029. }
  14030. return ret
  14031. };
  14032. /**
  14033. * Other object hashes.
  14034. */
  14035. strats.props =
  14036. strats.methods =
  14037. strats.inject =
  14038. strats.computed = function (
  14039. parentVal,
  14040. childVal,
  14041. vm,
  14042. key
  14043. ) {
  14044. if (childVal && "development" !== 'production') {
  14045. assertObjectType(key, childVal, vm);
  14046. }
  14047. if (!parentVal) { return childVal }
  14048. var ret = Object.create(null);
  14049. extend(ret, parentVal);
  14050. if (childVal) { extend(ret, childVal); }
  14051. return ret
  14052. };
  14053. strats.provide = mergeDataOrFn;
  14054. /**
  14055. * Default strategy.
  14056. */
  14057. var defaultStrat = function (parentVal, childVal) {
  14058. return childVal === undefined
  14059. ? parentVal
  14060. : childVal
  14061. };
  14062. /**
  14063. * Validate component names
  14064. */
  14065. function checkComponents (options) {
  14066. for (var key in options.components) {
  14067. validateComponentName(key);
  14068. }
  14069. }
  14070. function validateComponentName (name) {
  14071. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  14072. warn(
  14073. 'Invalid component name: "' + name + '". Component names ' +
  14074. 'should conform to valid custom element name in html5 specification.'
  14075. );
  14076. }
  14077. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  14078. warn(
  14079. 'Do not use built-in or reserved HTML elements as component ' +
  14080. 'id: ' + name
  14081. );
  14082. }
  14083. }
  14084. /**
  14085. * Ensure all props option syntax are normalized into the
  14086. * Object-based format.
  14087. */
  14088. function normalizeProps (options, vm) {
  14089. var props = options.props;
  14090. if (!props) { return }
  14091. var res = {};
  14092. var i, val, name;
  14093. if (Array.isArray(props)) {
  14094. i = props.length;
  14095. while (i--) {
  14096. val = props[i];
  14097. if (typeof val === 'string') {
  14098. name = camelize(val);
  14099. res[name] = { type: null };
  14100. } else if (true) {
  14101. warn('props must be strings when using array syntax.');
  14102. }
  14103. }
  14104. } else if (isPlainObject(props)) {
  14105. for (var key in props) {
  14106. val = props[key];
  14107. name = camelize(key);
  14108. res[name] = isPlainObject(val)
  14109. ? val
  14110. : { type: val };
  14111. }
  14112. } else if (true) {
  14113. warn(
  14114. "Invalid value for option \"props\": expected an Array or an Object, " +
  14115. "but got " + (toRawType(props)) + ".",
  14116. vm
  14117. );
  14118. }
  14119. options.props = res;
  14120. }
  14121. /**
  14122. * Normalize all injections into Object-based format
  14123. */
  14124. function normalizeInject (options, vm) {
  14125. var inject = options.inject;
  14126. if (!inject) { return }
  14127. var normalized = options.inject = {};
  14128. if (Array.isArray(inject)) {
  14129. for (var i = 0; i < inject.length; i++) {
  14130. normalized[inject[i]] = { from: inject[i] };
  14131. }
  14132. } else if (isPlainObject(inject)) {
  14133. for (var key in inject) {
  14134. var val = inject[key];
  14135. normalized[key] = isPlainObject(val)
  14136. ? extend({ from: key }, val)
  14137. : { from: val };
  14138. }
  14139. } else if (true) {
  14140. warn(
  14141. "Invalid value for option \"inject\": expected an Array or an Object, " +
  14142. "but got " + (toRawType(inject)) + ".",
  14143. vm
  14144. );
  14145. }
  14146. }
  14147. /**
  14148. * Normalize raw function directives into object format.
  14149. */
  14150. function normalizeDirectives (options) {
  14151. var dirs = options.directives;
  14152. if (dirs) {
  14153. for (var key in dirs) {
  14154. var def$$1 = dirs[key];
  14155. if (typeof def$$1 === 'function') {
  14156. dirs[key] = { bind: def$$1, update: def$$1 };
  14157. }
  14158. }
  14159. }
  14160. }
  14161. function assertObjectType (name, value, vm) {
  14162. if (!isPlainObject(value)) {
  14163. warn(
  14164. "Invalid value for option \"" + name + "\": expected an Object, " +
  14165. "but got " + (toRawType(value)) + ".",
  14166. vm
  14167. );
  14168. }
  14169. }
  14170. /**
  14171. * Merge two option objects into a new one.
  14172. * Core utility used in both instantiation and inheritance.
  14173. */
  14174. function mergeOptions (
  14175. parent,
  14176. child,
  14177. vm
  14178. ) {
  14179. if (true) {
  14180. checkComponents(child);
  14181. }
  14182. if (typeof child === 'function') {
  14183. child = child.options;
  14184. }
  14185. normalizeProps(child, vm);
  14186. normalizeInject(child, vm);
  14187. normalizeDirectives(child);
  14188. // Apply extends and mixins on the child options,
  14189. // but only if it is a raw options object that isn't
  14190. // the result of another mergeOptions call.
  14191. // Only merged options has the _base property.
  14192. if (!child._base) {
  14193. if (child.extends) {
  14194. parent = mergeOptions(parent, child.extends, vm);
  14195. }
  14196. if (child.mixins) {
  14197. for (var i = 0, l = child.mixins.length; i < l; i++) {
  14198. parent = mergeOptions(parent, child.mixins[i], vm);
  14199. }
  14200. }
  14201. }
  14202. var options = {};
  14203. var key;
  14204. for (key in parent) {
  14205. mergeField(key);
  14206. }
  14207. for (key in child) {
  14208. if (!hasOwn(parent, key)) {
  14209. mergeField(key);
  14210. }
  14211. }
  14212. function mergeField (key) {
  14213. var strat = strats[key] || defaultStrat;
  14214. options[key] = strat(parent[key], child[key], vm, key);
  14215. }
  14216. return options
  14217. }
  14218. /**
  14219. * Resolve an asset.
  14220. * This function is used because child instances need access
  14221. * to assets defined in its ancestor chain.
  14222. */
  14223. function resolveAsset (
  14224. options,
  14225. type,
  14226. id,
  14227. warnMissing
  14228. ) {
  14229. /* istanbul ignore if */
  14230. if (typeof id !== 'string') {
  14231. return
  14232. }
  14233. var assets = options[type];
  14234. // check local registration variations first
  14235. if (hasOwn(assets, id)) { return assets[id] }
  14236. var camelizedId = camelize(id);
  14237. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  14238. var PascalCaseId = capitalize(camelizedId);
  14239. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  14240. // fallback to prototype chain
  14241. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  14242. if ( true && warnMissing && !res) {
  14243. warn(
  14244. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  14245. options
  14246. );
  14247. }
  14248. return res
  14249. }
  14250. /* */
  14251. function validateProp (
  14252. key,
  14253. propOptions,
  14254. propsData,
  14255. vm
  14256. ) {
  14257. var prop = propOptions[key];
  14258. var absent = !hasOwn(propsData, key);
  14259. var value = propsData[key];
  14260. // boolean casting
  14261. var booleanIndex = getTypeIndex(Boolean, prop.type);
  14262. if (booleanIndex > -1) {
  14263. if (absent && !hasOwn(prop, 'default')) {
  14264. value = false;
  14265. } else if (value === '' || value === hyphenate(key)) {
  14266. // only cast empty string / same name to boolean if
  14267. // boolean has higher priority
  14268. var stringIndex = getTypeIndex(String, prop.type);
  14269. if (stringIndex < 0 || booleanIndex < stringIndex) {
  14270. value = true;
  14271. }
  14272. }
  14273. }
  14274. // check default value
  14275. if (value === undefined) {
  14276. value = getPropDefaultValue(vm, prop, key);
  14277. // since the default value is a fresh copy,
  14278. // make sure to observe it.
  14279. var prevShouldObserve = shouldObserve;
  14280. toggleObserving(true);
  14281. observe(value);
  14282. toggleObserving(prevShouldObserve);
  14283. }
  14284. if (
  14285. true
  14286. ) {
  14287. assertProp(prop, key, value, vm, absent);
  14288. }
  14289. return value
  14290. }
  14291. /**
  14292. * Get the default value of a prop.
  14293. */
  14294. function getPropDefaultValue (vm, prop, key) {
  14295. // no default, return undefined
  14296. if (!hasOwn(prop, 'default')) {
  14297. return undefined
  14298. }
  14299. var def = prop.default;
  14300. // warn against non-factory defaults for Object & Array
  14301. if ( true && isObject(def)) {
  14302. warn(
  14303. 'Invalid default value for prop "' + key + '": ' +
  14304. 'Props with type Object/Array must use a factory function ' +
  14305. 'to return the default value.',
  14306. vm
  14307. );
  14308. }
  14309. // the raw prop value was also undefined from previous render,
  14310. // return previous default value to avoid unnecessary watcher trigger
  14311. if (vm && vm.$options.propsData &&
  14312. vm.$options.propsData[key] === undefined &&
  14313. vm._props[key] !== undefined
  14314. ) {
  14315. return vm._props[key]
  14316. }
  14317. // call factory function for non-Function types
  14318. // a value is Function if its prototype is function even across different execution context
  14319. return typeof def === 'function' && getType(prop.type) !== 'Function'
  14320. ? def.call(vm)
  14321. : def
  14322. }
  14323. /**
  14324. * Assert whether a prop is valid.
  14325. */
  14326. function assertProp (
  14327. prop,
  14328. name,
  14329. value,
  14330. vm,
  14331. absent
  14332. ) {
  14333. if (prop.required && absent) {
  14334. warn(
  14335. 'Missing required prop: "' + name + '"',
  14336. vm
  14337. );
  14338. return
  14339. }
  14340. if (value == null && !prop.required) {
  14341. return
  14342. }
  14343. var type = prop.type;
  14344. var valid = !type || type === true;
  14345. var expectedTypes = [];
  14346. if (type) {
  14347. if (!Array.isArray(type)) {
  14348. type = [type];
  14349. }
  14350. for (var i = 0; i < type.length && !valid; i++) {
  14351. var assertedType = assertType(value, type[i]);
  14352. expectedTypes.push(assertedType.expectedType || '');
  14353. valid = assertedType.valid;
  14354. }
  14355. }
  14356. if (!valid) {
  14357. warn(
  14358. getInvalidTypeMessage(name, value, expectedTypes),
  14359. vm
  14360. );
  14361. return
  14362. }
  14363. var validator = prop.validator;
  14364. if (validator) {
  14365. if (!validator(value)) {
  14366. warn(
  14367. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  14368. vm
  14369. );
  14370. }
  14371. }
  14372. }
  14373. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  14374. function assertType (value, type) {
  14375. var valid;
  14376. var expectedType = getType(type);
  14377. if (simpleCheckRE.test(expectedType)) {
  14378. var t = typeof value;
  14379. valid = t === expectedType.toLowerCase();
  14380. // for primitive wrapper objects
  14381. if (!valid && t === 'object') {
  14382. valid = value instanceof type;
  14383. }
  14384. } else if (expectedType === 'Object') {
  14385. valid = isPlainObject(value);
  14386. } else if (expectedType === 'Array') {
  14387. valid = Array.isArray(value);
  14388. } else {
  14389. valid = value instanceof type;
  14390. }
  14391. return {
  14392. valid: valid,
  14393. expectedType: expectedType
  14394. }
  14395. }
  14396. /**
  14397. * Use function string name to check built-in types,
  14398. * because a simple equality check will fail when running
  14399. * across different vms / iframes.
  14400. */
  14401. function getType (fn) {
  14402. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  14403. return match ? match[1] : ''
  14404. }
  14405. function isSameType (a, b) {
  14406. return getType(a) === getType(b)
  14407. }
  14408. function getTypeIndex (type, expectedTypes) {
  14409. if (!Array.isArray(expectedTypes)) {
  14410. return isSameType(expectedTypes, type) ? 0 : -1
  14411. }
  14412. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  14413. if (isSameType(expectedTypes[i], type)) {
  14414. return i
  14415. }
  14416. }
  14417. return -1
  14418. }
  14419. function getInvalidTypeMessage (name, value, expectedTypes) {
  14420. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  14421. " Expected " + (expectedTypes.map(capitalize).join(', '));
  14422. var expectedType = expectedTypes[0];
  14423. var receivedType = toRawType(value);
  14424. var expectedValue = styleValue(value, expectedType);
  14425. var receivedValue = styleValue(value, receivedType);
  14426. // check if we need to specify expected value
  14427. if (expectedTypes.length === 1 &&
  14428. isExplicable(expectedType) &&
  14429. !isBoolean(expectedType, receivedType)) {
  14430. message += " with value " + expectedValue;
  14431. }
  14432. message += ", got " + receivedType + " ";
  14433. // check if we need to specify received value
  14434. if (isExplicable(receivedType)) {
  14435. message += "with value " + receivedValue + ".";
  14436. }
  14437. return message
  14438. }
  14439. function styleValue (value, type) {
  14440. if (type === 'String') {
  14441. return ("\"" + value + "\"")
  14442. } else if (type === 'Number') {
  14443. return ("" + (Number(value)))
  14444. } else {
  14445. return ("" + value)
  14446. }
  14447. }
  14448. function isExplicable (value) {
  14449. var explicitTypes = ['string', 'number', 'boolean'];
  14450. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  14451. }
  14452. function isBoolean () {
  14453. var args = [], len = arguments.length;
  14454. while ( len-- ) args[ len ] = arguments[ len ];
  14455. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  14456. }
  14457. /* */
  14458. function handleError (err, vm, info) {
  14459. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  14460. // See: https://github.com/vuejs/vuex/issues/1505
  14461. pushTarget();
  14462. try {
  14463. if (vm) {
  14464. var cur = vm;
  14465. while ((cur = cur.$parent)) {
  14466. var hooks = cur.$options.errorCaptured;
  14467. if (hooks) {
  14468. for (var i = 0; i < hooks.length; i++) {
  14469. try {
  14470. var capture = hooks[i].call(cur, err, vm, info) === false;
  14471. if (capture) { return }
  14472. } catch (e) {
  14473. globalHandleError(e, cur, 'errorCaptured hook');
  14474. }
  14475. }
  14476. }
  14477. }
  14478. }
  14479. globalHandleError(err, vm, info);
  14480. } finally {
  14481. popTarget();
  14482. }
  14483. }
  14484. function invokeWithErrorHandling (
  14485. handler,
  14486. context,
  14487. args,
  14488. vm,
  14489. info
  14490. ) {
  14491. var res;
  14492. try {
  14493. res = args ? handler.apply(context, args) : handler.call(context);
  14494. if (res && !res._isVue && isPromise(res) && !res._handled) {
  14495. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  14496. // issue #9511
  14497. // avoid catch triggering multiple times when nested calls
  14498. res._handled = true;
  14499. }
  14500. } catch (e) {
  14501. handleError(e, vm, info);
  14502. }
  14503. return res
  14504. }
  14505. function globalHandleError (err, vm, info) {
  14506. if (config.errorHandler) {
  14507. try {
  14508. return config.errorHandler.call(null, err, vm, info)
  14509. } catch (e) {
  14510. // if the user intentionally throws the original error in the handler,
  14511. // do not log it twice
  14512. if (e !== err) {
  14513. logError(e, null, 'config.errorHandler');
  14514. }
  14515. }
  14516. }
  14517. logError(err, vm, info);
  14518. }
  14519. function logError (err, vm, info) {
  14520. if (true) {
  14521. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  14522. }
  14523. /* istanbul ignore else */
  14524. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  14525. console.error(err);
  14526. } else {
  14527. throw err
  14528. }
  14529. }
  14530. /* */
  14531. var callbacks = [];
  14532. var pending = false;
  14533. function flushCallbacks () {
  14534. pending = false;
  14535. var copies = callbacks.slice(0);
  14536. callbacks.length = 0;
  14537. for (var i = 0; i < copies.length; i++) {
  14538. copies[i]();
  14539. }
  14540. }
  14541. // Here we have async deferring wrappers using microtasks.
  14542. // In 2.5 we used (macro) tasks (in combination with microtasks).
  14543. // However, it has subtle problems when state is changed right before repaint
  14544. // (e.g. #6813, out-in transitions).
  14545. // Also, using (macro) tasks in event handler would cause some weird behaviors
  14546. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  14547. // So we now use microtasks everywhere, again.
  14548. // A major drawback of this tradeoff is that there are some scenarios
  14549. // where microtasks have too high a priority and fire in between supposedly
  14550. // sequential events (e.g. #4521, #6690, which have workarounds)
  14551. // or even between bubbling of the same event (#6566).
  14552. var timerFunc;
  14553. // The nextTick behavior leverages the microtask queue, which can be accessed
  14554. // via either native Promise.then or MutationObserver.
  14555. // MutationObserver has wider support, however it is seriously bugged in
  14556. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  14557. // completely stops working after triggering a few times... so, if native
  14558. // Promise is available, we will use it:
  14559. /* istanbul ignore next, $flow-disable-line */
  14560. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  14561. var p = Promise.resolve();
  14562. timerFunc = function () {
  14563. p.then(flushCallbacks);
  14564. // In problematic UIWebViews, Promise.then doesn't completely break, but
  14565. // it can get stuck in a weird state where callbacks are pushed into the
  14566. // microtask queue but the queue isn't being flushed, until the browser
  14567. // needs to do some other work, e.g. handle a timer. Therefore we can
  14568. // "force" the microtask queue to be flushed by adding an empty timer.
  14569. if (isIOS) { setTimeout(noop); }
  14570. };
  14571. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  14572. isNative(MutationObserver) ||
  14573. // PhantomJS and iOS 7.x
  14574. MutationObserver.toString() === '[object MutationObserverConstructor]'
  14575. )) {
  14576. // Use MutationObserver where native Promise is not available,
  14577. // e.g. PhantomJS, iOS7, Android 4.4
  14578. // (#6466 MutationObserver is unreliable in IE11)
  14579. var counter = 1;
  14580. var observer = new MutationObserver(flushCallbacks);
  14581. var textNode = document.createTextNode(String(counter));
  14582. observer.observe(textNode, {
  14583. characterData: true
  14584. });
  14585. timerFunc = function () {
  14586. counter = (counter + 1) % 2;
  14587. textNode.data = String(counter);
  14588. };
  14589. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  14590. // Fallback to setImmediate.
  14591. // Technically it leverages the (macro) task queue,
  14592. // but it is still a better choice than setTimeout.
  14593. timerFunc = function () {
  14594. setImmediate(flushCallbacks);
  14595. };
  14596. } else {
  14597. // Fallback to setTimeout.
  14598. timerFunc = function () {
  14599. setTimeout(flushCallbacks, 0);
  14600. };
  14601. }
  14602. function nextTick (cb, ctx) {
  14603. var _resolve;
  14604. callbacks.push(function () {
  14605. if (cb) {
  14606. try {
  14607. cb.call(ctx);
  14608. } catch (e) {
  14609. handleError(e, ctx, 'nextTick');
  14610. }
  14611. } else if (_resolve) {
  14612. _resolve(ctx);
  14613. }
  14614. });
  14615. if (!pending) {
  14616. pending = true;
  14617. timerFunc();
  14618. }
  14619. // $flow-disable-line
  14620. if (!cb && typeof Promise !== 'undefined') {
  14621. return new Promise(function (resolve) {
  14622. _resolve = resolve;
  14623. })
  14624. }
  14625. }
  14626. /* */
  14627. /* not type checking this file because flow doesn't play well with Proxy */
  14628. var initProxy;
  14629. if (true) {
  14630. var allowedGlobals = makeMap(
  14631. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  14632. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  14633. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  14634. 'require' // for Webpack/Browserify
  14635. );
  14636. var warnNonPresent = function (target, key) {
  14637. warn(
  14638. "Property or method \"" + key + "\" is not defined on the instance but " +
  14639. 'referenced during render. Make sure that this property is reactive, ' +
  14640. 'either in the data option, or for class-based components, by ' +
  14641. 'initializing the property. ' +
  14642. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  14643. target
  14644. );
  14645. };
  14646. var warnReservedPrefix = function (target, key) {
  14647. warn(
  14648. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  14649. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  14650. 'prevent conflicts with Vue internals. ' +
  14651. 'See: https://vuejs.org/v2/api/#data',
  14652. target
  14653. );
  14654. };
  14655. var hasProxy =
  14656. typeof Proxy !== 'undefined' && isNative(Proxy);
  14657. if (hasProxy) {
  14658. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  14659. config.keyCodes = new Proxy(config.keyCodes, {
  14660. set: function set (target, key, value) {
  14661. if (isBuiltInModifier(key)) {
  14662. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  14663. return false
  14664. } else {
  14665. target[key] = value;
  14666. return true
  14667. }
  14668. }
  14669. });
  14670. }
  14671. var hasHandler = {
  14672. has: function has (target, key) {
  14673. var has = key in target;
  14674. var isAllowed = allowedGlobals(key) ||
  14675. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  14676. if (!has && !isAllowed) {
  14677. if (key in target.$data) { warnReservedPrefix(target, key); }
  14678. else { warnNonPresent(target, key); }
  14679. }
  14680. return has || !isAllowed
  14681. }
  14682. };
  14683. var getHandler = {
  14684. get: function get (target, key) {
  14685. if (typeof key === 'string' && !(key in target)) {
  14686. if (key in target.$data) { warnReservedPrefix(target, key); }
  14687. else { warnNonPresent(target, key); }
  14688. }
  14689. return target[key]
  14690. }
  14691. };
  14692. initProxy = function initProxy (vm) {
  14693. if (hasProxy) {
  14694. // determine which proxy handler to use
  14695. var options = vm.$options;
  14696. var handlers = options.render && options.render._withStripped
  14697. ? getHandler
  14698. : hasHandler;
  14699. vm._renderProxy = new Proxy(vm, handlers);
  14700. } else {
  14701. vm._renderProxy = vm;
  14702. }
  14703. };
  14704. }
  14705. /* */
  14706. var seenObjects = new _Set();
  14707. /**
  14708. * Recursively traverse an object to evoke all converted
  14709. * getters, so that every nested property inside the object
  14710. * is collected as a "deep" dependency.
  14711. */
  14712. function traverse (val) {
  14713. _traverse(val, seenObjects);
  14714. seenObjects.clear();
  14715. }
  14716. function _traverse (val, seen) {
  14717. var i, keys;
  14718. var isA = Array.isArray(val);
  14719. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  14720. return
  14721. }
  14722. if (val.__ob__) {
  14723. var depId = val.__ob__.dep.id;
  14724. if (seen.has(depId)) {
  14725. return
  14726. }
  14727. seen.add(depId);
  14728. }
  14729. if (isA) {
  14730. i = val.length;
  14731. while (i--) { _traverse(val[i], seen); }
  14732. } else {
  14733. keys = Object.keys(val);
  14734. i = keys.length;
  14735. while (i--) { _traverse(val[keys[i]], seen); }
  14736. }
  14737. }
  14738. var mark;
  14739. var measure;
  14740. if (true) {
  14741. var perf = inBrowser && window.performance;
  14742. /* istanbul ignore if */
  14743. if (
  14744. perf &&
  14745. perf.mark &&
  14746. perf.measure &&
  14747. perf.clearMarks &&
  14748. perf.clearMeasures
  14749. ) {
  14750. mark = function (tag) { return perf.mark(tag); };
  14751. measure = function (name, startTag, endTag) {
  14752. perf.measure(name, startTag, endTag);
  14753. perf.clearMarks(startTag);
  14754. perf.clearMarks(endTag);
  14755. // perf.clearMeasures(name)
  14756. };
  14757. }
  14758. }
  14759. /* */
  14760. var normalizeEvent = cached(function (name) {
  14761. var passive = name.charAt(0) === '&';
  14762. name = passive ? name.slice(1) : name;
  14763. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  14764. name = once$$1 ? name.slice(1) : name;
  14765. var capture = name.charAt(0) === '!';
  14766. name = capture ? name.slice(1) : name;
  14767. return {
  14768. name: name,
  14769. once: once$$1,
  14770. capture: capture,
  14771. passive: passive
  14772. }
  14773. });
  14774. function createFnInvoker (fns, vm) {
  14775. function invoker () {
  14776. var arguments$1 = arguments;
  14777. var fns = invoker.fns;
  14778. if (Array.isArray(fns)) {
  14779. var cloned = fns.slice();
  14780. for (var i = 0; i < cloned.length; i++) {
  14781. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  14782. }
  14783. } else {
  14784. // return handler return value for single handlers
  14785. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  14786. }
  14787. }
  14788. invoker.fns = fns;
  14789. return invoker
  14790. }
  14791. function updateListeners (
  14792. on,
  14793. oldOn,
  14794. add,
  14795. remove$$1,
  14796. createOnceHandler,
  14797. vm
  14798. ) {
  14799. var name, def$$1, cur, old, event;
  14800. for (name in on) {
  14801. def$$1 = cur = on[name];
  14802. old = oldOn[name];
  14803. event = normalizeEvent(name);
  14804. if (isUndef(cur)) {
  14805. true && warn(
  14806. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  14807. vm
  14808. );
  14809. } else if (isUndef(old)) {
  14810. if (isUndef(cur.fns)) {
  14811. cur = on[name] = createFnInvoker(cur, vm);
  14812. }
  14813. if (isTrue(event.once)) {
  14814. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  14815. }
  14816. add(event.name, cur, event.capture, event.passive, event.params);
  14817. } else if (cur !== old) {
  14818. old.fns = cur;
  14819. on[name] = old;
  14820. }
  14821. }
  14822. for (name in oldOn) {
  14823. if (isUndef(on[name])) {
  14824. event = normalizeEvent(name);
  14825. remove$$1(event.name, oldOn[name], event.capture);
  14826. }
  14827. }
  14828. }
  14829. /* */
  14830. /* */
  14831. // fixed by xxxxxx (mp properties)
  14832. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  14833. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  14834. if (isUndef(propOptions)) {
  14835. return res
  14836. }
  14837. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  14838. var attrs = data.attrs;
  14839. var props = data.props;
  14840. if (isDef(attrs) || isDef(props)) {
  14841. for (var key in propOptions) {
  14842. var altKey = hyphenate(key);
  14843. var result = checkProp(res, props, key, altKey, true) ||
  14844. checkProp(res, attrs, key, altKey, false);
  14845. // externalClass
  14846. if (
  14847. result &&
  14848. res[key] &&
  14849. externalClasses.indexOf(altKey) !== -1 &&
  14850. context[camelize(res[key])]
  14851. ) {
  14852. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  14853. res[key] = context[camelize(res[key])];
  14854. }
  14855. }
  14856. }
  14857. return res
  14858. }
  14859. function extractPropsFromVNodeData (
  14860. data,
  14861. Ctor,
  14862. tag,
  14863. context// fixed by xxxxxx
  14864. ) {
  14865. // we are only extracting raw values here.
  14866. // validation and default values are handled in the child
  14867. // component itself.
  14868. var propOptions = Ctor.options.props;
  14869. if (isUndef(propOptions)) {
  14870. // fixed by xxxxxx
  14871. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  14872. }
  14873. var res = {};
  14874. var attrs = data.attrs;
  14875. var props = data.props;
  14876. if (isDef(attrs) || isDef(props)) {
  14877. for (var key in propOptions) {
  14878. var altKey = hyphenate(key);
  14879. if (true) {
  14880. var keyInLowerCase = key.toLowerCase();
  14881. if (
  14882. key !== keyInLowerCase &&
  14883. attrs && hasOwn(attrs, keyInLowerCase)
  14884. ) {
  14885. tip(
  14886. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  14887. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  14888. " \"" + key + "\". " +
  14889. "Note that HTML attributes are case-insensitive and camelCased " +
  14890. "props need to use their kebab-case equivalents when using in-DOM " +
  14891. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  14892. );
  14893. }
  14894. }
  14895. checkProp(res, props, key, altKey, true) ||
  14896. checkProp(res, attrs, key, altKey, false);
  14897. }
  14898. }
  14899. // fixed by xxxxxx
  14900. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  14901. }
  14902. function checkProp (
  14903. res,
  14904. hash,
  14905. key,
  14906. altKey,
  14907. preserve
  14908. ) {
  14909. if (isDef(hash)) {
  14910. if (hasOwn(hash, key)) {
  14911. res[key] = hash[key];
  14912. if (!preserve) {
  14913. delete hash[key];
  14914. }
  14915. return true
  14916. } else if (hasOwn(hash, altKey)) {
  14917. res[key] = hash[altKey];
  14918. if (!preserve) {
  14919. delete hash[altKey];
  14920. }
  14921. return true
  14922. }
  14923. }
  14924. return false
  14925. }
  14926. /* */
  14927. // The template compiler attempts to minimize the need for normalization by
  14928. // statically analyzing the template at compile time.
  14929. //
  14930. // For plain HTML markup, normalization can be completely skipped because the
  14931. // generated render function is guaranteed to return Array<VNode>. There are
  14932. // two cases where extra normalization is needed:
  14933. // 1. When the children contains components - because a functional component
  14934. // may return an Array instead of a single root. In this case, just a simple
  14935. // normalization is needed - if any child is an Array, we flatten the whole
  14936. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  14937. // because functional components already normalize their own children.
  14938. function simpleNormalizeChildren (children) {
  14939. for (var i = 0; i < children.length; i++) {
  14940. if (Array.isArray(children[i])) {
  14941. return Array.prototype.concat.apply([], children)
  14942. }
  14943. }
  14944. return children
  14945. }
  14946. // 2. When the children contains constructs that always generated nested Arrays,
  14947. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  14948. // with hand-written render functions / JSX. In such cases a full normalization
  14949. // is needed to cater to all possible types of children values.
  14950. function normalizeChildren (children) {
  14951. return isPrimitive(children)
  14952. ? [createTextVNode(children)]
  14953. : Array.isArray(children)
  14954. ? normalizeArrayChildren(children)
  14955. : undefined
  14956. }
  14957. function isTextNode (node) {
  14958. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  14959. }
  14960. function normalizeArrayChildren (children, nestedIndex) {
  14961. var res = [];
  14962. var i, c, lastIndex, last;
  14963. for (i = 0; i < children.length; i++) {
  14964. c = children[i];
  14965. if (isUndef(c) || typeof c === 'boolean') { continue }
  14966. lastIndex = res.length - 1;
  14967. last = res[lastIndex];
  14968. // nested
  14969. if (Array.isArray(c)) {
  14970. if (c.length > 0) {
  14971. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  14972. // merge adjacent text nodes
  14973. if (isTextNode(c[0]) && isTextNode(last)) {
  14974. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  14975. c.shift();
  14976. }
  14977. res.push.apply(res, c);
  14978. }
  14979. } else if (isPrimitive(c)) {
  14980. if (isTextNode(last)) {
  14981. // merge adjacent text nodes
  14982. // this is necessary for SSR hydration because text nodes are
  14983. // essentially merged when rendered to HTML strings
  14984. res[lastIndex] = createTextVNode(last.text + c);
  14985. } else if (c !== '') {
  14986. // convert primitive to vnode
  14987. res.push(createTextVNode(c));
  14988. }
  14989. } else {
  14990. if (isTextNode(c) && isTextNode(last)) {
  14991. // merge adjacent text nodes
  14992. res[lastIndex] = createTextVNode(last.text + c.text);
  14993. } else {
  14994. // default key for nested array children (likely generated by v-for)
  14995. if (isTrue(children._isVList) &&
  14996. isDef(c.tag) &&
  14997. isUndef(c.key) &&
  14998. isDef(nestedIndex)) {
  14999. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  15000. }
  15001. res.push(c);
  15002. }
  15003. }
  15004. }
  15005. return res
  15006. }
  15007. /* */
  15008. function initProvide (vm) {
  15009. var provide = vm.$options.provide;
  15010. if (provide) {
  15011. vm._provided = typeof provide === 'function'
  15012. ? provide.call(vm)
  15013. : provide;
  15014. }
  15015. }
  15016. function initInjections (vm) {
  15017. var result = resolveInject(vm.$options.inject, vm);
  15018. if (result) {
  15019. toggleObserving(false);
  15020. Object.keys(result).forEach(function (key) {
  15021. /* istanbul ignore else */
  15022. if (true) {
  15023. defineReactive$$1(vm, key, result[key], function () {
  15024. warn(
  15025. "Avoid mutating an injected value directly since the changes will be " +
  15026. "overwritten whenever the provided component re-renders. " +
  15027. "injection being mutated: \"" + key + "\"",
  15028. vm
  15029. );
  15030. });
  15031. } else {}
  15032. });
  15033. toggleObserving(true);
  15034. }
  15035. }
  15036. function resolveInject (inject, vm) {
  15037. if (inject) {
  15038. // inject is :any because flow is not smart enough to figure out cached
  15039. var result = Object.create(null);
  15040. var keys = hasSymbol
  15041. ? Reflect.ownKeys(inject)
  15042. : Object.keys(inject);
  15043. for (var i = 0; i < keys.length; i++) {
  15044. var key = keys[i];
  15045. // #6574 in case the inject object is observed...
  15046. if (key === '__ob__') { continue }
  15047. var provideKey = inject[key].from;
  15048. var source = vm;
  15049. while (source) {
  15050. if (source._provided && hasOwn(source._provided, provideKey)) {
  15051. result[key] = source._provided[provideKey];
  15052. break
  15053. }
  15054. source = source.$parent;
  15055. }
  15056. if (!source) {
  15057. if ('default' in inject[key]) {
  15058. var provideDefault = inject[key].default;
  15059. result[key] = typeof provideDefault === 'function'
  15060. ? provideDefault.call(vm)
  15061. : provideDefault;
  15062. } else if (true) {
  15063. warn(("Injection \"" + key + "\" not found"), vm);
  15064. }
  15065. }
  15066. }
  15067. return result
  15068. }
  15069. }
  15070. /* */
  15071. /**
  15072. * Runtime helper for resolving raw children VNodes into a slot object.
  15073. */
  15074. function resolveSlots (
  15075. children,
  15076. context
  15077. ) {
  15078. if (!children || !children.length) {
  15079. return {}
  15080. }
  15081. var slots = {};
  15082. for (var i = 0, l = children.length; i < l; i++) {
  15083. var child = children[i];
  15084. var data = child.data;
  15085. // remove slot attribute if the node is resolved as a Vue slot node
  15086. if (data && data.attrs && data.attrs.slot) {
  15087. delete data.attrs.slot;
  15088. }
  15089. // named slots should only be respected if the vnode was rendered in the
  15090. // same context.
  15091. if ((child.context === context || child.fnContext === context) &&
  15092. data && data.slot != null
  15093. ) {
  15094. var name = data.slot;
  15095. var slot = (slots[name] || (slots[name] = []));
  15096. if (child.tag === 'template') {
  15097. slot.push.apply(slot, child.children || []);
  15098. } else {
  15099. slot.push(child);
  15100. }
  15101. } else {
  15102. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  15103. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  15104. (slots['page'] || (slots['page'] = [])).push(child);
  15105. }else{
  15106. (slots.default || (slots.default = [])).push(child);
  15107. }
  15108. }
  15109. }
  15110. // ignore slots that contains only whitespace
  15111. for (var name$1 in slots) {
  15112. if (slots[name$1].every(isWhitespace)) {
  15113. delete slots[name$1];
  15114. }
  15115. }
  15116. return slots
  15117. }
  15118. function isWhitespace (node) {
  15119. return (node.isComment && !node.asyncFactory) || node.text === ' '
  15120. }
  15121. /* */
  15122. function normalizeScopedSlots (
  15123. slots,
  15124. normalSlots,
  15125. prevSlots
  15126. ) {
  15127. var res;
  15128. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  15129. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  15130. var key = slots && slots.$key;
  15131. if (!slots) {
  15132. res = {};
  15133. } else if (slots._normalized) {
  15134. // fast path 1: child component re-render only, parent did not change
  15135. return slots._normalized
  15136. } else if (
  15137. isStable &&
  15138. prevSlots &&
  15139. prevSlots !== emptyObject &&
  15140. key === prevSlots.$key &&
  15141. !hasNormalSlots &&
  15142. !prevSlots.$hasNormal
  15143. ) {
  15144. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  15145. // only need to normalize once
  15146. return prevSlots
  15147. } else {
  15148. res = {};
  15149. for (var key$1 in slots) {
  15150. if (slots[key$1] && key$1[0] !== '$') {
  15151. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  15152. }
  15153. }
  15154. }
  15155. // expose normal slots on scopedSlots
  15156. for (var key$2 in normalSlots) {
  15157. if (!(key$2 in res)) {
  15158. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  15159. }
  15160. }
  15161. // avoriaz seems to mock a non-extensible $scopedSlots object
  15162. // and when that is passed down this would cause an error
  15163. if (slots && Object.isExtensible(slots)) {
  15164. (slots)._normalized = res;
  15165. }
  15166. def(res, '$stable', isStable);
  15167. def(res, '$key', key);
  15168. def(res, '$hasNormal', hasNormalSlots);
  15169. return res
  15170. }
  15171. function normalizeScopedSlot(normalSlots, key, fn) {
  15172. var normalized = function () {
  15173. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  15174. res = res && typeof res === 'object' && !Array.isArray(res)
  15175. ? [res] // single vnode
  15176. : normalizeChildren(res);
  15177. return res && (
  15178. res.length === 0 ||
  15179. (res.length === 1 && res[0].isComment) // #9658
  15180. ) ? undefined
  15181. : res
  15182. };
  15183. // this is a slot using the new v-slot syntax without scope. although it is
  15184. // compiled as a scoped slot, render fn users would expect it to be present
  15185. // on this.$slots because the usage is semantically a normal slot.
  15186. if (fn.proxy) {
  15187. Object.defineProperty(normalSlots, key, {
  15188. get: normalized,
  15189. enumerable: true,
  15190. configurable: true
  15191. });
  15192. }
  15193. return normalized
  15194. }
  15195. function proxyNormalSlot(slots, key) {
  15196. return function () { return slots[key]; }
  15197. }
  15198. /* */
  15199. /**
  15200. * Runtime helper for rendering v-for lists.
  15201. */
  15202. function renderList (
  15203. val,
  15204. render
  15205. ) {
  15206. var ret, i, l, keys, key;
  15207. if (Array.isArray(val) || typeof val === 'string') {
  15208. ret = new Array(val.length);
  15209. for (i = 0, l = val.length; i < l; i++) {
  15210. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  15211. }
  15212. } else if (typeof val === 'number') {
  15213. ret = new Array(val);
  15214. for (i = 0; i < val; i++) {
  15215. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  15216. }
  15217. } else if (isObject(val)) {
  15218. if (hasSymbol && val[Symbol.iterator]) {
  15219. ret = [];
  15220. var iterator = val[Symbol.iterator]();
  15221. var result = iterator.next();
  15222. while (!result.done) {
  15223. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  15224. result = iterator.next();
  15225. }
  15226. } else {
  15227. keys = Object.keys(val);
  15228. ret = new Array(keys.length);
  15229. for (i = 0, l = keys.length; i < l; i++) {
  15230. key = keys[i];
  15231. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  15232. }
  15233. }
  15234. }
  15235. if (!isDef(ret)) {
  15236. ret = [];
  15237. }
  15238. (ret)._isVList = true;
  15239. return ret
  15240. }
  15241. /* */
  15242. /**
  15243. * Runtime helper for rendering <slot>
  15244. */
  15245. function renderSlot (
  15246. name,
  15247. fallback,
  15248. props,
  15249. bindObject
  15250. ) {
  15251. var scopedSlotFn = this.$scopedSlots[name];
  15252. var nodes;
  15253. if (scopedSlotFn) { // scoped slot
  15254. props = props || {};
  15255. if (bindObject) {
  15256. if ( true && !isObject(bindObject)) {
  15257. warn(
  15258. 'slot v-bind without argument expects an Object',
  15259. this
  15260. );
  15261. }
  15262. props = extend(extend({}, bindObject), props);
  15263. }
  15264. // fixed by xxxxxx app-plus scopedSlot
  15265. nodes = scopedSlotFn(props, this, props._i) || fallback;
  15266. } else {
  15267. nodes = this.$slots[name] || fallback;
  15268. }
  15269. var target = props && props.slot;
  15270. if (target) {
  15271. return this.$createElement('template', { slot: target }, nodes)
  15272. } else {
  15273. return nodes
  15274. }
  15275. }
  15276. /* */
  15277. /**
  15278. * Runtime helper for resolving filters
  15279. */
  15280. function resolveFilter (id) {
  15281. return resolveAsset(this.$options, 'filters', id, true) || identity
  15282. }
  15283. /* */
  15284. function isKeyNotMatch (expect, actual) {
  15285. if (Array.isArray(expect)) {
  15286. return expect.indexOf(actual) === -1
  15287. } else {
  15288. return expect !== actual
  15289. }
  15290. }
  15291. /**
  15292. * Runtime helper for checking keyCodes from config.
  15293. * exposed as Vue.prototype._k
  15294. * passing in eventKeyName as last argument separately for backwards compat
  15295. */
  15296. function checkKeyCodes (
  15297. eventKeyCode,
  15298. key,
  15299. builtInKeyCode,
  15300. eventKeyName,
  15301. builtInKeyName
  15302. ) {
  15303. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  15304. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  15305. return isKeyNotMatch(builtInKeyName, eventKeyName)
  15306. } else if (mappedKeyCode) {
  15307. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  15308. } else if (eventKeyName) {
  15309. return hyphenate(eventKeyName) !== key
  15310. }
  15311. }
  15312. /* */
  15313. /**
  15314. * Runtime helper for merging v-bind="object" into a VNode's data.
  15315. */
  15316. function bindObjectProps (
  15317. data,
  15318. tag,
  15319. value,
  15320. asProp,
  15321. isSync
  15322. ) {
  15323. if (value) {
  15324. if (!isObject(value)) {
  15325. true && warn(
  15326. 'v-bind without argument expects an Object or Array value',
  15327. this
  15328. );
  15329. } else {
  15330. if (Array.isArray(value)) {
  15331. value = toObject(value);
  15332. }
  15333. var hash;
  15334. var loop = function ( key ) {
  15335. if (
  15336. key === 'class' ||
  15337. key === 'style' ||
  15338. isReservedAttribute(key)
  15339. ) {
  15340. hash = data;
  15341. } else {
  15342. var type = data.attrs && data.attrs.type;
  15343. hash = asProp || config.mustUseProp(tag, type, key)
  15344. ? data.domProps || (data.domProps = {})
  15345. : data.attrs || (data.attrs = {});
  15346. }
  15347. var camelizedKey = camelize(key);
  15348. var hyphenatedKey = hyphenate(key);
  15349. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  15350. hash[key] = value[key];
  15351. if (isSync) {
  15352. var on = data.on || (data.on = {});
  15353. on[("update:" + key)] = function ($event) {
  15354. value[key] = $event;
  15355. };
  15356. }
  15357. }
  15358. };
  15359. for (var key in value) loop( key );
  15360. }
  15361. }
  15362. return data
  15363. }
  15364. /* */
  15365. /**
  15366. * Runtime helper for rendering static trees.
  15367. */
  15368. function renderStatic (
  15369. index,
  15370. isInFor
  15371. ) {
  15372. var cached = this._staticTrees || (this._staticTrees = []);
  15373. var tree = cached[index];
  15374. // if has already-rendered static tree and not inside v-for,
  15375. // we can reuse the same tree.
  15376. if (tree && !isInFor) {
  15377. return tree
  15378. }
  15379. // otherwise, render a fresh tree.
  15380. tree = cached[index] = this.$options.staticRenderFns[index].call(
  15381. this._renderProxy,
  15382. null,
  15383. this // for render fns generated for functional component templates
  15384. );
  15385. markStatic(tree, ("__static__" + index), false);
  15386. return tree
  15387. }
  15388. /**
  15389. * Runtime helper for v-once.
  15390. * Effectively it means marking the node as static with a unique key.
  15391. */
  15392. function markOnce (
  15393. tree,
  15394. index,
  15395. key
  15396. ) {
  15397. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  15398. return tree
  15399. }
  15400. function markStatic (
  15401. tree,
  15402. key,
  15403. isOnce
  15404. ) {
  15405. if (Array.isArray(tree)) {
  15406. for (var i = 0; i < tree.length; i++) {
  15407. if (tree[i] && typeof tree[i] !== 'string') {
  15408. markStaticNode(tree[i], (key + "_" + i), isOnce);
  15409. }
  15410. }
  15411. } else {
  15412. markStaticNode(tree, key, isOnce);
  15413. }
  15414. }
  15415. function markStaticNode (node, key, isOnce) {
  15416. node.isStatic = true;
  15417. node.key = key;
  15418. node.isOnce = isOnce;
  15419. }
  15420. /* */
  15421. function bindObjectListeners (data, value) {
  15422. if (value) {
  15423. if (!isPlainObject(value)) {
  15424. true && warn(
  15425. 'v-on without argument expects an Object value',
  15426. this
  15427. );
  15428. } else {
  15429. var on = data.on = data.on ? extend({}, data.on) : {};
  15430. for (var key in value) {
  15431. var existing = on[key];
  15432. var ours = value[key];
  15433. on[key] = existing ? [].concat(existing, ours) : ours;
  15434. }
  15435. }
  15436. }
  15437. return data
  15438. }
  15439. /* */
  15440. function resolveScopedSlots (
  15441. fns, // see flow/vnode
  15442. res,
  15443. // the following are added in 2.6
  15444. hasDynamicKeys,
  15445. contentHashKey
  15446. ) {
  15447. res = res || { $stable: !hasDynamicKeys };
  15448. for (var i = 0; i < fns.length; i++) {
  15449. var slot = fns[i];
  15450. if (Array.isArray(slot)) {
  15451. resolveScopedSlots(slot, res, hasDynamicKeys);
  15452. } else if (slot) {
  15453. // marker for reverse proxying v-slot without scope on this.$slots
  15454. if (slot.proxy) {
  15455. slot.fn.proxy = true;
  15456. }
  15457. res[slot.key] = slot.fn;
  15458. }
  15459. }
  15460. if (contentHashKey) {
  15461. (res).$key = contentHashKey;
  15462. }
  15463. return res
  15464. }
  15465. /* */
  15466. function bindDynamicKeys (baseObj, values) {
  15467. for (var i = 0; i < values.length; i += 2) {
  15468. var key = values[i];
  15469. if (typeof key === 'string' && key) {
  15470. baseObj[values[i]] = values[i + 1];
  15471. } else if ( true && key !== '' && key !== null) {
  15472. // null is a special value for explicitly removing a binding
  15473. warn(
  15474. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  15475. this
  15476. );
  15477. }
  15478. }
  15479. return baseObj
  15480. }
  15481. // helper to dynamically append modifier runtime markers to event names.
  15482. // ensure only append when value is already string, otherwise it will be cast
  15483. // to string and cause the type check to miss.
  15484. function prependModifier (value, symbol) {
  15485. return typeof value === 'string' ? symbol + value : value
  15486. }
  15487. /* */
  15488. function installRenderHelpers (target) {
  15489. target._o = markOnce;
  15490. target._n = toNumber;
  15491. target._s = toString;
  15492. target._l = renderList;
  15493. target._t = renderSlot;
  15494. target._q = looseEqual;
  15495. target._i = looseIndexOf;
  15496. target._m = renderStatic;
  15497. target._f = resolveFilter;
  15498. target._k = checkKeyCodes;
  15499. target._b = bindObjectProps;
  15500. target._v = createTextVNode;
  15501. target._e = createEmptyVNode;
  15502. target._u = resolveScopedSlots;
  15503. target._g = bindObjectListeners;
  15504. target._d = bindDynamicKeys;
  15505. target._p = prependModifier;
  15506. }
  15507. /* */
  15508. function FunctionalRenderContext (
  15509. data,
  15510. props,
  15511. children,
  15512. parent,
  15513. Ctor
  15514. ) {
  15515. var this$1 = this;
  15516. var options = Ctor.options;
  15517. // ensure the createElement function in functional components
  15518. // gets a unique context - this is necessary for correct named slot check
  15519. var contextVm;
  15520. if (hasOwn(parent, '_uid')) {
  15521. contextVm = Object.create(parent);
  15522. // $flow-disable-line
  15523. contextVm._original = parent;
  15524. } else {
  15525. // the context vm passed in is a functional context as well.
  15526. // in this case we want to make sure we are able to get a hold to the
  15527. // real context instance.
  15528. contextVm = parent;
  15529. // $flow-disable-line
  15530. parent = parent._original;
  15531. }
  15532. var isCompiled = isTrue(options._compiled);
  15533. var needNormalization = !isCompiled;
  15534. this.data = data;
  15535. this.props = props;
  15536. this.children = children;
  15537. this.parent = parent;
  15538. this.listeners = data.on || emptyObject;
  15539. this.injections = resolveInject(options.inject, parent);
  15540. this.slots = function () {
  15541. if (!this$1.$slots) {
  15542. normalizeScopedSlots(
  15543. data.scopedSlots,
  15544. this$1.$slots = resolveSlots(children, parent)
  15545. );
  15546. }
  15547. return this$1.$slots
  15548. };
  15549. Object.defineProperty(this, 'scopedSlots', ({
  15550. enumerable: true,
  15551. get: function get () {
  15552. return normalizeScopedSlots(data.scopedSlots, this.slots())
  15553. }
  15554. }));
  15555. // support for compiled functional template
  15556. if (isCompiled) {
  15557. // exposing $options for renderStatic()
  15558. this.$options = options;
  15559. // pre-resolve slots for renderSlot()
  15560. this.$slots = this.slots();
  15561. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  15562. }
  15563. if (options._scopeId) {
  15564. this._c = function (a, b, c, d) {
  15565. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  15566. if (vnode && !Array.isArray(vnode)) {
  15567. vnode.fnScopeId = options._scopeId;
  15568. vnode.fnContext = parent;
  15569. }
  15570. return vnode
  15571. };
  15572. } else {
  15573. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  15574. }
  15575. }
  15576. installRenderHelpers(FunctionalRenderContext.prototype);
  15577. function createFunctionalComponent (
  15578. Ctor,
  15579. propsData,
  15580. data,
  15581. contextVm,
  15582. children
  15583. ) {
  15584. var options = Ctor.options;
  15585. var props = {};
  15586. var propOptions = options.props;
  15587. if (isDef(propOptions)) {
  15588. for (var key in propOptions) {
  15589. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  15590. }
  15591. } else {
  15592. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  15593. if (isDef(data.props)) { mergeProps(props, data.props); }
  15594. }
  15595. var renderContext = new FunctionalRenderContext(
  15596. data,
  15597. props,
  15598. children,
  15599. contextVm,
  15600. Ctor
  15601. );
  15602. var vnode = options.render.call(null, renderContext._c, renderContext);
  15603. if (vnode instanceof VNode) {
  15604. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  15605. } else if (Array.isArray(vnode)) {
  15606. var vnodes = normalizeChildren(vnode) || [];
  15607. var res = new Array(vnodes.length);
  15608. for (var i = 0; i < vnodes.length; i++) {
  15609. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  15610. }
  15611. return res
  15612. }
  15613. }
  15614. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  15615. // #7817 clone node before setting fnContext, otherwise if the node is reused
  15616. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  15617. // that should not be matched to match.
  15618. var clone = cloneVNode(vnode);
  15619. clone.fnContext = contextVm;
  15620. clone.fnOptions = options;
  15621. if (true) {
  15622. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  15623. }
  15624. if (data.slot) {
  15625. (clone.data || (clone.data = {})).slot = data.slot;
  15626. }
  15627. return clone
  15628. }
  15629. function mergeProps (to, from) {
  15630. for (var key in from) {
  15631. to[camelize(key)] = from[key];
  15632. }
  15633. }
  15634. /* */
  15635. /* */
  15636. /* */
  15637. /* */
  15638. // inline hooks to be invoked on component VNodes during patch
  15639. var componentVNodeHooks = {
  15640. init: function init (vnode, hydrating) {
  15641. if (
  15642. vnode.componentInstance &&
  15643. !vnode.componentInstance._isDestroyed &&
  15644. vnode.data.keepAlive
  15645. ) {
  15646. // kept-alive components, treat as a patch
  15647. var mountedNode = vnode; // work around flow
  15648. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  15649. } else {
  15650. var child = vnode.componentInstance = createComponentInstanceForVnode(
  15651. vnode,
  15652. activeInstance
  15653. );
  15654. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  15655. }
  15656. },
  15657. prepatch: function prepatch (oldVnode, vnode) {
  15658. var options = vnode.componentOptions;
  15659. var child = vnode.componentInstance = oldVnode.componentInstance;
  15660. updateChildComponent(
  15661. child,
  15662. options.propsData, // updated props
  15663. options.listeners, // updated listeners
  15664. vnode, // new parent vnode
  15665. options.children // new children
  15666. );
  15667. },
  15668. insert: function insert (vnode) {
  15669. var context = vnode.context;
  15670. var componentInstance = vnode.componentInstance;
  15671. if (!componentInstance._isMounted) {
  15672. callHook(componentInstance, 'onServiceCreated');
  15673. callHook(componentInstance, 'onServiceAttached');
  15674. componentInstance._isMounted = true;
  15675. callHook(componentInstance, 'mounted');
  15676. }
  15677. if (vnode.data.keepAlive) {
  15678. if (context._isMounted) {
  15679. // vue-router#1212
  15680. // During updates, a kept-alive component's child components may
  15681. // change, so directly walking the tree here may call activated hooks
  15682. // on incorrect children. Instead we push them into a queue which will
  15683. // be processed after the whole patch process ended.
  15684. queueActivatedComponent(componentInstance);
  15685. } else {
  15686. activateChildComponent(componentInstance, true /* direct */);
  15687. }
  15688. }
  15689. },
  15690. destroy: function destroy (vnode) {
  15691. var componentInstance = vnode.componentInstance;
  15692. if (!componentInstance._isDestroyed) {
  15693. if (!vnode.data.keepAlive) {
  15694. componentInstance.$destroy();
  15695. } else {
  15696. deactivateChildComponent(componentInstance, true /* direct */);
  15697. }
  15698. }
  15699. }
  15700. };
  15701. var hooksToMerge = Object.keys(componentVNodeHooks);
  15702. function createComponent (
  15703. Ctor,
  15704. data,
  15705. context,
  15706. children,
  15707. tag
  15708. ) {
  15709. if (isUndef(Ctor)) {
  15710. return
  15711. }
  15712. var baseCtor = context.$options._base;
  15713. // plain options object: turn it into a constructor
  15714. if (isObject(Ctor)) {
  15715. Ctor = baseCtor.extend(Ctor);
  15716. }
  15717. // if at this stage it's not a constructor or an async component factory,
  15718. // reject.
  15719. if (typeof Ctor !== 'function') {
  15720. if (true) {
  15721. warn(("Invalid Component definition: " + (String(Ctor))), context);
  15722. }
  15723. return
  15724. }
  15725. // async component
  15726. var asyncFactory;
  15727. if (isUndef(Ctor.cid)) {
  15728. asyncFactory = Ctor;
  15729. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  15730. if (Ctor === undefined) {
  15731. // return a placeholder node for async component, which is rendered
  15732. // as a comment node but preserves all the raw information for the node.
  15733. // the information will be used for async server-rendering and hydration.
  15734. return createAsyncPlaceholder(
  15735. asyncFactory,
  15736. data,
  15737. context,
  15738. children,
  15739. tag
  15740. )
  15741. }
  15742. }
  15743. data = data || {};
  15744. // resolve constructor options in case global mixins are applied after
  15745. // component constructor creation
  15746. resolveConstructorOptions(Ctor);
  15747. // transform component v-model data into props & events
  15748. if (isDef(data.model)) {
  15749. transformModel(Ctor.options, data);
  15750. }
  15751. // extract props
  15752. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  15753. // functional component
  15754. if (isTrue(Ctor.options.functional)) {
  15755. return createFunctionalComponent(Ctor, propsData, data, context, children)
  15756. }
  15757. // extract listeners, since these needs to be treated as
  15758. // child component listeners instead of DOM listeners
  15759. var listeners = data.on;
  15760. // replace with listeners with .native modifier
  15761. // so it gets processed during parent component patch.
  15762. data.on = data.nativeOn;
  15763. if (isTrue(Ctor.options.abstract)) {
  15764. // abstract components do not keep anything
  15765. // other than props & listeners & slot
  15766. // work around flow
  15767. var slot = data.slot;
  15768. data = {};
  15769. if (slot) {
  15770. data.slot = slot;
  15771. }
  15772. }
  15773. // install component management hooks onto the placeholder node
  15774. installComponentHooks(data);
  15775. // return a placeholder vnode
  15776. var name = Ctor.options.name || tag;
  15777. var vnode = new VNode(
  15778. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  15779. data, undefined, undefined, undefined, context,
  15780. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  15781. asyncFactory
  15782. );
  15783. return vnode
  15784. }
  15785. function createComponentInstanceForVnode (
  15786. vnode, // we know it's MountedComponentVNode but flow doesn't
  15787. parent // activeInstance in lifecycle state
  15788. ) {
  15789. var options = {
  15790. _isComponent: true,
  15791. _parentVnode: vnode,
  15792. parent: parent
  15793. };
  15794. // check inline-template render functions
  15795. var inlineTemplate = vnode.data.inlineTemplate;
  15796. if (isDef(inlineTemplate)) {
  15797. options.render = inlineTemplate.render;
  15798. options.staticRenderFns = inlineTemplate.staticRenderFns;
  15799. }
  15800. return new vnode.componentOptions.Ctor(options)
  15801. }
  15802. function installComponentHooks (data) {
  15803. var hooks = data.hook || (data.hook = {});
  15804. for (var i = 0; i < hooksToMerge.length; i++) {
  15805. var key = hooksToMerge[i];
  15806. var existing = hooks[key];
  15807. var toMerge = componentVNodeHooks[key];
  15808. if (existing !== toMerge && !(existing && existing._merged)) {
  15809. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  15810. }
  15811. }
  15812. }
  15813. function mergeHook$1 (f1, f2) {
  15814. var merged = function (a, b) {
  15815. // flow complains about extra args which is why we use any
  15816. f1(a, b);
  15817. f2(a, b);
  15818. };
  15819. merged._merged = true;
  15820. return merged
  15821. }
  15822. // transform component v-model info (value and callback) into
  15823. // prop and event handler respectively.
  15824. function transformModel (options, data) {
  15825. var prop = (options.model && options.model.prop) || 'value';
  15826. var event = (options.model && options.model.event) || 'input'
  15827. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  15828. var on = data.on || (data.on = {});
  15829. var existing = on[event];
  15830. var callback = data.model.callback;
  15831. if (isDef(existing)) {
  15832. if (
  15833. Array.isArray(existing)
  15834. ? existing.indexOf(callback) === -1
  15835. : existing !== callback
  15836. ) {
  15837. on[event] = [callback].concat(existing);
  15838. }
  15839. } else {
  15840. on[event] = callback;
  15841. }
  15842. }
  15843. /* */
  15844. var SIMPLE_NORMALIZE = 1;
  15845. var ALWAYS_NORMALIZE = 2;
  15846. // wrapper function for providing a more flexible interface
  15847. // without getting yelled at by flow
  15848. function createElement (
  15849. context,
  15850. tag,
  15851. data,
  15852. children,
  15853. normalizationType,
  15854. alwaysNormalize
  15855. ) {
  15856. if (Array.isArray(data) || isPrimitive(data)) {
  15857. normalizationType = children;
  15858. children = data;
  15859. data = undefined;
  15860. }
  15861. if (isTrue(alwaysNormalize)) {
  15862. normalizationType = ALWAYS_NORMALIZE;
  15863. }
  15864. return _createElement(context, tag, data, children, normalizationType)
  15865. }
  15866. function _createElement (
  15867. context,
  15868. tag,
  15869. data,
  15870. children,
  15871. normalizationType
  15872. ) {
  15873. if (isDef(data) && isDef((data).__ob__)) {
  15874. true && warn(
  15875. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  15876. 'Always create fresh vnode data objects in each render!',
  15877. context
  15878. );
  15879. return createEmptyVNode()
  15880. }
  15881. // object syntax in v-bind
  15882. if (isDef(data) && isDef(data.is)) {
  15883. tag = data.is;
  15884. }
  15885. if (!tag) {
  15886. // in case of component :is set to falsy value
  15887. return createEmptyVNode()
  15888. }
  15889. // warn against non-primitive key
  15890. if ( true &&
  15891. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  15892. ) {
  15893. {
  15894. warn(
  15895. 'Avoid using non-primitive value as key, ' +
  15896. 'use string/number value instead.',
  15897. context
  15898. );
  15899. }
  15900. }
  15901. // support single function children as default scoped slot
  15902. if (Array.isArray(children) &&
  15903. typeof children[0] === 'function'
  15904. ) {
  15905. data = data || {};
  15906. data.scopedSlots = { default: children[0] };
  15907. children.length = 0;
  15908. }
  15909. if (normalizationType === ALWAYS_NORMALIZE) {
  15910. children = normalizeChildren(children);
  15911. } else if (normalizationType === SIMPLE_NORMALIZE) {
  15912. children = simpleNormalizeChildren(children);
  15913. }
  15914. var vnode, ns;
  15915. if (typeof tag === 'string') {
  15916. var Ctor;
  15917. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  15918. if (config.isReservedTag(tag)) {
  15919. // platform built-in elements
  15920. if ( true && isDef(data) && isDef(data.nativeOn)) {
  15921. warn(
  15922. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  15923. context
  15924. );
  15925. }
  15926. vnode = new VNode(
  15927. config.parsePlatformTagName(tag), data, children,
  15928. undefined, undefined, context
  15929. );
  15930. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  15931. // component
  15932. vnode = createComponent(Ctor, data, context, children, tag);
  15933. } else {
  15934. // unknown or unlisted namespaced elements
  15935. // check at runtime because it may get assigned a namespace when its
  15936. // parent normalizes children
  15937. vnode = new VNode(
  15938. tag, data, children,
  15939. undefined, undefined, context
  15940. );
  15941. }
  15942. } else {
  15943. // direct component options / constructor
  15944. vnode = createComponent(tag, data, context, children);
  15945. }
  15946. if (Array.isArray(vnode)) {
  15947. return vnode
  15948. } else if (isDef(vnode)) {
  15949. if (isDef(ns)) { applyNS(vnode, ns); }
  15950. if (isDef(data)) { registerDeepBindings(data); }
  15951. return vnode
  15952. } else {
  15953. return createEmptyVNode()
  15954. }
  15955. }
  15956. function applyNS (vnode, ns, force) {
  15957. vnode.ns = ns;
  15958. if (vnode.tag === 'foreignObject') {
  15959. // use default namespace inside foreignObject
  15960. ns = undefined;
  15961. force = true;
  15962. }
  15963. if (isDef(vnode.children)) {
  15964. for (var i = 0, l = vnode.children.length; i < l; i++) {
  15965. var child = vnode.children[i];
  15966. if (isDef(child.tag) && (
  15967. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  15968. applyNS(child, ns, force);
  15969. }
  15970. }
  15971. }
  15972. }
  15973. // ref #5318
  15974. // necessary to ensure parent re-render when deep bindings like :style and
  15975. // :class are used on slot nodes
  15976. function registerDeepBindings (data) {
  15977. if (isObject(data.style)) {
  15978. traverse(data.style);
  15979. }
  15980. if (isObject(data.class)) {
  15981. traverse(data.class);
  15982. }
  15983. }
  15984. /* */
  15985. function initRender (vm) {
  15986. vm._vnode = null; // the root of the child tree
  15987. vm._staticTrees = null; // v-once cached trees
  15988. var options = vm.$options;
  15989. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  15990. var renderContext = parentVnode && parentVnode.context;
  15991. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  15992. vm.$scopedSlots = emptyObject;
  15993. // bind the createElement fn to this instance
  15994. // so that we get proper render context inside it.
  15995. // args order: tag, data, children, normalizationType, alwaysNormalize
  15996. // internal version is used by render functions compiled from templates
  15997. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  15998. // normalization is always applied for the public version, used in
  15999. // user-written render functions.
  16000. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  16001. // $attrs & $listeners are exposed for easier HOC creation.
  16002. // they need to be reactive so that HOCs using them are always updated
  16003. var parentData = parentVnode && parentVnode.data;
  16004. /* istanbul ignore else */
  16005. if (true) {
  16006. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  16007. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  16008. }, true);
  16009. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  16010. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  16011. }, true);
  16012. } else {}
  16013. }
  16014. var currentRenderingInstance = null;
  16015. function renderMixin (Vue) {
  16016. // install runtime convenience helpers
  16017. installRenderHelpers(Vue.prototype);
  16018. Vue.prototype.$nextTick = function (fn) {
  16019. return nextTick(fn, this)
  16020. };
  16021. Vue.prototype._render = function () {
  16022. var vm = this;
  16023. var ref = vm.$options;
  16024. var render = ref.render;
  16025. var _parentVnode = ref._parentVnode;
  16026. if (_parentVnode) {
  16027. vm.$scopedSlots = normalizeScopedSlots(
  16028. _parentVnode.data.scopedSlots,
  16029. vm.$slots,
  16030. vm.$scopedSlots
  16031. );
  16032. }
  16033. // set parent vnode. this allows render functions to have access
  16034. // to the data on the placeholder node.
  16035. vm.$vnode = _parentVnode;
  16036. // render self
  16037. var vnode;
  16038. try {
  16039. // There's no need to maintain a stack because all render fns are called
  16040. // separately from one another. Nested component's render fns are called
  16041. // when parent component is patched.
  16042. currentRenderingInstance = vm;
  16043. vnode = render.call(vm._renderProxy, vm.$createElement);
  16044. } catch (e) {
  16045. handleError(e, vm, "render");
  16046. // return error render result,
  16047. // or previous vnode to prevent render error causing blank component
  16048. /* istanbul ignore else */
  16049. if ( true && vm.$options.renderError) {
  16050. try {
  16051. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  16052. } catch (e) {
  16053. handleError(e, vm, "renderError");
  16054. vnode = vm._vnode;
  16055. }
  16056. } else {
  16057. vnode = vm._vnode;
  16058. }
  16059. } finally {
  16060. currentRenderingInstance = null;
  16061. }
  16062. // if the returned array contains only a single node, allow it
  16063. if (Array.isArray(vnode) && vnode.length === 1) {
  16064. vnode = vnode[0];
  16065. }
  16066. // return empty vnode in case the render function errored out
  16067. if (!(vnode instanceof VNode)) {
  16068. if ( true && Array.isArray(vnode)) {
  16069. warn(
  16070. 'Multiple root nodes returned from render function. Render function ' +
  16071. 'should return a single root node.',
  16072. vm
  16073. );
  16074. }
  16075. vnode = createEmptyVNode();
  16076. }
  16077. // set parent
  16078. vnode.parent = _parentVnode;
  16079. return vnode
  16080. };
  16081. }
  16082. /* */
  16083. function ensureCtor (comp, base) {
  16084. if (
  16085. comp.__esModule ||
  16086. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  16087. ) {
  16088. comp = comp.default;
  16089. }
  16090. return isObject(comp)
  16091. ? base.extend(comp)
  16092. : comp
  16093. }
  16094. function createAsyncPlaceholder (
  16095. factory,
  16096. data,
  16097. context,
  16098. children,
  16099. tag
  16100. ) {
  16101. var node = createEmptyVNode();
  16102. node.asyncFactory = factory;
  16103. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  16104. return node
  16105. }
  16106. function resolveAsyncComponent (
  16107. factory,
  16108. baseCtor
  16109. ) {
  16110. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  16111. return factory.errorComp
  16112. }
  16113. if (isDef(factory.resolved)) {
  16114. return factory.resolved
  16115. }
  16116. var owner = currentRenderingInstance;
  16117. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  16118. // already pending
  16119. factory.owners.push(owner);
  16120. }
  16121. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  16122. return factory.loadingComp
  16123. }
  16124. if (owner && !isDef(factory.owners)) {
  16125. var owners = factory.owners = [owner];
  16126. var sync = true;
  16127. var timerLoading = null;
  16128. var timerTimeout = null
  16129. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  16130. var forceRender = function (renderCompleted) {
  16131. for (var i = 0, l = owners.length; i < l; i++) {
  16132. (owners[i]).$forceUpdate();
  16133. }
  16134. if (renderCompleted) {
  16135. owners.length = 0;
  16136. if (timerLoading !== null) {
  16137. clearTimeout(timerLoading);
  16138. timerLoading = null;
  16139. }
  16140. if (timerTimeout !== null) {
  16141. clearTimeout(timerTimeout);
  16142. timerTimeout = null;
  16143. }
  16144. }
  16145. };
  16146. var resolve = once(function (res) {
  16147. // cache resolved
  16148. factory.resolved = ensureCtor(res, baseCtor);
  16149. // invoke callbacks only if this is not a synchronous resolve
  16150. // (async resolves are shimmed as synchronous during SSR)
  16151. if (!sync) {
  16152. forceRender(true);
  16153. } else {
  16154. owners.length = 0;
  16155. }
  16156. });
  16157. var reject = once(function (reason) {
  16158. true && warn(
  16159. "Failed to resolve async component: " + (String(factory)) +
  16160. (reason ? ("\nReason: " + reason) : '')
  16161. );
  16162. if (isDef(factory.errorComp)) {
  16163. factory.error = true;
  16164. forceRender(true);
  16165. }
  16166. });
  16167. var res = factory(resolve, reject);
  16168. if (isObject(res)) {
  16169. if (isPromise(res)) {
  16170. // () => Promise
  16171. if (isUndef(factory.resolved)) {
  16172. res.then(resolve, reject);
  16173. }
  16174. } else if (isPromise(res.component)) {
  16175. res.component.then(resolve, reject);
  16176. if (isDef(res.error)) {
  16177. factory.errorComp = ensureCtor(res.error, baseCtor);
  16178. }
  16179. if (isDef(res.loading)) {
  16180. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  16181. if (res.delay === 0) {
  16182. factory.loading = true;
  16183. } else {
  16184. timerLoading = setTimeout(function () {
  16185. timerLoading = null;
  16186. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  16187. factory.loading = true;
  16188. forceRender(false);
  16189. }
  16190. }, res.delay || 200);
  16191. }
  16192. }
  16193. if (isDef(res.timeout)) {
  16194. timerTimeout = setTimeout(function () {
  16195. timerTimeout = null;
  16196. if (isUndef(factory.resolved)) {
  16197. reject(
  16198. true
  16199. ? ("timeout (" + (res.timeout) + "ms)")
  16200. : undefined
  16201. );
  16202. }
  16203. }, res.timeout);
  16204. }
  16205. }
  16206. }
  16207. sync = false;
  16208. // return in case resolved synchronously
  16209. return factory.loading
  16210. ? factory.loadingComp
  16211. : factory.resolved
  16212. }
  16213. }
  16214. /* */
  16215. function isAsyncPlaceholder (node) {
  16216. return node.isComment && node.asyncFactory
  16217. }
  16218. /* */
  16219. function getFirstComponentChild (children) {
  16220. if (Array.isArray(children)) {
  16221. for (var i = 0; i < children.length; i++) {
  16222. var c = children[i];
  16223. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  16224. return c
  16225. }
  16226. }
  16227. }
  16228. }
  16229. /* */
  16230. /* */
  16231. function initEvents (vm) {
  16232. vm._events = Object.create(null);
  16233. vm._hasHookEvent = false;
  16234. // init parent attached events
  16235. var listeners = vm.$options._parentListeners;
  16236. if (listeners) {
  16237. updateComponentListeners(vm, listeners);
  16238. }
  16239. }
  16240. var target;
  16241. function add (event, fn) {
  16242. target.$on(event, fn);
  16243. }
  16244. function remove$1 (event, fn) {
  16245. target.$off(event, fn);
  16246. }
  16247. function createOnceHandler (event, fn) {
  16248. var _target = target;
  16249. return function onceHandler () {
  16250. var res = fn.apply(null, arguments);
  16251. if (res !== null) {
  16252. _target.$off(event, onceHandler);
  16253. }
  16254. }
  16255. }
  16256. function updateComponentListeners (
  16257. vm,
  16258. listeners,
  16259. oldListeners
  16260. ) {
  16261. target = vm;
  16262. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  16263. target = undefined;
  16264. }
  16265. function eventsMixin (Vue) {
  16266. var hookRE = /^hook:/;
  16267. Vue.prototype.$on = function (event, fn) {
  16268. var vm = this;
  16269. if (Array.isArray(event)) {
  16270. for (var i = 0, l = event.length; i < l; i++) {
  16271. vm.$on(event[i], fn);
  16272. }
  16273. } else {
  16274. (vm._events[event] || (vm._events[event] = [])).push(fn);
  16275. // optimize hook:event cost by using a boolean flag marked at registration
  16276. // instead of a hash lookup
  16277. if (hookRE.test(event)) {
  16278. vm._hasHookEvent = true;
  16279. }
  16280. }
  16281. return vm
  16282. };
  16283. Vue.prototype.$once = function (event, fn) {
  16284. var vm = this;
  16285. function on () {
  16286. vm.$off(event, on);
  16287. fn.apply(vm, arguments);
  16288. }
  16289. on.fn = fn;
  16290. vm.$on(event, on);
  16291. return vm
  16292. };
  16293. Vue.prototype.$off = function (event, fn) {
  16294. var vm = this;
  16295. // all
  16296. if (!arguments.length) {
  16297. vm._events = Object.create(null);
  16298. return vm
  16299. }
  16300. // array of events
  16301. if (Array.isArray(event)) {
  16302. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  16303. vm.$off(event[i$1], fn);
  16304. }
  16305. return vm
  16306. }
  16307. // specific event
  16308. var cbs = vm._events[event];
  16309. if (!cbs) {
  16310. return vm
  16311. }
  16312. if (!fn) {
  16313. vm._events[event] = null;
  16314. return vm
  16315. }
  16316. // specific handler
  16317. var cb;
  16318. var i = cbs.length;
  16319. while (i--) {
  16320. cb = cbs[i];
  16321. if (cb === fn || cb.fn === fn) {
  16322. cbs.splice(i, 1);
  16323. break
  16324. }
  16325. }
  16326. return vm
  16327. };
  16328. Vue.prototype.$emit = function (event) {
  16329. var vm = this;
  16330. if (true) {
  16331. var lowerCaseEvent = event.toLowerCase();
  16332. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  16333. tip(
  16334. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  16335. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  16336. "Note that HTML attributes are case-insensitive and you cannot use " +
  16337. "v-on to listen to camelCase events when using in-DOM templates. " +
  16338. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  16339. );
  16340. }
  16341. }
  16342. var cbs = vm._events[event];
  16343. if (cbs) {
  16344. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  16345. var args = toArray(arguments, 1);
  16346. var info = "event handler for \"" + event + "\"";
  16347. for (var i = 0, l = cbs.length; i < l; i++) {
  16348. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  16349. }
  16350. }
  16351. return vm
  16352. };
  16353. }
  16354. /* */
  16355. var activeInstance = null;
  16356. var isUpdatingChildComponent = false;
  16357. function setActiveInstance(vm) {
  16358. var prevActiveInstance = activeInstance;
  16359. activeInstance = vm;
  16360. return function () {
  16361. activeInstance = prevActiveInstance;
  16362. }
  16363. }
  16364. function initLifecycle (vm) {
  16365. var options = vm.$options;
  16366. // locate first non-abstract parent
  16367. var parent = options.parent;
  16368. if (parent && !options.abstract) {
  16369. while (parent.$options.abstract && parent.$parent) {
  16370. parent = parent.$parent;
  16371. }
  16372. parent.$children.push(vm);
  16373. }
  16374. vm.$parent = parent;
  16375. vm.$root = parent ? parent.$root : vm;
  16376. vm.$children = [];
  16377. vm.$refs = {};
  16378. vm._watcher = null;
  16379. vm._inactive = null;
  16380. vm._directInactive = false;
  16381. vm._isMounted = false;
  16382. vm._isDestroyed = false;
  16383. vm._isBeingDestroyed = false;
  16384. }
  16385. function lifecycleMixin (Vue) {
  16386. Vue.prototype._update = function (vnode, hydrating) {
  16387. var vm = this;
  16388. var prevEl = vm.$el;
  16389. var prevVnode = vm._vnode;
  16390. var restoreActiveInstance = setActiveInstance(vm);
  16391. vm._vnode = vnode;
  16392. // Vue.prototype.__patch__ is injected in entry points
  16393. // based on the rendering backend used.
  16394. if (!prevVnode) {
  16395. // initial render
  16396. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  16397. } else {
  16398. // updates
  16399. vm.$el = vm.__patch__(prevVnode, vnode);
  16400. }
  16401. restoreActiveInstance();
  16402. // update __vue__ reference
  16403. if (prevEl) {
  16404. prevEl.__vue__ = null;
  16405. }
  16406. if (vm.$el) {
  16407. vm.$el.__vue__ = vm;
  16408. }
  16409. // if parent is an HOC, update its $el as well
  16410. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  16411. vm.$parent.$el = vm.$el;
  16412. }
  16413. // updated hook is called by the scheduler to ensure that children are
  16414. // updated in a parent's updated hook.
  16415. };
  16416. Vue.prototype.$forceUpdate = function () {
  16417. var vm = this;
  16418. if (vm._watcher) {
  16419. vm._watcher.update();
  16420. }
  16421. };
  16422. Vue.prototype.$destroy = function () {
  16423. var vm = this;
  16424. if (vm._isBeingDestroyed) {
  16425. return
  16426. }
  16427. callHook(vm, 'beforeDestroy');
  16428. vm._isBeingDestroyed = true;
  16429. // remove self from parent
  16430. var parent = vm.$parent;
  16431. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  16432. remove(parent.$children, vm);
  16433. }
  16434. // teardown watchers
  16435. if (vm._watcher) {
  16436. vm._watcher.teardown();
  16437. }
  16438. var i = vm._watchers.length;
  16439. while (i--) {
  16440. vm._watchers[i].teardown();
  16441. }
  16442. // remove reference from data ob
  16443. // frozen object may not have observer.
  16444. if (vm._data.__ob__) {
  16445. vm._data.__ob__.vmCount--;
  16446. }
  16447. // call the last hook...
  16448. vm._isDestroyed = true;
  16449. // invoke destroy hooks on current rendered tree
  16450. vm.__patch__(vm._vnode, null);
  16451. // fire destroyed hook
  16452. callHook(vm, 'destroyed');
  16453. // turn off all instance listeners.
  16454. vm.$off();
  16455. // remove __vue__ reference
  16456. if (vm.$el) {
  16457. vm.$el.__vue__ = null;
  16458. }
  16459. // release circular reference (#6759)
  16460. if (vm.$vnode) {
  16461. vm.$vnode.parent = null;
  16462. }
  16463. };
  16464. }
  16465. function updateChildComponent (
  16466. vm,
  16467. propsData,
  16468. listeners,
  16469. parentVnode,
  16470. renderChildren
  16471. ) {
  16472. if (true) {
  16473. isUpdatingChildComponent = true;
  16474. }
  16475. // determine whether component has slot children
  16476. // we need to do this before overwriting $options._renderChildren.
  16477. // check if there are dynamic scopedSlots (hand-written or compiled but with
  16478. // dynamic slot names). Static scoped slots compiled from template has the
  16479. // "$stable" marker.
  16480. var newScopedSlots = parentVnode.data.scopedSlots;
  16481. var oldScopedSlots = vm.$scopedSlots;
  16482. var hasDynamicScopedSlot = !!(
  16483. (newScopedSlots && !newScopedSlots.$stable) ||
  16484. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  16485. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  16486. );
  16487. // Any static slot children from the parent may have changed during parent's
  16488. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  16489. // update is necessary to ensure correctness.
  16490. var needsForceUpdate = !!(
  16491. renderChildren || // has new static slots
  16492. vm.$options._renderChildren || // has old static slots
  16493. hasDynamicScopedSlot
  16494. );
  16495. vm.$options._parentVnode = parentVnode;
  16496. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  16497. if (vm._vnode) { // update child tree's parent
  16498. vm._vnode.parent = parentVnode;
  16499. }
  16500. vm.$options._renderChildren = renderChildren;
  16501. // update $attrs and $listeners hash
  16502. // these are also reactive so they may trigger child update if the child
  16503. // used them during render
  16504. vm.$attrs = parentVnode.data.attrs || emptyObject;
  16505. vm.$listeners = listeners || emptyObject;
  16506. // update props
  16507. if (propsData && vm.$options.props) {
  16508. toggleObserving(false);
  16509. var props = vm._props;
  16510. var propKeys = vm.$options._propKeys || [];
  16511. for (var i = 0; i < propKeys.length; i++) {
  16512. var key = propKeys[i];
  16513. var propOptions = vm.$options.props; // wtf flow?
  16514. props[key] = validateProp(key, propOptions, propsData, vm);
  16515. }
  16516. toggleObserving(true);
  16517. // keep a copy of raw propsData
  16518. vm.$options.propsData = propsData;
  16519. }
  16520. // fixed by xxxxxx update properties(mp runtime)
  16521. vm._$updateProperties && vm._$updateProperties(vm);
  16522. // update listeners
  16523. listeners = listeners || emptyObject;
  16524. var oldListeners = vm.$options._parentListeners;
  16525. vm.$options._parentListeners = listeners;
  16526. updateComponentListeners(vm, listeners, oldListeners);
  16527. // resolve slots + force update if has children
  16528. if (needsForceUpdate) {
  16529. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  16530. vm.$forceUpdate();
  16531. }
  16532. if (true) {
  16533. isUpdatingChildComponent = false;
  16534. }
  16535. }
  16536. function isInInactiveTree (vm) {
  16537. while (vm && (vm = vm.$parent)) {
  16538. if (vm._inactive) { return true }
  16539. }
  16540. return false
  16541. }
  16542. function activateChildComponent (vm, direct) {
  16543. if (direct) {
  16544. vm._directInactive = false;
  16545. if (isInInactiveTree(vm)) {
  16546. return
  16547. }
  16548. } else if (vm._directInactive) {
  16549. return
  16550. }
  16551. if (vm._inactive || vm._inactive === null) {
  16552. vm._inactive = false;
  16553. for (var i = 0; i < vm.$children.length; i++) {
  16554. activateChildComponent(vm.$children[i]);
  16555. }
  16556. callHook(vm, 'activated');
  16557. }
  16558. }
  16559. function deactivateChildComponent (vm, direct) {
  16560. if (direct) {
  16561. vm._directInactive = true;
  16562. if (isInInactiveTree(vm)) {
  16563. return
  16564. }
  16565. }
  16566. if (!vm._inactive) {
  16567. vm._inactive = true;
  16568. for (var i = 0; i < vm.$children.length; i++) {
  16569. deactivateChildComponent(vm.$children[i]);
  16570. }
  16571. callHook(vm, 'deactivated');
  16572. }
  16573. }
  16574. function callHook (vm, hook) {
  16575. // #7573 disable dep collection when invoking lifecycle hooks
  16576. pushTarget();
  16577. var handlers = vm.$options[hook];
  16578. var info = hook + " hook";
  16579. if (handlers) {
  16580. for (var i = 0, j = handlers.length; i < j; i++) {
  16581. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  16582. }
  16583. }
  16584. if (vm._hasHookEvent) {
  16585. vm.$emit('hook:' + hook);
  16586. }
  16587. popTarget();
  16588. }
  16589. /* */
  16590. var MAX_UPDATE_COUNT = 100;
  16591. var queue = [];
  16592. var activatedChildren = [];
  16593. var has = {};
  16594. var circular = {};
  16595. var waiting = false;
  16596. var flushing = false;
  16597. var index = 0;
  16598. /**
  16599. * Reset the scheduler's state.
  16600. */
  16601. function resetSchedulerState () {
  16602. index = queue.length = activatedChildren.length = 0;
  16603. has = {};
  16604. if (true) {
  16605. circular = {};
  16606. }
  16607. waiting = flushing = false;
  16608. }
  16609. // Async edge case #6566 requires saving the timestamp when event listeners are
  16610. // attached. However, calling performance.now() has a perf overhead especially
  16611. // if the page has thousands of event listeners. Instead, we take a timestamp
  16612. // every time the scheduler flushes and use that for all event listeners
  16613. // attached during that flush.
  16614. var currentFlushTimestamp = 0;
  16615. // Async edge case fix requires storing an event listener's attach timestamp.
  16616. var getNow = Date.now;
  16617. // Determine what event timestamp the browser is using. Annoyingly, the
  16618. // timestamp can either be hi-res (relative to page load) or low-res
  16619. // (relative to UNIX epoch), so in order to compare time we have to use the
  16620. // same timestamp type when saving the flush timestamp.
  16621. // All IE versions use low-res event timestamps, and have problematic clock
  16622. // implementations (#9632)
  16623. if (inBrowser && !isIE) {
  16624. var performance = window.performance;
  16625. if (
  16626. performance &&
  16627. typeof performance.now === 'function' &&
  16628. getNow() > document.createEvent('Event').timeStamp
  16629. ) {
  16630. // if the event timestamp, although evaluated AFTER the Date.now(), is
  16631. // smaller than it, it means the event is using a hi-res timestamp,
  16632. // and we need to use the hi-res version for event listener timestamps as
  16633. // well.
  16634. getNow = function () { return performance.now(); };
  16635. }
  16636. }
  16637. /**
  16638. * Flush both queues and run the watchers.
  16639. */
  16640. function flushSchedulerQueue () {
  16641. currentFlushTimestamp = getNow();
  16642. flushing = true;
  16643. var watcher, id;
  16644. // Sort queue before flush.
  16645. // This ensures that:
  16646. // 1. Components are updated from parent to child. (because parent is always
  16647. // created before the child)
  16648. // 2. A component's user watchers are run before its render watcher (because
  16649. // user watchers are created before the render watcher)
  16650. // 3. If a component is destroyed during a parent component's watcher run,
  16651. // its watchers can be skipped.
  16652. queue.sort(function (a, b) { return a.id - b.id; });
  16653. // do not cache length because more watchers might be pushed
  16654. // as we run existing watchers
  16655. for (index = 0; index < queue.length; index++) {
  16656. watcher = queue[index];
  16657. if (watcher.before) {
  16658. watcher.before();
  16659. }
  16660. id = watcher.id;
  16661. has[id] = null;
  16662. watcher.run();
  16663. // in dev build, check and stop circular updates.
  16664. if ( true && has[id] != null) {
  16665. circular[id] = (circular[id] || 0) + 1;
  16666. if (circular[id] > MAX_UPDATE_COUNT) {
  16667. warn(
  16668. 'You may have an infinite update loop ' + (
  16669. watcher.user
  16670. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  16671. : "in a component render function."
  16672. ),
  16673. watcher.vm
  16674. );
  16675. break
  16676. }
  16677. }
  16678. }
  16679. // keep copies of post queues before resetting state
  16680. var activatedQueue = activatedChildren.slice();
  16681. var updatedQueue = queue.slice();
  16682. resetSchedulerState();
  16683. // call component updated and activated hooks
  16684. callActivatedHooks(activatedQueue);
  16685. callUpdatedHooks(updatedQueue);
  16686. // devtool hook
  16687. /* istanbul ignore if */
  16688. if (devtools && config.devtools) {
  16689. devtools.emit('flush');
  16690. }
  16691. }
  16692. function callUpdatedHooks (queue) {
  16693. var i = queue.length;
  16694. while (i--) {
  16695. var watcher = queue[i];
  16696. var vm = watcher.vm;
  16697. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  16698. callHook(vm, 'updated');
  16699. }
  16700. }
  16701. }
  16702. /**
  16703. * Queue a kept-alive component that was activated during patch.
  16704. * The queue will be processed after the entire tree has been patched.
  16705. */
  16706. function queueActivatedComponent (vm) {
  16707. // setting _inactive to false here so that a render function can
  16708. // rely on checking whether it's in an inactive tree (e.g. router-view)
  16709. vm._inactive = false;
  16710. activatedChildren.push(vm);
  16711. }
  16712. function callActivatedHooks (queue) {
  16713. for (var i = 0; i < queue.length; i++) {
  16714. queue[i]._inactive = true;
  16715. activateChildComponent(queue[i], true /* true */);
  16716. }
  16717. }
  16718. /**
  16719. * Push a watcher into the watcher queue.
  16720. * Jobs with duplicate IDs will be skipped unless it's
  16721. * pushed when the queue is being flushed.
  16722. */
  16723. function queueWatcher (watcher) {
  16724. var id = watcher.id;
  16725. if (has[id] == null) {
  16726. has[id] = true;
  16727. if (!flushing) {
  16728. queue.push(watcher);
  16729. } else {
  16730. // if already flushing, splice the watcher based on its id
  16731. // if already past its id, it will be run next immediately.
  16732. var i = queue.length - 1;
  16733. while (i > index && queue[i].id > watcher.id) {
  16734. i--;
  16735. }
  16736. queue.splice(i + 1, 0, watcher);
  16737. }
  16738. // queue the flush
  16739. if (!waiting) {
  16740. waiting = true;
  16741. if ( true && !config.async) {
  16742. flushSchedulerQueue();
  16743. return
  16744. }
  16745. nextTick(flushSchedulerQueue);
  16746. }
  16747. }
  16748. }
  16749. /* */
  16750. var uid$2 = 0;
  16751. /**
  16752. * A watcher parses an expression, collects dependencies,
  16753. * and fires callback when the expression value changes.
  16754. * This is used for both the $watch() api and directives.
  16755. */
  16756. var Watcher = function Watcher (
  16757. vm,
  16758. expOrFn,
  16759. cb,
  16760. options,
  16761. isRenderWatcher
  16762. ) {
  16763. this.vm = vm;
  16764. if (isRenderWatcher) {
  16765. vm._watcher = this;
  16766. }
  16767. vm._watchers.push(this);
  16768. // options
  16769. if (options) {
  16770. this.deep = !!options.deep;
  16771. this.user = !!options.user;
  16772. this.lazy = !!options.lazy;
  16773. this.sync = !!options.sync;
  16774. this.before = options.before;
  16775. } else {
  16776. this.deep = this.user = this.lazy = this.sync = false;
  16777. }
  16778. this.cb = cb;
  16779. this.id = ++uid$2; // uid for batching
  16780. this.active = true;
  16781. this.dirty = this.lazy; // for lazy watchers
  16782. this.deps = [];
  16783. this.newDeps = [];
  16784. this.depIds = new _Set();
  16785. this.newDepIds = new _Set();
  16786. this.expression = true
  16787. ? expOrFn.toString()
  16788. : undefined;
  16789. // parse expression for getter
  16790. if (typeof expOrFn === 'function') {
  16791. this.getter = expOrFn;
  16792. } else {
  16793. this.getter = parsePath(expOrFn);
  16794. if (!this.getter) {
  16795. this.getter = noop;
  16796. true && warn(
  16797. "Failed watching path: \"" + expOrFn + "\" " +
  16798. 'Watcher only accepts simple dot-delimited paths. ' +
  16799. 'For full control, use a function instead.',
  16800. vm
  16801. );
  16802. }
  16803. }
  16804. this.value = this.lazy
  16805. ? undefined
  16806. : this.get();
  16807. };
  16808. /**
  16809. * Evaluate the getter, and re-collect dependencies.
  16810. */
  16811. Watcher.prototype.get = function get () {
  16812. pushTarget(this);
  16813. var value;
  16814. var vm = this.vm;
  16815. try {
  16816. value = this.getter.call(vm, vm);
  16817. } catch (e) {
  16818. if (this.user) {
  16819. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  16820. } else {
  16821. throw e
  16822. }
  16823. } finally {
  16824. // "touch" every property so they are all tracked as
  16825. // dependencies for deep watching
  16826. if (this.deep) {
  16827. traverse(value);
  16828. }
  16829. popTarget();
  16830. this.cleanupDeps();
  16831. }
  16832. return value
  16833. };
  16834. /**
  16835. * Add a dependency to this directive.
  16836. */
  16837. Watcher.prototype.addDep = function addDep (dep) {
  16838. var id = dep.id;
  16839. if (!this.newDepIds.has(id)) {
  16840. this.newDepIds.add(id);
  16841. this.newDeps.push(dep);
  16842. if (!this.depIds.has(id)) {
  16843. dep.addSub(this);
  16844. }
  16845. }
  16846. };
  16847. /**
  16848. * Clean up for dependency collection.
  16849. */
  16850. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  16851. var i = this.deps.length;
  16852. while (i--) {
  16853. var dep = this.deps[i];
  16854. if (!this.newDepIds.has(dep.id)) {
  16855. dep.removeSub(this);
  16856. }
  16857. }
  16858. var tmp = this.depIds;
  16859. this.depIds = this.newDepIds;
  16860. this.newDepIds = tmp;
  16861. this.newDepIds.clear();
  16862. tmp = this.deps;
  16863. this.deps = this.newDeps;
  16864. this.newDeps = tmp;
  16865. this.newDeps.length = 0;
  16866. };
  16867. /**
  16868. * Subscriber interface.
  16869. * Will be called when a dependency changes.
  16870. */
  16871. Watcher.prototype.update = function update () {
  16872. /* istanbul ignore else */
  16873. if (this.lazy) {
  16874. this.dirty = true;
  16875. } else if (this.sync) {
  16876. this.run();
  16877. } else {
  16878. queueWatcher(this);
  16879. }
  16880. };
  16881. /**
  16882. * Scheduler job interface.
  16883. * Will be called by the scheduler.
  16884. */
  16885. Watcher.prototype.run = function run () {
  16886. if (this.active) {
  16887. var value = this.get();
  16888. if (
  16889. value !== this.value ||
  16890. // Deep watchers and watchers on Object/Arrays should fire even
  16891. // when the value is the same, because the value may
  16892. // have mutated.
  16893. isObject(value) ||
  16894. this.deep
  16895. ) {
  16896. // set new value
  16897. var oldValue = this.value;
  16898. this.value = value;
  16899. if (this.user) {
  16900. try {
  16901. this.cb.call(this.vm, value, oldValue);
  16902. } catch (e) {
  16903. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  16904. }
  16905. } else {
  16906. this.cb.call(this.vm, value, oldValue);
  16907. }
  16908. }
  16909. }
  16910. };
  16911. /**
  16912. * Evaluate the value of the watcher.
  16913. * This only gets called for lazy watchers.
  16914. */
  16915. Watcher.prototype.evaluate = function evaluate () {
  16916. this.value = this.get();
  16917. this.dirty = false;
  16918. };
  16919. /**
  16920. * Depend on all deps collected by this watcher.
  16921. */
  16922. Watcher.prototype.depend = function depend () {
  16923. var i = this.deps.length;
  16924. while (i--) {
  16925. this.deps[i].depend();
  16926. }
  16927. };
  16928. /**
  16929. * Remove self from all dependencies' subscriber list.
  16930. */
  16931. Watcher.prototype.teardown = function teardown () {
  16932. if (this.active) {
  16933. // remove self from vm's watcher list
  16934. // this is a somewhat expensive operation so we skip it
  16935. // if the vm is being destroyed.
  16936. if (!this.vm._isBeingDestroyed) {
  16937. remove(this.vm._watchers, this);
  16938. }
  16939. var i = this.deps.length;
  16940. while (i--) {
  16941. this.deps[i].removeSub(this);
  16942. }
  16943. this.active = false;
  16944. }
  16945. };
  16946. /* */
  16947. var sharedPropertyDefinition = {
  16948. enumerable: true,
  16949. configurable: true,
  16950. get: noop,
  16951. set: noop
  16952. };
  16953. function proxy (target, sourceKey, key) {
  16954. sharedPropertyDefinition.get = function proxyGetter () {
  16955. return this[sourceKey][key]
  16956. };
  16957. sharedPropertyDefinition.set = function proxySetter (val) {
  16958. this[sourceKey][key] = val;
  16959. };
  16960. Object.defineProperty(target, key, sharedPropertyDefinition);
  16961. }
  16962. function initState (vm) {
  16963. vm._watchers = [];
  16964. var opts = vm.$options;
  16965. if (opts.props) { initProps(vm, opts.props); }
  16966. if (opts.methods) { initMethods(vm, opts.methods); }
  16967. if (opts.data) {
  16968. initData(vm);
  16969. } else {
  16970. observe(vm._data = {}, true /* asRootData */);
  16971. }
  16972. if (opts.computed) { initComputed(vm, opts.computed); }
  16973. if (opts.watch && opts.watch !== nativeWatch) {
  16974. initWatch(vm, opts.watch);
  16975. }
  16976. }
  16977. function initProps (vm, propsOptions) {
  16978. var propsData = vm.$options.propsData || {};
  16979. var props = vm._props = {};
  16980. // cache prop keys so that future props updates can iterate using Array
  16981. // instead of dynamic object key enumeration.
  16982. var keys = vm.$options._propKeys = [];
  16983. var isRoot = !vm.$parent;
  16984. // root instance props should be converted
  16985. if (!isRoot) {
  16986. toggleObserving(false);
  16987. }
  16988. var loop = function ( key ) {
  16989. keys.push(key);
  16990. var value = validateProp(key, propsOptions, propsData, vm);
  16991. /* istanbul ignore else */
  16992. if (true) {
  16993. var hyphenatedKey = hyphenate(key);
  16994. if (isReservedAttribute(hyphenatedKey) ||
  16995. config.isReservedAttr(hyphenatedKey)) {
  16996. warn(
  16997. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  16998. vm
  16999. );
  17000. }
  17001. defineReactive$$1(props, key, value, function () {
  17002. if (!isRoot && !isUpdatingChildComponent) {
  17003. {
  17004. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  17005. return
  17006. }
  17007. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  17008. if(
  17009. key === 'value' &&
  17010. Array.isArray(vm.$options.behaviors) &&
  17011. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  17012. ){
  17013. return
  17014. }
  17015. if(vm._getFormData){
  17016. return
  17017. }
  17018. var $parent = vm.$parent;
  17019. while($parent){
  17020. if($parent.__next_tick_pending){
  17021. return
  17022. }
  17023. $parent = $parent.$parent;
  17024. }
  17025. }
  17026. warn(
  17027. "Avoid mutating a prop directly since the value will be " +
  17028. "overwritten whenever the parent component re-renders. " +
  17029. "Instead, use a data or computed property based on the prop's " +
  17030. "value. Prop being mutated: \"" + key + "\"",
  17031. vm
  17032. );
  17033. }
  17034. });
  17035. } else {}
  17036. // static props are already proxied on the component's prototype
  17037. // during Vue.extend(). We only need to proxy props defined at
  17038. // instantiation here.
  17039. if (!(key in vm)) {
  17040. proxy(vm, "_props", key);
  17041. }
  17042. };
  17043. for (var key in propsOptions) loop( key );
  17044. toggleObserving(true);
  17045. }
  17046. function initData (vm) {
  17047. var data = vm.$options.data;
  17048. data = vm._data = typeof data === 'function'
  17049. ? getData(data, vm)
  17050. : data || {};
  17051. if (!isPlainObject(data)) {
  17052. data = {};
  17053. true && warn(
  17054. 'data functions should return an object:\n' +
  17055. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  17056. vm
  17057. );
  17058. }
  17059. // proxy data on instance
  17060. var keys = Object.keys(data);
  17061. var props = vm.$options.props;
  17062. var methods = vm.$options.methods;
  17063. var i = keys.length;
  17064. while (i--) {
  17065. var key = keys[i];
  17066. if (true) {
  17067. if (methods && hasOwn(methods, key)) {
  17068. warn(
  17069. ("Method \"" + key + "\" has already been defined as a data property."),
  17070. vm
  17071. );
  17072. }
  17073. }
  17074. if (props && hasOwn(props, key)) {
  17075. true && warn(
  17076. "The data property \"" + key + "\" is already declared as a prop. " +
  17077. "Use prop default value instead.",
  17078. vm
  17079. );
  17080. } else if (!isReserved(key)) {
  17081. proxy(vm, "_data", key);
  17082. }
  17083. }
  17084. // observe data
  17085. observe(data, true /* asRootData */);
  17086. }
  17087. function getData (data, vm) {
  17088. // #7573 disable dep collection when invoking data getters
  17089. pushTarget();
  17090. try {
  17091. return data.call(vm, vm)
  17092. } catch (e) {
  17093. handleError(e, vm, "data()");
  17094. return {}
  17095. } finally {
  17096. popTarget();
  17097. }
  17098. }
  17099. var computedWatcherOptions = { lazy: true };
  17100. function initComputed (vm, computed) {
  17101. // $flow-disable-line
  17102. var watchers = vm._computedWatchers = Object.create(null);
  17103. // computed properties are just getters during SSR
  17104. var isSSR = isServerRendering();
  17105. for (var key in computed) {
  17106. var userDef = computed[key];
  17107. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  17108. if ( true && getter == null) {
  17109. warn(
  17110. ("Getter is missing for computed property \"" + key + "\"."),
  17111. vm
  17112. );
  17113. }
  17114. if (!isSSR) {
  17115. // create internal watcher for the computed property.
  17116. watchers[key] = new Watcher(
  17117. vm,
  17118. getter || noop,
  17119. noop,
  17120. computedWatcherOptions
  17121. );
  17122. }
  17123. // component-defined computed properties are already defined on the
  17124. // component prototype. We only need to define computed properties defined
  17125. // at instantiation here.
  17126. if (!(key in vm)) {
  17127. defineComputed(vm, key, userDef);
  17128. } else if (true) {
  17129. if (key in vm.$data) {
  17130. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  17131. } else if (vm.$options.props && key in vm.$options.props) {
  17132. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  17133. }
  17134. }
  17135. }
  17136. }
  17137. function defineComputed (
  17138. target,
  17139. key,
  17140. userDef
  17141. ) {
  17142. var shouldCache = !isServerRendering();
  17143. if (typeof userDef === 'function') {
  17144. sharedPropertyDefinition.get = shouldCache
  17145. ? createComputedGetter(key)
  17146. : createGetterInvoker(userDef);
  17147. sharedPropertyDefinition.set = noop;
  17148. } else {
  17149. sharedPropertyDefinition.get = userDef.get
  17150. ? shouldCache && userDef.cache !== false
  17151. ? createComputedGetter(key)
  17152. : createGetterInvoker(userDef.get)
  17153. : noop;
  17154. sharedPropertyDefinition.set = userDef.set || noop;
  17155. }
  17156. if ( true &&
  17157. sharedPropertyDefinition.set === noop) {
  17158. sharedPropertyDefinition.set = function () {
  17159. warn(
  17160. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  17161. this
  17162. );
  17163. };
  17164. }
  17165. Object.defineProperty(target, key, sharedPropertyDefinition);
  17166. }
  17167. function createComputedGetter (key) {
  17168. return function computedGetter () {
  17169. var watcher = this._computedWatchers && this._computedWatchers[key];
  17170. if (watcher) {
  17171. if (watcher.dirty) {
  17172. watcher.evaluate();
  17173. }
  17174. if (Dep.SharedObject.target) {// fixed by xxxxxx
  17175. watcher.depend();
  17176. }
  17177. return watcher.value
  17178. }
  17179. }
  17180. }
  17181. function createGetterInvoker(fn) {
  17182. return function computedGetter () {
  17183. return fn.call(this, this)
  17184. }
  17185. }
  17186. function initMethods (vm, methods) {
  17187. var props = vm.$options.props;
  17188. for (var key in methods) {
  17189. if (true) {
  17190. if (typeof methods[key] !== 'function') {
  17191. warn(
  17192. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  17193. "Did you reference the function correctly?",
  17194. vm
  17195. );
  17196. }
  17197. if (props && hasOwn(props, key)) {
  17198. warn(
  17199. ("Method \"" + key + "\" has already been defined as a prop."),
  17200. vm
  17201. );
  17202. }
  17203. if ((key in vm) && isReserved(key)) {
  17204. warn(
  17205. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  17206. "Avoid defining component methods that start with _ or $."
  17207. );
  17208. }
  17209. }
  17210. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  17211. }
  17212. }
  17213. function initWatch (vm, watch) {
  17214. for (var key in watch) {
  17215. var handler = watch[key];
  17216. if (Array.isArray(handler)) {
  17217. for (var i = 0; i < handler.length; i++) {
  17218. createWatcher(vm, key, handler[i]);
  17219. }
  17220. } else {
  17221. createWatcher(vm, key, handler);
  17222. }
  17223. }
  17224. }
  17225. function createWatcher (
  17226. vm,
  17227. expOrFn,
  17228. handler,
  17229. options
  17230. ) {
  17231. if (isPlainObject(handler)) {
  17232. options = handler;
  17233. handler = handler.handler;
  17234. }
  17235. if (typeof handler === 'string') {
  17236. handler = vm[handler];
  17237. }
  17238. return vm.$watch(expOrFn, handler, options)
  17239. }
  17240. function stateMixin (Vue) {
  17241. // flow somehow has problems with directly declared definition object
  17242. // when using Object.defineProperty, so we have to procedurally build up
  17243. // the object here.
  17244. var dataDef = {};
  17245. dataDef.get = function () { return this._data };
  17246. var propsDef = {};
  17247. propsDef.get = function () { return this._props };
  17248. if (true) {
  17249. dataDef.set = function () {
  17250. warn(
  17251. 'Avoid replacing instance root $data. ' +
  17252. 'Use nested data properties instead.',
  17253. this
  17254. );
  17255. };
  17256. propsDef.set = function () {
  17257. warn("$props is readonly.", this);
  17258. };
  17259. }
  17260. Object.defineProperty(Vue.prototype, '$data', dataDef);
  17261. Object.defineProperty(Vue.prototype, '$props', propsDef);
  17262. Vue.prototype.$set = set;
  17263. Vue.prototype.$delete = del;
  17264. Vue.prototype.$watch = function (
  17265. expOrFn,
  17266. cb,
  17267. options
  17268. ) {
  17269. var vm = this;
  17270. if (isPlainObject(cb)) {
  17271. return createWatcher(vm, expOrFn, cb, options)
  17272. }
  17273. options = options || {};
  17274. options.user = true;
  17275. var watcher = new Watcher(vm, expOrFn, cb, options);
  17276. if (options.immediate) {
  17277. try {
  17278. cb.call(vm, watcher.value);
  17279. } catch (error) {
  17280. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  17281. }
  17282. }
  17283. return function unwatchFn () {
  17284. watcher.teardown();
  17285. }
  17286. };
  17287. }
  17288. /* */
  17289. var uid$3 = 0;
  17290. function initMixin (Vue) {
  17291. Vue.prototype._init = function (options) {
  17292. var vm = this;
  17293. // a uid
  17294. vm._uid = uid$3++;
  17295. var startTag, endTag;
  17296. /* istanbul ignore if */
  17297. if ( true && config.performance && mark) {
  17298. startTag = "vue-perf-start:" + (vm._uid);
  17299. endTag = "vue-perf-end:" + (vm._uid);
  17300. mark(startTag);
  17301. }
  17302. // a flag to avoid this being observed
  17303. vm._isVue = true;
  17304. // merge options
  17305. if (options && options._isComponent) {
  17306. // optimize internal component instantiation
  17307. // since dynamic options merging is pretty slow, and none of the
  17308. // internal component options needs special treatment.
  17309. initInternalComponent(vm, options);
  17310. } else {
  17311. vm.$options = mergeOptions(
  17312. resolveConstructorOptions(vm.constructor),
  17313. options || {},
  17314. vm
  17315. );
  17316. }
  17317. /* istanbul ignore else */
  17318. if (true) {
  17319. initProxy(vm);
  17320. } else {}
  17321. // expose real self
  17322. vm._self = vm;
  17323. initLifecycle(vm);
  17324. initEvents(vm);
  17325. initRender(vm);
  17326. callHook(vm, 'beforeCreate');
  17327. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  17328. initState(vm);
  17329. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  17330. !vm._$fallback && callHook(vm, 'created');
  17331. /* istanbul ignore if */
  17332. if ( true && config.performance && mark) {
  17333. vm._name = formatComponentName(vm, false);
  17334. mark(endTag);
  17335. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  17336. }
  17337. if (vm.$options.el) {
  17338. vm.$mount(vm.$options.el);
  17339. }
  17340. };
  17341. }
  17342. function initInternalComponent (vm, options) {
  17343. var opts = vm.$options = Object.create(vm.constructor.options);
  17344. // doing this because it's faster than dynamic enumeration.
  17345. var parentVnode = options._parentVnode;
  17346. opts.parent = options.parent;
  17347. opts._parentVnode = parentVnode;
  17348. var vnodeComponentOptions = parentVnode.componentOptions;
  17349. opts.propsData = vnodeComponentOptions.propsData;
  17350. opts._parentListeners = vnodeComponentOptions.listeners;
  17351. opts._renderChildren = vnodeComponentOptions.children;
  17352. opts._componentTag = vnodeComponentOptions.tag;
  17353. if (options.render) {
  17354. opts.render = options.render;
  17355. opts.staticRenderFns = options.staticRenderFns;
  17356. }
  17357. }
  17358. function resolveConstructorOptions (Ctor) {
  17359. var options = Ctor.options;
  17360. if (Ctor.super) {
  17361. var superOptions = resolveConstructorOptions(Ctor.super);
  17362. var cachedSuperOptions = Ctor.superOptions;
  17363. if (superOptions !== cachedSuperOptions) {
  17364. // super option changed,
  17365. // need to resolve new options.
  17366. Ctor.superOptions = superOptions;
  17367. // check if there are any late-modified/attached options (#4976)
  17368. var modifiedOptions = resolveModifiedOptions(Ctor);
  17369. // update base extend options
  17370. if (modifiedOptions) {
  17371. extend(Ctor.extendOptions, modifiedOptions);
  17372. }
  17373. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  17374. if (options.name) {
  17375. options.components[options.name] = Ctor;
  17376. }
  17377. }
  17378. }
  17379. return options
  17380. }
  17381. function resolveModifiedOptions (Ctor) {
  17382. var modified;
  17383. var latest = Ctor.options;
  17384. var sealed = Ctor.sealedOptions;
  17385. for (var key in latest) {
  17386. if (latest[key] !== sealed[key]) {
  17387. if (!modified) { modified = {}; }
  17388. modified[key] = latest[key];
  17389. }
  17390. }
  17391. return modified
  17392. }
  17393. function Vue (options) {
  17394. if ( true &&
  17395. !(this instanceof Vue)
  17396. ) {
  17397. warn('Vue is a constructor and should be called with the `new` keyword');
  17398. }
  17399. this._init(options);
  17400. }
  17401. initMixin(Vue);
  17402. stateMixin(Vue);
  17403. eventsMixin(Vue);
  17404. lifecycleMixin(Vue);
  17405. renderMixin(Vue);
  17406. /* */
  17407. function initUse (Vue) {
  17408. Vue.use = function (plugin) {
  17409. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  17410. if (installedPlugins.indexOf(plugin) > -1) {
  17411. return this
  17412. }
  17413. // additional parameters
  17414. var args = toArray(arguments, 1);
  17415. args.unshift(this);
  17416. if (typeof plugin.install === 'function') {
  17417. plugin.install.apply(plugin, args);
  17418. } else if (typeof plugin === 'function') {
  17419. plugin.apply(null, args);
  17420. }
  17421. installedPlugins.push(plugin);
  17422. return this
  17423. };
  17424. }
  17425. /* */
  17426. function initMixin$1 (Vue) {
  17427. Vue.mixin = function (mixin) {
  17428. this.options = mergeOptions(this.options, mixin);
  17429. return this
  17430. };
  17431. }
  17432. /* */
  17433. function initExtend (Vue) {
  17434. /**
  17435. * Each instance constructor, including Vue, has a unique
  17436. * cid. This enables us to create wrapped "child
  17437. * constructors" for prototypal inheritance and cache them.
  17438. */
  17439. Vue.cid = 0;
  17440. var cid = 1;
  17441. /**
  17442. * Class inheritance
  17443. */
  17444. Vue.extend = function (extendOptions) {
  17445. extendOptions = extendOptions || {};
  17446. var Super = this;
  17447. var SuperId = Super.cid;
  17448. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  17449. if (cachedCtors[SuperId]) {
  17450. return cachedCtors[SuperId]
  17451. }
  17452. var name = extendOptions.name || Super.options.name;
  17453. if ( true && name) {
  17454. validateComponentName(name);
  17455. }
  17456. var Sub = function VueComponent (options) {
  17457. this._init(options);
  17458. };
  17459. Sub.prototype = Object.create(Super.prototype);
  17460. Sub.prototype.constructor = Sub;
  17461. Sub.cid = cid++;
  17462. Sub.options = mergeOptions(
  17463. Super.options,
  17464. extendOptions
  17465. );
  17466. Sub['super'] = Super;
  17467. // For props and computed properties, we define the proxy getters on
  17468. // the Vue instances at extension time, on the extended prototype. This
  17469. // avoids Object.defineProperty calls for each instance created.
  17470. if (Sub.options.props) {
  17471. initProps$1(Sub);
  17472. }
  17473. if (Sub.options.computed) {
  17474. initComputed$1(Sub);
  17475. }
  17476. // allow further extension/mixin/plugin usage
  17477. Sub.extend = Super.extend;
  17478. Sub.mixin = Super.mixin;
  17479. Sub.use = Super.use;
  17480. // create asset registers, so extended classes
  17481. // can have their private assets too.
  17482. ASSET_TYPES.forEach(function (type) {
  17483. Sub[type] = Super[type];
  17484. });
  17485. // enable recursive self-lookup
  17486. if (name) {
  17487. Sub.options.components[name] = Sub;
  17488. }
  17489. // keep a reference to the super options at extension time.
  17490. // later at instantiation we can check if Super's options have
  17491. // been updated.
  17492. Sub.superOptions = Super.options;
  17493. Sub.extendOptions = extendOptions;
  17494. Sub.sealedOptions = extend({}, Sub.options);
  17495. // cache constructor
  17496. cachedCtors[SuperId] = Sub;
  17497. return Sub
  17498. };
  17499. }
  17500. function initProps$1 (Comp) {
  17501. var props = Comp.options.props;
  17502. for (var key in props) {
  17503. proxy(Comp.prototype, "_props", key);
  17504. }
  17505. }
  17506. function initComputed$1 (Comp) {
  17507. var computed = Comp.options.computed;
  17508. for (var key in computed) {
  17509. defineComputed(Comp.prototype, key, computed[key]);
  17510. }
  17511. }
  17512. /* */
  17513. function initAssetRegisters (Vue) {
  17514. /**
  17515. * Create asset registration methods.
  17516. */
  17517. ASSET_TYPES.forEach(function (type) {
  17518. Vue[type] = function (
  17519. id,
  17520. definition
  17521. ) {
  17522. if (!definition) {
  17523. return this.options[type + 's'][id]
  17524. } else {
  17525. /* istanbul ignore if */
  17526. if ( true && type === 'component') {
  17527. validateComponentName(id);
  17528. }
  17529. if (type === 'component' && isPlainObject(definition)) {
  17530. definition.name = definition.name || id;
  17531. definition = this.options._base.extend(definition);
  17532. }
  17533. if (type === 'directive' && typeof definition === 'function') {
  17534. definition = { bind: definition, update: definition };
  17535. }
  17536. this.options[type + 's'][id] = definition;
  17537. return definition
  17538. }
  17539. };
  17540. });
  17541. }
  17542. /* */
  17543. function getComponentName (opts) {
  17544. return opts && (opts.Ctor.options.name || opts.tag)
  17545. }
  17546. function matches (pattern, name) {
  17547. if (Array.isArray(pattern)) {
  17548. return pattern.indexOf(name) > -1
  17549. } else if (typeof pattern === 'string') {
  17550. return pattern.split(',').indexOf(name) > -1
  17551. } else if (isRegExp(pattern)) {
  17552. return pattern.test(name)
  17553. }
  17554. /* istanbul ignore next */
  17555. return false
  17556. }
  17557. function pruneCache (keepAliveInstance, filter) {
  17558. var cache = keepAliveInstance.cache;
  17559. var keys = keepAliveInstance.keys;
  17560. var _vnode = keepAliveInstance._vnode;
  17561. for (var key in cache) {
  17562. var cachedNode = cache[key];
  17563. if (cachedNode) {
  17564. var name = getComponentName(cachedNode.componentOptions);
  17565. if (name && !filter(name)) {
  17566. pruneCacheEntry(cache, key, keys, _vnode);
  17567. }
  17568. }
  17569. }
  17570. }
  17571. function pruneCacheEntry (
  17572. cache,
  17573. key,
  17574. keys,
  17575. current
  17576. ) {
  17577. var cached$$1 = cache[key];
  17578. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  17579. cached$$1.componentInstance.$destroy();
  17580. }
  17581. cache[key] = null;
  17582. remove(keys, key);
  17583. }
  17584. var patternTypes = [String, RegExp, Array];
  17585. var KeepAlive = {
  17586. name: 'keep-alive',
  17587. abstract: true,
  17588. props: {
  17589. include: patternTypes,
  17590. exclude: patternTypes,
  17591. max: [String, Number]
  17592. },
  17593. created: function created () {
  17594. this.cache = Object.create(null);
  17595. this.keys = [];
  17596. },
  17597. destroyed: function destroyed () {
  17598. for (var key in this.cache) {
  17599. pruneCacheEntry(this.cache, key, this.keys);
  17600. }
  17601. },
  17602. mounted: function mounted () {
  17603. var this$1 = this;
  17604. this.$watch('include', function (val) {
  17605. pruneCache(this$1, function (name) { return matches(val, name); });
  17606. });
  17607. this.$watch('exclude', function (val) {
  17608. pruneCache(this$1, function (name) { return !matches(val, name); });
  17609. });
  17610. },
  17611. render: function render () {
  17612. var slot = this.$slots.default;
  17613. var vnode = getFirstComponentChild(slot);
  17614. var componentOptions = vnode && vnode.componentOptions;
  17615. if (componentOptions) {
  17616. // check pattern
  17617. var name = getComponentName(componentOptions);
  17618. var ref = this;
  17619. var include = ref.include;
  17620. var exclude = ref.exclude;
  17621. if (
  17622. // not included
  17623. (include && (!name || !matches(include, name))) ||
  17624. // excluded
  17625. (exclude && name && matches(exclude, name))
  17626. ) {
  17627. return vnode
  17628. }
  17629. var ref$1 = this;
  17630. var cache = ref$1.cache;
  17631. var keys = ref$1.keys;
  17632. var key = vnode.key == null
  17633. // same constructor may get registered as different local components
  17634. // so cid alone is not enough (#3269)
  17635. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  17636. : vnode.key;
  17637. if (cache[key]) {
  17638. vnode.componentInstance = cache[key].componentInstance;
  17639. // make current key freshest
  17640. remove(keys, key);
  17641. keys.push(key);
  17642. } else {
  17643. cache[key] = vnode;
  17644. keys.push(key);
  17645. // prune oldest entry
  17646. if (this.max && keys.length > parseInt(this.max)) {
  17647. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  17648. }
  17649. }
  17650. vnode.data.keepAlive = true;
  17651. }
  17652. return vnode || (slot && slot[0])
  17653. }
  17654. };
  17655. var builtInComponents = {
  17656. KeepAlive: KeepAlive
  17657. };
  17658. /* */
  17659. function initGlobalAPI (Vue) {
  17660. // config
  17661. var configDef = {};
  17662. configDef.get = function () { return config; };
  17663. if (true) {
  17664. configDef.set = function () {
  17665. warn(
  17666. 'Do not replace the Vue.config object, set individual fields instead.'
  17667. );
  17668. };
  17669. }
  17670. Object.defineProperty(Vue, 'config', configDef);
  17671. // exposed util methods.
  17672. // NOTE: these are not considered part of the public API - avoid relying on
  17673. // them unless you are aware of the risk.
  17674. Vue.util = {
  17675. warn: warn,
  17676. extend: extend,
  17677. mergeOptions: mergeOptions,
  17678. defineReactive: defineReactive$$1
  17679. };
  17680. Vue.set = set;
  17681. Vue.delete = del;
  17682. Vue.nextTick = nextTick;
  17683. // 2.6 explicit observable API
  17684. Vue.observable = function (obj) {
  17685. observe(obj);
  17686. return obj
  17687. };
  17688. Vue.options = Object.create(null);
  17689. ASSET_TYPES.forEach(function (type) {
  17690. Vue.options[type + 's'] = Object.create(null);
  17691. });
  17692. // this is used to identify the "base" constructor to extend all plain-object
  17693. // components with in Weex's multi-instance scenarios.
  17694. Vue.options._base = Vue;
  17695. extend(Vue.options.components, builtInComponents);
  17696. initUse(Vue);
  17697. initMixin$1(Vue);
  17698. initExtend(Vue);
  17699. initAssetRegisters(Vue);
  17700. }
  17701. initGlobalAPI(Vue);
  17702. Object.defineProperty(Vue.prototype, '$isServer', {
  17703. get: isServerRendering
  17704. });
  17705. Object.defineProperty(Vue.prototype, '$ssrContext', {
  17706. get: function get () {
  17707. /* istanbul ignore next */
  17708. return this.$vnode && this.$vnode.ssrContext
  17709. }
  17710. });
  17711. // expose FunctionalRenderContext for ssr runtime helper installation
  17712. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  17713. value: FunctionalRenderContext
  17714. });
  17715. Vue.version = '2.6.11';
  17716. /**
  17717. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  17718. */
  17719. var ARRAYTYPE = '[object Array]';
  17720. var OBJECTTYPE = '[object Object]';
  17721. var NULLTYPE = '[object Null]';
  17722. var UNDEFINEDTYPE = '[object Undefined]';
  17723. // const FUNCTIONTYPE = '[object Function]'
  17724. function diff(current, pre) {
  17725. var result = {};
  17726. syncKeys(current, pre);
  17727. _diff(current, pre, '', result);
  17728. return result
  17729. }
  17730. function syncKeys(current, pre) {
  17731. if (current === pre) { return }
  17732. var rootCurrentType = type(current);
  17733. var rootPreType = type(pre);
  17734. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  17735. if(Object.keys(current).length >= Object.keys(pre).length){
  17736. for (var key in pre) {
  17737. var currentValue = current[key];
  17738. if (currentValue === undefined) {
  17739. current[key] = null;
  17740. } else {
  17741. syncKeys(currentValue, pre[key]);
  17742. }
  17743. }
  17744. }
  17745. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  17746. if (current.length >= pre.length) {
  17747. pre.forEach(function (item, index) {
  17748. syncKeys(current[index], item);
  17749. });
  17750. }
  17751. }
  17752. }
  17753. function nullOrUndefined(currentType, preType) {
  17754. if(
  17755. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  17756. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  17757. ) {
  17758. return false
  17759. }
  17760. return true
  17761. }
  17762. function _diff(current, pre, path, result) {
  17763. if (current === pre) { return }
  17764. var rootCurrentType = type(current);
  17765. var rootPreType = type(pre);
  17766. if (rootCurrentType == OBJECTTYPE) {
  17767. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  17768. setResult(result, path, current);
  17769. } else {
  17770. var loop = function ( key ) {
  17771. var currentValue = current[key];
  17772. var preValue = pre[key];
  17773. var currentType = type(currentValue);
  17774. var preType = type(preValue);
  17775. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  17776. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  17777. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17778. }
  17779. } else if (currentType == ARRAYTYPE) {
  17780. if (preType != ARRAYTYPE) {
  17781. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17782. } else {
  17783. if (currentValue.length < preValue.length) {
  17784. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17785. } else {
  17786. currentValue.forEach(function (item, index) {
  17787. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  17788. });
  17789. }
  17790. }
  17791. } else if (currentType == OBJECTTYPE) {
  17792. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  17793. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17794. } else {
  17795. for (var subKey in currentValue) {
  17796. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  17797. }
  17798. }
  17799. }
  17800. };
  17801. for (var key in current) loop( key );
  17802. }
  17803. } else if (rootCurrentType == ARRAYTYPE) {
  17804. if (rootPreType != ARRAYTYPE) {
  17805. setResult(result, path, current);
  17806. } else {
  17807. if (current.length < pre.length) {
  17808. setResult(result, path, current);
  17809. } else {
  17810. current.forEach(function (item, index) {
  17811. _diff(item, pre[index], path + '[' + index + ']', result);
  17812. });
  17813. }
  17814. }
  17815. } else {
  17816. setResult(result, path, current);
  17817. }
  17818. }
  17819. function setResult(result, k, v) {
  17820. // if (type(v) != FUNCTIONTYPE) {
  17821. result[k] = v;
  17822. // }
  17823. }
  17824. function type(obj) {
  17825. return Object.prototype.toString.call(obj)
  17826. }
  17827. /* */
  17828. function flushCallbacks$1(vm) {
  17829. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  17830. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  17831. var mpInstance = vm.$scope;
  17832. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  17833. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  17834. }
  17835. var copies = vm.__next_tick_callbacks.slice(0);
  17836. vm.__next_tick_callbacks.length = 0;
  17837. for (var i = 0; i < copies.length; i++) {
  17838. copies[i]();
  17839. }
  17840. }
  17841. }
  17842. function hasRenderWatcher(vm) {
  17843. return queue.find(function (watcher) { return vm._watcher === watcher; })
  17844. }
  17845. function nextTick$1(vm, cb) {
  17846. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  17847. //2.nextTick 之前存在 render watcher
  17848. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  17849. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  17850. var mpInstance = vm.$scope;
  17851. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  17852. ']:nextVueTick');
  17853. }
  17854. return nextTick(cb, vm)
  17855. }else{
  17856. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  17857. var mpInstance$1 = vm.$scope;
  17858. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  17859. ']:nextMPTick');
  17860. }
  17861. }
  17862. var _resolve;
  17863. if (!vm.__next_tick_callbacks) {
  17864. vm.__next_tick_callbacks = [];
  17865. }
  17866. vm.__next_tick_callbacks.push(function () {
  17867. if (cb) {
  17868. try {
  17869. cb.call(vm);
  17870. } catch (e) {
  17871. handleError(e, vm, 'nextTick');
  17872. }
  17873. } else if (_resolve) {
  17874. _resolve(vm);
  17875. }
  17876. });
  17877. // $flow-disable-line
  17878. if (!cb && typeof Promise !== 'undefined') {
  17879. return new Promise(function (resolve) {
  17880. _resolve = resolve;
  17881. })
  17882. }
  17883. }
  17884. /* */
  17885. function clearInstance(key, value) {
  17886. // 简易去除 Vue 和小程序组件实例
  17887. if (value) {
  17888. if (value._isVue || value.__v_isMPComponent) {
  17889. return {}
  17890. }
  17891. }
  17892. return value
  17893. }
  17894. function cloneWithData(vm) {
  17895. // 确保当前 vm 所有数据被同步
  17896. var ret = Object.create(null);
  17897. var dataKeys = [].concat(
  17898. Object.keys(vm._data || {}),
  17899. Object.keys(vm._computedWatchers || {}));
  17900. dataKeys.reduce(function(ret, key) {
  17901. ret[key] = vm[key];
  17902. return ret
  17903. }, ret);
  17904. // vue-composition-api
  17905. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  17906. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  17907. if (rawBindings) {
  17908. Object.keys(rawBindings).forEach(function (key) {
  17909. ret[key] = vm[key];
  17910. });
  17911. }
  17912. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  17913. Object.assign(ret, vm.$mp.data || {});
  17914. if (
  17915. Array.isArray(vm.$options.behaviors) &&
  17916. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  17917. ) { //form-field
  17918. ret['name'] = vm.name;
  17919. ret['value'] = vm.value;
  17920. }
  17921. return JSON.parse(JSON.stringify(ret, clearInstance))
  17922. }
  17923. var patch = function(oldVnode, vnode) {
  17924. var this$1 = this;
  17925. if (vnode === null) { //destroy
  17926. return
  17927. }
  17928. if (this.mpType === 'page' || this.mpType === 'component') {
  17929. var mpInstance = this.$scope;
  17930. var data = Object.create(null);
  17931. try {
  17932. data = cloneWithData(this);
  17933. } catch (err) {
  17934. console.error(err);
  17935. }
  17936. data.__webviewId__ = mpInstance.data.__webviewId__;
  17937. var mpData = Object.create(null);
  17938. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  17939. mpData[key] = mpInstance.data[key];
  17940. });
  17941. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  17942. if (Object.keys(diffData).length) {
  17943. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  17944. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  17945. ']差量更新',
  17946. JSON.stringify(diffData));
  17947. }
  17948. this.__next_tick_pending = true;
  17949. mpInstance.setData(diffData, function () {
  17950. this$1.__next_tick_pending = false;
  17951. flushCallbacks$1(this$1);
  17952. });
  17953. } else {
  17954. flushCallbacks$1(this);
  17955. }
  17956. }
  17957. };
  17958. /* */
  17959. function createEmptyRender() {
  17960. }
  17961. function mountComponent$1(
  17962. vm,
  17963. el,
  17964. hydrating
  17965. ) {
  17966. if (!vm.mpType) {//main.js 中的 new Vue
  17967. return vm
  17968. }
  17969. if (vm.mpType === 'app') {
  17970. vm.$options.render = createEmptyRender;
  17971. }
  17972. if (!vm.$options.render) {
  17973. vm.$options.render = createEmptyRender;
  17974. if (true) {
  17975. /* istanbul ignore if */
  17976. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  17977. vm.$options.el || el) {
  17978. warn(
  17979. 'You are using the runtime-only build of Vue where the template ' +
  17980. 'compiler is not available. Either pre-compile the templates into ' +
  17981. 'render functions, or use the compiler-included build.',
  17982. vm
  17983. );
  17984. } else {
  17985. warn(
  17986. 'Failed to mount component: template or render function not defined.',
  17987. vm
  17988. );
  17989. }
  17990. }
  17991. }
  17992. !vm._$fallback && callHook(vm, 'beforeMount');
  17993. var updateComponent = function () {
  17994. vm._update(vm._render(), hydrating);
  17995. };
  17996. // we set this to vm._watcher inside the watcher's constructor
  17997. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  17998. // component's mounted hook), which relies on vm._watcher being already defined
  17999. new Watcher(vm, updateComponent, noop, {
  18000. before: function before() {
  18001. if (vm._isMounted && !vm._isDestroyed) {
  18002. callHook(vm, 'beforeUpdate');
  18003. }
  18004. }
  18005. }, true /* isRenderWatcher */);
  18006. hydrating = false;
  18007. return vm
  18008. }
  18009. /* */
  18010. function renderClass (
  18011. staticClass,
  18012. dynamicClass
  18013. ) {
  18014. if (isDef(staticClass) || isDef(dynamicClass)) {
  18015. return concat(staticClass, stringifyClass(dynamicClass))
  18016. }
  18017. /* istanbul ignore next */
  18018. return ''
  18019. }
  18020. function concat (a, b) {
  18021. return a ? b ? (a + ' ' + b) : a : (b || '')
  18022. }
  18023. function stringifyClass (value) {
  18024. if (Array.isArray(value)) {
  18025. return stringifyArray(value)
  18026. }
  18027. if (isObject(value)) {
  18028. return stringifyObject(value)
  18029. }
  18030. if (typeof value === 'string') {
  18031. return value
  18032. }
  18033. /* istanbul ignore next */
  18034. return ''
  18035. }
  18036. function stringifyArray (value) {
  18037. var res = '';
  18038. var stringified;
  18039. for (var i = 0, l = value.length; i < l; i++) {
  18040. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  18041. if (res) { res += ' '; }
  18042. res += stringified;
  18043. }
  18044. }
  18045. return res
  18046. }
  18047. function stringifyObject (value) {
  18048. var res = '';
  18049. for (var key in value) {
  18050. if (value[key]) {
  18051. if (res) { res += ' '; }
  18052. res += key;
  18053. }
  18054. }
  18055. return res
  18056. }
  18057. /* */
  18058. var parseStyleText = cached(function (cssText) {
  18059. var res = {};
  18060. var listDelimiter = /;(?![^(]*\))/g;
  18061. var propertyDelimiter = /:(.+)/;
  18062. cssText.split(listDelimiter).forEach(function (item) {
  18063. if (item) {
  18064. var tmp = item.split(propertyDelimiter);
  18065. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  18066. }
  18067. });
  18068. return res
  18069. });
  18070. // normalize possible array / string values into Object
  18071. function normalizeStyleBinding (bindingStyle) {
  18072. if (Array.isArray(bindingStyle)) {
  18073. return toObject(bindingStyle)
  18074. }
  18075. if (typeof bindingStyle === 'string') {
  18076. return parseStyleText(bindingStyle)
  18077. }
  18078. return bindingStyle
  18079. }
  18080. /* */
  18081. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  18082. function getTarget(obj, path) {
  18083. var parts = path.split('.');
  18084. var key = parts[0];
  18085. if (key.indexOf('__$n') === 0) { //number index
  18086. key = parseInt(key.replace('__$n', ''));
  18087. }
  18088. if (parts.length === 1) {
  18089. return obj[key]
  18090. }
  18091. return getTarget(obj[key], parts.slice(1).join('.'))
  18092. }
  18093. function internalMixin(Vue) {
  18094. Vue.config.errorHandler = function(err, vm, info) {
  18095. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  18096. console.error(err);
  18097. /* eslint-disable no-undef */
  18098. var app = typeof getApp === 'function' && getApp();
  18099. if (app && app.onError) {
  18100. app.onError(err);
  18101. }
  18102. };
  18103. var oldEmit = Vue.prototype.$emit;
  18104. Vue.prototype.$emit = function(event) {
  18105. if (this.$scope && event) {
  18106. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  18107. if (triggerEvent) {
  18108. try {
  18109. triggerEvent.call(this.$scope, event, {
  18110. __args__: toArray(arguments, 1)
  18111. });
  18112. } catch (error) {
  18113. }
  18114. }
  18115. }
  18116. return oldEmit.apply(this, arguments)
  18117. };
  18118. Vue.prototype.$nextTick = function(fn) {
  18119. return nextTick$1(this, fn)
  18120. };
  18121. MP_METHODS.forEach(function (method) {
  18122. Vue.prototype[method] = function(args) {
  18123. if (this.$scope && this.$scope[method]) {
  18124. return this.$scope[method](args)
  18125. }
  18126. // mp-alipay
  18127. if (typeof my === 'undefined') {
  18128. return
  18129. }
  18130. if (method === 'createSelectorQuery') {
  18131. /* eslint-disable no-undef */
  18132. return my.createSelectorQuery(args)
  18133. } else if (method === 'createIntersectionObserver') {
  18134. /* eslint-disable no-undef */
  18135. return my.createIntersectionObserver(args)
  18136. }
  18137. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  18138. };
  18139. });
  18140. Vue.prototype.__init_provide = initProvide;
  18141. Vue.prototype.__init_injections = initInjections;
  18142. Vue.prototype.__call_hook = function(hook, args) {
  18143. var vm = this;
  18144. // #7573 disable dep collection when invoking lifecycle hooks
  18145. pushTarget();
  18146. var handlers = vm.$options[hook];
  18147. var info = hook + " hook";
  18148. var ret;
  18149. if (handlers) {
  18150. for (var i = 0, j = handlers.length; i < j; i++) {
  18151. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  18152. }
  18153. }
  18154. if (vm._hasHookEvent) {
  18155. vm.$emit('hook:' + hook, args);
  18156. }
  18157. popTarget();
  18158. return ret
  18159. };
  18160. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  18161. if (Array.isArray(modifiers)) {
  18162. if (modifiers.indexOf('trim') !== -1) {
  18163. value = value.trim();
  18164. }
  18165. if (modifiers.indexOf('number') !== -1) {
  18166. value = this._n(value);
  18167. }
  18168. }
  18169. if (!target) {
  18170. target = this;
  18171. }
  18172. // 解决动态属性添加
  18173. Vue.set(target, key, value);
  18174. };
  18175. Vue.prototype.__set_sync = function(target, key, value) {
  18176. if (!target) {
  18177. target = this;
  18178. }
  18179. // 解决动态属性添加
  18180. Vue.set(target, key, value);
  18181. };
  18182. Vue.prototype.__get_orig = function(item) {
  18183. if (isPlainObject(item)) {
  18184. return item['$orig'] || item
  18185. }
  18186. return item
  18187. };
  18188. Vue.prototype.__get_value = function(dataPath, target) {
  18189. return getTarget(target || this, dataPath)
  18190. };
  18191. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  18192. return renderClass(staticClass, dynamicClass)
  18193. };
  18194. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  18195. if (!dynamicStyle && !staticStyle) {
  18196. return ''
  18197. }
  18198. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  18199. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  18200. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  18201. };
  18202. Vue.prototype.__map = function(val, iteratee) {
  18203. //TODO 暂不考虑 string
  18204. var ret, i, l, keys, key;
  18205. if (Array.isArray(val)) {
  18206. ret = new Array(val.length);
  18207. for (i = 0, l = val.length; i < l; i++) {
  18208. ret[i] = iteratee(val[i], i);
  18209. }
  18210. return ret
  18211. } else if (isObject(val)) {
  18212. keys = Object.keys(val);
  18213. ret = Object.create(null);
  18214. for (i = 0, l = keys.length; i < l; i++) {
  18215. key = keys[i];
  18216. ret[key] = iteratee(val[key], key, i);
  18217. }
  18218. return ret
  18219. } else if (typeof val === 'number') {
  18220. ret = new Array(val);
  18221. for (i = 0, l = val; i < l; i++) {
  18222. // 第一个参数暂时仍和小程序一致
  18223. ret[i] = iteratee(i, i);
  18224. }
  18225. return ret
  18226. }
  18227. return []
  18228. };
  18229. }
  18230. /* */
  18231. var LIFECYCLE_HOOKS$1 = [
  18232. //App
  18233. 'onLaunch',
  18234. 'onShow',
  18235. 'onHide',
  18236. 'onUniNViewMessage',
  18237. 'onPageNotFound',
  18238. 'onThemeChange',
  18239. 'onError',
  18240. 'onUnhandledRejection',
  18241. //Page
  18242. 'onInit',
  18243. 'onLoad',
  18244. // 'onShow',
  18245. 'onReady',
  18246. // 'onHide',
  18247. 'onUnload',
  18248. 'onPullDownRefresh',
  18249. 'onReachBottom',
  18250. 'onTabItemTap',
  18251. 'onAddToFavorites',
  18252. 'onShareTimeline',
  18253. 'onShareAppMessage',
  18254. 'onResize',
  18255. 'onPageScroll',
  18256. 'onNavigationBarButtonTap',
  18257. 'onBackPress',
  18258. 'onNavigationBarSearchInputChanged',
  18259. 'onNavigationBarSearchInputConfirmed',
  18260. 'onNavigationBarSearchInputClicked',
  18261. 'onUploadDouyinVideo',
  18262. 'onNFCReadMessage',
  18263. //Component
  18264. // 'onReady', // 兼容旧版本,应该移除该事件
  18265. 'onPageShow',
  18266. 'onPageHide',
  18267. 'onPageResize'
  18268. ];
  18269. function lifecycleMixin$1(Vue) {
  18270. //fixed vue-class-component
  18271. var oldExtend = Vue.extend;
  18272. Vue.extend = function(extendOptions) {
  18273. extendOptions = extendOptions || {};
  18274. var methods = extendOptions.methods;
  18275. if (methods) {
  18276. Object.keys(methods).forEach(function (methodName) {
  18277. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  18278. extendOptions[methodName] = methods[methodName];
  18279. delete methods[methodName];
  18280. }
  18281. });
  18282. }
  18283. return oldExtend.call(this, extendOptions)
  18284. };
  18285. var strategies = Vue.config.optionMergeStrategies;
  18286. var mergeHook = strategies.created;
  18287. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  18288. strategies[hook] = mergeHook;
  18289. });
  18290. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  18291. }
  18292. /* */
  18293. // install platform patch function
  18294. Vue.prototype.__patch__ = patch;
  18295. // public mount method
  18296. Vue.prototype.$mount = function(
  18297. el ,
  18298. hydrating
  18299. ) {
  18300. return mountComponent$1(this, el, hydrating)
  18301. };
  18302. lifecycleMixin$1(Vue);
  18303. internalMixin(Vue);
  18304. /* */
  18305. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  18306. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  18307. /***/ }),
  18308. /***/ 26:
  18309. /*!************************************************!*\
  18310. !*** D:/project/crossBorder/wx-qhb/pages.json ***!
  18311. \************************************************/
  18312. /*! no static exports found */
  18313. /***/ (function(module, exports) {
  18314. /***/ }),
  18315. /***/ 3:
  18316. /*!***********************************!*\
  18317. !*** (webpack)/buildin/global.js ***!
  18318. \***********************************/
  18319. /*! no static exports found */
  18320. /***/ (function(module, exports) {
  18321. var g;
  18322. // This works in non-strict mode
  18323. g = (function() {
  18324. return this;
  18325. })();
  18326. try {
  18327. // This works if eval is allowed (see CSP)
  18328. g = g || new Function("return this")();
  18329. } catch (e) {
  18330. // This works if the window reference is available
  18331. if (typeof window === "object") g = window;
  18332. }
  18333. // g can still be undefined, but nothing to do about it...
  18334. // We return undefined, instead of nothing here, so it's
  18335. // easier to handle this case. if(!global) { ...}
  18336. module.exports = g;
  18337. /***/ }),
  18338. /***/ 32:
  18339. /*!**********************************************************************************************************!*\
  18340. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  18341. \**********************************************************************************************************/
  18342. /*! exports provided: default */
  18343. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18344. "use strict";
  18345. __webpack_require__.r(__webpack_exports__);
  18346. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  18347. /* globals __VUE_SSR_CONTEXT__ */
  18348. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  18349. // This module is a runtime utility for cleaner component module output and will
  18350. // be included in the final webpack user bundle.
  18351. function normalizeComponent (
  18352. scriptExports,
  18353. render,
  18354. staticRenderFns,
  18355. functionalTemplate,
  18356. injectStyles,
  18357. scopeId,
  18358. moduleIdentifier, /* server only */
  18359. shadowMode, /* vue-cli only */
  18360. components, // fixed by xxxxxx auto components
  18361. renderjs // fixed by xxxxxx renderjs
  18362. ) {
  18363. // Vue.extend constructor export interop
  18364. var options = typeof scriptExports === 'function'
  18365. ? scriptExports.options
  18366. : scriptExports
  18367. // fixed by xxxxxx auto components
  18368. if (components) {
  18369. if (!options.components) {
  18370. options.components = {}
  18371. }
  18372. var hasOwn = Object.prototype.hasOwnProperty
  18373. for (var name in components) {
  18374. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  18375. options.components[name] = components[name]
  18376. }
  18377. }
  18378. }
  18379. // fixed by xxxxxx renderjs
  18380. if (renderjs) {
  18381. if(typeof renderjs.beforeCreate === 'function'){
  18382. renderjs.beforeCreate = [renderjs.beforeCreate]
  18383. }
  18384. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  18385. this[renderjs.__module] = this
  18386. });
  18387. (options.mixins || (options.mixins = [])).push(renderjs)
  18388. }
  18389. // render functions
  18390. if (render) {
  18391. options.render = render
  18392. options.staticRenderFns = staticRenderFns
  18393. options._compiled = true
  18394. }
  18395. // functional template
  18396. if (functionalTemplate) {
  18397. options.functional = true
  18398. }
  18399. // scopedId
  18400. if (scopeId) {
  18401. options._scopeId = 'data-v-' + scopeId
  18402. }
  18403. var hook
  18404. if (moduleIdentifier) { // server build
  18405. hook = function (context) {
  18406. // 2.3 injection
  18407. context =
  18408. context || // cached call
  18409. (this.$vnode && this.$vnode.ssrContext) || // stateful
  18410. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  18411. // 2.2 with runInNewContext: true
  18412. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  18413. context = __VUE_SSR_CONTEXT__
  18414. }
  18415. // inject component styles
  18416. if (injectStyles) {
  18417. injectStyles.call(this, context)
  18418. }
  18419. // register component module identifier for async chunk inferrence
  18420. if (context && context._registeredComponents) {
  18421. context._registeredComponents.add(moduleIdentifier)
  18422. }
  18423. }
  18424. // used by ssr in case component is cached and beforeCreate
  18425. // never gets called
  18426. options._ssrRegister = hook
  18427. } else if (injectStyles) {
  18428. hook = shadowMode
  18429. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  18430. : injectStyles
  18431. }
  18432. if (hook) {
  18433. if (options.functional) {
  18434. // for template-only hot-reload because in that case the render fn doesn't
  18435. // go through the normalizer
  18436. options._injectStyles = hook
  18437. // register for functioal component in vue file
  18438. var originalRender = options.render
  18439. options.render = function renderWithStyleInjection (h, context) {
  18440. hook.call(context)
  18441. return originalRender(h, context)
  18442. }
  18443. } else {
  18444. // inject component registration as beforeCreate hook
  18445. var existing = options.beforeCreate
  18446. options.beforeCreate = existing
  18447. ? [].concat(existing, hook)
  18448. : [hook]
  18449. }
  18450. }
  18451. return {
  18452. exports: scriptExports,
  18453. options: options
  18454. }
  18455. }
  18456. /***/ }),
  18457. /***/ 33:
  18458. /*!**************************************************************!*\
  18459. !*** D:/project/crossBorder/wx-qhb/uni.promisify.adaptor.js ***!
  18460. \**************************************************************/
  18461. /*! no static exports found */
  18462. /***/ (function(module, exports, __webpack_require__) {
  18463. /* WEBPACK VAR INJECTION */(function(uni) {var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18464. uni.addInterceptor({
  18465. returnValue: function returnValue(res) {
  18466. if (!(!!res && (_typeof(res) === "object" || typeof res === "function") && typeof res.then === "function")) {
  18467. return res;
  18468. }
  18469. return new Promise(function (resolve, reject) {
  18470. res.then(function (res) {
  18471. return res[0] ? reject(res[0]) : resolve(res[1]);
  18472. });
  18473. });
  18474. }
  18475. });
  18476. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18477. /***/ }),
  18478. /***/ 34:
  18479. /*!*******************************************************!*\
  18480. !*** D:/project/crossBorder/wx-qhb/uview-ui/index.js ***!
  18481. \*******************************************************/
  18482. /*! no static exports found */
  18483. /***/ (function(module, exports, __webpack_require__) {
  18484. "use strict";
  18485. /* WEBPACK VAR INJECTION */(function(uni) {
  18486. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18487. Object.defineProperty(exports, "__esModule", {
  18488. value: true
  18489. });
  18490. exports.default = void 0;
  18491. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  18492. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 35));
  18493. var _mpMixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mpMixin.js */ 36));
  18494. var _luchRequest = _interopRequireDefault(__webpack_require__(/*! ./libs/luch-request */ 37));
  18495. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/util/route.js */ 55));
  18496. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 59));
  18497. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 60));
  18498. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 61));
  18499. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 62));
  18500. var _index = _interopRequireDefault(__webpack_require__(/*! ./libs/function/index.js */ 63));
  18501. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 66));
  18502. var _props = _interopRequireDefault(__webpack_require__(/*! ./libs/config/props.js */ 67));
  18503. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 157));
  18504. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/config/color.js */ 115));
  18505. var _platform = _interopRequireDefault(__webpack_require__(/*! ./libs/function/platform */ 158));
  18506. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  18507. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  18508. // 看到此报错,是因为没有配置vue.config.js的【transpileDependencies】,详见:https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置
  18509. var pleaseSetTranspileDependencies = {},
  18510. babelTest = pleaseSetTranspileDependencies === null || pleaseSetTranspileDependencies === void 0 ? void 0 : pleaseSetTranspileDependencies.test;
  18511. // 引入全局mixin
  18512. var $u = _objectSpread(_objectSpread({
  18513. route: _route.default,
  18514. date: _index.default.timeFormat,
  18515. // 另名date
  18516. colorGradient: _colorGradient.default.colorGradient,
  18517. hexToRgb: _colorGradient.default.hexToRgb,
  18518. rgbToHex: _colorGradient.default.rgbToHex,
  18519. colorToRgba: _colorGradient.default.colorToRgba,
  18520. test: _test.default,
  18521. type: ['primary', 'success', 'error', 'warning', 'info'],
  18522. http: new _luchRequest.default(),
  18523. config: _config.default,
  18524. // uView配置信息相关,比如版本号
  18525. zIndex: _zIndex.default,
  18526. debounce: _debounce.default,
  18527. throttle: _throttle.default,
  18528. mixin: _mixin.default,
  18529. mpMixin: _mpMixin.default,
  18530. props: _props.default
  18531. }, _index.default), {}, {
  18532. color: _color.default,
  18533. platform: _platform.default
  18534. });
  18535. // $u挂载到uni对象上
  18536. uni.$u = $u;
  18537. var install = function install(Vue) {
  18538. // 时间格式化,同时两个名称,date和timeFormat
  18539. Vue.filter('timeFormat', function (timestamp, format) {
  18540. return uni.$u.timeFormat(timestamp, format);
  18541. });
  18542. Vue.filter('date', function (timestamp, format) {
  18543. return uni.$u.timeFormat(timestamp, format);
  18544. });
  18545. // 将多久以前的方法,注入到全局过滤器
  18546. Vue.filter('timeFrom', function (timestamp, format) {
  18547. return uni.$u.timeFrom(timestamp, format);
  18548. });
  18549. // 同时挂载到uni和Vue.prototype中
  18550. // 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
  18551. Vue.prototype.$u = $u;
  18552. Vue.mixin(_mixin.default);
  18553. };
  18554. var _default = {
  18555. install: install
  18556. };
  18557. exports.default = _default;
  18558. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18559. /***/ }),
  18560. /***/ 35:
  18561. /*!******************************************************************!*\
  18562. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/mixin.js ***!
  18563. \******************************************************************/
  18564. /*! no static exports found */
  18565. /***/ (function(module, exports, __webpack_require__) {
  18566. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  18567. // 定义每个组件都可能需要用到的外部样式以及类名
  18568. props: {
  18569. // 每个组件都有的父组件传递的样式,可以为字符串或者对象形式
  18570. customStyle: {
  18571. type: [Object, String],
  18572. default: function _default() {
  18573. return {};
  18574. }
  18575. },
  18576. customClass: {
  18577. type: String,
  18578. default: ''
  18579. },
  18580. // 跳转的页面路径
  18581. url: {
  18582. type: String,
  18583. default: ''
  18584. },
  18585. // 页面跳转的类型
  18586. linkType: {
  18587. type: String,
  18588. default: 'navigateTo'
  18589. }
  18590. },
  18591. data: function data() {
  18592. return {};
  18593. },
  18594. onLoad: function onLoad() {
  18595. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  18596. this.$u.getRect = this.$uGetRect;
  18597. },
  18598. created: function created() {
  18599. // 组件当中,只有created声明周期,为了能在组件使用,故也在created中将方法挂载到$u
  18600. this.$u.getRect = this.$uGetRect;
  18601. },
  18602. computed: {
  18603. // 在2.x版本中,将会把$u挂载到uni对象下,导致在模板中无法使用uni.$u.xxx形式
  18604. // 所以这里通过computed计算属性将其附加到this.$u上,就可以在模板或者js中使用uni.$u.xxx
  18605. // 只在nvue环境通过此方式引入完整的$u,其他平台会出现性能问题,非nvue则按需引入(主要原因是props过大)
  18606. $u: function $u() {
  18607. // 在非nvue端,移除props,http,mixin等对象,避免在小程序setData时数据过大影响性能
  18608. return uni.$u.deepMerge(uni.$u, {
  18609. props: undefined,
  18610. http: undefined,
  18611. mixin: undefined
  18612. });
  18613. },
  18614. /**
  18615. * 生成bem规则类名
  18616. * 由于微信小程序,H5,nvue之间绑定class的差异,无法通过:class="[bem()]"的形式进行同用
  18617. * 故采用如下折中做法,最后返回的是数组(一般平台)或字符串(支付宝和字节跳动平台),类似['a', 'b', 'c']或'a b c'的形式
  18618. * @param {String} name 组件名称
  18619. * @param {Array} fixed 一直会存在的类名
  18620. * @param {Array} change 会根据变量值为true或者false而出现或者隐藏的类名
  18621. * @returns {Array|string}
  18622. */
  18623. bem: function bem() {
  18624. return function (name, fixed, change) {
  18625. var _this = this;
  18626. // 类名前缀
  18627. var prefix = "u-".concat(name, "--");
  18628. var classes = {};
  18629. if (fixed) {
  18630. fixed.map(function (item) {
  18631. // 这里的类名,会一直存在
  18632. classes[prefix + _this[item]] = true;
  18633. });
  18634. }
  18635. if (change) {
  18636. change.map(function (item) {
  18637. // 这里的类名,会根据this[item]的值为true或者false,而进行添加或者移除某一个类
  18638. _this[item] ? classes[prefix + item] = _this[item] : delete classes[prefix + item];
  18639. });
  18640. }
  18641. return Object.keys(classes);
  18642. // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有",",而导致失效
  18643. };
  18644. }
  18645. },
  18646. methods: {
  18647. // 跳转某一个页面
  18648. openPage: function openPage() {
  18649. var urlKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'url';
  18650. var url = this[urlKey];
  18651. if (url) {
  18652. // 执行类似uni.navigateTo的方法
  18653. uni[this.linkType]({
  18654. url: url
  18655. });
  18656. }
  18657. },
  18658. // 查询节点信息
  18659. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  18660. // 解决办法为在组件根部再套一个没有任何作用的view元素
  18661. $uGetRect: function $uGetRect(selector, all) {
  18662. var _this2 = this;
  18663. return new Promise(function (resolve) {
  18664. uni.createSelectorQuery().in(_this2)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  18665. if (all && Array.isArray(rect) && rect.length) {
  18666. resolve(rect);
  18667. }
  18668. if (!all && rect) {
  18669. resolve(rect);
  18670. }
  18671. }).exec();
  18672. });
  18673. },
  18674. getParentData: function getParentData() {
  18675. var _this3 = this;
  18676. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  18677. // 避免在created中去定义parent变量
  18678. if (!this.parent) this.parent = {};
  18679. // 这里的本质原理是,通过获取父组件实例(也即类似u-radio的父组件u-radio-group的this)
  18680. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  18681. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  18682. // 此处并不会自动更新子组件的数据,而是依赖父组件u-radio-group去监听data的变化,手动调用更新子组件的方法去重新获取
  18683. this.parent = uni.$u.$parent.call(this, parentName);
  18684. if (this.parent.children) {
  18685. // 如果父组件的children不存在本组件的实例,才将本实例添加到父组件的children中
  18686. this.parent.children.indexOf(this) === -1 && this.parent.children.push(this);
  18687. }
  18688. if (this.parent && this.parentData) {
  18689. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  18690. Object.keys(this.parentData).map(function (key) {
  18691. _this3.parentData[key] = _this3.parent[key];
  18692. });
  18693. }
  18694. },
  18695. // 阻止事件冒泡
  18696. preventEvent: function preventEvent(e) {
  18697. e && typeof e.stopPropagation === 'function' && e.stopPropagation();
  18698. },
  18699. // 空操作
  18700. noop: function noop(e) {
  18701. this.preventEvent(e);
  18702. }
  18703. },
  18704. onReachBottom: function onReachBottom() {
  18705. uni.$emit('uOnReachBottom');
  18706. },
  18707. beforeDestroy: function beforeDestroy() {
  18708. var _this4 = this;
  18709. // 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况
  18710. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  18711. if (this.parent && uni.$u.test.array(this.parent.children)) {
  18712. // 组件销毁时,移除父组件中的children数组中对应的实例
  18713. var childrenList = this.parent.children;
  18714. childrenList.map(function (child, index) {
  18715. // 如果相等,则移除
  18716. if (child === _this4) {
  18717. childrenList.splice(index, 1);
  18718. }
  18719. });
  18720. }
  18721. }
  18722. };
  18723. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18724. /***/ }),
  18725. /***/ 36:
  18726. /*!********************************************************************!*\
  18727. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/mpMixin.js ***!
  18728. \********************************************************************/
  18729. /*! no static exports found */
  18730. /***/ (function(module, exports, __webpack_require__) {
  18731. "use strict";
  18732. Object.defineProperty(exports, "__esModule", {
  18733. value: true
  18734. });
  18735. exports.default = void 0;
  18736. var _default = {
  18737. // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
  18738. options: {
  18739. virtualHost: true
  18740. }
  18741. };
  18742. exports.default = _default;
  18743. /***/ }),
  18744. /***/ 37:
  18745. /*!*************************************************************************!*\
  18746. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/index.js ***!
  18747. \*************************************************************************/
  18748. /*! no static exports found */
  18749. /***/ (function(module, exports, __webpack_require__) {
  18750. "use strict";
  18751. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18752. Object.defineProperty(exports, "__esModule", {
  18753. value: true
  18754. });
  18755. exports.default = void 0;
  18756. var _Request = _interopRequireDefault(__webpack_require__(/*! ./core/Request */ 38));
  18757. var _default = _Request.default;
  18758. exports.default = _default;
  18759. /***/ }),
  18760. /***/ 38:
  18761. /*!********************************************************************************!*\
  18762. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/Request.js ***!
  18763. \********************************************************************************/
  18764. /*! no static exports found */
  18765. /***/ (function(module, exports, __webpack_require__) {
  18766. "use strict";
  18767. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18768. Object.defineProperty(exports, "__esModule", {
  18769. value: true
  18770. });
  18771. exports.default = void 0;
  18772. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  18773. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  18774. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  18775. var _dispatchRequest = _interopRequireDefault(__webpack_require__(/*! ./dispatchRequest */ 39));
  18776. var _InterceptorManager = _interopRequireDefault(__webpack_require__(/*! ./InterceptorManager */ 47));
  18777. var _mergeConfig = _interopRequireDefault(__webpack_require__(/*! ./mergeConfig */ 48));
  18778. var _defaults = _interopRequireDefault(__webpack_require__(/*! ./defaults */ 49));
  18779. var _utils = __webpack_require__(/*! ../utils */ 42);
  18780. var _clone = _interopRequireDefault(__webpack_require__(/*! ../utils/clone */ 50));
  18781. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  18782. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  18783. var Request = /*#__PURE__*/function () {
  18784. /**
  18785. * @param {Object} arg - 全局配置
  18786. * @param {String} arg.baseURL - 全局根路径
  18787. * @param {Object} arg.header - 全局header
  18788. * @param {String} arg.method = [GET|POST|PUT|DELETE|CONNECT|HEAD|OPTIONS|TRACE] - 全局默认请求方式
  18789. * @param {String} arg.dataType = [json] - 全局默认的dataType
  18790. * @param {String} arg.responseType = [text|arraybuffer] - 全局默认的responseType。支付宝小程序不支持
  18791. * @param {Object} arg.custom - 全局默认的自定义参数
  18792. * @param {Number} arg.timeout - 全局默认的超时时间,单位 ms。默认60000。H5(HBuilderX 2.9.9+)、APP(HBuilderX 2.9.9+)、微信小程序(2.10.0)、支付宝小程序
  18793. * @param {Boolean} arg.sslVerify - 全局默认的是否验证 ssl 证书。默认true.仅App安卓端支持(HBuilderX 2.3.3+)
  18794. * @param {Boolean} arg.withCredentials - 全局默认的跨域请求时是否携带凭证(cookies)。默认false。仅H5支持(HBuilderX 2.6.15+)
  18795. * @param {Boolean} arg.firstIpv4 - 全DNS解析时优先使用ipv4。默认false。仅 App-Android 支持 (HBuilderX 2.8.0+)
  18796. * @param {Function(statusCode):Boolean} arg.validateStatus - 全局默认的自定义验证器。默认statusCode >= 200 && statusCode < 300
  18797. */
  18798. function Request() {
  18799. var arg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  18800. (0, _classCallCheck2.default)(this, Request);
  18801. if (!(0, _utils.isPlainObject)(arg)) {
  18802. arg = {};
  18803. console.warn('设置全局参数必须接收一个Object');
  18804. }
  18805. this.config = (0, _clone.default)(_objectSpread(_objectSpread({}, _defaults.default), arg));
  18806. this.interceptors = {
  18807. request: new _InterceptorManager.default(),
  18808. response: new _InterceptorManager.default()
  18809. };
  18810. }
  18811. /**
  18812. * @Function
  18813. * @param {Request~setConfigCallback} f - 设置全局默认配置
  18814. */
  18815. (0, _createClass2.default)(Request, [{
  18816. key: "setConfig",
  18817. value: function setConfig(f) {
  18818. this.config = f(this.config);
  18819. }
  18820. }, {
  18821. key: "middleware",
  18822. value: function middleware(config) {
  18823. config = (0, _mergeConfig.default)(this.config, config);
  18824. var chain = [_dispatchRequest.default, undefined];
  18825. var promise = Promise.resolve(config);
  18826. this.interceptors.request.forEach(function (interceptor) {
  18827. chain.unshift(interceptor.fulfilled, interceptor.rejected);
  18828. });
  18829. this.interceptors.response.forEach(function (interceptor) {
  18830. chain.push(interceptor.fulfilled, interceptor.rejected);
  18831. });
  18832. while (chain.length) {
  18833. promise = promise.then(chain.shift(), chain.shift());
  18834. }
  18835. return promise;
  18836. }
  18837. /**
  18838. * @Function
  18839. * @param {Object} config - 请求配置项
  18840. * @prop {String} options.url - 请求路径
  18841. * @prop {Object} options.data - 请求参数
  18842. * @prop {Object} [options.responseType = config.responseType] [text|arraybuffer] - 响应的数据类型
  18843. * @prop {Object} [options.dataType = config.dataType] - 如果设为 json,会尝试对返回的数据做一次 JSON.parse
  18844. * @prop {Object} [options.header = config.header] - 请求header
  18845. * @prop {Object} [options.method = config.method] - 请求方法
  18846. * @returns {Promise<unknown>}
  18847. */
  18848. }, {
  18849. key: "request",
  18850. value: function request() {
  18851. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  18852. return this.middleware(config);
  18853. }
  18854. }, {
  18855. key: "get",
  18856. value: function get(url) {
  18857. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  18858. return this.middleware(_objectSpread({
  18859. url: url,
  18860. method: 'GET'
  18861. }, options));
  18862. }
  18863. }, {
  18864. key: "post",
  18865. value: function post(url, data) {
  18866. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18867. return this.middleware(_objectSpread({
  18868. url: url,
  18869. data: data,
  18870. method: 'POST'
  18871. }, options));
  18872. }
  18873. }, {
  18874. key: "put",
  18875. value: function put(url, data) {
  18876. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18877. return this.middleware(_objectSpread({
  18878. url: url,
  18879. data: data,
  18880. method: 'PUT'
  18881. }, options));
  18882. }
  18883. }, {
  18884. key: "delete",
  18885. value: function _delete(url, data) {
  18886. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18887. return this.middleware(_objectSpread({
  18888. url: url,
  18889. data: data,
  18890. method: 'DELETE'
  18891. }, options));
  18892. }
  18893. }, {
  18894. key: "connect",
  18895. value: function connect(url, data) {
  18896. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18897. return this.middleware(_objectSpread({
  18898. url: url,
  18899. data: data,
  18900. method: 'CONNECT'
  18901. }, options));
  18902. }
  18903. }, {
  18904. key: "head",
  18905. value: function head(url, data) {
  18906. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18907. return this.middleware(_objectSpread({
  18908. url: url,
  18909. data: data,
  18910. method: 'HEAD'
  18911. }, options));
  18912. }
  18913. }, {
  18914. key: "options",
  18915. value: function options(url, data) {
  18916. var _options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18917. return this.middleware(_objectSpread({
  18918. url: url,
  18919. data: data,
  18920. method: 'OPTIONS'
  18921. }, _options));
  18922. }
  18923. }, {
  18924. key: "trace",
  18925. value: function trace(url, data) {
  18926. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18927. return this.middleware(_objectSpread({
  18928. url: url,
  18929. data: data,
  18930. method: 'TRACE'
  18931. }, options));
  18932. }
  18933. }, {
  18934. key: "upload",
  18935. value: function upload(url) {
  18936. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  18937. config.url = url;
  18938. config.method = 'UPLOAD';
  18939. return this.middleware(config);
  18940. }
  18941. }, {
  18942. key: "download",
  18943. value: function download(url) {
  18944. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  18945. config.url = url;
  18946. config.method = 'DOWNLOAD';
  18947. return this.middleware(config);
  18948. }
  18949. }]);
  18950. return Request;
  18951. }();
  18952. /**
  18953. * setConfig回调
  18954. * @return {Object} - 返回操作后的config
  18955. * @callback Request~setConfigCallback
  18956. * @param {Object} config - 全局默认config
  18957. */
  18958. exports.default = Request;
  18959. /***/ }),
  18960. /***/ 39:
  18961. /*!****************************************************************************************!*\
  18962. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/dispatchRequest.js ***!
  18963. \****************************************************************************************/
  18964. /*! no static exports found */
  18965. /***/ (function(module, exports, __webpack_require__) {
  18966. "use strict";
  18967. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18968. Object.defineProperty(exports, "__esModule", {
  18969. value: true
  18970. });
  18971. exports.default = void 0;
  18972. var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 40));
  18973. var _default = function _default(config) {
  18974. return (0, _index.default)(config);
  18975. };
  18976. exports.default = _default;
  18977. /***/ }),
  18978. /***/ 4:
  18979. /*!**********************************************************************!*\
  18980. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  18981. \**********************************************************************/
  18982. /*! no static exports found */
  18983. /***/ (function(module, exports) {
  18984. function _interopRequireDefault(obj) {
  18985. return obj && obj.__esModule ? obj : {
  18986. "default": obj
  18987. };
  18988. }
  18989. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  18990. /***/ }),
  18991. /***/ 40:
  18992. /*!**********************************************************************************!*\
  18993. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/adapters/index.js ***!
  18994. \**********************************************************************************/
  18995. /*! no static exports found */
  18996. /***/ (function(module, exports, __webpack_require__) {
  18997. "use strict";
  18998. /* WEBPACK VAR INJECTION */(function(uni) {
  18999. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19000. Object.defineProperty(exports, "__esModule", {
  19001. value: true
  19002. });
  19003. exports.default = void 0;
  19004. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  19005. var _buildURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/buildURL */ 41));
  19006. var _buildFullPath = _interopRequireDefault(__webpack_require__(/*! ../core/buildFullPath */ 43));
  19007. var _settle = _interopRequireDefault(__webpack_require__(/*! ../core/settle */ 46));
  19008. var _utils = __webpack_require__(/*! ../utils */ 42);
  19009. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  19010. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  19011. /**
  19012. * 返回可选值存在的配置
  19013. * @param {Array} keys - 可选值数组
  19014. * @param {Object} config2 - 配置
  19015. * @return {{}} - 存在的配置项
  19016. */
  19017. var mergeKeys = function mergeKeys(keys, config2) {
  19018. var config = {};
  19019. keys.forEach(function (prop) {
  19020. if (!(0, _utils.isUndefined)(config2[prop])) {
  19021. config[prop] = config2[prop];
  19022. }
  19023. });
  19024. return config;
  19025. };
  19026. var _default = function _default(config) {
  19027. return new Promise(function (resolve, reject) {
  19028. var fullPath = (0, _buildURL.default)((0, _buildFullPath.default)(config.baseURL, config.url), config.params);
  19029. var _config = {
  19030. url: fullPath,
  19031. header: config.header,
  19032. complete: function complete(response) {
  19033. config.fullPath = fullPath;
  19034. response.config = config;
  19035. try {
  19036. // 对可能字符串不是json 的情况容错
  19037. if (typeof response.data === 'string') {
  19038. response.data = JSON.parse(response.data);
  19039. }
  19040. // eslint-disable-next-line no-empty
  19041. } catch (e) {}
  19042. (0, _settle.default)(resolve, reject, response);
  19043. }
  19044. };
  19045. var requestTask;
  19046. if (config.method === 'UPLOAD') {
  19047. delete _config.header['content-type'];
  19048. delete _config.header['Content-Type'];
  19049. var otherConfig = {
  19050. filePath: config.filePath,
  19051. name: config.name
  19052. };
  19053. var optionalKeys = ['formData'];
  19054. requestTask = uni.uploadFile(_objectSpread(_objectSpread(_objectSpread({}, _config), otherConfig), mergeKeys(optionalKeys, config)));
  19055. } else if (config.method === 'DOWNLOAD') {
  19056. requestTask = uni.downloadFile(_config);
  19057. } else {
  19058. var _optionalKeys = ['data', 'method', 'timeout', 'dataType', 'responseType'];
  19059. requestTask = uni.request(_objectSpread(_objectSpread({}, _config), mergeKeys(_optionalKeys, config)));
  19060. }
  19061. if (config.getTask) {
  19062. config.getTask(requestTask, config);
  19063. }
  19064. });
  19065. };
  19066. exports.default = _default;
  19067. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19068. /***/ }),
  19069. /***/ 41:
  19070. /*!************************************************************************************!*\
  19071. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/helpers/buildURL.js ***!
  19072. \************************************************************************************/
  19073. /*! no static exports found */
  19074. /***/ (function(module, exports, __webpack_require__) {
  19075. "use strict";
  19076. var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19077. Object.defineProperty(exports, "__esModule", {
  19078. value: true
  19079. });
  19080. exports.default = buildURL;
  19081. var utils = _interopRequireWildcard(__webpack_require__(/*! ../utils */ 42));
  19082. function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  19083. function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  19084. function encode(val) {
  19085. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  19086. }
  19087. /**
  19088. * Build a URL by appending params to the end
  19089. *
  19090. * @param {string} url The base of the url (e.g., http://www.google.com)
  19091. * @param {object} [params] The params to be appended
  19092. * @returns {string} The formatted url
  19093. */
  19094. function buildURL(url, params) {
  19095. /* eslint no-param-reassign:0 */
  19096. if (!params) {
  19097. return url;
  19098. }
  19099. var serializedParams;
  19100. if (utils.isURLSearchParams(params)) {
  19101. serializedParams = params.toString();
  19102. } else {
  19103. var parts = [];
  19104. utils.forEach(params, function (val, key) {
  19105. if (val === null || typeof val === 'undefined') {
  19106. return;
  19107. }
  19108. if (utils.isArray(val)) {
  19109. key = "".concat(key, "[]");
  19110. } else {
  19111. val = [val];
  19112. }
  19113. utils.forEach(val, function (v) {
  19114. if (utils.isDate(v)) {
  19115. v = v.toISOString();
  19116. } else if (utils.isObject(v)) {
  19117. v = JSON.stringify(v);
  19118. }
  19119. parts.push("".concat(encode(key), "=").concat(encode(v)));
  19120. });
  19121. });
  19122. serializedParams = parts.join('&');
  19123. }
  19124. if (serializedParams) {
  19125. var hashmarkIndex = url.indexOf('#');
  19126. if (hashmarkIndex !== -1) {
  19127. url = url.slice(0, hashmarkIndex);
  19128. }
  19129. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  19130. }
  19131. return url;
  19132. }
  19133. /***/ }),
  19134. /***/ 42:
  19135. /*!*************************************************************************!*\
  19136. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/utils.js ***!
  19137. \*************************************************************************/
  19138. /*! no static exports found */
  19139. /***/ (function(module, exports, __webpack_require__) {
  19140. "use strict";
  19141. // utils is a library of generic helper functions non-specific to axios
  19142. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19143. Object.defineProperty(exports, "__esModule", {
  19144. value: true
  19145. });
  19146. exports.deepMerge = deepMerge;
  19147. exports.forEach = forEach;
  19148. exports.isArray = isArray;
  19149. exports.isBoolean = isBoolean;
  19150. exports.isDate = isDate;
  19151. exports.isObject = isObject;
  19152. exports.isPlainObject = isPlainObject;
  19153. exports.isURLSearchParams = isURLSearchParams;
  19154. exports.isUndefined = isUndefined;
  19155. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  19156. var toString = Object.prototype.toString;
  19157. /**
  19158. * Determine if a value is an Array
  19159. *
  19160. * @param {Object} val The value to test
  19161. * @returns {boolean} True if value is an Array, otherwise false
  19162. */
  19163. function isArray(val) {
  19164. return toString.call(val) === '[object Array]';
  19165. }
  19166. /**
  19167. * Determine if a value is an Object
  19168. *
  19169. * @param {Object} val The value to test
  19170. * @returns {boolean} True if value is an Object, otherwise false
  19171. */
  19172. function isObject(val) {
  19173. return val !== null && (0, _typeof2.default)(val) === 'object';
  19174. }
  19175. /**
  19176. * Determine if a value is a Date
  19177. *
  19178. * @param {Object} val The value to test
  19179. * @returns {boolean} True if value is a Date, otherwise false
  19180. */
  19181. function isDate(val) {
  19182. return toString.call(val) === '[object Date]';
  19183. }
  19184. /**
  19185. * Determine if a value is a URLSearchParams object
  19186. *
  19187. * @param {Object} val The value to test
  19188. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  19189. */
  19190. function isURLSearchParams(val) {
  19191. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  19192. }
  19193. /**
  19194. * Iterate over an Array or an Object invoking a function for each item.
  19195. *
  19196. * If `obj` is an Array callback will be called passing
  19197. * the value, index, and complete array for each item.
  19198. *
  19199. * If 'obj' is an Object callback will be called passing
  19200. * the value, key, and complete object for each property.
  19201. *
  19202. * @param {Object|Array} obj The object to iterate
  19203. * @param {Function} fn The callback to invoke for each item
  19204. */
  19205. function forEach(obj, fn) {
  19206. // Don't bother if no value provided
  19207. if (obj === null || typeof obj === 'undefined') {
  19208. return;
  19209. }
  19210. // Force an array if not already something iterable
  19211. if ((0, _typeof2.default)(obj) !== 'object') {
  19212. /* eslint no-param-reassign:0 */
  19213. obj = [obj];
  19214. }
  19215. if (isArray(obj)) {
  19216. // Iterate over array values
  19217. for (var i = 0, l = obj.length; i < l; i++) {
  19218. fn.call(null, obj[i], i, obj);
  19219. }
  19220. } else {
  19221. // Iterate over object keys
  19222. for (var key in obj) {
  19223. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  19224. fn.call(null, obj[key], key, obj);
  19225. }
  19226. }
  19227. }
  19228. }
  19229. /**
  19230. * 是否为boolean 值
  19231. * @param val
  19232. * @returns {boolean}
  19233. */
  19234. function isBoolean(val) {
  19235. return typeof val === 'boolean';
  19236. }
  19237. /**
  19238. * 是否为真正的对象{} new Object
  19239. * @param {any} obj - 检测的对象
  19240. * @returns {boolean}
  19241. */
  19242. function isPlainObject(obj) {
  19243. return Object.prototype.toString.call(obj) === '[object Object]';
  19244. }
  19245. /**
  19246. * Function equal to merge with the difference being that no reference
  19247. * to original objects is kept.
  19248. *
  19249. * @see merge
  19250. * @param {Object} obj1 Object to merge
  19251. * @returns {Object} Result of all merge properties
  19252. */
  19253. function deepMerge( /* obj1, obj2, obj3, ... */
  19254. ) {
  19255. var result = {};
  19256. function assignValue(val, key) {
  19257. if ((0, _typeof2.default)(result[key]) === 'object' && (0, _typeof2.default)(val) === 'object') {
  19258. result[key] = deepMerge(result[key], val);
  19259. } else if ((0, _typeof2.default)(val) === 'object') {
  19260. result[key] = deepMerge({}, val);
  19261. } else {
  19262. result[key] = val;
  19263. }
  19264. }
  19265. for (var i = 0, l = arguments.length; i < l; i++) {
  19266. forEach(arguments[i], assignValue);
  19267. }
  19268. return result;
  19269. }
  19270. function isUndefined(val) {
  19271. return typeof val === 'undefined';
  19272. }
  19273. /***/ }),
  19274. /***/ 43:
  19275. /*!**************************************************************************************!*\
  19276. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/buildFullPath.js ***!
  19277. \**************************************************************************************/
  19278. /*! no static exports found */
  19279. /***/ (function(module, exports, __webpack_require__) {
  19280. "use strict";
  19281. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19282. Object.defineProperty(exports, "__esModule", {
  19283. value: true
  19284. });
  19285. exports.default = buildFullPath;
  19286. var _isAbsoluteURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/isAbsoluteURL */ 44));
  19287. var _combineURLs = _interopRequireDefault(__webpack_require__(/*! ../helpers/combineURLs */ 45));
  19288. /**
  19289. * Creates a new URL by combining the baseURL with the requestedURL,
  19290. * only when the requestedURL is not already an absolute URL.
  19291. * If the requestURL is absolute, this function returns the requestedURL untouched.
  19292. *
  19293. * @param {string} baseURL The base URL
  19294. * @param {string} requestedURL Absolute or relative URL to combine
  19295. * @returns {string} The combined full path
  19296. */
  19297. function buildFullPath(baseURL, requestedURL) {
  19298. if (baseURL && !(0, _isAbsoluteURL.default)(requestedURL)) {
  19299. return (0, _combineURLs.default)(baseURL, requestedURL);
  19300. }
  19301. return requestedURL;
  19302. }
  19303. /***/ }),
  19304. /***/ 44:
  19305. /*!*****************************************************************************************!*\
  19306. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/helpers/isAbsoluteURL.js ***!
  19307. \*****************************************************************************************/
  19308. /*! no static exports found */
  19309. /***/ (function(module, exports, __webpack_require__) {
  19310. "use strict";
  19311. /**
  19312. * Determines whether the specified URL is absolute
  19313. *
  19314. * @param {string} url The URL to test
  19315. * @returns {boolean} True if the specified URL is absolute, otherwise false
  19316. */
  19317. Object.defineProperty(exports, "__esModule", {
  19318. value: true
  19319. });
  19320. exports.default = isAbsoluteURL;
  19321. function isAbsoluteURL(url) {
  19322. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  19323. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  19324. // by any combination of letters, digits, plus, period, or hyphen.
  19325. return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
  19326. }
  19327. /***/ }),
  19328. /***/ 45:
  19329. /*!***************************************************************************************!*\
  19330. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/helpers/combineURLs.js ***!
  19331. \***************************************************************************************/
  19332. /*! no static exports found */
  19333. /***/ (function(module, exports, __webpack_require__) {
  19334. "use strict";
  19335. /**
  19336. * Creates a new URL by combining the specified URLs
  19337. *
  19338. * @param {string} baseURL The base URL
  19339. * @param {string} relativeURL The relative URL
  19340. * @returns {string} The combined URL
  19341. */
  19342. Object.defineProperty(exports, "__esModule", {
  19343. value: true
  19344. });
  19345. exports.default = combineURLs;
  19346. function combineURLs(baseURL, relativeURL) {
  19347. return relativeURL ? "".concat(baseURL.replace(/\/+$/, ''), "/").concat(relativeURL.replace(/^\/+/, '')) : baseURL;
  19348. }
  19349. /***/ }),
  19350. /***/ 46:
  19351. /*!*******************************************************************************!*\
  19352. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/settle.js ***!
  19353. \*******************************************************************************/
  19354. /*! no static exports found */
  19355. /***/ (function(module, exports, __webpack_require__) {
  19356. "use strict";
  19357. Object.defineProperty(exports, "__esModule", {
  19358. value: true
  19359. });
  19360. exports.default = settle;
  19361. /**
  19362. * Resolve or reject a Promise based on response status.
  19363. *
  19364. * @param {Function} resolve A function that resolves the promise.
  19365. * @param {Function} reject A function that rejects the promise.
  19366. * @param {object} response The response.
  19367. */
  19368. function settle(resolve, reject, response) {
  19369. var validateStatus = response.config.validateStatus;
  19370. var status = response.statusCode;
  19371. if (status && (!validateStatus || validateStatus(status))) {
  19372. resolve(response);
  19373. } else {
  19374. reject(response);
  19375. }
  19376. }
  19377. /***/ }),
  19378. /***/ 47:
  19379. /*!*******************************************************************************************!*\
  19380. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/InterceptorManager.js ***!
  19381. \*******************************************************************************************/
  19382. /*! no static exports found */
  19383. /***/ (function(module, exports, __webpack_require__) {
  19384. "use strict";
  19385. Object.defineProperty(exports, "__esModule", {
  19386. value: true
  19387. });
  19388. exports.default = void 0;
  19389. function InterceptorManager() {
  19390. this.handlers = [];
  19391. }
  19392. /**
  19393. * Add a new interceptor to the stack
  19394. *
  19395. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  19396. * @param {Function} rejected The function to handle `reject` for a `Promise`
  19397. *
  19398. * @return {Number} An ID used to remove interceptor later
  19399. */
  19400. InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  19401. this.handlers.push({
  19402. fulfilled: fulfilled,
  19403. rejected: rejected
  19404. });
  19405. return this.handlers.length - 1;
  19406. };
  19407. /**
  19408. * Remove an interceptor from the stack
  19409. *
  19410. * @param {Number} id The ID that was returned by `use`
  19411. */
  19412. InterceptorManager.prototype.eject = function eject(id) {
  19413. if (this.handlers[id]) {
  19414. this.handlers[id] = null;
  19415. }
  19416. };
  19417. /**
  19418. * Iterate over all the registered interceptors
  19419. *
  19420. * This method is particularly useful for skipping over any
  19421. * interceptors that may have become `null` calling `eject`.
  19422. *
  19423. * @param {Function} fn The function to call for each interceptor
  19424. */
  19425. InterceptorManager.prototype.forEach = function forEach(fn) {
  19426. this.handlers.forEach(function (h) {
  19427. if (h !== null) {
  19428. fn(h);
  19429. }
  19430. });
  19431. };
  19432. var _default = InterceptorManager;
  19433. exports.default = _default;
  19434. /***/ }),
  19435. /***/ 48:
  19436. /*!************************************************************************************!*\
  19437. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/mergeConfig.js ***!
  19438. \************************************************************************************/
  19439. /*! no static exports found */
  19440. /***/ (function(module, exports, __webpack_require__) {
  19441. "use strict";
  19442. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19443. Object.defineProperty(exports, "__esModule", {
  19444. value: true
  19445. });
  19446. exports.default = void 0;
  19447. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  19448. var _utils = __webpack_require__(/*! ../utils */ 42);
  19449. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  19450. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  19451. /**
  19452. * 合并局部配置优先的配置,如果局部有该配置项则用局部,如果全局有该配置项则用全局
  19453. * @param {Array} keys - 配置项
  19454. * @param {Object} globalsConfig - 当前的全局配置
  19455. * @param {Object} config2 - 局部配置
  19456. * @return {{}}
  19457. */
  19458. var mergeKeys = function mergeKeys(keys, globalsConfig, config2) {
  19459. var config = {};
  19460. keys.forEach(function (prop) {
  19461. if (!(0, _utils.isUndefined)(config2[prop])) {
  19462. config[prop] = config2[prop];
  19463. } else if (!(0, _utils.isUndefined)(globalsConfig[prop])) {
  19464. config[prop] = globalsConfig[prop];
  19465. }
  19466. });
  19467. return config;
  19468. };
  19469. /**
  19470. *
  19471. * @param globalsConfig - 当前实例的全局配置
  19472. * @param config2 - 当前的局部配置
  19473. * @return - 合并后的配置
  19474. */
  19475. var _default = function _default(globalsConfig) {
  19476. var config2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  19477. var method = config2.method || globalsConfig.method || 'GET';
  19478. var config = {
  19479. baseURL: globalsConfig.baseURL || '',
  19480. method: method,
  19481. url: config2.url || '',
  19482. params: config2.params || {},
  19483. custom: _objectSpread(_objectSpread({}, globalsConfig.custom || {}), config2.custom || {}),
  19484. header: (0, _utils.deepMerge)(globalsConfig.header || {}, config2.header || {})
  19485. };
  19486. var defaultToConfig2Keys = ['getTask', 'validateStatus'];
  19487. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultToConfig2Keys, globalsConfig, config2));
  19488. // eslint-disable-next-line no-empty
  19489. if (method === 'DOWNLOAD') {} else if (method === 'UPLOAD') {
  19490. delete config.header['content-type'];
  19491. delete config.header['Content-Type'];
  19492. var uploadKeys = ['filePath', 'name', 'formData'];
  19493. uploadKeys.forEach(function (prop) {
  19494. if (!(0, _utils.isUndefined)(config2[prop])) {
  19495. config[prop] = config2[prop];
  19496. }
  19497. });
  19498. } else {
  19499. var defaultsKeys = ['data', 'timeout', 'dataType', 'responseType'];
  19500. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultsKeys, globalsConfig, config2));
  19501. }
  19502. return config;
  19503. };
  19504. exports.default = _default;
  19505. /***/ }),
  19506. /***/ 49:
  19507. /*!*********************************************************************************!*\
  19508. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/defaults.js ***!
  19509. \*********************************************************************************/
  19510. /*! no static exports found */
  19511. /***/ (function(module, exports, __webpack_require__) {
  19512. "use strict";
  19513. Object.defineProperty(exports, "__esModule", {
  19514. value: true
  19515. });
  19516. exports.default = void 0;
  19517. /**
  19518. * 默认的全局配置
  19519. */
  19520. var _default = {
  19521. baseURL: '',
  19522. header: {},
  19523. method: 'GET',
  19524. dataType: 'json',
  19525. responseType: 'text',
  19526. custom: {},
  19527. timeout: 60000,
  19528. validateStatus: function validateStatus(status) {
  19529. return status >= 200 && status < 300;
  19530. }
  19531. };
  19532. exports.default = _default;
  19533. /***/ }),
  19534. /***/ 5:
  19535. /*!**************************************************************!*\
  19536. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  19537. \**************************************************************/
  19538. /*! no static exports found */
  19539. /***/ (function(module, exports, __webpack_require__) {
  19540. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  19541. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  19542. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  19543. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  19544. function _slicedToArray(arr, i) {
  19545. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  19546. }
  19547. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  19548. /***/ }),
  19549. /***/ 50:
  19550. /*!*******************************************************************************!*\
  19551. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/utils/clone.js ***!
  19552. \*******************************************************************************/
  19553. /*! no static exports found */
  19554. /***/ (function(module, exports, __webpack_require__) {
  19555. "use strict";
  19556. /* WEBPACK VAR INJECTION */(function(Buffer) {
  19557. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19558. Object.defineProperty(exports, "__esModule", {
  19559. value: true
  19560. });
  19561. exports.default = void 0;
  19562. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  19563. /* eslint-disable */
  19564. var clone = function () {
  19565. 'use strict';
  19566. function _instanceof(obj, type) {
  19567. return type != null && obj instanceof type;
  19568. }
  19569. var nativeMap;
  19570. try {
  19571. nativeMap = Map;
  19572. } catch (_) {
  19573. // maybe a reference error because no `Map`. Give it a dummy value that no
  19574. // value will ever be an instanceof.
  19575. nativeMap = function nativeMap() {};
  19576. }
  19577. var nativeSet;
  19578. try {
  19579. nativeSet = Set;
  19580. } catch (_) {
  19581. nativeSet = function nativeSet() {};
  19582. }
  19583. var nativePromise;
  19584. try {
  19585. nativePromise = Promise;
  19586. } catch (_) {
  19587. nativePromise = function nativePromise() {};
  19588. }
  19589. /**
  19590. * Clones (copies) an Object using deep copying.
  19591. *
  19592. * This function supports circular references by default, but if you are certain
  19593. * there are no circular references in your object, you can save some CPU time
  19594. * by calling clone(obj, false).
  19595. *
  19596. * Caution: if `circular` is false and `parent` contains circular references,
  19597. * your program may enter an infinite loop and crash.
  19598. *
  19599. * @param `parent` - the object to be cloned
  19600. * @param `circular` - set to true if the object to be cloned may contain
  19601. * circular references. (optional - true by default)
  19602. * @param `depth` - set to a number if the object is only to be cloned to
  19603. * a particular depth. (optional - defaults to Infinity)
  19604. * @param `prototype` - sets the prototype to be used when cloning an object.
  19605. * (optional - defaults to parent prototype).
  19606. * @param `includeNonEnumerable` - set to true if the non-enumerable properties
  19607. * should be cloned as well. Non-enumerable properties on the prototype
  19608. * chain will be ignored. (optional - false by default)
  19609. */
  19610. function clone(parent, circular, depth, prototype, includeNonEnumerable) {
  19611. if ((0, _typeof2.default)(circular) === 'object') {
  19612. depth = circular.depth;
  19613. prototype = circular.prototype;
  19614. includeNonEnumerable = circular.includeNonEnumerable;
  19615. circular = circular.circular;
  19616. }
  19617. // maintain two arrays for circular references, where corresponding parents
  19618. // and children have the same index
  19619. var allParents = [];
  19620. var allChildren = [];
  19621. var useBuffer = typeof Buffer != 'undefined';
  19622. if (typeof circular == 'undefined') circular = true;
  19623. if (typeof depth == 'undefined') depth = Infinity;
  19624. // recurse this function so we don't reset allParents and allChildren
  19625. function _clone(parent, depth) {
  19626. // cloning null always returns null
  19627. if (parent === null) return null;
  19628. if (depth === 0) return parent;
  19629. var child;
  19630. var proto;
  19631. if ((0, _typeof2.default)(parent) != 'object') {
  19632. return parent;
  19633. }
  19634. if (_instanceof(parent, nativeMap)) {
  19635. child = new nativeMap();
  19636. } else if (_instanceof(parent, nativeSet)) {
  19637. child = new nativeSet();
  19638. } else if (_instanceof(parent, nativePromise)) {
  19639. child = new nativePromise(function (resolve, reject) {
  19640. parent.then(function (value) {
  19641. resolve(_clone(value, depth - 1));
  19642. }, function (err) {
  19643. reject(_clone(err, depth - 1));
  19644. });
  19645. });
  19646. } else if (clone.__isArray(parent)) {
  19647. child = [];
  19648. } else if (clone.__isRegExp(parent)) {
  19649. child = new RegExp(parent.source, __getRegExpFlags(parent));
  19650. if (parent.lastIndex) child.lastIndex = parent.lastIndex;
  19651. } else if (clone.__isDate(parent)) {
  19652. child = new Date(parent.getTime());
  19653. } else if (useBuffer && Buffer.isBuffer(parent)) {
  19654. if (Buffer.from) {
  19655. // Node.js >= 5.10.0
  19656. child = Buffer.from(parent);
  19657. } else {
  19658. // Older Node.js versions
  19659. child = new Buffer(parent.length);
  19660. parent.copy(child);
  19661. }
  19662. return child;
  19663. } else if (_instanceof(parent, Error)) {
  19664. child = Object.create(parent);
  19665. } else {
  19666. if (typeof prototype == 'undefined') {
  19667. proto = Object.getPrototypeOf(parent);
  19668. child = Object.create(proto);
  19669. } else {
  19670. child = Object.create(prototype);
  19671. proto = prototype;
  19672. }
  19673. }
  19674. if (circular) {
  19675. var index = allParents.indexOf(parent);
  19676. if (index != -1) {
  19677. return allChildren[index];
  19678. }
  19679. allParents.push(parent);
  19680. allChildren.push(child);
  19681. }
  19682. if (_instanceof(parent, nativeMap)) {
  19683. parent.forEach(function (value, key) {
  19684. var keyChild = _clone(key, depth - 1);
  19685. var valueChild = _clone(value, depth - 1);
  19686. child.set(keyChild, valueChild);
  19687. });
  19688. }
  19689. if (_instanceof(parent, nativeSet)) {
  19690. parent.forEach(function (value) {
  19691. var entryChild = _clone(value, depth - 1);
  19692. child.add(entryChild);
  19693. });
  19694. }
  19695. for (var i in parent) {
  19696. var attrs = Object.getOwnPropertyDescriptor(parent, i);
  19697. if (attrs) {
  19698. child[i] = _clone(parent[i], depth - 1);
  19699. }
  19700. try {
  19701. var objProperty = Object.getOwnPropertyDescriptor(parent, i);
  19702. if (objProperty.set === 'undefined') {
  19703. // no setter defined. Skip cloning this property
  19704. continue;
  19705. }
  19706. child[i] = _clone(parent[i], depth - 1);
  19707. } catch (e) {
  19708. if (e instanceof TypeError) {
  19709. // when in strict mode, TypeError will be thrown if child[i] property only has a getter
  19710. // we can't do anything about this, other than inform the user that this property cannot be set.
  19711. continue;
  19712. } else if (e instanceof ReferenceError) {
  19713. //this may happen in non strict mode
  19714. continue;
  19715. }
  19716. }
  19717. }
  19718. if (Object.getOwnPropertySymbols) {
  19719. var symbols = Object.getOwnPropertySymbols(parent);
  19720. for (var i = 0; i < symbols.length; i++) {
  19721. // Don't need to worry about cloning a symbol because it is a primitive,
  19722. // like a number or string.
  19723. var symbol = symbols[i];
  19724. var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);
  19725. if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {
  19726. continue;
  19727. }
  19728. child[symbol] = _clone(parent[symbol], depth - 1);
  19729. Object.defineProperty(child, symbol, descriptor);
  19730. }
  19731. }
  19732. if (includeNonEnumerable) {
  19733. var allPropertyNames = Object.getOwnPropertyNames(parent);
  19734. for (var i = 0; i < allPropertyNames.length; i++) {
  19735. var propertyName = allPropertyNames[i];
  19736. var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);
  19737. if (descriptor && descriptor.enumerable) {
  19738. continue;
  19739. }
  19740. child[propertyName] = _clone(parent[propertyName], depth - 1);
  19741. Object.defineProperty(child, propertyName, descriptor);
  19742. }
  19743. }
  19744. return child;
  19745. }
  19746. return _clone(parent, depth);
  19747. }
  19748. /**
  19749. * Simple flat clone using prototype, accepts only objects, usefull for property
  19750. * override on FLAT configuration object (no nested props).
  19751. *
  19752. * USE WITH CAUTION! This may not behave as you wish if you do not know how this
  19753. * works.
  19754. */
  19755. clone.clonePrototype = function clonePrototype(parent) {
  19756. if (parent === null) return null;
  19757. var c = function c() {};
  19758. c.prototype = parent;
  19759. return new c();
  19760. };
  19761. // private utility functions
  19762. function __objToStr(o) {
  19763. return Object.prototype.toString.call(o);
  19764. }
  19765. clone.__objToStr = __objToStr;
  19766. function __isDate(o) {
  19767. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Date]';
  19768. }
  19769. clone.__isDate = __isDate;
  19770. function __isArray(o) {
  19771. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Array]';
  19772. }
  19773. clone.__isArray = __isArray;
  19774. function __isRegExp(o) {
  19775. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object RegExp]';
  19776. }
  19777. clone.__isRegExp = __isRegExp;
  19778. function __getRegExpFlags(re) {
  19779. var flags = '';
  19780. if (re.global) flags += 'g';
  19781. if (re.ignoreCase) flags += 'i';
  19782. if (re.multiline) flags += 'm';
  19783. return flags;
  19784. }
  19785. clone.__getRegExpFlags = __getRegExpFlags;
  19786. return clone;
  19787. }();
  19788. var _default = clone;
  19789. exports.default = _default;
  19790. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../工具/HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 51).Buffer))
  19791. /***/ }),
  19792. /***/ 51:
  19793. /*!**************************************!*\
  19794. !*** ./node_modules/buffer/index.js ***!
  19795. \**************************************/
  19796. /*! no static exports found */
  19797. /***/ (function(module, exports, __webpack_require__) {
  19798. "use strict";
  19799. /* WEBPACK VAR INJECTION */(function(global) {/*!
  19800. * The buffer module from node.js, for the browser.
  19801. *
  19802. * @author Feross Aboukhadijeh <http://feross.org>
  19803. * @license MIT
  19804. */
  19805. /* eslint-disable no-proto */
  19806. var base64 = __webpack_require__(/*! base64-js */ 52)
  19807. var ieee754 = __webpack_require__(/*! ieee754 */ 53)
  19808. var isArray = __webpack_require__(/*! isarray */ 54)
  19809. exports.Buffer = Buffer
  19810. exports.SlowBuffer = SlowBuffer
  19811. exports.INSPECT_MAX_BYTES = 50
  19812. /**
  19813. * If `Buffer.TYPED_ARRAY_SUPPORT`:
  19814. * === true Use Uint8Array implementation (fastest)
  19815. * === false Use Object implementation (most compatible, even IE6)
  19816. *
  19817. * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
  19818. * Opera 11.6+, iOS 4.2+.
  19819. *
  19820. * Due to various browser bugs, sometimes the Object implementation will be used even
  19821. * when the browser supports typed arrays.
  19822. *
  19823. * Note:
  19824. *
  19825. * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
  19826. * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
  19827. *
  19828. * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
  19829. *
  19830. * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
  19831. * incorrect length in some situations.
  19832. * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
  19833. * get the Object implementation, which is slower but behaves correctly.
  19834. */
  19835. Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
  19836. ? global.TYPED_ARRAY_SUPPORT
  19837. : typedArraySupport()
  19838. /*
  19839. * Export kMaxLength after typed array support is determined.
  19840. */
  19841. exports.kMaxLength = kMaxLength()
  19842. function typedArraySupport () {
  19843. try {
  19844. var arr = new Uint8Array(1)
  19845. arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
  19846. return arr.foo() === 42 && // typed array instances can be augmented
  19847. typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
  19848. arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
  19849. } catch (e) {
  19850. return false
  19851. }
  19852. }
  19853. function kMaxLength () {
  19854. return Buffer.TYPED_ARRAY_SUPPORT
  19855. ? 0x7fffffff
  19856. : 0x3fffffff
  19857. }
  19858. function createBuffer (that, length) {
  19859. if (kMaxLength() < length) {
  19860. throw new RangeError('Invalid typed array length')
  19861. }
  19862. if (Buffer.TYPED_ARRAY_SUPPORT) {
  19863. // Return an augmented `Uint8Array` instance, for best performance
  19864. that = new Uint8Array(length)
  19865. that.__proto__ = Buffer.prototype
  19866. } else {
  19867. // Fallback: Return an object instance of the Buffer class
  19868. if (that === null) {
  19869. that = new Buffer(length)
  19870. }
  19871. that.length = length
  19872. }
  19873. return that
  19874. }
  19875. /**
  19876. * The Buffer constructor returns instances of `Uint8Array` that have their
  19877. * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
  19878. * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
  19879. * and the `Uint8Array` methods. Square bracket notation works as expected -- it
  19880. * returns a single octet.
  19881. *
  19882. * The `Uint8Array` prototype remains unmodified.
  19883. */
  19884. function Buffer (arg, encodingOrOffset, length) {
  19885. if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
  19886. return new Buffer(arg, encodingOrOffset, length)
  19887. }
  19888. // Common case.
  19889. if (typeof arg === 'number') {
  19890. if (typeof encodingOrOffset === 'string') {
  19891. throw new Error(
  19892. 'If encoding is specified then the first argument must be a string'
  19893. )
  19894. }
  19895. return allocUnsafe(this, arg)
  19896. }
  19897. return from(this, arg, encodingOrOffset, length)
  19898. }
  19899. Buffer.poolSize = 8192 // not used by this implementation
  19900. // TODO: Legacy, not needed anymore. Remove in next major version.
  19901. Buffer._augment = function (arr) {
  19902. arr.__proto__ = Buffer.prototype
  19903. return arr
  19904. }
  19905. function from (that, value, encodingOrOffset, length) {
  19906. if (typeof value === 'number') {
  19907. throw new TypeError('"value" argument must not be a number')
  19908. }
  19909. if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
  19910. return fromArrayBuffer(that, value, encodingOrOffset, length)
  19911. }
  19912. if (typeof value === 'string') {
  19913. return fromString(that, value, encodingOrOffset)
  19914. }
  19915. return fromObject(that, value)
  19916. }
  19917. /**
  19918. * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
  19919. * if value is a number.
  19920. * Buffer.from(str[, encoding])
  19921. * Buffer.from(array)
  19922. * Buffer.from(buffer)
  19923. * Buffer.from(arrayBuffer[, byteOffset[, length]])
  19924. **/
  19925. Buffer.from = function (value, encodingOrOffset, length) {
  19926. return from(null, value, encodingOrOffset, length)
  19927. }
  19928. if (Buffer.TYPED_ARRAY_SUPPORT) {
  19929. Buffer.prototype.__proto__ = Uint8Array.prototype
  19930. Buffer.__proto__ = Uint8Array
  19931. if (typeof Symbol !== 'undefined' && Symbol.species &&
  19932. Buffer[Symbol.species] === Buffer) {
  19933. // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
  19934. Object.defineProperty(Buffer, Symbol.species, {
  19935. value: null,
  19936. configurable: true
  19937. })
  19938. }
  19939. }
  19940. function assertSize (size) {
  19941. if (typeof size !== 'number') {
  19942. throw new TypeError('"size" argument must be a number')
  19943. } else if (size < 0) {
  19944. throw new RangeError('"size" argument must not be negative')
  19945. }
  19946. }
  19947. function alloc (that, size, fill, encoding) {
  19948. assertSize(size)
  19949. if (size <= 0) {
  19950. return createBuffer(that, size)
  19951. }
  19952. if (fill !== undefined) {
  19953. // Only pay attention to encoding if it's a string. This
  19954. // prevents accidentally sending in a number that would
  19955. // be interpretted as a start offset.
  19956. return typeof encoding === 'string'
  19957. ? createBuffer(that, size).fill(fill, encoding)
  19958. : createBuffer(that, size).fill(fill)
  19959. }
  19960. return createBuffer(that, size)
  19961. }
  19962. /**
  19963. * Creates a new filled Buffer instance.
  19964. * alloc(size[, fill[, encoding]])
  19965. **/
  19966. Buffer.alloc = function (size, fill, encoding) {
  19967. return alloc(null, size, fill, encoding)
  19968. }
  19969. function allocUnsafe (that, size) {
  19970. assertSize(size)
  19971. that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
  19972. if (!Buffer.TYPED_ARRAY_SUPPORT) {
  19973. for (var i = 0; i < size; ++i) {
  19974. that[i] = 0
  19975. }
  19976. }
  19977. return that
  19978. }
  19979. /**
  19980. * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
  19981. * */
  19982. Buffer.allocUnsafe = function (size) {
  19983. return allocUnsafe(null, size)
  19984. }
  19985. /**
  19986. * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
  19987. */
  19988. Buffer.allocUnsafeSlow = function (size) {
  19989. return allocUnsafe(null, size)
  19990. }
  19991. function fromString (that, string, encoding) {
  19992. if (typeof encoding !== 'string' || encoding === '') {
  19993. encoding = 'utf8'
  19994. }
  19995. if (!Buffer.isEncoding(encoding)) {
  19996. throw new TypeError('"encoding" must be a valid string encoding')
  19997. }
  19998. var length = byteLength(string, encoding) | 0
  19999. that = createBuffer(that, length)
  20000. var actual = that.write(string, encoding)
  20001. if (actual !== length) {
  20002. // Writing a hex string, for example, that contains invalid characters will
  20003. // cause everything after the first invalid character to be ignored. (e.g.
  20004. // 'abxxcd' will be treated as 'ab')
  20005. that = that.slice(0, actual)
  20006. }
  20007. return that
  20008. }
  20009. function fromArrayLike (that, array) {
  20010. var length = array.length < 0 ? 0 : checked(array.length) | 0
  20011. that = createBuffer(that, length)
  20012. for (var i = 0; i < length; i += 1) {
  20013. that[i] = array[i] & 255
  20014. }
  20015. return that
  20016. }
  20017. function fromArrayBuffer (that, array, byteOffset, length) {
  20018. array.byteLength // this throws if `array` is not a valid ArrayBuffer
  20019. if (byteOffset < 0 || array.byteLength < byteOffset) {
  20020. throw new RangeError('\'offset\' is out of bounds')
  20021. }
  20022. if (array.byteLength < byteOffset + (length || 0)) {
  20023. throw new RangeError('\'length\' is out of bounds')
  20024. }
  20025. if (byteOffset === undefined && length === undefined) {
  20026. array = new Uint8Array(array)
  20027. } else if (length === undefined) {
  20028. array = new Uint8Array(array, byteOffset)
  20029. } else {
  20030. array = new Uint8Array(array, byteOffset, length)
  20031. }
  20032. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20033. // Return an augmented `Uint8Array` instance, for best performance
  20034. that = array
  20035. that.__proto__ = Buffer.prototype
  20036. } else {
  20037. // Fallback: Return an object instance of the Buffer class
  20038. that = fromArrayLike(that, array)
  20039. }
  20040. return that
  20041. }
  20042. function fromObject (that, obj) {
  20043. if (Buffer.isBuffer(obj)) {
  20044. var len = checked(obj.length) | 0
  20045. that = createBuffer(that, len)
  20046. if (that.length === 0) {
  20047. return that
  20048. }
  20049. obj.copy(that, 0, 0, len)
  20050. return that
  20051. }
  20052. if (obj) {
  20053. if ((typeof ArrayBuffer !== 'undefined' &&
  20054. obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
  20055. if (typeof obj.length !== 'number' || isnan(obj.length)) {
  20056. return createBuffer(that, 0)
  20057. }
  20058. return fromArrayLike(that, obj)
  20059. }
  20060. if (obj.type === 'Buffer' && isArray(obj.data)) {
  20061. return fromArrayLike(that, obj.data)
  20062. }
  20063. }
  20064. throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
  20065. }
  20066. function checked (length) {
  20067. // Note: cannot use `length < kMaxLength()` here because that fails when
  20068. // length is NaN (which is otherwise coerced to zero.)
  20069. if (length >= kMaxLength()) {
  20070. throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
  20071. 'size: 0x' + kMaxLength().toString(16) + ' bytes')
  20072. }
  20073. return length | 0
  20074. }
  20075. function SlowBuffer (length) {
  20076. if (+length != length) { // eslint-disable-line eqeqeq
  20077. length = 0
  20078. }
  20079. return Buffer.alloc(+length)
  20080. }
  20081. Buffer.isBuffer = function isBuffer (b) {
  20082. return !!(b != null && b._isBuffer)
  20083. }
  20084. Buffer.compare = function compare (a, b) {
  20085. if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
  20086. throw new TypeError('Arguments must be Buffers')
  20087. }
  20088. if (a === b) return 0
  20089. var x = a.length
  20090. var y = b.length
  20091. for (var i = 0, len = Math.min(x, y); i < len; ++i) {
  20092. if (a[i] !== b[i]) {
  20093. x = a[i]
  20094. y = b[i]
  20095. break
  20096. }
  20097. }
  20098. if (x < y) return -1
  20099. if (y < x) return 1
  20100. return 0
  20101. }
  20102. Buffer.isEncoding = function isEncoding (encoding) {
  20103. switch (String(encoding).toLowerCase()) {
  20104. case 'hex':
  20105. case 'utf8':
  20106. case 'utf-8':
  20107. case 'ascii':
  20108. case 'latin1':
  20109. case 'binary':
  20110. case 'base64':
  20111. case 'ucs2':
  20112. case 'ucs-2':
  20113. case 'utf16le':
  20114. case 'utf-16le':
  20115. return true
  20116. default:
  20117. return false
  20118. }
  20119. }
  20120. Buffer.concat = function concat (list, length) {
  20121. if (!isArray(list)) {
  20122. throw new TypeError('"list" argument must be an Array of Buffers')
  20123. }
  20124. if (list.length === 0) {
  20125. return Buffer.alloc(0)
  20126. }
  20127. var i
  20128. if (length === undefined) {
  20129. length = 0
  20130. for (i = 0; i < list.length; ++i) {
  20131. length += list[i].length
  20132. }
  20133. }
  20134. var buffer = Buffer.allocUnsafe(length)
  20135. var pos = 0
  20136. for (i = 0; i < list.length; ++i) {
  20137. var buf = list[i]
  20138. if (!Buffer.isBuffer(buf)) {
  20139. throw new TypeError('"list" argument must be an Array of Buffers')
  20140. }
  20141. buf.copy(buffer, pos)
  20142. pos += buf.length
  20143. }
  20144. return buffer
  20145. }
  20146. function byteLength (string, encoding) {
  20147. if (Buffer.isBuffer(string)) {
  20148. return string.length
  20149. }
  20150. if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
  20151. (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
  20152. return string.byteLength
  20153. }
  20154. if (typeof string !== 'string') {
  20155. string = '' + string
  20156. }
  20157. var len = string.length
  20158. if (len === 0) return 0
  20159. // Use a for loop to avoid recursion
  20160. var loweredCase = false
  20161. for (;;) {
  20162. switch (encoding) {
  20163. case 'ascii':
  20164. case 'latin1':
  20165. case 'binary':
  20166. return len
  20167. case 'utf8':
  20168. case 'utf-8':
  20169. case undefined:
  20170. return utf8ToBytes(string).length
  20171. case 'ucs2':
  20172. case 'ucs-2':
  20173. case 'utf16le':
  20174. case 'utf-16le':
  20175. return len * 2
  20176. case 'hex':
  20177. return len >>> 1
  20178. case 'base64':
  20179. return base64ToBytes(string).length
  20180. default:
  20181. if (loweredCase) return utf8ToBytes(string).length // assume utf8
  20182. encoding = ('' + encoding).toLowerCase()
  20183. loweredCase = true
  20184. }
  20185. }
  20186. }
  20187. Buffer.byteLength = byteLength
  20188. function slowToString (encoding, start, end) {
  20189. var loweredCase = false
  20190. // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
  20191. // property of a typed array.
  20192. // This behaves neither like String nor Uint8Array in that we set start/end
  20193. // to their upper/lower bounds if the value passed is out of range.
  20194. // undefined is handled specially as per ECMA-262 6th Edition,
  20195. // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
  20196. if (start === undefined || start < 0) {
  20197. start = 0
  20198. }
  20199. // Return early if start > this.length. Done here to prevent potential uint32
  20200. // coercion fail below.
  20201. if (start > this.length) {
  20202. return ''
  20203. }
  20204. if (end === undefined || end > this.length) {
  20205. end = this.length
  20206. }
  20207. if (end <= 0) {
  20208. return ''
  20209. }
  20210. // Force coersion to uint32. This will also coerce falsey/NaN values to 0.
  20211. end >>>= 0
  20212. start >>>= 0
  20213. if (end <= start) {
  20214. return ''
  20215. }
  20216. if (!encoding) encoding = 'utf8'
  20217. while (true) {
  20218. switch (encoding) {
  20219. case 'hex':
  20220. return hexSlice(this, start, end)
  20221. case 'utf8':
  20222. case 'utf-8':
  20223. return utf8Slice(this, start, end)
  20224. case 'ascii':
  20225. return asciiSlice(this, start, end)
  20226. case 'latin1':
  20227. case 'binary':
  20228. return latin1Slice(this, start, end)
  20229. case 'base64':
  20230. return base64Slice(this, start, end)
  20231. case 'ucs2':
  20232. case 'ucs-2':
  20233. case 'utf16le':
  20234. case 'utf-16le':
  20235. return utf16leSlice(this, start, end)
  20236. default:
  20237. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  20238. encoding = (encoding + '').toLowerCase()
  20239. loweredCase = true
  20240. }
  20241. }
  20242. }
  20243. // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
  20244. // Buffer instances.
  20245. Buffer.prototype._isBuffer = true
  20246. function swap (b, n, m) {
  20247. var i = b[n]
  20248. b[n] = b[m]
  20249. b[m] = i
  20250. }
  20251. Buffer.prototype.swap16 = function swap16 () {
  20252. var len = this.length
  20253. if (len % 2 !== 0) {
  20254. throw new RangeError('Buffer size must be a multiple of 16-bits')
  20255. }
  20256. for (var i = 0; i < len; i += 2) {
  20257. swap(this, i, i + 1)
  20258. }
  20259. return this
  20260. }
  20261. Buffer.prototype.swap32 = function swap32 () {
  20262. var len = this.length
  20263. if (len % 4 !== 0) {
  20264. throw new RangeError('Buffer size must be a multiple of 32-bits')
  20265. }
  20266. for (var i = 0; i < len; i += 4) {
  20267. swap(this, i, i + 3)
  20268. swap(this, i + 1, i + 2)
  20269. }
  20270. return this
  20271. }
  20272. Buffer.prototype.swap64 = function swap64 () {
  20273. var len = this.length
  20274. if (len % 8 !== 0) {
  20275. throw new RangeError('Buffer size must be a multiple of 64-bits')
  20276. }
  20277. for (var i = 0; i < len; i += 8) {
  20278. swap(this, i, i + 7)
  20279. swap(this, i + 1, i + 6)
  20280. swap(this, i + 2, i + 5)
  20281. swap(this, i + 3, i + 4)
  20282. }
  20283. return this
  20284. }
  20285. Buffer.prototype.toString = function toString () {
  20286. var length = this.length | 0
  20287. if (length === 0) return ''
  20288. if (arguments.length === 0) return utf8Slice(this, 0, length)
  20289. return slowToString.apply(this, arguments)
  20290. }
  20291. Buffer.prototype.equals = function equals (b) {
  20292. if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
  20293. if (this === b) return true
  20294. return Buffer.compare(this, b) === 0
  20295. }
  20296. Buffer.prototype.inspect = function inspect () {
  20297. var str = ''
  20298. var max = exports.INSPECT_MAX_BYTES
  20299. if (this.length > 0) {
  20300. str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
  20301. if (this.length > max) str += ' ... '
  20302. }
  20303. return '<Buffer ' + str + '>'
  20304. }
  20305. Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
  20306. if (!Buffer.isBuffer(target)) {
  20307. throw new TypeError('Argument must be a Buffer')
  20308. }
  20309. if (start === undefined) {
  20310. start = 0
  20311. }
  20312. if (end === undefined) {
  20313. end = target ? target.length : 0
  20314. }
  20315. if (thisStart === undefined) {
  20316. thisStart = 0
  20317. }
  20318. if (thisEnd === undefined) {
  20319. thisEnd = this.length
  20320. }
  20321. if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
  20322. throw new RangeError('out of range index')
  20323. }
  20324. if (thisStart >= thisEnd && start >= end) {
  20325. return 0
  20326. }
  20327. if (thisStart >= thisEnd) {
  20328. return -1
  20329. }
  20330. if (start >= end) {
  20331. return 1
  20332. }
  20333. start >>>= 0
  20334. end >>>= 0
  20335. thisStart >>>= 0
  20336. thisEnd >>>= 0
  20337. if (this === target) return 0
  20338. var x = thisEnd - thisStart
  20339. var y = end - start
  20340. var len = Math.min(x, y)
  20341. var thisCopy = this.slice(thisStart, thisEnd)
  20342. var targetCopy = target.slice(start, end)
  20343. for (var i = 0; i < len; ++i) {
  20344. if (thisCopy[i] !== targetCopy[i]) {
  20345. x = thisCopy[i]
  20346. y = targetCopy[i]
  20347. break
  20348. }
  20349. }
  20350. if (x < y) return -1
  20351. if (y < x) return 1
  20352. return 0
  20353. }
  20354. // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
  20355. // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
  20356. //
  20357. // Arguments:
  20358. // - buffer - a Buffer to search
  20359. // - val - a string, Buffer, or number
  20360. // - byteOffset - an index into `buffer`; will be clamped to an int32
  20361. // - encoding - an optional encoding, relevant is val is a string
  20362. // - dir - true for indexOf, false for lastIndexOf
  20363. function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
  20364. // Empty buffer means no match
  20365. if (buffer.length === 0) return -1
  20366. // Normalize byteOffset
  20367. if (typeof byteOffset === 'string') {
  20368. encoding = byteOffset
  20369. byteOffset = 0
  20370. } else if (byteOffset > 0x7fffffff) {
  20371. byteOffset = 0x7fffffff
  20372. } else if (byteOffset < -0x80000000) {
  20373. byteOffset = -0x80000000
  20374. }
  20375. byteOffset = +byteOffset // Coerce to Number.
  20376. if (isNaN(byteOffset)) {
  20377. // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
  20378. byteOffset = dir ? 0 : (buffer.length - 1)
  20379. }
  20380. // Normalize byteOffset: negative offsets start from the end of the buffer
  20381. if (byteOffset < 0) byteOffset = buffer.length + byteOffset
  20382. if (byteOffset >= buffer.length) {
  20383. if (dir) return -1
  20384. else byteOffset = buffer.length - 1
  20385. } else if (byteOffset < 0) {
  20386. if (dir) byteOffset = 0
  20387. else return -1
  20388. }
  20389. // Normalize val
  20390. if (typeof val === 'string') {
  20391. val = Buffer.from(val, encoding)
  20392. }
  20393. // Finally, search either indexOf (if dir is true) or lastIndexOf
  20394. if (Buffer.isBuffer(val)) {
  20395. // Special case: looking for empty string/buffer always fails
  20396. if (val.length === 0) {
  20397. return -1
  20398. }
  20399. return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
  20400. } else if (typeof val === 'number') {
  20401. val = val & 0xFF // Search for a byte value [0-255]
  20402. if (Buffer.TYPED_ARRAY_SUPPORT &&
  20403. typeof Uint8Array.prototype.indexOf === 'function') {
  20404. if (dir) {
  20405. return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
  20406. } else {
  20407. return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
  20408. }
  20409. }
  20410. return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
  20411. }
  20412. throw new TypeError('val must be string, number or Buffer')
  20413. }
  20414. function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
  20415. var indexSize = 1
  20416. var arrLength = arr.length
  20417. var valLength = val.length
  20418. if (encoding !== undefined) {
  20419. encoding = String(encoding).toLowerCase()
  20420. if (encoding === 'ucs2' || encoding === 'ucs-2' ||
  20421. encoding === 'utf16le' || encoding === 'utf-16le') {
  20422. if (arr.length < 2 || val.length < 2) {
  20423. return -1
  20424. }
  20425. indexSize = 2
  20426. arrLength /= 2
  20427. valLength /= 2
  20428. byteOffset /= 2
  20429. }
  20430. }
  20431. function read (buf, i) {
  20432. if (indexSize === 1) {
  20433. return buf[i]
  20434. } else {
  20435. return buf.readUInt16BE(i * indexSize)
  20436. }
  20437. }
  20438. var i
  20439. if (dir) {
  20440. var foundIndex = -1
  20441. for (i = byteOffset; i < arrLength; i++) {
  20442. if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
  20443. if (foundIndex === -1) foundIndex = i
  20444. if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
  20445. } else {
  20446. if (foundIndex !== -1) i -= i - foundIndex
  20447. foundIndex = -1
  20448. }
  20449. }
  20450. } else {
  20451. if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
  20452. for (i = byteOffset; i >= 0; i--) {
  20453. var found = true
  20454. for (var j = 0; j < valLength; j++) {
  20455. if (read(arr, i + j) !== read(val, j)) {
  20456. found = false
  20457. break
  20458. }
  20459. }
  20460. if (found) return i
  20461. }
  20462. }
  20463. return -1
  20464. }
  20465. Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
  20466. return this.indexOf(val, byteOffset, encoding) !== -1
  20467. }
  20468. Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
  20469. return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
  20470. }
  20471. Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
  20472. return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
  20473. }
  20474. function hexWrite (buf, string, offset, length) {
  20475. offset = Number(offset) || 0
  20476. var remaining = buf.length - offset
  20477. if (!length) {
  20478. length = remaining
  20479. } else {
  20480. length = Number(length)
  20481. if (length > remaining) {
  20482. length = remaining
  20483. }
  20484. }
  20485. // must be an even number of digits
  20486. var strLen = string.length
  20487. if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
  20488. if (length > strLen / 2) {
  20489. length = strLen / 2
  20490. }
  20491. for (var i = 0; i < length; ++i) {
  20492. var parsed = parseInt(string.substr(i * 2, 2), 16)
  20493. if (isNaN(parsed)) return i
  20494. buf[offset + i] = parsed
  20495. }
  20496. return i
  20497. }
  20498. function utf8Write (buf, string, offset, length) {
  20499. return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
  20500. }
  20501. function asciiWrite (buf, string, offset, length) {
  20502. return blitBuffer(asciiToBytes(string), buf, offset, length)
  20503. }
  20504. function latin1Write (buf, string, offset, length) {
  20505. return asciiWrite(buf, string, offset, length)
  20506. }
  20507. function base64Write (buf, string, offset, length) {
  20508. return blitBuffer(base64ToBytes(string), buf, offset, length)
  20509. }
  20510. function ucs2Write (buf, string, offset, length) {
  20511. return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
  20512. }
  20513. Buffer.prototype.write = function write (string, offset, length, encoding) {
  20514. // Buffer#write(string)
  20515. if (offset === undefined) {
  20516. encoding = 'utf8'
  20517. length = this.length
  20518. offset = 0
  20519. // Buffer#write(string, encoding)
  20520. } else if (length === undefined && typeof offset === 'string') {
  20521. encoding = offset
  20522. length = this.length
  20523. offset = 0
  20524. // Buffer#write(string, offset[, length][, encoding])
  20525. } else if (isFinite(offset)) {
  20526. offset = offset | 0
  20527. if (isFinite(length)) {
  20528. length = length | 0
  20529. if (encoding === undefined) encoding = 'utf8'
  20530. } else {
  20531. encoding = length
  20532. length = undefined
  20533. }
  20534. // legacy write(string, encoding, offset, length) - remove in v0.13
  20535. } else {
  20536. throw new Error(
  20537. 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
  20538. )
  20539. }
  20540. var remaining = this.length - offset
  20541. if (length === undefined || length > remaining) length = remaining
  20542. if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
  20543. throw new RangeError('Attempt to write outside buffer bounds')
  20544. }
  20545. if (!encoding) encoding = 'utf8'
  20546. var loweredCase = false
  20547. for (;;) {
  20548. switch (encoding) {
  20549. case 'hex':
  20550. return hexWrite(this, string, offset, length)
  20551. case 'utf8':
  20552. case 'utf-8':
  20553. return utf8Write(this, string, offset, length)
  20554. case 'ascii':
  20555. return asciiWrite(this, string, offset, length)
  20556. case 'latin1':
  20557. case 'binary':
  20558. return latin1Write(this, string, offset, length)
  20559. case 'base64':
  20560. // Warning: maxLength not taken into account in base64Write
  20561. return base64Write(this, string, offset, length)
  20562. case 'ucs2':
  20563. case 'ucs-2':
  20564. case 'utf16le':
  20565. case 'utf-16le':
  20566. return ucs2Write(this, string, offset, length)
  20567. default:
  20568. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  20569. encoding = ('' + encoding).toLowerCase()
  20570. loweredCase = true
  20571. }
  20572. }
  20573. }
  20574. Buffer.prototype.toJSON = function toJSON () {
  20575. return {
  20576. type: 'Buffer',
  20577. data: Array.prototype.slice.call(this._arr || this, 0)
  20578. }
  20579. }
  20580. function base64Slice (buf, start, end) {
  20581. if (start === 0 && end === buf.length) {
  20582. return base64.fromByteArray(buf)
  20583. } else {
  20584. return base64.fromByteArray(buf.slice(start, end))
  20585. }
  20586. }
  20587. function utf8Slice (buf, start, end) {
  20588. end = Math.min(buf.length, end)
  20589. var res = []
  20590. var i = start
  20591. while (i < end) {
  20592. var firstByte = buf[i]
  20593. var codePoint = null
  20594. var bytesPerSequence = (firstByte > 0xEF) ? 4
  20595. : (firstByte > 0xDF) ? 3
  20596. : (firstByte > 0xBF) ? 2
  20597. : 1
  20598. if (i + bytesPerSequence <= end) {
  20599. var secondByte, thirdByte, fourthByte, tempCodePoint
  20600. switch (bytesPerSequence) {
  20601. case 1:
  20602. if (firstByte < 0x80) {
  20603. codePoint = firstByte
  20604. }
  20605. break
  20606. case 2:
  20607. secondByte = buf[i + 1]
  20608. if ((secondByte & 0xC0) === 0x80) {
  20609. tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
  20610. if (tempCodePoint > 0x7F) {
  20611. codePoint = tempCodePoint
  20612. }
  20613. }
  20614. break
  20615. case 3:
  20616. secondByte = buf[i + 1]
  20617. thirdByte = buf[i + 2]
  20618. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
  20619. tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
  20620. if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
  20621. codePoint = tempCodePoint
  20622. }
  20623. }
  20624. break
  20625. case 4:
  20626. secondByte = buf[i + 1]
  20627. thirdByte = buf[i + 2]
  20628. fourthByte = buf[i + 3]
  20629. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
  20630. tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
  20631. if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
  20632. codePoint = tempCodePoint
  20633. }
  20634. }
  20635. }
  20636. }
  20637. if (codePoint === null) {
  20638. // we did not generate a valid codePoint so insert a
  20639. // replacement char (U+FFFD) and advance only 1 byte
  20640. codePoint = 0xFFFD
  20641. bytesPerSequence = 1
  20642. } else if (codePoint > 0xFFFF) {
  20643. // encode to utf16 (surrogate pair dance)
  20644. codePoint -= 0x10000
  20645. res.push(codePoint >>> 10 & 0x3FF | 0xD800)
  20646. codePoint = 0xDC00 | codePoint & 0x3FF
  20647. }
  20648. res.push(codePoint)
  20649. i += bytesPerSequence
  20650. }
  20651. return decodeCodePointsArray(res)
  20652. }
  20653. // Based on http://stackoverflow.com/a/22747272/680742, the browser with
  20654. // the lowest limit is Chrome, with 0x10000 args.
  20655. // We go 1 magnitude less, for safety
  20656. var MAX_ARGUMENTS_LENGTH = 0x1000
  20657. function decodeCodePointsArray (codePoints) {
  20658. var len = codePoints.length
  20659. if (len <= MAX_ARGUMENTS_LENGTH) {
  20660. return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
  20661. }
  20662. // Decode in chunks to avoid "call stack size exceeded".
  20663. var res = ''
  20664. var i = 0
  20665. while (i < len) {
  20666. res += String.fromCharCode.apply(
  20667. String,
  20668. codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
  20669. )
  20670. }
  20671. return res
  20672. }
  20673. function asciiSlice (buf, start, end) {
  20674. var ret = ''
  20675. end = Math.min(buf.length, end)
  20676. for (var i = start; i < end; ++i) {
  20677. ret += String.fromCharCode(buf[i] & 0x7F)
  20678. }
  20679. return ret
  20680. }
  20681. function latin1Slice (buf, start, end) {
  20682. var ret = ''
  20683. end = Math.min(buf.length, end)
  20684. for (var i = start; i < end; ++i) {
  20685. ret += String.fromCharCode(buf[i])
  20686. }
  20687. return ret
  20688. }
  20689. function hexSlice (buf, start, end) {
  20690. var len = buf.length
  20691. if (!start || start < 0) start = 0
  20692. if (!end || end < 0 || end > len) end = len
  20693. var out = ''
  20694. for (var i = start; i < end; ++i) {
  20695. out += toHex(buf[i])
  20696. }
  20697. return out
  20698. }
  20699. function utf16leSlice (buf, start, end) {
  20700. var bytes = buf.slice(start, end)
  20701. var res = ''
  20702. for (var i = 0; i < bytes.length; i += 2) {
  20703. res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
  20704. }
  20705. return res
  20706. }
  20707. Buffer.prototype.slice = function slice (start, end) {
  20708. var len = this.length
  20709. start = ~~start
  20710. end = end === undefined ? len : ~~end
  20711. if (start < 0) {
  20712. start += len
  20713. if (start < 0) start = 0
  20714. } else if (start > len) {
  20715. start = len
  20716. }
  20717. if (end < 0) {
  20718. end += len
  20719. if (end < 0) end = 0
  20720. } else if (end > len) {
  20721. end = len
  20722. }
  20723. if (end < start) end = start
  20724. var newBuf
  20725. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20726. newBuf = this.subarray(start, end)
  20727. newBuf.__proto__ = Buffer.prototype
  20728. } else {
  20729. var sliceLen = end - start
  20730. newBuf = new Buffer(sliceLen, undefined)
  20731. for (var i = 0; i < sliceLen; ++i) {
  20732. newBuf[i] = this[i + start]
  20733. }
  20734. }
  20735. return newBuf
  20736. }
  20737. /*
  20738. * Need to make sure that buffer isn't trying to write out of bounds.
  20739. */
  20740. function checkOffset (offset, ext, length) {
  20741. if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
  20742. if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
  20743. }
  20744. Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
  20745. offset = offset | 0
  20746. byteLength = byteLength | 0
  20747. if (!noAssert) checkOffset(offset, byteLength, this.length)
  20748. var val = this[offset]
  20749. var mul = 1
  20750. var i = 0
  20751. while (++i < byteLength && (mul *= 0x100)) {
  20752. val += this[offset + i] * mul
  20753. }
  20754. return val
  20755. }
  20756. Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
  20757. offset = offset | 0
  20758. byteLength = byteLength | 0
  20759. if (!noAssert) {
  20760. checkOffset(offset, byteLength, this.length)
  20761. }
  20762. var val = this[offset + --byteLength]
  20763. var mul = 1
  20764. while (byteLength > 0 && (mul *= 0x100)) {
  20765. val += this[offset + --byteLength] * mul
  20766. }
  20767. return val
  20768. }
  20769. Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
  20770. if (!noAssert) checkOffset(offset, 1, this.length)
  20771. return this[offset]
  20772. }
  20773. Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
  20774. if (!noAssert) checkOffset(offset, 2, this.length)
  20775. return this[offset] | (this[offset + 1] << 8)
  20776. }
  20777. Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
  20778. if (!noAssert) checkOffset(offset, 2, this.length)
  20779. return (this[offset] << 8) | this[offset + 1]
  20780. }
  20781. Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
  20782. if (!noAssert) checkOffset(offset, 4, this.length)
  20783. return ((this[offset]) |
  20784. (this[offset + 1] << 8) |
  20785. (this[offset + 2] << 16)) +
  20786. (this[offset + 3] * 0x1000000)
  20787. }
  20788. Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
  20789. if (!noAssert) checkOffset(offset, 4, this.length)
  20790. return (this[offset] * 0x1000000) +
  20791. ((this[offset + 1] << 16) |
  20792. (this[offset + 2] << 8) |
  20793. this[offset + 3])
  20794. }
  20795. Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
  20796. offset = offset | 0
  20797. byteLength = byteLength | 0
  20798. if (!noAssert) checkOffset(offset, byteLength, this.length)
  20799. var val = this[offset]
  20800. var mul = 1
  20801. var i = 0
  20802. while (++i < byteLength && (mul *= 0x100)) {
  20803. val += this[offset + i] * mul
  20804. }
  20805. mul *= 0x80
  20806. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  20807. return val
  20808. }
  20809. Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
  20810. offset = offset | 0
  20811. byteLength = byteLength | 0
  20812. if (!noAssert) checkOffset(offset, byteLength, this.length)
  20813. var i = byteLength
  20814. var mul = 1
  20815. var val = this[offset + --i]
  20816. while (i > 0 && (mul *= 0x100)) {
  20817. val += this[offset + --i] * mul
  20818. }
  20819. mul *= 0x80
  20820. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  20821. return val
  20822. }
  20823. Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
  20824. if (!noAssert) checkOffset(offset, 1, this.length)
  20825. if (!(this[offset] & 0x80)) return (this[offset])
  20826. return ((0xff - this[offset] + 1) * -1)
  20827. }
  20828. Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
  20829. if (!noAssert) checkOffset(offset, 2, this.length)
  20830. var val = this[offset] | (this[offset + 1] << 8)
  20831. return (val & 0x8000) ? val | 0xFFFF0000 : val
  20832. }
  20833. Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
  20834. if (!noAssert) checkOffset(offset, 2, this.length)
  20835. var val = this[offset + 1] | (this[offset] << 8)
  20836. return (val & 0x8000) ? val | 0xFFFF0000 : val
  20837. }
  20838. Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
  20839. if (!noAssert) checkOffset(offset, 4, this.length)
  20840. return (this[offset]) |
  20841. (this[offset + 1] << 8) |
  20842. (this[offset + 2] << 16) |
  20843. (this[offset + 3] << 24)
  20844. }
  20845. Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
  20846. if (!noAssert) checkOffset(offset, 4, this.length)
  20847. return (this[offset] << 24) |
  20848. (this[offset + 1] << 16) |
  20849. (this[offset + 2] << 8) |
  20850. (this[offset + 3])
  20851. }
  20852. Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
  20853. if (!noAssert) checkOffset(offset, 4, this.length)
  20854. return ieee754.read(this, offset, true, 23, 4)
  20855. }
  20856. Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
  20857. if (!noAssert) checkOffset(offset, 4, this.length)
  20858. return ieee754.read(this, offset, false, 23, 4)
  20859. }
  20860. Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
  20861. if (!noAssert) checkOffset(offset, 8, this.length)
  20862. return ieee754.read(this, offset, true, 52, 8)
  20863. }
  20864. Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
  20865. if (!noAssert) checkOffset(offset, 8, this.length)
  20866. return ieee754.read(this, offset, false, 52, 8)
  20867. }
  20868. function checkInt (buf, value, offset, ext, max, min) {
  20869. if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
  20870. if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
  20871. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  20872. }
  20873. Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
  20874. value = +value
  20875. offset = offset | 0
  20876. byteLength = byteLength | 0
  20877. if (!noAssert) {
  20878. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  20879. checkInt(this, value, offset, byteLength, maxBytes, 0)
  20880. }
  20881. var mul = 1
  20882. var i = 0
  20883. this[offset] = value & 0xFF
  20884. while (++i < byteLength && (mul *= 0x100)) {
  20885. this[offset + i] = (value / mul) & 0xFF
  20886. }
  20887. return offset + byteLength
  20888. }
  20889. Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
  20890. value = +value
  20891. offset = offset | 0
  20892. byteLength = byteLength | 0
  20893. if (!noAssert) {
  20894. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  20895. checkInt(this, value, offset, byteLength, maxBytes, 0)
  20896. }
  20897. var i = byteLength - 1
  20898. var mul = 1
  20899. this[offset + i] = value & 0xFF
  20900. while (--i >= 0 && (mul *= 0x100)) {
  20901. this[offset + i] = (value / mul) & 0xFF
  20902. }
  20903. return offset + byteLength
  20904. }
  20905. Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
  20906. value = +value
  20907. offset = offset | 0
  20908. if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
  20909. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  20910. this[offset] = (value & 0xff)
  20911. return offset + 1
  20912. }
  20913. function objectWriteUInt16 (buf, value, offset, littleEndian) {
  20914. if (value < 0) value = 0xffff + value + 1
  20915. for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
  20916. buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
  20917. (littleEndian ? i : 1 - i) * 8
  20918. }
  20919. }
  20920. Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
  20921. value = +value
  20922. offset = offset | 0
  20923. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  20924. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20925. this[offset] = (value & 0xff)
  20926. this[offset + 1] = (value >>> 8)
  20927. } else {
  20928. objectWriteUInt16(this, value, offset, true)
  20929. }
  20930. return offset + 2
  20931. }
  20932. Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
  20933. value = +value
  20934. offset = offset | 0
  20935. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  20936. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20937. this[offset] = (value >>> 8)
  20938. this[offset + 1] = (value & 0xff)
  20939. } else {
  20940. objectWriteUInt16(this, value, offset, false)
  20941. }
  20942. return offset + 2
  20943. }
  20944. function objectWriteUInt32 (buf, value, offset, littleEndian) {
  20945. if (value < 0) value = 0xffffffff + value + 1
  20946. for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
  20947. buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
  20948. }
  20949. }
  20950. Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
  20951. value = +value
  20952. offset = offset | 0
  20953. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  20954. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20955. this[offset + 3] = (value >>> 24)
  20956. this[offset + 2] = (value >>> 16)
  20957. this[offset + 1] = (value >>> 8)
  20958. this[offset] = (value & 0xff)
  20959. } else {
  20960. objectWriteUInt32(this, value, offset, true)
  20961. }
  20962. return offset + 4
  20963. }
  20964. Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
  20965. value = +value
  20966. offset = offset | 0
  20967. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  20968. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20969. this[offset] = (value >>> 24)
  20970. this[offset + 1] = (value >>> 16)
  20971. this[offset + 2] = (value >>> 8)
  20972. this[offset + 3] = (value & 0xff)
  20973. } else {
  20974. objectWriteUInt32(this, value, offset, false)
  20975. }
  20976. return offset + 4
  20977. }
  20978. Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
  20979. value = +value
  20980. offset = offset | 0
  20981. if (!noAssert) {
  20982. var limit = Math.pow(2, 8 * byteLength - 1)
  20983. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  20984. }
  20985. var i = 0
  20986. var mul = 1
  20987. var sub = 0
  20988. this[offset] = value & 0xFF
  20989. while (++i < byteLength && (mul *= 0x100)) {
  20990. if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
  20991. sub = 1
  20992. }
  20993. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  20994. }
  20995. return offset + byteLength
  20996. }
  20997. Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
  20998. value = +value
  20999. offset = offset | 0
  21000. if (!noAssert) {
  21001. var limit = Math.pow(2, 8 * byteLength - 1)
  21002. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  21003. }
  21004. var i = byteLength - 1
  21005. var mul = 1
  21006. var sub = 0
  21007. this[offset + i] = value & 0xFF
  21008. while (--i >= 0 && (mul *= 0x100)) {
  21009. if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
  21010. sub = 1
  21011. }
  21012. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  21013. }
  21014. return offset + byteLength
  21015. }
  21016. Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
  21017. value = +value
  21018. offset = offset | 0
  21019. if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
  21020. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  21021. if (value < 0) value = 0xff + value + 1
  21022. this[offset] = (value & 0xff)
  21023. return offset + 1
  21024. }
  21025. Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
  21026. value = +value
  21027. offset = offset | 0
  21028. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  21029. if (Buffer.TYPED_ARRAY_SUPPORT) {
  21030. this[offset] = (value & 0xff)
  21031. this[offset + 1] = (value >>> 8)
  21032. } else {
  21033. objectWriteUInt16(this, value, offset, true)
  21034. }
  21035. return offset + 2
  21036. }
  21037. Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
  21038. value = +value
  21039. offset = offset | 0
  21040. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  21041. if (Buffer.TYPED_ARRAY_SUPPORT) {
  21042. this[offset] = (value >>> 8)
  21043. this[offset + 1] = (value & 0xff)
  21044. } else {
  21045. objectWriteUInt16(this, value, offset, false)
  21046. }
  21047. return offset + 2
  21048. }
  21049. Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
  21050. value = +value
  21051. offset = offset | 0
  21052. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  21053. if (Buffer.TYPED_ARRAY_SUPPORT) {
  21054. this[offset] = (value & 0xff)
  21055. this[offset + 1] = (value >>> 8)
  21056. this[offset + 2] = (value >>> 16)
  21057. this[offset + 3] = (value >>> 24)
  21058. } else {
  21059. objectWriteUInt32(this, value, offset, true)
  21060. }
  21061. return offset + 4
  21062. }
  21063. Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
  21064. value = +value
  21065. offset = offset | 0
  21066. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  21067. if (value < 0) value = 0xffffffff + value + 1
  21068. if (Buffer.TYPED_ARRAY_SUPPORT) {
  21069. this[offset] = (value >>> 24)
  21070. this[offset + 1] = (value >>> 16)
  21071. this[offset + 2] = (value >>> 8)
  21072. this[offset + 3] = (value & 0xff)
  21073. } else {
  21074. objectWriteUInt32(this, value, offset, false)
  21075. }
  21076. return offset + 4
  21077. }
  21078. function checkIEEE754 (buf, value, offset, ext, max, min) {
  21079. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  21080. if (offset < 0) throw new RangeError('Index out of range')
  21081. }
  21082. function writeFloat (buf, value, offset, littleEndian, noAssert) {
  21083. if (!noAssert) {
  21084. checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
  21085. }
  21086. ieee754.write(buf, value, offset, littleEndian, 23, 4)
  21087. return offset + 4
  21088. }
  21089. Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
  21090. return writeFloat(this, value, offset, true, noAssert)
  21091. }
  21092. Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
  21093. return writeFloat(this, value, offset, false, noAssert)
  21094. }
  21095. function writeDouble (buf, value, offset, littleEndian, noAssert) {
  21096. if (!noAssert) {
  21097. checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
  21098. }
  21099. ieee754.write(buf, value, offset, littleEndian, 52, 8)
  21100. return offset + 8
  21101. }
  21102. Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
  21103. return writeDouble(this, value, offset, true, noAssert)
  21104. }
  21105. Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
  21106. return writeDouble(this, value, offset, false, noAssert)
  21107. }
  21108. // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
  21109. Buffer.prototype.copy = function copy (target, targetStart, start, end) {
  21110. if (!start) start = 0
  21111. if (!end && end !== 0) end = this.length
  21112. if (targetStart >= target.length) targetStart = target.length
  21113. if (!targetStart) targetStart = 0
  21114. if (end > 0 && end < start) end = start
  21115. // Copy 0 bytes; we're done
  21116. if (end === start) return 0
  21117. if (target.length === 0 || this.length === 0) return 0
  21118. // Fatal error conditions
  21119. if (targetStart < 0) {
  21120. throw new RangeError('targetStart out of bounds')
  21121. }
  21122. if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
  21123. if (end < 0) throw new RangeError('sourceEnd out of bounds')
  21124. // Are we oob?
  21125. if (end > this.length) end = this.length
  21126. if (target.length - targetStart < end - start) {
  21127. end = target.length - targetStart + start
  21128. }
  21129. var len = end - start
  21130. var i
  21131. if (this === target && start < targetStart && targetStart < end) {
  21132. // descending copy from end
  21133. for (i = len - 1; i >= 0; --i) {
  21134. target[i + targetStart] = this[i + start]
  21135. }
  21136. } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
  21137. // ascending copy from start
  21138. for (i = 0; i < len; ++i) {
  21139. target[i + targetStart] = this[i + start]
  21140. }
  21141. } else {
  21142. Uint8Array.prototype.set.call(
  21143. target,
  21144. this.subarray(start, start + len),
  21145. targetStart
  21146. )
  21147. }
  21148. return len
  21149. }
  21150. // Usage:
  21151. // buffer.fill(number[, offset[, end]])
  21152. // buffer.fill(buffer[, offset[, end]])
  21153. // buffer.fill(string[, offset[, end]][, encoding])
  21154. Buffer.prototype.fill = function fill (val, start, end, encoding) {
  21155. // Handle string cases:
  21156. if (typeof val === 'string') {
  21157. if (typeof start === 'string') {
  21158. encoding = start
  21159. start = 0
  21160. end = this.length
  21161. } else if (typeof end === 'string') {
  21162. encoding = end
  21163. end = this.length
  21164. }
  21165. if (val.length === 1) {
  21166. var code = val.charCodeAt(0)
  21167. if (code < 256) {
  21168. val = code
  21169. }
  21170. }
  21171. if (encoding !== undefined && typeof encoding !== 'string') {
  21172. throw new TypeError('encoding must be a string')
  21173. }
  21174. if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
  21175. throw new TypeError('Unknown encoding: ' + encoding)
  21176. }
  21177. } else if (typeof val === 'number') {
  21178. val = val & 255
  21179. }
  21180. // Invalid ranges are not set to a default, so can range check early.
  21181. if (start < 0 || this.length < start || this.length < end) {
  21182. throw new RangeError('Out of range index')
  21183. }
  21184. if (end <= start) {
  21185. return this
  21186. }
  21187. start = start >>> 0
  21188. end = end === undefined ? this.length : end >>> 0
  21189. if (!val) val = 0
  21190. var i
  21191. if (typeof val === 'number') {
  21192. for (i = start; i < end; ++i) {
  21193. this[i] = val
  21194. }
  21195. } else {
  21196. var bytes = Buffer.isBuffer(val)
  21197. ? val
  21198. : utf8ToBytes(new Buffer(val, encoding).toString())
  21199. var len = bytes.length
  21200. for (i = 0; i < end - start; ++i) {
  21201. this[i + start] = bytes[i % len]
  21202. }
  21203. }
  21204. return this
  21205. }
  21206. // HELPER FUNCTIONS
  21207. // ================
  21208. var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
  21209. function base64clean (str) {
  21210. // Node strips out invalid characters like \n and \t from the string, base64-js does not
  21211. str = stringtrim(str).replace(INVALID_BASE64_RE, '')
  21212. // Node converts strings with length < 2 to ''
  21213. if (str.length < 2) return ''
  21214. // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
  21215. while (str.length % 4 !== 0) {
  21216. str = str + '='
  21217. }
  21218. return str
  21219. }
  21220. function stringtrim (str) {
  21221. if (str.trim) return str.trim()
  21222. return str.replace(/^\s+|\s+$/g, '')
  21223. }
  21224. function toHex (n) {
  21225. if (n < 16) return '0' + n.toString(16)
  21226. return n.toString(16)
  21227. }
  21228. function utf8ToBytes (string, units) {
  21229. units = units || Infinity
  21230. var codePoint
  21231. var length = string.length
  21232. var leadSurrogate = null
  21233. var bytes = []
  21234. for (var i = 0; i < length; ++i) {
  21235. codePoint = string.charCodeAt(i)
  21236. // is surrogate component
  21237. if (codePoint > 0xD7FF && codePoint < 0xE000) {
  21238. // last char was a lead
  21239. if (!leadSurrogate) {
  21240. // no lead yet
  21241. if (codePoint > 0xDBFF) {
  21242. // unexpected trail
  21243. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21244. continue
  21245. } else if (i + 1 === length) {
  21246. // unpaired lead
  21247. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21248. continue
  21249. }
  21250. // valid lead
  21251. leadSurrogate = codePoint
  21252. continue
  21253. }
  21254. // 2 leads in a row
  21255. if (codePoint < 0xDC00) {
  21256. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21257. leadSurrogate = codePoint
  21258. continue
  21259. }
  21260. // valid surrogate pair
  21261. codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
  21262. } else if (leadSurrogate) {
  21263. // valid bmp char, but last char was a lead
  21264. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21265. }
  21266. leadSurrogate = null
  21267. // encode utf8
  21268. if (codePoint < 0x80) {
  21269. if ((units -= 1) < 0) break
  21270. bytes.push(codePoint)
  21271. } else if (codePoint < 0x800) {
  21272. if ((units -= 2) < 0) break
  21273. bytes.push(
  21274. codePoint >> 0x6 | 0xC0,
  21275. codePoint & 0x3F | 0x80
  21276. )
  21277. } else if (codePoint < 0x10000) {
  21278. if ((units -= 3) < 0) break
  21279. bytes.push(
  21280. codePoint >> 0xC | 0xE0,
  21281. codePoint >> 0x6 & 0x3F | 0x80,
  21282. codePoint & 0x3F | 0x80
  21283. )
  21284. } else if (codePoint < 0x110000) {
  21285. if ((units -= 4) < 0) break
  21286. bytes.push(
  21287. codePoint >> 0x12 | 0xF0,
  21288. codePoint >> 0xC & 0x3F | 0x80,
  21289. codePoint >> 0x6 & 0x3F | 0x80,
  21290. codePoint & 0x3F | 0x80
  21291. )
  21292. } else {
  21293. throw new Error('Invalid code point')
  21294. }
  21295. }
  21296. return bytes
  21297. }
  21298. function asciiToBytes (str) {
  21299. var byteArray = []
  21300. for (var i = 0; i < str.length; ++i) {
  21301. // Node's code seems to be doing this and not & 0x7F..
  21302. byteArray.push(str.charCodeAt(i) & 0xFF)
  21303. }
  21304. return byteArray
  21305. }
  21306. function utf16leToBytes (str, units) {
  21307. var c, hi, lo
  21308. var byteArray = []
  21309. for (var i = 0; i < str.length; ++i) {
  21310. if ((units -= 2) < 0) break
  21311. c = str.charCodeAt(i)
  21312. hi = c >> 8
  21313. lo = c % 256
  21314. byteArray.push(lo)
  21315. byteArray.push(hi)
  21316. }
  21317. return byteArray
  21318. }
  21319. function base64ToBytes (str) {
  21320. return base64.toByteArray(base64clean(str))
  21321. }
  21322. function blitBuffer (src, dst, offset, length) {
  21323. for (var i = 0; i < length; ++i) {
  21324. if ((i + offset >= dst.length) || (i >= src.length)) break
  21325. dst[i + offset] = src[i]
  21326. }
  21327. return i
  21328. }
  21329. function isnan (val) {
  21330. return val !== val // eslint-disable-line no-self-compare
  21331. }
  21332. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ 3)))
  21333. /***/ }),
  21334. /***/ 52:
  21335. /*!*****************************************!*\
  21336. !*** ./node_modules/base64-js/index.js ***!
  21337. \*****************************************/
  21338. /*! no static exports found */
  21339. /***/ (function(module, exports, __webpack_require__) {
  21340. "use strict";
  21341. exports.byteLength = byteLength
  21342. exports.toByteArray = toByteArray
  21343. exports.fromByteArray = fromByteArray
  21344. var lookup = []
  21345. var revLookup = []
  21346. var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
  21347. var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
  21348. for (var i = 0, len = code.length; i < len; ++i) {
  21349. lookup[i] = code[i]
  21350. revLookup[code.charCodeAt(i)] = i
  21351. }
  21352. // Support decoding URL-safe base64 strings, as Node.js does.
  21353. // See: https://en.wikipedia.org/wiki/Base64#URL_applications
  21354. revLookup['-'.charCodeAt(0)] = 62
  21355. revLookup['_'.charCodeAt(0)] = 63
  21356. function getLens (b64) {
  21357. var len = b64.length
  21358. if (len % 4 > 0) {
  21359. throw new Error('Invalid string. Length must be a multiple of 4')
  21360. }
  21361. // Trim off extra bytes after placeholder bytes are found
  21362. // See: https://github.com/beatgammit/base64-js/issues/42
  21363. var validLen = b64.indexOf('=')
  21364. if (validLen === -1) validLen = len
  21365. var placeHoldersLen = validLen === len
  21366. ? 0
  21367. : 4 - (validLen % 4)
  21368. return [validLen, placeHoldersLen]
  21369. }
  21370. // base64 is 4/3 + up to two characters of the original data
  21371. function byteLength (b64) {
  21372. var lens = getLens(b64)
  21373. var validLen = lens[0]
  21374. var placeHoldersLen = lens[1]
  21375. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  21376. }
  21377. function _byteLength (b64, validLen, placeHoldersLen) {
  21378. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  21379. }
  21380. function toByteArray (b64) {
  21381. var tmp
  21382. var lens = getLens(b64)
  21383. var validLen = lens[0]
  21384. var placeHoldersLen = lens[1]
  21385. var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
  21386. var curByte = 0
  21387. // if there are placeholders, only get up to the last complete 4 chars
  21388. var len = placeHoldersLen > 0
  21389. ? validLen - 4
  21390. : validLen
  21391. var i
  21392. for (i = 0; i < len; i += 4) {
  21393. tmp =
  21394. (revLookup[b64.charCodeAt(i)] << 18) |
  21395. (revLookup[b64.charCodeAt(i + 1)] << 12) |
  21396. (revLookup[b64.charCodeAt(i + 2)] << 6) |
  21397. revLookup[b64.charCodeAt(i + 3)]
  21398. arr[curByte++] = (tmp >> 16) & 0xFF
  21399. arr[curByte++] = (tmp >> 8) & 0xFF
  21400. arr[curByte++] = tmp & 0xFF
  21401. }
  21402. if (placeHoldersLen === 2) {
  21403. tmp =
  21404. (revLookup[b64.charCodeAt(i)] << 2) |
  21405. (revLookup[b64.charCodeAt(i + 1)] >> 4)
  21406. arr[curByte++] = tmp & 0xFF
  21407. }
  21408. if (placeHoldersLen === 1) {
  21409. tmp =
  21410. (revLookup[b64.charCodeAt(i)] << 10) |
  21411. (revLookup[b64.charCodeAt(i + 1)] << 4) |
  21412. (revLookup[b64.charCodeAt(i + 2)] >> 2)
  21413. arr[curByte++] = (tmp >> 8) & 0xFF
  21414. arr[curByte++] = tmp & 0xFF
  21415. }
  21416. return arr
  21417. }
  21418. function tripletToBase64 (num) {
  21419. return lookup[num >> 18 & 0x3F] +
  21420. lookup[num >> 12 & 0x3F] +
  21421. lookup[num >> 6 & 0x3F] +
  21422. lookup[num & 0x3F]
  21423. }
  21424. function encodeChunk (uint8, start, end) {
  21425. var tmp
  21426. var output = []
  21427. for (var i = start; i < end; i += 3) {
  21428. tmp =
  21429. ((uint8[i] << 16) & 0xFF0000) +
  21430. ((uint8[i + 1] << 8) & 0xFF00) +
  21431. (uint8[i + 2] & 0xFF)
  21432. output.push(tripletToBase64(tmp))
  21433. }
  21434. return output.join('')
  21435. }
  21436. function fromByteArray (uint8) {
  21437. var tmp
  21438. var len = uint8.length
  21439. var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
  21440. var parts = []
  21441. var maxChunkLength = 16383 // must be multiple of 3
  21442. // go through the array every three bytes, we'll deal with trailing stuff later
  21443. for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
  21444. parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
  21445. }
  21446. // pad the end with zeros, but make sure to not forget the extra bytes
  21447. if (extraBytes === 1) {
  21448. tmp = uint8[len - 1]
  21449. parts.push(
  21450. lookup[tmp >> 2] +
  21451. lookup[(tmp << 4) & 0x3F] +
  21452. '=='
  21453. )
  21454. } else if (extraBytes === 2) {
  21455. tmp = (uint8[len - 2] << 8) + uint8[len - 1]
  21456. parts.push(
  21457. lookup[tmp >> 10] +
  21458. lookup[(tmp >> 4) & 0x3F] +
  21459. lookup[(tmp << 2) & 0x3F] +
  21460. '='
  21461. )
  21462. }
  21463. return parts.join('')
  21464. }
  21465. /***/ }),
  21466. /***/ 53:
  21467. /*!***************************************!*\
  21468. !*** ./node_modules/ieee754/index.js ***!
  21469. \***************************************/
  21470. /*! no static exports found */
  21471. /***/ (function(module, exports) {
  21472. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  21473. exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  21474. var e, m
  21475. var eLen = (nBytes * 8) - mLen - 1
  21476. var eMax = (1 << eLen) - 1
  21477. var eBias = eMax >> 1
  21478. var nBits = -7
  21479. var i = isLE ? (nBytes - 1) : 0
  21480. var d = isLE ? -1 : 1
  21481. var s = buffer[offset + i]
  21482. i += d
  21483. e = s & ((1 << (-nBits)) - 1)
  21484. s >>= (-nBits)
  21485. nBits += eLen
  21486. for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  21487. m = e & ((1 << (-nBits)) - 1)
  21488. e >>= (-nBits)
  21489. nBits += mLen
  21490. for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  21491. if (e === 0) {
  21492. e = 1 - eBias
  21493. } else if (e === eMax) {
  21494. return m ? NaN : ((s ? -1 : 1) * Infinity)
  21495. } else {
  21496. m = m + Math.pow(2, mLen)
  21497. e = e - eBias
  21498. }
  21499. return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
  21500. }
  21501. exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
  21502. var e, m, c
  21503. var eLen = (nBytes * 8) - mLen - 1
  21504. var eMax = (1 << eLen) - 1
  21505. var eBias = eMax >> 1
  21506. var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
  21507. var i = isLE ? 0 : (nBytes - 1)
  21508. var d = isLE ? 1 : -1
  21509. var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
  21510. value = Math.abs(value)
  21511. if (isNaN(value) || value === Infinity) {
  21512. m = isNaN(value) ? 1 : 0
  21513. e = eMax
  21514. } else {
  21515. e = Math.floor(Math.log(value) / Math.LN2)
  21516. if (value * (c = Math.pow(2, -e)) < 1) {
  21517. e--
  21518. c *= 2
  21519. }
  21520. if (e + eBias >= 1) {
  21521. value += rt / c
  21522. } else {
  21523. value += rt * Math.pow(2, 1 - eBias)
  21524. }
  21525. if (value * c >= 2) {
  21526. e++
  21527. c /= 2
  21528. }
  21529. if (e + eBias >= eMax) {
  21530. m = 0
  21531. e = eMax
  21532. } else if (e + eBias >= 1) {
  21533. m = ((value * c) - 1) * Math.pow(2, mLen)
  21534. e = e + eBias
  21535. } else {
  21536. m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
  21537. e = 0
  21538. }
  21539. }
  21540. for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
  21541. e = (e << mLen) | m
  21542. eLen += mLen
  21543. for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
  21544. buffer[offset + i - d] |= s * 128
  21545. }
  21546. /***/ }),
  21547. /***/ 54:
  21548. /*!***************************************!*\
  21549. !*** ./node_modules/isarray/index.js ***!
  21550. \***************************************/
  21551. /*! no static exports found */
  21552. /***/ (function(module, exports) {
  21553. var toString = {}.toString;
  21554. module.exports = Array.isArray || function (arr) {
  21555. return toString.call(arr) == '[object Array]';
  21556. };
  21557. /***/ }),
  21558. /***/ 55:
  21559. /*!*****************************************************************!*\
  21560. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/util/route.js ***!
  21561. \*****************************************************************/
  21562. /*! no static exports found */
  21563. /***/ (function(module, exports, __webpack_require__) {
  21564. "use strict";
  21565. /* WEBPACK VAR INJECTION */(function(uni) {
  21566. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21567. Object.defineProperty(exports, "__esModule", {
  21568. value: true
  21569. });
  21570. exports.default = void 0;
  21571. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 56));
  21572. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 58));
  21573. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  21574. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  21575. /**
  21576. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  21577. * 并且带有路由拦截功能
  21578. */
  21579. var Router = /*#__PURE__*/function () {
  21580. function Router() {
  21581. (0, _classCallCheck2.default)(this, Router);
  21582. // 原始属性定义
  21583. this.config = {
  21584. type: 'navigateTo',
  21585. url: '',
  21586. delta: 1,
  21587. // navigateBack页面后退时,回退的层数
  21588. params: {},
  21589. // 传递的参数
  21590. animationType: 'pop-in',
  21591. // 窗口动画,只在APP有效
  21592. animationDuration: 300,
  21593. // 窗口动画持续时间,单位毫秒,只在APP有效
  21594. intercept: false // 是否需要拦截
  21595. };
  21596. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  21597. // 这里在构造函数中进行this绑定
  21598. this.route = this.route.bind(this);
  21599. }
  21600. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  21601. (0, _createClass2.default)(Router, [{
  21602. key: "addRootPath",
  21603. value: function addRootPath(url) {
  21604. return url[0] === '/' ? url : "/".concat(url);
  21605. }
  21606. // 整合路由参数
  21607. }, {
  21608. key: "mixinParam",
  21609. value: function mixinParam(url, params) {
  21610. url = url && this.addRootPath(url);
  21611. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  21612. // 如果有url中有get参数,转换后无需带上"?"
  21613. var query = '';
  21614. if (/.*\/.*\?.*=.*/.test(url)) {
  21615. // object对象转为get类型的参数
  21616. query = uni.$u.queryParams(params, false);
  21617. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  21618. return url += "&".concat(query);
  21619. }
  21620. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  21621. query = uni.$u.queryParams(params);
  21622. return url += query;
  21623. }
  21624. // 对外的方法名称
  21625. }, {
  21626. key: "route",
  21627. value: function () {
  21628. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  21629. var options,
  21630. params,
  21631. mergeConfig,
  21632. isNext,
  21633. _args = arguments;
  21634. return _regenerator.default.wrap(function _callee$(_context) {
  21635. while (1) {
  21636. switch (_context.prev = _context.next) {
  21637. case 0:
  21638. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  21639. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  21640. // 合并用户的配置和内部的默认配置
  21641. mergeConfig = {};
  21642. if (typeof options === 'string') {
  21643. // 如果options为字符串,则为route(url, params)的形式
  21644. mergeConfig.url = this.mixinParam(options, params);
  21645. mergeConfig.type = 'navigateTo';
  21646. } else {
  21647. mergeConfig = uni.$u.deepMerge(this.config, options);
  21648. // 否则正常使用mergeConfig中的url和params进行拼接
  21649. mergeConfig.url = this.mixinParam(options.url, options.params);
  21650. }
  21651. // 如果本次跳转的路径和本页面路径一致,不执行跳转,防止用户快速点击跳转按钮,造成多次跳转同一个页面的问题
  21652. if (!(mergeConfig.url === uni.$u.page())) {
  21653. _context.next = 6;
  21654. break;
  21655. }
  21656. return _context.abrupt("return");
  21657. case 6:
  21658. if (params.intercept) {
  21659. this.config.intercept = params.intercept;
  21660. }
  21661. // params参数也带给拦截器
  21662. mergeConfig.params = params;
  21663. // 合并内外部参数
  21664. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  21665. // 判断用户是否定义了拦截器
  21666. if (!(typeof uni.$u.routeIntercept === 'function')) {
  21667. _context.next = 16;
  21668. break;
  21669. }
  21670. _context.next = 12;
  21671. return new Promise(function (resolve, reject) {
  21672. uni.$u.routeIntercept(mergeConfig, resolve);
  21673. });
  21674. case 12:
  21675. isNext = _context.sent;
  21676. // 如果isNext为true,则执行路由跳转
  21677. isNext && this.openPage(mergeConfig);
  21678. _context.next = 17;
  21679. break;
  21680. case 16:
  21681. this.openPage(mergeConfig);
  21682. case 17:
  21683. case "end":
  21684. return _context.stop();
  21685. }
  21686. }
  21687. }, _callee, this);
  21688. }));
  21689. function route() {
  21690. return _route.apply(this, arguments);
  21691. }
  21692. return route;
  21693. }() // 执行路由跳转
  21694. }, {
  21695. key: "openPage",
  21696. value: function openPage(config) {
  21697. // 解构参数
  21698. var url = config.url,
  21699. type = config.type,
  21700. delta = config.delta,
  21701. animationType = config.animationType,
  21702. animationDuration = config.animationDuration;
  21703. if (config.type == 'navigateTo' || config.type == 'to') {
  21704. uni.navigateTo({
  21705. url: url,
  21706. animationType: animationType,
  21707. animationDuration: animationDuration
  21708. });
  21709. }
  21710. if (config.type == 'redirectTo' || config.type == 'redirect') {
  21711. uni.redirectTo({
  21712. url: url
  21713. });
  21714. }
  21715. if (config.type == 'switchTab' || config.type == 'tab') {
  21716. uni.switchTab({
  21717. url: url
  21718. });
  21719. }
  21720. if (config.type == 'reLaunch' || config.type == 'launch') {
  21721. uni.reLaunch({
  21722. url: url
  21723. });
  21724. }
  21725. if (config.type == 'navigateBack' || config.type == 'back') {
  21726. uni.navigateBack({
  21727. delta: delta
  21728. });
  21729. }
  21730. }
  21731. }]);
  21732. return Router;
  21733. }();
  21734. var _default = new Router().route;
  21735. exports.default = _default;
  21736. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21737. /***/ }),
  21738. /***/ 56:
  21739. /*!************************************************************************************************!*\
  21740. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  21741. \************************************************************************************************/
  21742. /*! no static exports found */
  21743. /***/ (function(module, exports, __webpack_require__) {
  21744. // TODO(Babel 8): Remove this file.
  21745. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 57)();
  21746. module.exports = runtime;
  21747. /***/ }),
  21748. /***/ 57:
  21749. /*!*******************************************************************!*\
  21750. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  21751. \*******************************************************************/
  21752. /*! no static exports found */
  21753. /***/ (function(module, exports, __webpack_require__) {
  21754. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  21755. function _regeneratorRuntime() {
  21756. "use strict";
  21757. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  21758. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  21759. return e;
  21760. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  21761. var t,
  21762. e = {},
  21763. r = Object.prototype,
  21764. n = r.hasOwnProperty,
  21765. o = Object.defineProperty || function (t, e, r) {
  21766. t[e] = r.value;
  21767. },
  21768. i = "function" == typeof Symbol ? Symbol : {},
  21769. a = i.iterator || "@@iterator",
  21770. c = i.asyncIterator || "@@asyncIterator",
  21771. u = i.toStringTag || "@@toStringTag";
  21772. function define(t, e, r) {
  21773. return Object.defineProperty(t, e, {
  21774. value: r,
  21775. enumerable: !0,
  21776. configurable: !0,
  21777. writable: !0
  21778. }), t[e];
  21779. }
  21780. try {
  21781. define({}, "");
  21782. } catch (t) {
  21783. define = function define(t, e, r) {
  21784. return t[e] = r;
  21785. };
  21786. }
  21787. function wrap(t, e, r, n) {
  21788. var i = e && e.prototype instanceof Generator ? e : Generator,
  21789. a = Object.create(i.prototype),
  21790. c = new Context(n || []);
  21791. return o(a, "_invoke", {
  21792. value: makeInvokeMethod(t, r, c)
  21793. }), a;
  21794. }
  21795. function tryCatch(t, e, r) {
  21796. try {
  21797. return {
  21798. type: "normal",
  21799. arg: t.call(e, r)
  21800. };
  21801. } catch (t) {
  21802. return {
  21803. type: "throw",
  21804. arg: t
  21805. };
  21806. }
  21807. }
  21808. e.wrap = wrap;
  21809. var h = "suspendedStart",
  21810. l = "suspendedYield",
  21811. f = "executing",
  21812. s = "completed",
  21813. y = {};
  21814. function Generator() {}
  21815. function GeneratorFunction() {}
  21816. function GeneratorFunctionPrototype() {}
  21817. var p = {};
  21818. define(p, a, function () {
  21819. return this;
  21820. });
  21821. var d = Object.getPrototypeOf,
  21822. v = d && d(d(values([])));
  21823. v && v !== r && n.call(v, a) && (p = v);
  21824. var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
  21825. function defineIteratorMethods(t) {
  21826. ["next", "throw", "return"].forEach(function (e) {
  21827. define(t, e, function (t) {
  21828. return this._invoke(e, t);
  21829. });
  21830. });
  21831. }
  21832. function AsyncIterator(t, e) {
  21833. function invoke(r, o, i, a) {
  21834. var c = tryCatch(t[r], t, o);
  21835. if ("throw" !== c.type) {
  21836. var u = c.arg,
  21837. h = u.value;
  21838. return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
  21839. invoke("next", t, i, a);
  21840. }, function (t) {
  21841. invoke("throw", t, i, a);
  21842. }) : e.resolve(h).then(function (t) {
  21843. u.value = t, i(u);
  21844. }, function (t) {
  21845. return invoke("throw", t, i, a);
  21846. });
  21847. }
  21848. a(c.arg);
  21849. }
  21850. var r;
  21851. o(this, "_invoke", {
  21852. value: function value(t, n) {
  21853. function callInvokeWithMethodAndArg() {
  21854. return new e(function (e, r) {
  21855. invoke(t, n, e, r);
  21856. });
  21857. }
  21858. return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  21859. }
  21860. });
  21861. }
  21862. function makeInvokeMethod(e, r, n) {
  21863. var o = h;
  21864. return function (i, a) {
  21865. if (o === f) throw Error("Generator is already running");
  21866. if (o === s) {
  21867. if ("throw" === i) throw a;
  21868. return {
  21869. value: t,
  21870. done: !0
  21871. };
  21872. }
  21873. for (n.method = i, n.arg = a;;) {
  21874. var c = n.delegate;
  21875. if (c) {
  21876. var u = maybeInvokeDelegate(c, n);
  21877. if (u) {
  21878. if (u === y) continue;
  21879. return u;
  21880. }
  21881. }
  21882. if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
  21883. if (o === h) throw o = s, n.arg;
  21884. n.dispatchException(n.arg);
  21885. } else "return" === n.method && n.abrupt("return", n.arg);
  21886. o = f;
  21887. var p = tryCatch(e, r, n);
  21888. if ("normal" === p.type) {
  21889. if (o = n.done ? s : l, p.arg === y) continue;
  21890. return {
  21891. value: p.arg,
  21892. done: n.done
  21893. };
  21894. }
  21895. "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
  21896. }
  21897. };
  21898. }
  21899. function maybeInvokeDelegate(e, r) {
  21900. var n = r.method,
  21901. o = e.iterator[n];
  21902. if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
  21903. var i = tryCatch(o, e.iterator, r.arg);
  21904. if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
  21905. var a = i.arg;
  21906. return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
  21907. }
  21908. function pushTryEntry(t) {
  21909. var e = {
  21910. tryLoc: t[0]
  21911. };
  21912. 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
  21913. }
  21914. function resetTryEntry(t) {
  21915. var e = t.completion || {};
  21916. e.type = "normal", delete e.arg, t.completion = e;
  21917. }
  21918. function Context(t) {
  21919. this.tryEntries = [{
  21920. tryLoc: "root"
  21921. }], t.forEach(pushTryEntry, this), this.reset(!0);
  21922. }
  21923. function values(e) {
  21924. if (e || "" === e) {
  21925. var r = e[a];
  21926. if (r) return r.call(e);
  21927. if ("function" == typeof e.next) return e;
  21928. if (!isNaN(e.length)) {
  21929. var o = -1,
  21930. i = function next() {
  21931. for (; ++o < e.length;) {
  21932. if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
  21933. }
  21934. return next.value = t, next.done = !0, next;
  21935. };
  21936. return i.next = i;
  21937. }
  21938. }
  21939. throw new TypeError(_typeof(e) + " is not iterable");
  21940. }
  21941. return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
  21942. value: GeneratorFunctionPrototype,
  21943. configurable: !0
  21944. }), o(GeneratorFunctionPrototype, "constructor", {
  21945. value: GeneratorFunction,
  21946. configurable: !0
  21947. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
  21948. var e = "function" == typeof t && t.constructor;
  21949. return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
  21950. }, e.mark = function (t) {
  21951. return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
  21952. }, e.awrap = function (t) {
  21953. return {
  21954. __await: t
  21955. };
  21956. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
  21957. return this;
  21958. }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
  21959. void 0 === i && (i = Promise);
  21960. var a = new AsyncIterator(wrap(t, r, n, o), i);
  21961. return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
  21962. return t.done ? t.value : a.next();
  21963. });
  21964. }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
  21965. return this;
  21966. }), define(g, "toString", function () {
  21967. return "[object Generator]";
  21968. }), e.keys = function (t) {
  21969. var e = Object(t),
  21970. r = [];
  21971. for (var n in e) {
  21972. r.push(n);
  21973. }
  21974. return r.reverse(), function next() {
  21975. for (; r.length;) {
  21976. var t = r.pop();
  21977. if (t in e) return next.value = t, next.done = !1, next;
  21978. }
  21979. return next.done = !0, next;
  21980. };
  21981. }, e.values = values, Context.prototype = {
  21982. constructor: Context,
  21983. reset: function reset(e) {
  21984. if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) {
  21985. "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
  21986. }
  21987. },
  21988. stop: function stop() {
  21989. this.done = !0;
  21990. var t = this.tryEntries[0].completion;
  21991. if ("throw" === t.type) throw t.arg;
  21992. return this.rval;
  21993. },
  21994. dispatchException: function dispatchException(e) {
  21995. if (this.done) throw e;
  21996. var r = this;
  21997. function handle(n, o) {
  21998. return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
  21999. }
  22000. for (var o = this.tryEntries.length - 1; o >= 0; --o) {
  22001. var i = this.tryEntries[o],
  22002. a = i.completion;
  22003. if ("root" === i.tryLoc) return handle("end");
  22004. if (i.tryLoc <= this.prev) {
  22005. var c = n.call(i, "catchLoc"),
  22006. u = n.call(i, "finallyLoc");
  22007. if (c && u) {
  22008. if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
  22009. if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
  22010. } else if (c) {
  22011. if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
  22012. } else {
  22013. if (!u) throw Error("try statement without catch or finally");
  22014. if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
  22015. }
  22016. }
  22017. }
  22018. },
  22019. abrupt: function abrupt(t, e) {
  22020. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  22021. var o = this.tryEntries[r];
  22022. if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
  22023. var i = o;
  22024. break;
  22025. }
  22026. }
  22027. i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
  22028. var a = i ? i.completion : {};
  22029. return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
  22030. },
  22031. complete: function complete(t, e) {
  22032. if ("throw" === t.type) throw t.arg;
  22033. return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
  22034. },
  22035. finish: function finish(t) {
  22036. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  22037. var r = this.tryEntries[e];
  22038. if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
  22039. }
  22040. },
  22041. "catch": function _catch(t) {
  22042. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  22043. var r = this.tryEntries[e];
  22044. if (r.tryLoc === t) {
  22045. var n = r.completion;
  22046. if ("throw" === n.type) {
  22047. var o = n.arg;
  22048. resetTryEntry(r);
  22049. }
  22050. return o;
  22051. }
  22052. }
  22053. throw Error("illegal catch attempt");
  22054. },
  22055. delegateYield: function delegateYield(e, r, n) {
  22056. return this.delegate = {
  22057. iterator: values(e),
  22058. resultName: r,
  22059. nextLoc: n
  22060. }, "next" === this.method && (this.arg = t), y;
  22061. }
  22062. }, e;
  22063. }
  22064. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22065. /***/ }),
  22066. /***/ 58:
  22067. /*!*****************************************************************!*\
  22068. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  22069. \*****************************************************************/
  22070. /*! no static exports found */
  22071. /***/ (function(module, exports) {
  22072. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  22073. try {
  22074. var info = gen[key](arg);
  22075. var value = info.value;
  22076. } catch (error) {
  22077. reject(error);
  22078. return;
  22079. }
  22080. if (info.done) {
  22081. resolve(value);
  22082. } else {
  22083. Promise.resolve(value).then(_next, _throw);
  22084. }
  22085. }
  22086. function _asyncToGenerator(fn) {
  22087. return function () {
  22088. var self = this,
  22089. args = arguments;
  22090. return new Promise(function (resolve, reject) {
  22091. var gen = fn.apply(self, args);
  22092. function _next(value) {
  22093. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  22094. }
  22095. function _throw(err) {
  22096. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  22097. }
  22098. _next(undefined);
  22099. });
  22100. };
  22101. }
  22102. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22103. /***/ }),
  22104. /***/ 59:
  22105. /*!*****************************************************************************!*\
  22106. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/colorGradient.js ***!
  22107. \*****************************************************************************/
  22108. /*! no static exports found */
  22109. /***/ (function(module, exports, __webpack_require__) {
  22110. "use strict";
  22111. Object.defineProperty(exports, "__esModule", {
  22112. value: true
  22113. });
  22114. exports.default = void 0;
  22115. /**
  22116. * 求两个颜色之间的渐变值
  22117. * @param {string} startColor 开始的颜色
  22118. * @param {string} endColor 结束的颜色
  22119. * @param {number} step 颜色等分的份额
  22120. * */
  22121. function colorGradient() {
  22122. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  22123. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  22124. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  22125. var startRGB = hexToRgb(startColor, false); // 转换为rgb数组模式
  22126. var startR = startRGB[0];
  22127. var startG = startRGB[1];
  22128. var startB = startRGB[2];
  22129. var endRGB = hexToRgb(endColor, false);
  22130. var endR = endRGB[0];
  22131. var endG = endRGB[1];
  22132. var endB = endRGB[2];
  22133. var sR = (endR - startR) / step; // 总差值
  22134. var sG = (endG - startG) / step;
  22135. var sB = (endB - startB) / step;
  22136. var colorArr = [];
  22137. for (var i = 0; i < step; i++) {
  22138. // 计算每一步的hex值
  22139. var hex = rgbToHex("rgb(".concat(Math.round(sR * i + startR), ",").concat(Math.round(sG * i + startG), ",").concat(Math.round(sB * i + startB), ")"));
  22140. // 确保第一个颜色值为startColor的值
  22141. if (i === 0) hex = rgbToHex(startColor);
  22142. // 确保最后一个颜色值为endColor的值
  22143. if (i === step - 1) hex = rgbToHex(endColor);
  22144. colorArr.push(hex);
  22145. }
  22146. return colorArr;
  22147. }
  22148. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  22149. function hexToRgb(sColor) {
  22150. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  22151. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22152. sColor = String(sColor).toLowerCase();
  22153. if (sColor && reg.test(sColor)) {
  22154. if (sColor.length === 4) {
  22155. var sColorNew = '#';
  22156. for (var i = 1; i < 4; i += 1) {
  22157. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  22158. }
  22159. sColor = sColorNew;
  22160. }
  22161. // 处理六位的颜色值
  22162. var sColorChange = [];
  22163. for (var _i = 1; _i < 7; _i += 2) {
  22164. sColorChange.push(parseInt("0x".concat(sColor.slice(_i, _i + 2))));
  22165. }
  22166. if (!str) {
  22167. return sColorChange;
  22168. }
  22169. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  22170. }
  22171. if (/^(rgb|RGB)/.test(sColor)) {
  22172. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  22173. return arr.map(function (val) {
  22174. return Number(val);
  22175. });
  22176. }
  22177. return sColor;
  22178. }
  22179. // 将rgb表示方式转换为hex表示方式
  22180. function rgbToHex(rgb) {
  22181. var _this = rgb;
  22182. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22183. if (/^(rgb|RGB)/.test(_this)) {
  22184. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  22185. var strHex = '#';
  22186. for (var i = 0; i < aColor.length; i++) {
  22187. var hex = Number(aColor[i]).toString(16);
  22188. hex = String(hex).length == 1 ? "".concat(0, hex) : hex; // 保证每个rgb的值为2位
  22189. if (hex === '0') {
  22190. hex += hex;
  22191. }
  22192. strHex += hex;
  22193. }
  22194. if (strHex.length !== 7) {
  22195. strHex = _this;
  22196. }
  22197. return strHex;
  22198. }
  22199. if (reg.test(_this)) {
  22200. var aNum = _this.replace(/#/, '').split('');
  22201. if (aNum.length === 6) {
  22202. return _this;
  22203. }
  22204. if (aNum.length === 3) {
  22205. var numHex = '#';
  22206. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  22207. numHex += aNum[_i2] + aNum[_i2];
  22208. }
  22209. return numHex;
  22210. }
  22211. } else {
  22212. return _this;
  22213. }
  22214. }
  22215. /**
  22216. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  22217. * sHex为传入的十六进制的色值
  22218. * alpha为rgba的透明度
  22219. */
  22220. function colorToRgba(color, alpha) {
  22221. color = rgbToHex(color);
  22222. // 十六进制颜色值的正则表达式
  22223. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22224. /* 16进制颜色转为RGB格式 */
  22225. var sColor = String(color).toLowerCase();
  22226. if (sColor && reg.test(sColor)) {
  22227. if (sColor.length === 4) {
  22228. var sColorNew = '#';
  22229. for (var i = 1; i < 4; i += 1) {
  22230. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  22231. }
  22232. sColor = sColorNew;
  22233. }
  22234. // 处理六位的颜色值
  22235. var sColorChange = [];
  22236. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  22237. sColorChange.push(parseInt("0x".concat(sColor.slice(_i3, _i3 + 2))));
  22238. }
  22239. // return sColorChange.join(',')
  22240. return "rgba(".concat(sColorChange.join(','), ",").concat(alpha, ")");
  22241. }
  22242. return sColor;
  22243. }
  22244. var _default = {
  22245. colorGradient: colorGradient,
  22246. hexToRgb: hexToRgb,
  22247. rgbToHex: rgbToHex,
  22248. colorToRgba: colorToRgba
  22249. };
  22250. exports.default = _default;
  22251. /***/ }),
  22252. /***/ 6:
  22253. /*!***************************************************************!*\
  22254. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  22255. \***************************************************************/
  22256. /*! no static exports found */
  22257. /***/ (function(module, exports) {
  22258. function _arrayWithHoles(arr) {
  22259. if (Array.isArray(arr)) return arr;
  22260. }
  22261. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22262. /***/ }),
  22263. /***/ 60:
  22264. /*!********************************************************************!*\
  22265. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/test.js ***!
  22266. \********************************************************************/
  22267. /*! no static exports found */
  22268. /***/ (function(module, exports, __webpack_require__) {
  22269. "use strict";
  22270. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22271. Object.defineProperty(exports, "__esModule", {
  22272. value: true
  22273. });
  22274. exports.default = void 0;
  22275. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22276. /**
  22277. * 验证电子邮箱格式
  22278. */
  22279. function email(value) {
  22280. return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
  22281. }
  22282. /**
  22283. * 验证手机格式
  22284. */
  22285. function mobile(value) {
  22286. return /^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(value);
  22287. }
  22288. /**
  22289. * 验证URL格式
  22290. */
  22291. function url(value) {
  22292. return /^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(value);
  22293. }
  22294. /**
  22295. * 验证日期格式
  22296. */
  22297. function date(value) {
  22298. if (!value) return false;
  22299. // 判断是否数值或者字符串数值(意味着为时间戳),转为数值,否则new Date无法识别字符串时间戳
  22300. if (number(value)) value = +value;
  22301. return !/Invalid|NaN/.test(new Date(value).toString());
  22302. }
  22303. /**
  22304. * 验证ISO类型的日期格式
  22305. */
  22306. function dateISO(value) {
  22307. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  22308. }
  22309. /**
  22310. * 验证十进制数字
  22311. */
  22312. function number(value) {
  22313. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  22314. }
  22315. /**
  22316. * 验证字符串
  22317. */
  22318. function string(value) {
  22319. return typeof value === 'string';
  22320. }
  22321. /**
  22322. * 验证整数
  22323. */
  22324. function digits(value) {
  22325. return /^\d+$/.test(value);
  22326. }
  22327. /**
  22328. * 验证身份证号码
  22329. */
  22330. function idCard(value) {
  22331. return /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value);
  22332. }
  22333. /**
  22334. * 是否车牌号
  22335. */
  22336. function carNo(value) {
  22337. // 新能源车牌
  22338. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  22339. // 旧车牌
  22340. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  22341. if (value.length === 7) {
  22342. return creg.test(value);
  22343. }
  22344. if (value.length === 8) {
  22345. return xreg.test(value);
  22346. }
  22347. return false;
  22348. }
  22349. /**
  22350. * 金额,只允许2位小数
  22351. */
  22352. function amount(value) {
  22353. // 金额,只允许保留两位小数
  22354. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  22355. }
  22356. /**
  22357. * 中文
  22358. */
  22359. function chinese(value) {
  22360. var reg = /^[\u4e00-\u9fa5]+$/gi;
  22361. return reg.test(value);
  22362. }
  22363. /**
  22364. * 只能输入字母
  22365. */
  22366. function letter(value) {
  22367. return /^[a-zA-Z]*$/.test(value);
  22368. }
  22369. /**
  22370. * 只能是字母或者数字
  22371. */
  22372. function enOrNum(value) {
  22373. // 英文或者数字
  22374. var reg = /^[0-9a-zA-Z]*$/g;
  22375. return reg.test(value);
  22376. }
  22377. /**
  22378. * 验证是否包含某个值
  22379. */
  22380. function contains(value, param) {
  22381. return value.indexOf(param) >= 0;
  22382. }
  22383. /**
  22384. * 验证一个值范围[min, max]
  22385. */
  22386. function range(value, param) {
  22387. return value >= param[0] && value <= param[1];
  22388. }
  22389. /**
  22390. * 验证一个长度范围[min, max]
  22391. */
  22392. function rangeLength(value, param) {
  22393. return value.length >= param[0] && value.length <= param[1];
  22394. }
  22395. /**
  22396. * 是否固定电话
  22397. */
  22398. function landline(value) {
  22399. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  22400. return reg.test(value);
  22401. }
  22402. /**
  22403. * 判断是否为空
  22404. */
  22405. function empty(value) {
  22406. switch ((0, _typeof2.default)(value)) {
  22407. case 'undefined':
  22408. return true;
  22409. case 'string':
  22410. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  22411. break;
  22412. case 'boolean':
  22413. if (!value) return true;
  22414. break;
  22415. case 'number':
  22416. if (value === 0 || isNaN(value)) return true;
  22417. break;
  22418. case 'object':
  22419. if (value === null || value.length === 0) return true;
  22420. for (var i in value) {
  22421. return false;
  22422. }
  22423. return true;
  22424. }
  22425. return false;
  22426. }
  22427. /**
  22428. * 是否json字符串
  22429. */
  22430. function jsonString(value) {
  22431. if (typeof value === 'string') {
  22432. try {
  22433. var obj = JSON.parse(value);
  22434. if ((0, _typeof2.default)(obj) === 'object' && obj) {
  22435. return true;
  22436. }
  22437. return false;
  22438. } catch (e) {
  22439. return false;
  22440. }
  22441. }
  22442. return false;
  22443. }
  22444. /**
  22445. * 是否数组
  22446. */
  22447. function array(value) {
  22448. if (typeof Array.isArray === 'function') {
  22449. return Array.isArray(value);
  22450. }
  22451. return Object.prototype.toString.call(value) === '[object Array]';
  22452. }
  22453. /**
  22454. * 是否对象
  22455. */
  22456. function object(value) {
  22457. return Object.prototype.toString.call(value) === '[object Object]';
  22458. }
  22459. /**
  22460. * 是否短信验证码
  22461. */
  22462. function code(value) {
  22463. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  22464. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  22465. }
  22466. /**
  22467. * 是否函数方法
  22468. * @param {Object} value
  22469. */
  22470. function func(value) {
  22471. return typeof value === 'function';
  22472. }
  22473. /**
  22474. * 是否promise对象
  22475. * @param {Object} value
  22476. */
  22477. function promise(value) {
  22478. return object(value) && func(value.then) && func(value.catch);
  22479. }
  22480. /** 是否图片格式
  22481. * @param {Object} value
  22482. */
  22483. function image(value) {
  22484. var newValue = value.split('?')[0];
  22485. var IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
  22486. return IMAGE_REGEXP.test(newValue);
  22487. }
  22488. /**
  22489. * 是否视频格式
  22490. * @param {Object} value
  22491. */
  22492. function video(value) {
  22493. var VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;
  22494. return VIDEO_REGEXP.test(value);
  22495. }
  22496. /**
  22497. * 是否为正则对象
  22498. * @param {Object}
  22499. * @return {Boolean}
  22500. */
  22501. function regExp(o) {
  22502. return o && Object.prototype.toString.call(o) === '[object RegExp]';
  22503. }
  22504. var _default = {
  22505. email: email,
  22506. mobile: mobile,
  22507. url: url,
  22508. date: date,
  22509. dateISO: dateISO,
  22510. number: number,
  22511. digits: digits,
  22512. idCard: idCard,
  22513. carNo: carNo,
  22514. amount: amount,
  22515. chinese: chinese,
  22516. letter: letter,
  22517. enOrNum: enOrNum,
  22518. contains: contains,
  22519. range: range,
  22520. rangeLength: rangeLength,
  22521. empty: empty,
  22522. isEmpty: empty,
  22523. jsonString: jsonString,
  22524. landline: landline,
  22525. object: object,
  22526. array: array,
  22527. code: code,
  22528. func: func,
  22529. promise: promise,
  22530. video: video,
  22531. image: image,
  22532. regExp: regExp,
  22533. string: string
  22534. };
  22535. exports.default = _default;
  22536. /***/ }),
  22537. /***/ 61:
  22538. /*!************************************************************************!*\
  22539. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/debounce.js ***!
  22540. \************************************************************************/
  22541. /*! no static exports found */
  22542. /***/ (function(module, exports, __webpack_require__) {
  22543. "use strict";
  22544. Object.defineProperty(exports, "__esModule", {
  22545. value: true
  22546. });
  22547. exports.default = void 0;
  22548. var timeout = null;
  22549. /**
  22550. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  22551. *
  22552. * @param {Function} func 要执行的回调函数
  22553. * @param {Number} wait 延时的时间
  22554. * @param {Boolean} immediate 是否立即执行
  22555. * @return null
  22556. */
  22557. function debounce(func) {
  22558. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  22559. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  22560. // 清除定时器
  22561. if (timeout !== null) clearTimeout(timeout);
  22562. // 立即执行,此类情况一般用不到
  22563. if (immediate) {
  22564. var callNow = !timeout;
  22565. timeout = setTimeout(function () {
  22566. timeout = null;
  22567. }, wait);
  22568. if (callNow) typeof func === 'function' && func();
  22569. } else {
  22570. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  22571. timeout = setTimeout(function () {
  22572. typeof func === 'function' && func();
  22573. }, wait);
  22574. }
  22575. }
  22576. var _default = debounce;
  22577. exports.default = _default;
  22578. /***/ }),
  22579. /***/ 62:
  22580. /*!************************************************************************!*\
  22581. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/throttle.js ***!
  22582. \************************************************************************/
  22583. /*! no static exports found */
  22584. /***/ (function(module, exports, __webpack_require__) {
  22585. "use strict";
  22586. Object.defineProperty(exports, "__esModule", {
  22587. value: true
  22588. });
  22589. exports.default = void 0;
  22590. var timer;
  22591. var flag;
  22592. /**
  22593. * 节流原理:在一定时间内,只能触发一次
  22594. *
  22595. * @param {Function} func 要执行的回调函数
  22596. * @param {Number} wait 延时的时间
  22597. * @param {Boolean} immediate 是否立即执行
  22598. * @return null
  22599. */
  22600. function throttle(func) {
  22601. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  22602. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  22603. if (immediate) {
  22604. if (!flag) {
  22605. flag = true;
  22606. // 如果是立即执行,则在wait毫秒内开始时执行
  22607. typeof func === 'function' && func();
  22608. timer = setTimeout(function () {
  22609. flag = false;
  22610. }, wait);
  22611. }
  22612. } else if (!flag) {
  22613. flag = true;
  22614. // 如果是非立即执行,则在wait毫秒内的结束处执行
  22615. timer = setTimeout(function () {
  22616. flag = false;
  22617. typeof func === 'function' && func();
  22618. }, wait);
  22619. }
  22620. }
  22621. var _default = throttle;
  22622. exports.default = _default;
  22623. /***/ }),
  22624. /***/ 63:
  22625. /*!*********************************************************************!*\
  22626. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/index.js ***!
  22627. \*********************************************************************/
  22628. /*! no static exports found */
  22629. /***/ (function(module, exports, __webpack_require__) {
  22630. "use strict";
  22631. /* WEBPACK VAR INJECTION */(function(uni) {
  22632. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22633. Object.defineProperty(exports, "__esModule", {
  22634. value: true
  22635. });
  22636. exports.default = void 0;
  22637. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  22638. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22639. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 60));
  22640. var _digit = __webpack_require__(/*! ./digit.js */ 64);
  22641. /**
  22642. * @description 如果value小于min,取min;如果value大于max,取max
  22643. * @param {number} min
  22644. * @param {number} max
  22645. * @param {number} value
  22646. */
  22647. function range() {
  22648. var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  22649. var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  22650. var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  22651. return Math.max(min, Math.min(max, Number(value)));
  22652. }
  22653. /**
  22654. * @description 用于获取用户传递值的px值 如果用户传递了"xxpx"或者"xxrpx",取出其数值部分,如果是"xxxrpx"还需要用过uni.upx2px进行转换
  22655. * @param {number|string} value 用户传递值的px值
  22656. * @param {boolean} unit
  22657. * @returns {number|string}
  22658. */
  22659. function getPx(value) {
  22660. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  22661. if (_test.default.number(value)) {
  22662. return unit ? "".concat(value, "px") : Number(value);
  22663. }
  22664. // 如果带有rpx,先取出其数值部分,再转为px值
  22665. if (/(rpx|upx)$/.test(value)) {
  22666. return unit ? "".concat(uni.upx2px(parseInt(value)), "px") : Number(uni.upx2px(parseInt(value)));
  22667. }
  22668. return unit ? "".concat(parseInt(value), "px") : parseInt(value);
  22669. }
  22670. /**
  22671. * @description 进行延时,以达到可以简写代码的目的 比如: await uni.$u.sleep(20)将会阻塞20ms
  22672. * @param {number} value 堵塞时间 单位ms 毫秒
  22673. * @returns {Promise} 返回promise
  22674. */
  22675. function sleep() {
  22676. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 30;
  22677. return new Promise(function (resolve) {
  22678. setTimeout(function () {
  22679. resolve();
  22680. }, value);
  22681. });
  22682. }
  22683. /**
  22684. * @description 运行期判断平台
  22685. * @returns {string} 返回所在平台(小写)
  22686. * @link 运行期判断平台 https://uniapp.dcloud.io/frame?id=判断平台
  22687. */
  22688. function os() {
  22689. return uni.getSystemInfoSync().platform.toLowerCase();
  22690. }
  22691. /**
  22692. * @description 获取系统信息同步接口
  22693. * @link 获取系统信息同步接口 https://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
  22694. */
  22695. function sys() {
  22696. return uni.getSystemInfoSync();
  22697. }
  22698. /**
  22699. * @description 取一个区间数
  22700. * @param {Number} min 最小值
  22701. * @param {Number} max 最大值
  22702. */
  22703. function random(min, max) {
  22704. if (min >= 0 && max > 0 && max >= min) {
  22705. var gab = max - min + 1;
  22706. return Math.floor(Math.random() * gab + min);
  22707. }
  22708. return 0;
  22709. }
  22710. /**
  22711. * @param {Number} len uuid的长度
  22712. * @param {Boolean} firstU 将返回的首字母置为"u"
  22713. * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  22714. */
  22715. function guid() {
  22716. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  22717. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  22718. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  22719. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  22720. var uuid = [];
  22721. radix = radix || chars.length;
  22722. if (len) {
  22723. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  22724. for (var i = 0; i < len; i++) {
  22725. uuid[i] = chars[0 | Math.random() * radix];
  22726. }
  22727. } else {
  22728. var r;
  22729. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  22730. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  22731. uuid[14] = '4';
  22732. for (var _i = 0; _i < 36; _i++) {
  22733. if (!uuid[_i]) {
  22734. r = 0 | Math.random() * 16;
  22735. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  22736. }
  22737. }
  22738. }
  22739. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class
  22740. if (firstU) {
  22741. uuid.shift();
  22742. return "u".concat(uuid.join(''));
  22743. }
  22744. return uuid.join('');
  22745. }
  22746. /**
  22747. * @description 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  22748. this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  22749. 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  22750. 值(默认为undefined),就是查找最顶层的$parent
  22751. * @param {string|undefined} name 父组件的参数名
  22752. */
  22753. function $parent() {
  22754. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  22755. var parent = this.$parent;
  22756. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  22757. while (parent) {
  22758. // 父组件
  22759. if (parent.$options && parent.$options.name !== name) {
  22760. // 如果组件的name不相等,继续上一级寻找
  22761. parent = parent.$parent;
  22762. } else {
  22763. return parent;
  22764. }
  22765. }
  22766. return false;
  22767. }
  22768. /**
  22769. * @description 样式转换
  22770. * 对象转字符串,或者字符串转对象
  22771. * @param {object | string} customStyle 需要转换的目标
  22772. * @param {String} target 转换的目的,object-转为对象,string-转为字符串
  22773. * @returns {object|string}
  22774. */
  22775. function addStyle(customStyle) {
  22776. var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'object';
  22777. // 字符串转字符串,对象转对象情形,直接返回
  22778. if (_test.default.empty(customStyle) || (0, _typeof2.default)(customStyle) === 'object' && target === 'object' || target === 'string' && typeof customStyle === 'string') {
  22779. return customStyle;
  22780. }
  22781. // 字符串转对象
  22782. if (target === 'object') {
  22783. // 去除字符串样式中的两端空格(中间的空格不能去掉,比如padding: 20px 0如果去掉了就错了),空格是无用的
  22784. customStyle = trim(customStyle);
  22785. // 根据";"将字符串转为数组形式
  22786. var styleArray = customStyle.split(';');
  22787. var style = {};
  22788. // 历遍数组,拼接成对象
  22789. for (var i = 0; i < styleArray.length; i++) {
  22790. // 'font-size:20px;color:red;',如此最后字符串有";"的话,会导致styleArray最后一个元素为空字符串,这里需要过滤
  22791. if (styleArray[i]) {
  22792. var item = styleArray[i].split(':');
  22793. style[trim(item[0])] = trim(item[1]);
  22794. }
  22795. }
  22796. return style;
  22797. }
  22798. // 这里为对象转字符串形式
  22799. var string = '';
  22800. for (var _i2 in customStyle) {
  22801. // 驼峰转为中划线的形式,否则css内联样式,无法识别驼峰样式属性名
  22802. var key = _i2.replace(/([A-Z])/g, '-$1').toLowerCase();
  22803. string += "".concat(key, ":").concat(customStyle[_i2], ";");
  22804. }
  22805. // 去除两端空格
  22806. return trim(string);
  22807. }
  22808. /**
  22809. * @description 添加单位,如果有rpx,upx,%,px等单位结尾或者值为auto,直接返回,否则加上px单位结尾
  22810. * @param {string|number} value 需要添加单位的值
  22811. * @param {string} unit 添加的单位名 比如px
  22812. */
  22813. function addUnit() {
  22814. var _uni$$u$config$unit, _uni, _uni$$u, _uni$$u$config;
  22815. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  22816. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (_uni$$u$config$unit = (_uni = uni) === null || _uni === void 0 ? void 0 : (_uni$$u = _uni.$u) === null || _uni$$u === void 0 ? void 0 : (_uni$$u$config = _uni$$u.config) === null || _uni$$u$config === void 0 ? void 0 : _uni$$u$config.unit) !== null && _uni$$u$config$unit !== void 0 ? _uni$$u$config$unit : 'px';
  22817. value = String(value);
  22818. // 用uView内置验证规则中的number判断是否为数值
  22819. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  22820. }
  22821. /**
  22822. * @description 深度克隆
  22823. * @param {object} obj 需要深度克隆的对象
  22824. * @param cache 缓存
  22825. * @returns {*} 克隆后的对象或者原值(不是对象)
  22826. */
  22827. function deepClone(obj) {
  22828. var cache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new WeakMap();
  22829. if (obj === null || (0, _typeof2.default)(obj) !== 'object') return obj;
  22830. if (cache.has(obj)) return cache.get(obj);
  22831. var clone;
  22832. if (obj instanceof Date) {
  22833. clone = new Date(obj.getTime());
  22834. } else if (obj instanceof RegExp) {
  22835. clone = new RegExp(obj);
  22836. } else if (obj instanceof Map) {
  22837. clone = new Map(Array.from(obj, function (_ref) {
  22838. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  22839. key = _ref2[0],
  22840. value = _ref2[1];
  22841. return [key, deepClone(value, cache)];
  22842. }));
  22843. } else if (obj instanceof Set) {
  22844. clone = new Set(Array.from(obj, function (value) {
  22845. return deepClone(value, cache);
  22846. }));
  22847. } else if (Array.isArray(obj)) {
  22848. clone = obj.map(function (value) {
  22849. return deepClone(value, cache);
  22850. });
  22851. } else if (Object.prototype.toString.call(obj) === '[object Object]') {
  22852. clone = Object.create(Object.getPrototypeOf(obj));
  22853. cache.set(obj, clone);
  22854. for (var _i3 = 0, _Object$entries = Object.entries(obj); _i3 < _Object$entries.length; _i3++) {
  22855. var _Object$entries$_i = (0, _slicedToArray2.default)(_Object$entries[_i3], 2),
  22856. key = _Object$entries$_i[0],
  22857. value = _Object$entries$_i[1];
  22858. clone[key] = deepClone(value, cache);
  22859. }
  22860. } else {
  22861. clone = Object.assign({}, obj);
  22862. }
  22863. cache.set(obj, clone);
  22864. return clone;
  22865. }
  22866. /**
  22867. * @description JS对象深度合并
  22868. * @param {object} target 需要拷贝的对象
  22869. * @param {object} source 拷贝的来源对象
  22870. * @returns {object|boolean} 深度合并后的对象或者false(入参有不是对象)
  22871. */
  22872. function deepMerge() {
  22873. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  22874. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  22875. target = deepClone(target);
  22876. if ((0, _typeof2.default)(target) !== 'object' || target === null || (0, _typeof2.default)(source) !== 'object' || source === null) return target;
  22877. var merged = Array.isArray(target) ? target.slice() : Object.assign({}, target);
  22878. for (var prop in source) {
  22879. if (!source.hasOwnProperty(prop)) continue;
  22880. var sourceValue = source[prop];
  22881. var targetValue = merged[prop];
  22882. if (sourceValue instanceof Date) {
  22883. merged[prop] = new Date(sourceValue);
  22884. } else if (sourceValue instanceof RegExp) {
  22885. merged[prop] = new RegExp(sourceValue);
  22886. } else if (sourceValue instanceof Map) {
  22887. merged[prop] = new Map(sourceValue);
  22888. } else if (sourceValue instanceof Set) {
  22889. merged[prop] = new Set(sourceValue);
  22890. } else if ((0, _typeof2.default)(sourceValue) === 'object' && sourceValue !== null) {
  22891. merged[prop] = deepMerge(targetValue, sourceValue);
  22892. } else {
  22893. merged[prop] = sourceValue;
  22894. }
  22895. }
  22896. return merged;
  22897. }
  22898. /**
  22899. * @description error提示
  22900. * @param {*} err 错误内容
  22901. */
  22902. function error(err) {
  22903. // 开发环境才提示,生产环境不会提示
  22904. if (true) {
  22905. console.error("uView\u63D0\u793A\uFF1A".concat(err));
  22906. }
  22907. }
  22908. /**
  22909. * @description 打乱数组
  22910. * @param {array} array 需要打乱的数组
  22911. * @returns {array} 打乱后的数组
  22912. */
  22913. function randomArray() {
  22914. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  22915. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  22916. return array.sort(function () {
  22917. return Math.random() - 0.5;
  22918. });
  22919. }
  22920. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  22921. // 所以这里做一个兼容polyfill的兼容处理
  22922. if (!String.prototype.padStart) {
  22923. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  22924. String.prototype.padStart = function (maxLength) {
  22925. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  22926. if (Object.prototype.toString.call(fillString) !== '[object String]') {
  22927. throw new TypeError('fillString must be String');
  22928. }
  22929. var str = this;
  22930. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  22931. if (str.length >= maxLength) return String(str);
  22932. var fillLength = maxLength - str.length;
  22933. var times = Math.ceil(fillLength / fillString.length);
  22934. while (times >>= 1) {
  22935. fillString += fillString;
  22936. if (times === 1) {
  22937. fillString += fillString;
  22938. }
  22939. }
  22940. return fillString.slice(0, fillLength) + str;
  22941. };
  22942. }
  22943. /**
  22944. * @description 格式化时间
  22945. * @param {String|Number} dateTime 需要格式化的时间戳
  22946. * @param {String} fmt 格式化规则 yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合 默认yyyy-mm-dd
  22947. * @returns {string} 返回格式化后的字符串
  22948. */
  22949. function timeFormat() {
  22950. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  22951. var formatStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  22952. var date;
  22953. // 若传入时间为假值,则取当前时间
  22954. if (!dateTime) {
  22955. date = new Date();
  22956. }
  22957. // 若为unix秒时间戳,则转为毫秒时间戳(逻辑有点奇怪,但不敢改,以保证历史兼容)
  22958. else if (/^\d{10}$/.test(dateTime === null || dateTime === void 0 ? void 0 : dateTime.toString().trim())) {
  22959. date = new Date(dateTime * 1000);
  22960. }
  22961. // 若用户传入字符串格式时间戳,new Date无法解析,需做兼容
  22962. else if (typeof dateTime === 'string' && /^\d+$/.test(dateTime.trim())) {
  22963. date = new Date(Number(dateTime));
  22964. }
  22965. // 处理平台性差异,在Safari/Webkit中,new Date仅支持/作为分割符的字符串时间
  22966. // 处理 '2022-07-10 01:02:03',跳过 '2022-07-10T01:02:03'
  22967. else if (typeof dateTime === 'string' && dateTime.includes('-') && !dateTime.includes('T')) {
  22968. date = new Date(dateTime.replace(/-/g, '/'));
  22969. }
  22970. // 其他都认为符合 RFC 2822 规范
  22971. else {
  22972. date = new Date(dateTime);
  22973. }
  22974. var timeSource = {
  22975. 'y': date.getFullYear().toString(),
  22976. // 年
  22977. 'm': (date.getMonth() + 1).toString().padStart(2, '0'),
  22978. // 月
  22979. 'd': date.getDate().toString().padStart(2, '0'),
  22980. // 日
  22981. 'h': date.getHours().toString().padStart(2, '0'),
  22982. // 时
  22983. 'M': date.getMinutes().toString().padStart(2, '0'),
  22984. // 分
  22985. 's': date.getSeconds().toString().padStart(2, '0') // 秒
  22986. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  22987. };
  22988. for (var key in timeSource) {
  22989. var _ref3 = new RegExp("".concat(key, "+")).exec(formatStr) || [],
  22990. _ref4 = (0, _slicedToArray2.default)(_ref3, 1),
  22991. ret = _ref4[0];
  22992. if (ret) {
  22993. // 年可能只需展示两位
  22994. var beginIndex = key === 'y' && ret.length === 2 ? 2 : 0;
  22995. formatStr = formatStr.replace(ret, timeSource[key].slice(beginIndex));
  22996. }
  22997. }
  22998. return formatStr;
  22999. }
  23000. /**
  23001. * @description 时间戳转为多久之前
  23002. * @param {String|Number} timestamp 时间戳
  23003. * @param {String|Boolean} format
  23004. * 格式化规则如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  23005. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  23006. * @returns {string} 转化后的内容
  23007. */
  23008. function timeFrom() {
  23009. var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  23010. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  23011. if (timestamp == null) timestamp = Number(new Date());
  23012. timestamp = parseInt(timestamp);
  23013. // 判断用户输入的时间戳是秒还是毫秒,一般前端js获取的时间戳是毫秒(13位),后端传过来的为秒(10位)
  23014. if (timestamp.toString().length == 10) timestamp *= 1000;
  23015. var timer = new Date().getTime() - timestamp;
  23016. timer = parseInt(timer / 1000);
  23017. // 如果小于5分钟,则返回"刚刚",其他以此类推
  23018. var tips = '';
  23019. switch (true) {
  23020. case timer < 300:
  23021. tips = '刚刚';
  23022. break;
  23023. case timer >= 300 && timer < 3600:
  23024. tips = "".concat(parseInt(timer / 60), "\u5206\u949F\u524D");
  23025. break;
  23026. case timer >= 3600 && timer < 86400:
  23027. tips = "".concat(parseInt(timer / 3600), "\u5C0F\u65F6\u524D");
  23028. break;
  23029. case timer >= 86400 && timer < 2592000:
  23030. tips = "".concat(parseInt(timer / 86400), "\u5929\u524D");
  23031. break;
  23032. default:
  23033. // 如果format为false,则无论什么时间戳,都显示xx之前
  23034. if (format === false) {
  23035. if (timer >= 2592000 && timer < 365 * 86400) {
  23036. tips = "".concat(parseInt(timer / (86400 * 30)), "\u4E2A\u6708\u524D");
  23037. } else {
  23038. tips = "".concat(parseInt(timer / (86400 * 365)), "\u5E74\u524D");
  23039. }
  23040. } else {
  23041. tips = timeFormat(timestamp, format);
  23042. }
  23043. }
  23044. return tips;
  23045. }
  23046. /**
  23047. * @description 去除空格
  23048. * @param String str 需要去除空格的字符串
  23049. * @param String pos both(左右)|left|right|all 默认both
  23050. */
  23051. function trim(str) {
  23052. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  23053. str = String(str);
  23054. if (pos == 'both') {
  23055. return str.replace(/^\s+|\s+$/g, '');
  23056. }
  23057. if (pos == 'left') {
  23058. return str.replace(/^\s*/, '');
  23059. }
  23060. if (pos == 'right') {
  23061. return str.replace(/(\s*$)/g, '');
  23062. }
  23063. if (pos == 'all') {
  23064. return str.replace(/\s+/g, '');
  23065. }
  23066. return str;
  23067. }
  23068. /**
  23069. * @description 对象转url参数
  23070. * @param {object} data,对象
  23071. * @param {Boolean} isPrefix,是否自动加上"?"
  23072. * @param {string} arrayFormat 规则 indices|brackets|repeat|comma
  23073. */
  23074. function queryParams() {
  23075. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  23076. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  23077. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  23078. var prefix = isPrefix ? '?' : '';
  23079. var _result = [];
  23080. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  23081. var _loop = function _loop(key) {
  23082. var value = data[key];
  23083. // 去掉为空的参数
  23084. if (['', undefined, null].indexOf(value) >= 0) {
  23085. return "continue";
  23086. }
  23087. // 如果值为数组,另行处理
  23088. if (value.constructor === Array) {
  23089. // e.g. {ids: [1, 2, 3]}
  23090. switch (arrayFormat) {
  23091. case 'indices':
  23092. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  23093. for (var i = 0; i < value.length; i++) {
  23094. _result.push("".concat(key, "[").concat(i, "]=").concat(value[i]));
  23095. }
  23096. break;
  23097. case 'brackets':
  23098. // 结果: ids[]=1&ids[]=2&ids[]=3
  23099. value.forEach(function (_value) {
  23100. _result.push("".concat(key, "[]=").concat(_value));
  23101. });
  23102. break;
  23103. case 'repeat':
  23104. // 结果: ids=1&ids=2&ids=3
  23105. value.forEach(function (_value) {
  23106. _result.push("".concat(key, "=").concat(_value));
  23107. });
  23108. break;
  23109. case 'comma':
  23110. // 结果: ids=1,2,3
  23111. var commaStr = '';
  23112. value.forEach(function (_value) {
  23113. commaStr += (commaStr ? ',' : '') + _value;
  23114. });
  23115. _result.push("".concat(key, "=").concat(commaStr));
  23116. break;
  23117. default:
  23118. value.forEach(function (_value) {
  23119. _result.push("".concat(key, "[]=").concat(_value));
  23120. });
  23121. }
  23122. } else {
  23123. _result.push("".concat(key, "=").concat(value));
  23124. }
  23125. };
  23126. for (var key in data) {
  23127. var _ret = _loop(key);
  23128. if (_ret === "continue") continue;
  23129. }
  23130. return _result.length ? prefix + _result.join('&') : '';
  23131. }
  23132. /**
  23133. * 显示消息提示框
  23134. * @param {String} title 提示的内容,长度与 icon 取值有关。
  23135. * @param {Number} duration 提示的延迟时间,单位毫秒,默认:2000
  23136. */
  23137. function toast(title) {
  23138. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;
  23139. uni.showToast({
  23140. title: String(title),
  23141. icon: 'none',
  23142. duration: duration
  23143. });
  23144. }
  23145. /**
  23146. * @description 根据主题type值,获取对应的图标
  23147. * @param {String} type 主题名称,primary|info|error|warning|success
  23148. * @param {boolean} fill 是否使用fill填充实体的图标
  23149. */
  23150. function type2icon() {
  23151. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  23152. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  23153. // 如果非预置值,默认为success
  23154. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  23155. var iconName = '';
  23156. // 目前(2019-12-12),info和primary使用同一个图标
  23157. switch (type) {
  23158. case 'primary':
  23159. iconName = 'info-circle';
  23160. break;
  23161. case 'info':
  23162. iconName = 'info-circle';
  23163. break;
  23164. case 'error':
  23165. iconName = 'close-circle';
  23166. break;
  23167. case 'warning':
  23168. iconName = 'error-circle';
  23169. break;
  23170. case 'success':
  23171. iconName = 'checkmark-circle';
  23172. break;
  23173. default:
  23174. iconName = 'checkmark-circle';
  23175. }
  23176. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  23177. if (fill) iconName += '-fill';
  23178. return iconName;
  23179. }
  23180. /**
  23181. * @description 数字格式化
  23182. * @param {number|string} number 要格式化的数字
  23183. * @param {number} decimals 保留几位小数
  23184. * @param {string} decimalPoint 小数点符号
  23185. * @param {string} thousandsSeparator 千分位符号
  23186. * @returns {string} 格式化后的数字
  23187. */
  23188. function priceFormat(number) {
  23189. var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  23190. var decimalPoint = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';
  23191. var thousandsSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ',';
  23192. number = "".concat(number).replace(/[^0-9+-Ee.]/g, '');
  23193. var n = !isFinite(+number) ? 0 : +number;
  23194. var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
  23195. var sep = typeof thousandsSeparator === 'undefined' ? ',' : thousandsSeparator;
  23196. var dec = typeof decimalPoint === 'undefined' ? '.' : decimalPoint;
  23197. var s = '';
  23198. s = (prec ? (0, _digit.round)(n, prec) + '' : "".concat(Math.round(n))).split('.');
  23199. var re = /(-?\d+)(\d{3})/;
  23200. while (re.test(s[0])) {
  23201. s[0] = s[0].replace(re, "$1".concat(sep, "$2"));
  23202. }
  23203. if ((s[1] || '').length < prec) {
  23204. s[1] = s[1] || '';
  23205. s[1] += new Array(prec - s[1].length + 1).join('0');
  23206. }
  23207. return s.join(dec);
  23208. }
  23209. /**
  23210. * @description 获取duration值
  23211. * 如果带有ms或者s直接返回,如果大于一定值,认为是ms单位,小于一定值,认为是s单位
  23212. * 比如以30位阈值,那么300大于30,可以理解为用户想要的是300ms,而不是想花300s去执行一个动画
  23213. * @param {String|number} value 比如: "1s"|"100ms"|1|100
  23214. * @param {boolean} unit 提示: 如果是false 默认返回number
  23215. * @return {string|number}
  23216. */
  23217. function getDuration(value) {
  23218. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  23219. var valueNum = parseInt(value);
  23220. if (unit) {
  23221. if (/s$/.test(value)) return value;
  23222. return value > 30 ? "".concat(value, "ms") : "".concat(value, "s");
  23223. }
  23224. if (/ms$/.test(value)) return valueNum;
  23225. if (/s$/.test(value)) return valueNum > 30 ? valueNum : valueNum * 1000;
  23226. return valueNum;
  23227. }
  23228. /**
  23229. * @description 日期的月或日补零操作
  23230. * @param {String} value 需要补零的值
  23231. */
  23232. function padZero(value) {
  23233. return "00".concat(value).slice(-2);
  23234. }
  23235. /**
  23236. * @description 在u-form的子组件内容发生变化,或者失去焦点时,尝试通知u-form执行校验方法
  23237. * @param {*} instance
  23238. * @param {*} event
  23239. */
  23240. function formValidate(instance, event) {
  23241. var formItem = uni.$u.$parent.call(instance, 'u-form-item');
  23242. var form = uni.$u.$parent.call(instance, 'u-form');
  23243. // 如果发生变化的input或者textarea等,其父组件中有u-form-item或者u-form等,就执行form的validate方法
  23244. // 同时将form-item的pros传递给form,让其进行精确对象验证
  23245. if (formItem && form) {
  23246. form.validateField(formItem.prop, function () {}, event);
  23247. }
  23248. }
  23249. /**
  23250. * @description 获取某个对象下的属性,用于通过类似'a.b.c'的形式去获取一个对象的的属性的形式
  23251. * @param {object} obj 对象
  23252. * @param {string} key 需要获取的属性字段
  23253. * @returns {*}
  23254. */
  23255. function getProperty(obj, key) {
  23256. if (!obj) {
  23257. return;
  23258. }
  23259. if (typeof key !== 'string' || key === '') {
  23260. return '';
  23261. }
  23262. if (key.indexOf('.') !== -1) {
  23263. var keys = key.split('.');
  23264. var firstObj = obj[keys[0]] || {};
  23265. for (var i = 1; i < keys.length; i++) {
  23266. if (firstObj) {
  23267. firstObj = firstObj[keys[i]];
  23268. }
  23269. }
  23270. return firstObj;
  23271. }
  23272. return obj[key];
  23273. }
  23274. /**
  23275. * @description 设置对象的属性值,如果'a.b.c'的形式进行设置
  23276. * @param {object} obj 对象
  23277. * @param {string} key 需要设置的属性
  23278. * @param {string} value 设置的值
  23279. */
  23280. function setProperty(obj, key, value) {
  23281. if (!obj) {
  23282. return;
  23283. }
  23284. // 递归赋值
  23285. var inFn = function inFn(_obj, keys, v) {
  23286. // 最后一个属性key
  23287. if (keys.length === 1) {
  23288. _obj[keys[0]] = v;
  23289. return;
  23290. }
  23291. // 0~length-1个key
  23292. while (keys.length > 1) {
  23293. var k = keys[0];
  23294. if (!_obj[k] || (0, _typeof2.default)(_obj[k]) !== 'object') {
  23295. _obj[k] = {};
  23296. }
  23297. var _key = keys.shift();
  23298. // 自调用判断是否存在属性,不存在则自动创建对象
  23299. inFn(_obj[k], keys, v);
  23300. }
  23301. };
  23302. if (typeof key !== 'string' || key === '') {} else if (key.indexOf('.') !== -1) {
  23303. // 支持多层级赋值操作
  23304. var keys = key.split('.');
  23305. inFn(obj, keys, value);
  23306. } else {
  23307. obj[key] = value;
  23308. }
  23309. }
  23310. /**
  23311. * @description 获取当前页面路径
  23312. */
  23313. function page() {
  23314. var _pages$route, _pages;
  23315. var pages = getCurrentPages();
  23316. // 某些特殊情况下(比如页面进行redirectTo时的一些时机),pages可能为空数组
  23317. return "/".concat((_pages$route = (_pages = pages[pages.length - 1]) === null || _pages === void 0 ? void 0 : _pages.route) !== null && _pages$route !== void 0 ? _pages$route : '');
  23318. }
  23319. /**
  23320. * @description 获取当前路由栈实例数组
  23321. */
  23322. function pages() {
  23323. var pages = getCurrentPages();
  23324. return pages;
  23325. }
  23326. /**
  23327. * 获取页面历史栈指定层实例
  23328. * @param back {number} [0] - 0或者负数,表示获取历史栈的哪一层,0表示获取当前页面实例,-1 表示获取上一个页面实例。默认0。
  23329. */
  23330. function getHistoryPage() {
  23331. var back = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  23332. var pages = getCurrentPages();
  23333. var len = pages.length;
  23334. return pages[len - 1 + back];
  23335. }
  23336. /**
  23337. * @description 修改uView内置属性值
  23338. * @param {object} props 修改内置props属性
  23339. * @param {object} config 修改内置config属性
  23340. * @param {object} color 修改内置color属性
  23341. * @param {object} zIndex 修改内置zIndex属性
  23342. */
  23343. function setConfig(_ref5) {
  23344. var _ref5$props = _ref5.props,
  23345. props = _ref5$props === void 0 ? {} : _ref5$props,
  23346. _ref5$config = _ref5.config,
  23347. config = _ref5$config === void 0 ? {} : _ref5$config,
  23348. _ref5$color = _ref5.color,
  23349. color = _ref5$color === void 0 ? {} : _ref5$color,
  23350. _ref5$zIndex = _ref5.zIndex,
  23351. zIndex = _ref5$zIndex === void 0 ? {} : _ref5$zIndex;
  23352. var deepMerge = uni.$u.deepMerge;
  23353. uni.$u.config = deepMerge(uni.$u.config, config);
  23354. uni.$u.props = deepMerge(uni.$u.props, props);
  23355. uni.$u.color = deepMerge(uni.$u.color, color);
  23356. uni.$u.zIndex = deepMerge(uni.$u.zIndex, zIndex);
  23357. }
  23358. var _default = {
  23359. range: range,
  23360. getPx: getPx,
  23361. sleep: sleep,
  23362. os: os,
  23363. sys: sys,
  23364. random: random,
  23365. guid: guid,
  23366. $parent: $parent,
  23367. addStyle: addStyle,
  23368. addUnit: addUnit,
  23369. deepClone: deepClone,
  23370. deepMerge: deepMerge,
  23371. error: error,
  23372. randomArray: randomArray,
  23373. timeFormat: timeFormat,
  23374. timeFrom: timeFrom,
  23375. trim: trim,
  23376. queryParams: queryParams,
  23377. toast: toast,
  23378. type2icon: type2icon,
  23379. priceFormat: priceFormat,
  23380. getDuration: getDuration,
  23381. padZero: padZero,
  23382. formValidate: formValidate,
  23383. getProperty: getProperty,
  23384. setProperty: setProperty,
  23385. page: page,
  23386. pages: pages,
  23387. getHistoryPage: getHistoryPage,
  23388. setConfig: setConfig
  23389. };
  23390. exports.default = _default;
  23391. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23392. /***/ }),
  23393. /***/ 64:
  23394. /*!*********************************************************************!*\
  23395. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/digit.js ***!
  23396. \*********************************************************************/
  23397. /*! no static exports found */
  23398. /***/ (function(module, exports, __webpack_require__) {
  23399. "use strict";
  23400. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23401. Object.defineProperty(exports, "__esModule", {
  23402. value: true
  23403. });
  23404. exports.default = void 0;
  23405. exports.divide = divide;
  23406. exports.enableBoundaryChecking = enableBoundaryChecking;
  23407. exports.minus = minus;
  23408. exports.plus = plus;
  23409. exports.round = round;
  23410. exports.times = times;
  23411. var _toArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toArray */ 65));
  23412. var _boundaryCheckingState = true; // 是否进行越界检查的全局开关
  23413. /**
  23414. * 把错误的数据转正
  23415. * @private
  23416. * @example strip(0.09999999999999998)=0.1
  23417. */
  23418. function strip(num) {
  23419. var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;
  23420. return +parseFloat(Number(num).toPrecision(precision));
  23421. }
  23422. /**
  23423. * Return digits length of a number
  23424. * @private
  23425. * @param {*number} num Input number
  23426. */
  23427. function digitLength(num) {
  23428. // Get digit length of e
  23429. var eSplit = num.toString().split(/[eE]/);
  23430. var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);
  23431. return len > 0 ? len : 0;
  23432. }
  23433. /**
  23434. * 把小数转成整数,如果是小数则放大成整数
  23435. * @private
  23436. * @param {*number} num 输入数
  23437. */
  23438. function float2Fixed(num) {
  23439. if (num.toString().indexOf('e') === -1) {
  23440. return Number(num.toString().replace('.', ''));
  23441. }
  23442. var dLen = digitLength(num);
  23443. return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);
  23444. }
  23445. /**
  23446. * 检测数字是否越界,如果越界给出提示
  23447. * @private
  23448. * @param {*number} num 输入数
  23449. */
  23450. function checkBoundary(num) {
  23451. if (_boundaryCheckingState) {
  23452. if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {
  23453. console.warn("".concat(num, " \u8D85\u51FA\u4E86\u7CBE\u5EA6\u9650\u5236\uFF0C\u7ED3\u679C\u53EF\u80FD\u4E0D\u6B63\u786E"));
  23454. }
  23455. }
  23456. }
  23457. /**
  23458. * 把递归操作扁平迭代化
  23459. * @param {number[]} arr 要操作的数字数组
  23460. * @param {function} operation 迭代操作
  23461. * @private
  23462. */
  23463. function iteratorOperation(arr, operation) {
  23464. var _arr = (0, _toArray2.default)(arr),
  23465. num1 = _arr[0],
  23466. num2 = _arr[1],
  23467. others = _arr.slice(2);
  23468. var res = operation(num1, num2);
  23469. others.forEach(function (num) {
  23470. res = operation(res, num);
  23471. });
  23472. return res;
  23473. }
  23474. /**
  23475. * 高精度乘法
  23476. * @export
  23477. */
  23478. function times() {
  23479. for (var _len = arguments.length, nums = new Array(_len), _key = 0; _key < _len; _key++) {
  23480. nums[_key] = arguments[_key];
  23481. }
  23482. if (nums.length > 2) {
  23483. return iteratorOperation(nums, times);
  23484. }
  23485. var num1 = nums[0],
  23486. num2 = nums[1];
  23487. var num1Changed = float2Fixed(num1);
  23488. var num2Changed = float2Fixed(num2);
  23489. var baseNum = digitLength(num1) + digitLength(num2);
  23490. var leftValue = num1Changed * num2Changed;
  23491. checkBoundary(leftValue);
  23492. return leftValue / Math.pow(10, baseNum);
  23493. }
  23494. /**
  23495. * 高精度加法
  23496. * @export
  23497. */
  23498. function plus() {
  23499. for (var _len2 = arguments.length, nums = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  23500. nums[_key2] = arguments[_key2];
  23501. }
  23502. if (nums.length > 2) {
  23503. return iteratorOperation(nums, plus);
  23504. }
  23505. var num1 = nums[0],
  23506. num2 = nums[1];
  23507. // 取最大的小数位
  23508. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  23509. // 把小数都转为整数然后再计算
  23510. return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;
  23511. }
  23512. /**
  23513. * 高精度减法
  23514. * @export
  23515. */
  23516. function minus() {
  23517. for (var _len3 = arguments.length, nums = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  23518. nums[_key3] = arguments[_key3];
  23519. }
  23520. if (nums.length > 2) {
  23521. return iteratorOperation(nums, minus);
  23522. }
  23523. var num1 = nums[0],
  23524. num2 = nums[1];
  23525. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  23526. return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;
  23527. }
  23528. /**
  23529. * 高精度除法
  23530. * @export
  23531. */
  23532. function divide() {
  23533. for (var _len4 = arguments.length, nums = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  23534. nums[_key4] = arguments[_key4];
  23535. }
  23536. if (nums.length > 2) {
  23537. return iteratorOperation(nums, divide);
  23538. }
  23539. var num1 = nums[0],
  23540. num2 = nums[1];
  23541. var num1Changed = float2Fixed(num1);
  23542. var num2Changed = float2Fixed(num2);
  23543. checkBoundary(num1Changed);
  23544. checkBoundary(num2Changed);
  23545. // 重要,这里必须用strip进行修正
  23546. return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));
  23547. }
  23548. /**
  23549. * 四舍五入
  23550. * @export
  23551. */
  23552. function round(num, ratio) {
  23553. var base = Math.pow(10, ratio);
  23554. var result = divide(Math.round(Math.abs(times(num, base))), base);
  23555. if (num < 0 && result !== 0) {
  23556. result = times(result, -1);
  23557. }
  23558. // 位数不足则补0
  23559. return result;
  23560. }
  23561. /**
  23562. * 是否进行边界检查,默认开启
  23563. * @param flag 标记开关,true 为开启,false 为关闭,默认为 true
  23564. * @export
  23565. */
  23566. function enableBoundaryChecking() {
  23567. var flag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
  23568. _boundaryCheckingState = flag;
  23569. }
  23570. var _default = {
  23571. times: times,
  23572. plus: plus,
  23573. minus: minus,
  23574. divide: divide,
  23575. round: round,
  23576. enableBoundaryChecking: enableBoundaryChecking
  23577. };
  23578. exports.default = _default;
  23579. /***/ }),
  23580. /***/ 65:
  23581. /*!********************************************************!*\
  23582. !*** ./node_modules/@babel/runtime/helpers/toArray.js ***!
  23583. \********************************************************/
  23584. /*! no static exports found */
  23585. /***/ (function(module, exports, __webpack_require__) {
  23586. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  23587. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  23588. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  23589. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  23590. function _toArray(arr) {
  23591. return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
  23592. }
  23593. module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23594. /***/ }),
  23595. /***/ 66:
  23596. /*!********************************************************************!*\
  23597. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/config.js ***!
  23598. \********************************************************************/
  23599. /*! no static exports found */
  23600. /***/ (function(module, exports, __webpack_require__) {
  23601. "use strict";
  23602. Object.defineProperty(exports, "__esModule", {
  23603. value: true
  23604. });
  23605. exports.default = void 0;
  23606. // 此版本发布于2024-03-17
  23607. var version = '2.0.37';
  23608. // 开发环境才提示,生产环境不会提示
  23609. if (true) {
  23610. console.log("\n %c uView V".concat(version, " %c https://uviewui.com/ \n\n"), 'color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;');
  23611. }
  23612. var _default = {
  23613. v: version,
  23614. version: version,
  23615. // 主题名称
  23616. type: ['primary', 'success', 'info', 'error', 'warning'],
  23617. // 颜色部分,本来可以通过scss的:export导出供js使用,但是奈何nvue不支持
  23618. color: {
  23619. 'u-primary': '#2979ff',
  23620. 'u-warning': '#ff9900',
  23621. 'u-success': '#19be6b',
  23622. 'u-error': '#fa3534',
  23623. 'u-info': '#909399',
  23624. 'u-main-color': '#303133',
  23625. 'u-content-color': '#606266',
  23626. 'u-tips-color': '#909399',
  23627. 'u-light-color': '#c0c4cc'
  23628. },
  23629. // 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx
  23630. unit: 'px'
  23631. };
  23632. exports.default = _default;
  23633. /***/ }),
  23634. /***/ 67:
  23635. /*!*******************************************************************!*\
  23636. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props.js ***!
  23637. \*******************************************************************/
  23638. /*! no static exports found */
  23639. /***/ (function(module, exports, __webpack_require__) {
  23640. "use strict";
  23641. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23642. Object.defineProperty(exports, "__esModule", {
  23643. value: true
  23644. });
  23645. exports.default = void 0;
  23646. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  23647. var _config = _interopRequireDefault(__webpack_require__(/*! ./config */ 66));
  23648. var _actionSheet = _interopRequireDefault(__webpack_require__(/*! ./props/actionSheet.js */ 68));
  23649. var _album = _interopRequireDefault(__webpack_require__(/*! ./props/album.js */ 69));
  23650. var _alert = _interopRequireDefault(__webpack_require__(/*! ./props/alert.js */ 70));
  23651. var _avatar = _interopRequireDefault(__webpack_require__(/*! ./props/avatar */ 71));
  23652. var _avatarGroup = _interopRequireDefault(__webpack_require__(/*! ./props/avatarGroup */ 72));
  23653. var _backtop = _interopRequireDefault(__webpack_require__(/*! ./props/backtop */ 73));
  23654. var _badge = _interopRequireDefault(__webpack_require__(/*! ./props/badge */ 74));
  23655. var _button = _interopRequireDefault(__webpack_require__(/*! ./props/button */ 75));
  23656. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./props/calendar */ 76));
  23657. var _carKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/carKeyboard */ 77));
  23658. var _cell = _interopRequireDefault(__webpack_require__(/*! ./props/cell */ 78));
  23659. var _cellGroup = _interopRequireDefault(__webpack_require__(/*! ./props/cellGroup */ 79));
  23660. var _checkbox = _interopRequireDefault(__webpack_require__(/*! ./props/checkbox */ 80));
  23661. var _checkboxGroup = _interopRequireDefault(__webpack_require__(/*! ./props/checkboxGroup */ 81));
  23662. var _circleProgress = _interopRequireDefault(__webpack_require__(/*! ./props/circleProgress */ 82));
  23663. var _code = _interopRequireDefault(__webpack_require__(/*! ./props/code */ 83));
  23664. var _codeInput = _interopRequireDefault(__webpack_require__(/*! ./props/codeInput */ 84));
  23665. var _col = _interopRequireDefault(__webpack_require__(/*! ./props/col */ 85));
  23666. var _collapse = _interopRequireDefault(__webpack_require__(/*! ./props/collapse */ 86));
  23667. var _collapseItem = _interopRequireDefault(__webpack_require__(/*! ./props/collapseItem */ 87));
  23668. var _columnNotice = _interopRequireDefault(__webpack_require__(/*! ./props/columnNotice */ 88));
  23669. var _countDown = _interopRequireDefault(__webpack_require__(/*! ./props/countDown */ 89));
  23670. var _countTo = _interopRequireDefault(__webpack_require__(/*! ./props/countTo */ 90));
  23671. var _datetimePicker = _interopRequireDefault(__webpack_require__(/*! ./props/datetimePicker */ 91));
  23672. var _divider = _interopRequireDefault(__webpack_require__(/*! ./props/divider */ 92));
  23673. var _empty = _interopRequireDefault(__webpack_require__(/*! ./props/empty */ 93));
  23674. var _form = _interopRequireDefault(__webpack_require__(/*! ./props/form */ 94));
  23675. var _formItem = _interopRequireDefault(__webpack_require__(/*! ./props/formItem */ 95));
  23676. var _gap = _interopRequireDefault(__webpack_require__(/*! ./props/gap */ 96));
  23677. var _grid = _interopRequireDefault(__webpack_require__(/*! ./props/grid */ 97));
  23678. var _gridItem = _interopRequireDefault(__webpack_require__(/*! ./props/gridItem */ 98));
  23679. var _icon = _interopRequireDefault(__webpack_require__(/*! ./props/icon */ 99));
  23680. var _image = _interopRequireDefault(__webpack_require__(/*! ./props/image */ 100));
  23681. var _indexAnchor = _interopRequireDefault(__webpack_require__(/*! ./props/indexAnchor */ 101));
  23682. var _indexList = _interopRequireDefault(__webpack_require__(/*! ./props/indexList */ 102));
  23683. var _input = _interopRequireDefault(__webpack_require__(/*! ./props/input */ 103));
  23684. var _keyboard = _interopRequireDefault(__webpack_require__(/*! ./props/keyboard */ 104));
  23685. var _line = _interopRequireDefault(__webpack_require__(/*! ./props/line */ 105));
  23686. var _lineProgress = _interopRequireDefault(__webpack_require__(/*! ./props/lineProgress */ 106));
  23687. var _link = _interopRequireDefault(__webpack_require__(/*! ./props/link */ 107));
  23688. var _list = _interopRequireDefault(__webpack_require__(/*! ./props/list */ 108));
  23689. var _listItem = _interopRequireDefault(__webpack_require__(/*! ./props/listItem */ 109));
  23690. var _loadingIcon = _interopRequireDefault(__webpack_require__(/*! ./props/loadingIcon */ 110));
  23691. var _loadingPage = _interopRequireDefault(__webpack_require__(/*! ./props/loadingPage */ 111));
  23692. var _loadmore = _interopRequireDefault(__webpack_require__(/*! ./props/loadmore */ 112));
  23693. var _modal = _interopRequireDefault(__webpack_require__(/*! ./props/modal */ 113));
  23694. var _navbar = _interopRequireDefault(__webpack_require__(/*! ./props/navbar */ 114));
  23695. var _noNetwork = _interopRequireDefault(__webpack_require__(/*! ./props/noNetwork */ 116));
  23696. var _noticeBar = _interopRequireDefault(__webpack_require__(/*! ./props/noticeBar */ 117));
  23697. var _notify = _interopRequireDefault(__webpack_require__(/*! ./props/notify */ 118));
  23698. var _numberBox = _interopRequireDefault(__webpack_require__(/*! ./props/numberBox */ 119));
  23699. var _numberKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/numberKeyboard */ 120));
  23700. var _overlay = _interopRequireDefault(__webpack_require__(/*! ./props/overlay */ 121));
  23701. var _parse = _interopRequireDefault(__webpack_require__(/*! ./props/parse */ 122));
  23702. var _picker = _interopRequireDefault(__webpack_require__(/*! ./props/picker */ 123));
  23703. var _popup = _interopRequireDefault(__webpack_require__(/*! ./props/popup */ 124));
  23704. var _radio = _interopRequireDefault(__webpack_require__(/*! ./props/radio */ 125));
  23705. var _radioGroup = _interopRequireDefault(__webpack_require__(/*! ./props/radioGroup */ 126));
  23706. var _rate = _interopRequireDefault(__webpack_require__(/*! ./props/rate */ 127));
  23707. var _readMore = _interopRequireDefault(__webpack_require__(/*! ./props/readMore */ 128));
  23708. var _row = _interopRequireDefault(__webpack_require__(/*! ./props/row */ 129));
  23709. var _rowNotice = _interopRequireDefault(__webpack_require__(/*! ./props/rowNotice */ 130));
  23710. var _scrollList = _interopRequireDefault(__webpack_require__(/*! ./props/scrollList */ 131));
  23711. var _search = _interopRequireDefault(__webpack_require__(/*! ./props/search */ 132));
  23712. var _section = _interopRequireDefault(__webpack_require__(/*! ./props/section */ 133));
  23713. var _skeleton = _interopRequireDefault(__webpack_require__(/*! ./props/skeleton */ 134));
  23714. var _slider = _interopRequireDefault(__webpack_require__(/*! ./props/slider */ 135));
  23715. var _statusBar = _interopRequireDefault(__webpack_require__(/*! ./props/statusBar */ 136));
  23716. var _steps = _interopRequireDefault(__webpack_require__(/*! ./props/steps */ 137));
  23717. var _stepsItem = _interopRequireDefault(__webpack_require__(/*! ./props/stepsItem */ 138));
  23718. var _sticky = _interopRequireDefault(__webpack_require__(/*! ./props/sticky */ 139));
  23719. var _subsection = _interopRequireDefault(__webpack_require__(/*! ./props/subsection */ 140));
  23720. var _swipeAction = _interopRequireDefault(__webpack_require__(/*! ./props/swipeAction */ 141));
  23721. var _swipeActionItem = _interopRequireDefault(__webpack_require__(/*! ./props/swipeActionItem */ 142));
  23722. var _swiper = _interopRequireDefault(__webpack_require__(/*! ./props/swiper */ 143));
  23723. var _swipterIndicator = _interopRequireDefault(__webpack_require__(/*! ./props/swipterIndicator */ 144));
  23724. var _switch2 = _interopRequireDefault(__webpack_require__(/*! ./props/switch */ 145));
  23725. var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./props/tabbar */ 146));
  23726. var _tabbarItem = _interopRequireDefault(__webpack_require__(/*! ./props/tabbarItem */ 147));
  23727. var _tabs = _interopRequireDefault(__webpack_require__(/*! ./props/tabs */ 148));
  23728. var _tag = _interopRequireDefault(__webpack_require__(/*! ./props/tag */ 149));
  23729. var _text = _interopRequireDefault(__webpack_require__(/*! ./props/text */ 150));
  23730. var _textarea = _interopRequireDefault(__webpack_require__(/*! ./props/textarea */ 151));
  23731. var _toast = _interopRequireDefault(__webpack_require__(/*! ./props/toast */ 152));
  23732. var _toolbar = _interopRequireDefault(__webpack_require__(/*! ./props/toolbar */ 153));
  23733. var _tooltip = _interopRequireDefault(__webpack_require__(/*! ./props/tooltip */ 154));
  23734. var _transition = _interopRequireDefault(__webpack_require__(/*! ./props/transition */ 155));
  23735. var _upload = _interopRequireDefault(__webpack_require__(/*! ./props/upload */ 156));
  23736. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  23737. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  23738. var color = _config.default.color;
  23739. var _default = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _actionSheet.default), _album.default), _alert.default), _avatar.default), _avatarGroup.default), _backtop.default), _badge.default), _button.default), _calendar.default), _carKeyboard.default), _cell.default), _cellGroup.default), _checkbox.default), _checkboxGroup.default), _circleProgress.default), _code.default), _codeInput.default), _col.default), _collapse.default), _collapseItem.default), _columnNotice.default), _countDown.default), _countTo.default), _datetimePicker.default), _divider.default), _empty.default), _form.default), _formItem.default), _gap.default), _grid.default), _gridItem.default), _icon.default), _image.default), _indexAnchor.default), _indexList.default), _input.default), _keyboard.default), _line.default), _lineProgress.default), _link.default), _list.default), _listItem.default), _loadingIcon.default), _loadingPage.default), _loadmore.default), _modal.default), _navbar.default), _noNetwork.default), _noticeBar.default), _notify.default), _numberBox.default), _numberKeyboard.default), _overlay.default), _parse.default), _picker.default), _popup.default), _radio.default), _radioGroup.default), _rate.default), _readMore.default), _row.default), _rowNotice.default), _scrollList.default), _search.default), _section.default), _skeleton.default), _slider.default), _statusBar.default), _steps.default), _stepsItem.default), _sticky.default), _subsection.default), _swipeAction.default), _swipeActionItem.default), _swiper.default), _swipterIndicator.default), _switch2.default), _tabbar.default), _tabbarItem.default), _tabs.default), _tag.default), _text.default), _textarea.default), _toast.default), _toolbar.default), _tooltip.default), _transition.default), _upload.default);
  23740. exports.default = _default;
  23741. /***/ }),
  23742. /***/ 68:
  23743. /*!*******************************************************************************!*\
  23744. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/actionSheet.js ***!
  23745. \*******************************************************************************/
  23746. /*! no static exports found */
  23747. /***/ (function(module, exports, __webpack_require__) {
  23748. "use strict";
  23749. Object.defineProperty(exports, "__esModule", {
  23750. value: true
  23751. });
  23752. exports.default = void 0;
  23753. /*
  23754. * @Author : LQ
  23755. * @Description :
  23756. * @version : 1.0
  23757. * @Date : 2021-08-20 16:44:21
  23758. * @LastAuthor : LQ
  23759. * @lastTime : 2021-08-20 16:44:35
  23760. * @FilePath : /u-view2.0/uview-ui/libs/config/props/actionSheet.js
  23761. */
  23762. var _default = {
  23763. // action-sheet组件
  23764. actionSheet: {
  23765. show: false,
  23766. title: '',
  23767. description: '',
  23768. actions: function actions() {
  23769. return [];
  23770. },
  23771. index: '',
  23772. cancelText: '',
  23773. closeOnClickAction: true,
  23774. safeAreaInsetBottom: true,
  23775. openType: '',
  23776. closeOnClickOverlay: true,
  23777. round: 0
  23778. }
  23779. };
  23780. exports.default = _default;
  23781. /***/ }),
  23782. /***/ 69:
  23783. /*!*************************************************************************!*\
  23784. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/album.js ***!
  23785. \*************************************************************************/
  23786. /*! no static exports found */
  23787. /***/ (function(module, exports, __webpack_require__) {
  23788. "use strict";
  23789. Object.defineProperty(exports, "__esModule", {
  23790. value: true
  23791. });
  23792. exports.default = void 0;
  23793. /*
  23794. * @Author : LQ
  23795. * @Description :
  23796. * @version : 1.0
  23797. * @Date : 2021-08-20 16:44:21
  23798. * @LastAuthor : LQ
  23799. * @lastTime : 2021-08-20 16:47:24
  23800. * @FilePath : /u-view2.0/uview-ui/libs/config/props/album.js
  23801. */
  23802. var _default = {
  23803. // album 组件
  23804. album: {
  23805. urls: function urls() {
  23806. return [];
  23807. },
  23808. keyName: '',
  23809. singleSize: 180,
  23810. multipleSize: 70,
  23811. space: 6,
  23812. singleMode: 'scaleToFill',
  23813. multipleMode: 'aspectFill',
  23814. maxCount: 9,
  23815. previewFullImage: true,
  23816. rowCount: 3,
  23817. showMore: true
  23818. }
  23819. };
  23820. exports.default = _default;
  23821. /***/ }),
  23822. /***/ 7:
  23823. /*!*********************************************************************!*\
  23824. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  23825. \*********************************************************************/
  23826. /*! no static exports found */
  23827. /***/ (function(module, exports) {
  23828. function _iterableToArrayLimit(r, l) {
  23829. var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
  23830. if (null != t) {
  23831. var e,
  23832. n,
  23833. i,
  23834. u,
  23835. a = [],
  23836. f = !0,
  23837. o = !1;
  23838. try {
  23839. if (i = (t = t.call(r)).next, 0 === l) {
  23840. if (Object(t) !== t) return;
  23841. f = !1;
  23842. } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) {
  23843. ;
  23844. }
  23845. } catch (r) {
  23846. o = !0, n = r;
  23847. } finally {
  23848. try {
  23849. if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
  23850. } finally {
  23851. if (o) throw n;
  23852. }
  23853. }
  23854. return a;
  23855. }
  23856. }
  23857. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23858. /***/ }),
  23859. /***/ 70:
  23860. /*!*************************************************************************!*\
  23861. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/alert.js ***!
  23862. \*************************************************************************/
  23863. /*! no static exports found */
  23864. /***/ (function(module, exports, __webpack_require__) {
  23865. "use strict";
  23866. Object.defineProperty(exports, "__esModule", {
  23867. value: true
  23868. });
  23869. exports.default = void 0;
  23870. /*
  23871. * @Author : LQ
  23872. * @Description :
  23873. * @version : 1.0
  23874. * @Date : 2021-08-20 16:44:21
  23875. * @LastAuthor : LQ
  23876. * @lastTime : 2021-08-20 16:48:53
  23877. * @FilePath : /u-view2.0/uview-ui/libs/config/props/alert.js
  23878. */
  23879. var _default = {
  23880. // alert警告组件
  23881. alert: {
  23882. title: '',
  23883. type: 'warning',
  23884. description: '',
  23885. closable: false,
  23886. showIcon: false,
  23887. effect: 'light',
  23888. center: false,
  23889. fontSize: 14
  23890. }
  23891. };
  23892. exports.default = _default;
  23893. /***/ }),
  23894. /***/ 71:
  23895. /*!**************************************************************************!*\
  23896. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/avatar.js ***!
  23897. \**************************************************************************/
  23898. /*! no static exports found */
  23899. /***/ (function(module, exports, __webpack_require__) {
  23900. "use strict";
  23901. Object.defineProperty(exports, "__esModule", {
  23902. value: true
  23903. });
  23904. exports.default = void 0;
  23905. /*
  23906. * @Author : LQ
  23907. * @Description :
  23908. * @version : 1.0
  23909. * @Date : 2021-08-20 16:44:21
  23910. * @LastAuthor : LQ
  23911. * @lastTime : 2021-08-20 16:49:22
  23912. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatar.js
  23913. */
  23914. var _default = {
  23915. // avatar 组件
  23916. avatar: {
  23917. src: '',
  23918. shape: 'circle',
  23919. size: 40,
  23920. mode: 'scaleToFill',
  23921. text: '',
  23922. bgColor: '#c0c4cc',
  23923. color: '#ffffff',
  23924. fontSize: 18,
  23925. icon: '',
  23926. mpAvatar: false,
  23927. randomBgColor: false,
  23928. defaultUrl: '',
  23929. colorIndex: '',
  23930. name: ''
  23931. }
  23932. };
  23933. exports.default = _default;
  23934. /***/ }),
  23935. /***/ 72:
  23936. /*!*******************************************************************************!*\
  23937. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/avatarGroup.js ***!
  23938. \*******************************************************************************/
  23939. /*! no static exports found */
  23940. /***/ (function(module, exports, __webpack_require__) {
  23941. "use strict";
  23942. Object.defineProperty(exports, "__esModule", {
  23943. value: true
  23944. });
  23945. exports.default = void 0;
  23946. /*
  23947. * @Author : LQ
  23948. * @Description :
  23949. * @version : 1.0
  23950. * @Date : 2021-08-20 16:44:21
  23951. * @LastAuthor : LQ
  23952. * @lastTime : 2021-08-20 16:49:55
  23953. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatarGroup.js
  23954. */
  23955. var _default = {
  23956. // avatarGroup 组件
  23957. avatarGroup: {
  23958. urls: function urls() {
  23959. return [];
  23960. },
  23961. maxCount: 5,
  23962. shape: 'circle',
  23963. mode: 'scaleToFill',
  23964. showMore: true,
  23965. size: 40,
  23966. keyName: '',
  23967. gap: 0.5,
  23968. extraValue: 0
  23969. }
  23970. };
  23971. exports.default = _default;
  23972. /***/ }),
  23973. /***/ 73:
  23974. /*!***************************************************************************!*\
  23975. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/backtop.js ***!
  23976. \***************************************************************************/
  23977. /*! no static exports found */
  23978. /***/ (function(module, exports, __webpack_require__) {
  23979. "use strict";
  23980. Object.defineProperty(exports, "__esModule", {
  23981. value: true
  23982. });
  23983. exports.default = void 0;
  23984. /*
  23985. * @Author : LQ
  23986. * @Description :
  23987. * @version : 1.0
  23988. * @Date : 2021-08-20 16:44:21
  23989. * @LastAuthor : LQ
  23990. * @lastTime : 2021-08-20 16:50:18
  23991. * @FilePath : /u-view2.0/uview-ui/libs/config/props/backtop.js
  23992. */
  23993. var _default = {
  23994. // backtop组件
  23995. backtop: {
  23996. mode: 'circle',
  23997. icon: 'arrow-upward',
  23998. text: '',
  23999. duration: 100,
  24000. scrollTop: 0,
  24001. top: 400,
  24002. bottom: 100,
  24003. right: 20,
  24004. zIndex: 9,
  24005. iconStyle: function iconStyle() {
  24006. return {
  24007. color: '#909399',
  24008. fontSize: '19px'
  24009. };
  24010. }
  24011. }
  24012. };
  24013. exports.default = _default;
  24014. /***/ }),
  24015. /***/ 74:
  24016. /*!*************************************************************************!*\
  24017. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/badge.js ***!
  24018. \*************************************************************************/
  24019. /*! no static exports found */
  24020. /***/ (function(module, exports, __webpack_require__) {
  24021. "use strict";
  24022. Object.defineProperty(exports, "__esModule", {
  24023. value: true
  24024. });
  24025. exports.default = void 0;
  24026. /*
  24027. * @Author : LQ
  24028. * @Description :
  24029. * @version : 1.0
  24030. * @Date : 2021-08-20 16:44:21
  24031. * @LastAuthor : LQ
  24032. * @lastTime : 2021-08-23 19:51:50
  24033. * @FilePath : /u-view2.0/uview-ui/libs/config/props/badge.js
  24034. */
  24035. var _default = {
  24036. // 徽标数组件
  24037. badge: {
  24038. isDot: false,
  24039. value: '',
  24040. show: true,
  24041. max: 999,
  24042. type: 'error',
  24043. showZero: false,
  24044. bgColor: null,
  24045. color: null,
  24046. shape: 'circle',
  24047. numberType: 'overflow',
  24048. offset: function offset() {
  24049. return [];
  24050. },
  24051. inverted: false,
  24052. absolute: false
  24053. }
  24054. };
  24055. exports.default = _default;
  24056. /***/ }),
  24057. /***/ 75:
  24058. /*!**************************************************************************!*\
  24059. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/button.js ***!
  24060. \**************************************************************************/
  24061. /*! no static exports found */
  24062. /***/ (function(module, exports, __webpack_require__) {
  24063. "use strict";
  24064. Object.defineProperty(exports, "__esModule", {
  24065. value: true
  24066. });
  24067. exports.default = void 0;
  24068. /*
  24069. * @Author : LQ
  24070. * @Description :
  24071. * @version : 1.0
  24072. * @Date : 2021-08-20 16:44:21
  24073. * @LastAuthor : LQ
  24074. * @lastTime : 2021-08-20 16:51:27
  24075. * @FilePath : /u-view2.0/uview-ui/libs/config/props/button.js
  24076. */
  24077. var _default = {
  24078. // button组件
  24079. button: {
  24080. hairline: false,
  24081. type: 'info',
  24082. size: 'normal',
  24083. shape: 'square',
  24084. plain: false,
  24085. disabled: false,
  24086. loading: false,
  24087. loadingText: '',
  24088. loadingMode: 'spinner',
  24089. loadingSize: 15,
  24090. openType: '',
  24091. formType: '',
  24092. appParameter: '',
  24093. hoverStopPropagation: true,
  24094. lang: 'en',
  24095. sessionFrom: '',
  24096. sendMessageTitle: '',
  24097. sendMessagePath: '',
  24098. sendMessageImg: '',
  24099. showMessageCard: false,
  24100. dataName: '',
  24101. throttleTime: 0,
  24102. hoverStartTime: 0,
  24103. hoverStayTime: 200,
  24104. text: '',
  24105. icon: '',
  24106. iconColor: '',
  24107. color: ''
  24108. }
  24109. };
  24110. exports.default = _default;
  24111. /***/ }),
  24112. /***/ 76:
  24113. /*!****************************************************************************!*\
  24114. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/calendar.js ***!
  24115. \****************************************************************************/
  24116. /*! no static exports found */
  24117. /***/ (function(module, exports, __webpack_require__) {
  24118. "use strict";
  24119. Object.defineProperty(exports, "__esModule", {
  24120. value: true
  24121. });
  24122. exports.default = void 0;
  24123. /*
  24124. * @Author : LQ
  24125. * @Description :
  24126. * @version : 1.0
  24127. * @Date : 2021-08-20 16:44:21
  24128. * @LastAuthor : LQ
  24129. * @lastTime : 2021-08-20 16:52:43
  24130. * @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
  24131. */
  24132. var _default = {
  24133. // calendar 组件
  24134. calendar: {
  24135. title: '日期选择',
  24136. showTitle: true,
  24137. showSubtitle: true,
  24138. mode: 'single',
  24139. startText: '开始',
  24140. endText: '结束',
  24141. customList: function customList() {
  24142. return [];
  24143. },
  24144. color: '#3c9cff',
  24145. minDate: 0,
  24146. maxDate: 0,
  24147. defaultDate: null,
  24148. maxCount: Number.MAX_SAFE_INTEGER,
  24149. // Infinity
  24150. rowHeight: 56,
  24151. formatter: null,
  24152. showLunar: false,
  24153. showMark: true,
  24154. confirmText: '确定',
  24155. confirmDisabledText: '确定',
  24156. show: false,
  24157. closeOnClickOverlay: false,
  24158. readonly: false,
  24159. showConfirm: true,
  24160. maxRange: Number.MAX_SAFE_INTEGER,
  24161. // Infinity
  24162. rangePrompt: '',
  24163. showRangePrompt: true,
  24164. allowSameDay: false,
  24165. round: 0,
  24166. monthNum: 3
  24167. }
  24168. };
  24169. exports.default = _default;
  24170. /***/ }),
  24171. /***/ 77:
  24172. /*!*******************************************************************************!*\
  24173. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/carKeyboard.js ***!
  24174. \*******************************************************************************/
  24175. /*! no static exports found */
  24176. /***/ (function(module, exports, __webpack_require__) {
  24177. "use strict";
  24178. Object.defineProperty(exports, "__esModule", {
  24179. value: true
  24180. });
  24181. exports.default = void 0;
  24182. /*
  24183. * @Author : LQ
  24184. * @Description :
  24185. * @version : 1.0
  24186. * @Date : 2021-08-20 16:44:21
  24187. * @LastAuthor : LQ
  24188. * @lastTime : 2021-08-20 16:53:20
  24189. * @FilePath : /u-view2.0/uview-ui/libs/config/props/carKeyboard.js
  24190. */
  24191. var _default = {
  24192. // 车牌号键盘
  24193. carKeyboard: {
  24194. random: false
  24195. }
  24196. };
  24197. exports.default = _default;
  24198. /***/ }),
  24199. /***/ 78:
  24200. /*!************************************************************************!*\
  24201. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/cell.js ***!
  24202. \************************************************************************/
  24203. /*! no static exports found */
  24204. /***/ (function(module, exports, __webpack_require__) {
  24205. "use strict";
  24206. Object.defineProperty(exports, "__esModule", {
  24207. value: true
  24208. });
  24209. exports.default = void 0;
  24210. /*
  24211. * @Author : LQ
  24212. * @Description :
  24213. * @version : 1.0
  24214. * @Date : 2021-08-20 16:44:21
  24215. * @LastAuthor : LQ
  24216. * @lastTime : 2021-08-23 20:53:09
  24217. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cell.js
  24218. */
  24219. var _default = {
  24220. // cell组件的props
  24221. cell: {
  24222. customClass: '',
  24223. title: '',
  24224. label: '',
  24225. value: '',
  24226. icon: '',
  24227. disabled: false,
  24228. border: true,
  24229. center: false,
  24230. url: '',
  24231. linkType: 'navigateTo',
  24232. clickable: false,
  24233. isLink: false,
  24234. required: false,
  24235. arrowDirection: '',
  24236. iconStyle: {},
  24237. rightIconStyle: {},
  24238. rightIcon: 'arrow-right',
  24239. titleStyle: {},
  24240. size: '',
  24241. stop: true,
  24242. name: ''
  24243. }
  24244. };
  24245. exports.default = _default;
  24246. /***/ }),
  24247. /***/ 79:
  24248. /*!*****************************************************************************!*\
  24249. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/cellGroup.js ***!
  24250. \*****************************************************************************/
  24251. /*! no static exports found */
  24252. /***/ (function(module, exports, __webpack_require__) {
  24253. "use strict";
  24254. Object.defineProperty(exports, "__esModule", {
  24255. value: true
  24256. });
  24257. exports.default = void 0;
  24258. /*
  24259. * @Author : LQ
  24260. * @Description :
  24261. * @version : 1.0
  24262. * @Date : 2021-08-20 16:44:21
  24263. * @LastAuthor : LQ
  24264. * @lastTime : 2021-08-20 16:54:16
  24265. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cellGroup.js
  24266. */
  24267. var _default = {
  24268. // cell-group组件的props
  24269. cellGroup: {
  24270. title: '',
  24271. border: true,
  24272. customStyle: {}
  24273. }
  24274. };
  24275. exports.default = _default;
  24276. /***/ }),
  24277. /***/ 8:
  24278. /*!***************************************************************************!*\
  24279. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  24280. \***************************************************************************/
  24281. /*! no static exports found */
  24282. /***/ (function(module, exports, __webpack_require__) {
  24283. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  24284. function _unsupportedIterableToArray(o, minLen) {
  24285. if (!o) return;
  24286. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  24287. var n = Object.prototype.toString.call(o).slice(8, -1);
  24288. if (n === "Object" && o.constructor) n = o.constructor.name;
  24289. if (n === "Map" || n === "Set") return Array.from(o);
  24290. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  24291. }
  24292. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  24293. /***/ }),
  24294. /***/ 80:
  24295. /*!****************************************************************************!*\
  24296. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/checkbox.js ***!
  24297. \****************************************************************************/
  24298. /*! no static exports found */
  24299. /***/ (function(module, exports, __webpack_require__) {
  24300. "use strict";
  24301. Object.defineProperty(exports, "__esModule", {
  24302. value: true
  24303. });
  24304. exports.default = void 0;
  24305. /*
  24306. * @Author : LQ
  24307. * @Description :
  24308. * @version : 1.0
  24309. * @Date : 2021-08-20 16:44:21
  24310. * @LastAuthor : LQ
  24311. * @lastTime : 2021-08-23 21:06:59
  24312. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkbox.js
  24313. */
  24314. var _default = {
  24315. // checkbox组件
  24316. checkbox: {
  24317. name: '',
  24318. shape: '',
  24319. size: '',
  24320. checkbox: false,
  24321. disabled: '',
  24322. activeColor: '',
  24323. inactiveColor: '',
  24324. iconSize: '',
  24325. iconColor: '',
  24326. label: '',
  24327. labelSize: '',
  24328. labelColor: '',
  24329. labelDisabled: ''
  24330. }
  24331. };
  24332. exports.default = _default;
  24333. /***/ }),
  24334. /***/ 807:
  24335. /*!***************************************************************************!*\
  24336. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-navbar/props.js ***!
  24337. \***************************************************************************/
  24338. /*! no static exports found */
  24339. /***/ (function(module, exports, __webpack_require__) {
  24340. "use strict";
  24341. /* WEBPACK VAR INJECTION */(function(uni) {
  24342. Object.defineProperty(exports, "__esModule", {
  24343. value: true
  24344. });
  24345. exports.default = void 0;
  24346. var _default = {
  24347. props: {
  24348. // 是否开启顶部安全区适配
  24349. safeAreaInsetTop: {
  24350. type: Boolean,
  24351. default: uni.$u.props.navbar.safeAreaInsetTop
  24352. },
  24353. // 固定在顶部时,是否生成一个等高元素,以防止塌陷
  24354. placeholder: {
  24355. type: Boolean,
  24356. default: uni.$u.props.navbar.placeholder
  24357. },
  24358. // 是否固定在顶部
  24359. fixed: {
  24360. type: Boolean,
  24361. default: uni.$u.props.navbar.fixed
  24362. },
  24363. // 是否显示下边框
  24364. border: {
  24365. type: Boolean,
  24366. default: uni.$u.props.navbar.border
  24367. },
  24368. // 左边的图标
  24369. leftIcon: {
  24370. type: String,
  24371. default: uni.$u.props.navbar.leftIcon
  24372. },
  24373. // 左边的提示文字
  24374. leftText: {
  24375. type: String,
  24376. default: uni.$u.props.navbar.leftText
  24377. },
  24378. // 左右的提示文字
  24379. rightText: {
  24380. type: String,
  24381. default: uni.$u.props.navbar.rightText
  24382. },
  24383. // 右边的图标
  24384. rightIcon: {
  24385. type: String,
  24386. default: uni.$u.props.navbar.rightIcon
  24387. },
  24388. // 标题
  24389. title: {
  24390. type: [String, Number],
  24391. default: uni.$u.props.navbar.title
  24392. },
  24393. // 背景颜色
  24394. bgColor: {
  24395. type: String,
  24396. default: uni.$u.props.navbar.bgColor
  24397. },
  24398. // 标题的宽度
  24399. titleWidth: {
  24400. type: [String, Number],
  24401. default: uni.$u.props.navbar.titleWidth
  24402. },
  24403. // 导航栏高度
  24404. height: {
  24405. type: [String, Number],
  24406. default: uni.$u.props.navbar.height
  24407. },
  24408. // 左侧返回图标的大小
  24409. leftIconSize: {
  24410. type: [String, Number],
  24411. default: uni.$u.props.navbar.leftIconSize
  24412. },
  24413. // 左侧返回图标的颜色
  24414. leftIconColor: {
  24415. type: String,
  24416. default: uni.$u.props.navbar.leftIconColor
  24417. },
  24418. // 点击左侧区域(返回图标),是否自动返回上一页
  24419. autoBack: {
  24420. type: Boolean,
  24421. default: uni.$u.props.navbar.autoBack
  24422. },
  24423. // 标题的样式,对象或字符串
  24424. titleStyle: {
  24425. type: [String, Object],
  24426. default: uni.$u.props.navbar.titleStyle
  24427. }
  24428. }
  24429. };
  24430. exports.default = _default;
  24431. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24432. /***/ }),
  24433. /***/ 81:
  24434. /*!*********************************************************************************!*\
  24435. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/checkboxGroup.js ***!
  24436. \*********************************************************************************/
  24437. /*! no static exports found */
  24438. /***/ (function(module, exports, __webpack_require__) {
  24439. "use strict";
  24440. Object.defineProperty(exports, "__esModule", {
  24441. value: true
  24442. });
  24443. exports.default = void 0;
  24444. /*
  24445. * @Author : LQ
  24446. * @Description :
  24447. * @version : 1.0
  24448. * @Date : 2021-08-20 16:44:21
  24449. * @LastAuthor : LQ
  24450. * @lastTime : 2021-08-20 16:54:47
  24451. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkboxGroup.js
  24452. */
  24453. var _default = {
  24454. // checkbox-group组件
  24455. checkboxGroup: {
  24456. name: '',
  24457. value: function value() {
  24458. return [];
  24459. },
  24460. shape: 'square',
  24461. disabled: false,
  24462. activeColor: '#2979ff',
  24463. inactiveColor: '#c8c9cc',
  24464. size: 18,
  24465. placement: 'row',
  24466. labelSize: 14,
  24467. labelColor: '#303133',
  24468. labelDisabled: false,
  24469. iconColor: '#ffffff',
  24470. iconSize: 12,
  24471. iconPlacement: 'left',
  24472. borderBottom: false
  24473. }
  24474. };
  24475. exports.default = _default;
  24476. /***/ }),
  24477. /***/ 815:
  24478. /*!*******************************************************************************!*\
  24479. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-subsection/props.js ***!
  24480. \*******************************************************************************/
  24481. /*! no static exports found */
  24482. /***/ (function(module, exports, __webpack_require__) {
  24483. "use strict";
  24484. /* WEBPACK VAR INJECTION */(function(uni) {
  24485. Object.defineProperty(exports, "__esModule", {
  24486. value: true
  24487. });
  24488. exports.default = void 0;
  24489. var _default = {
  24490. props: {
  24491. // tab的数据
  24492. list: {
  24493. type: Array,
  24494. default: uni.$u.props.subsection.list
  24495. },
  24496. // 当前活动的tab的index
  24497. current: {
  24498. type: [String, Number],
  24499. default: uni.$u.props.subsection.current
  24500. },
  24501. // 激活的颜色
  24502. activeColor: {
  24503. type: String,
  24504. default: uni.$u.props.subsection.activeColor
  24505. },
  24506. // 未激活的颜色
  24507. inactiveColor: {
  24508. type: String,
  24509. default: uni.$u.props.subsection.inactiveColor
  24510. },
  24511. // 模式选择,mode=button为按钮形式,mode=subsection时为分段模式
  24512. mode: {
  24513. type: String,
  24514. default: uni.$u.props.subsection.mode
  24515. },
  24516. // 字体大小
  24517. fontSize: {
  24518. type: [String, Number],
  24519. default: uni.$u.props.subsection.fontSize
  24520. },
  24521. // 激活tab的字体是否加粗
  24522. bold: {
  24523. type: Boolean,
  24524. default: uni.$u.props.subsection.bold
  24525. },
  24526. // mode = button时,组件背景颜色
  24527. bgColor: {
  24528. type: String,
  24529. default: uni.$u.props.subsection.bgColor
  24530. },
  24531. // 从list元素对象中读取的键名
  24532. keyName: {
  24533. type: String,
  24534. default: uni.$u.props.subsection.keyName
  24535. }
  24536. }
  24537. };
  24538. exports.default = _default;
  24539. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24540. /***/ }),
  24541. /***/ 82:
  24542. /*!**********************************************************************************!*\
  24543. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/circleProgress.js ***!
  24544. \**********************************************************************************/
  24545. /*! no static exports found */
  24546. /***/ (function(module, exports, __webpack_require__) {
  24547. "use strict";
  24548. Object.defineProperty(exports, "__esModule", {
  24549. value: true
  24550. });
  24551. exports.default = void 0;
  24552. /*
  24553. * @Author : LQ
  24554. * @Description :
  24555. * @version : 1.0
  24556. * @Date : 2021-08-20 16:44:21
  24557. * @LastAuthor : LQ
  24558. * @lastTime : 2021-08-20 16:55:02
  24559. * @FilePath : /u-view2.0/uview-ui/libs/config/props/circleProgress.js
  24560. */
  24561. var _default = {
  24562. // circleProgress 组件
  24563. circleProgress: {
  24564. percentage: 30
  24565. }
  24566. };
  24567. exports.default = _default;
  24568. /***/ }),
  24569. /***/ 823:
  24570. /*!*************************************************************************!*\
  24571. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-icon/icons.js ***!
  24572. \*************************************************************************/
  24573. /*! no static exports found */
  24574. /***/ (function(module, exports, __webpack_require__) {
  24575. "use strict";
  24576. Object.defineProperty(exports, "__esModule", {
  24577. value: true
  24578. });
  24579. exports.default = void 0;
  24580. var _default = {
  24581. 'uicon-level': "\uE693",
  24582. 'uicon-column-line': "\uE68E",
  24583. 'uicon-checkbox-mark': "\uE807",
  24584. 'uicon-folder': "\uE7F5",
  24585. 'uicon-movie': "\uE7F6",
  24586. 'uicon-star-fill': "\uE669",
  24587. 'uicon-star': "\uE65F",
  24588. 'uicon-phone-fill': "\uE64F",
  24589. 'uicon-phone': "\uE622",
  24590. 'uicon-apple-fill': "\uE881",
  24591. 'uicon-chrome-circle-fill': "\uE885",
  24592. 'uicon-backspace': "\uE67B",
  24593. 'uicon-attach': "\uE632",
  24594. 'uicon-cut': "\uE948",
  24595. 'uicon-empty-car': "\uE602",
  24596. 'uicon-empty-coupon': "\uE682",
  24597. 'uicon-empty-address': "\uE646",
  24598. 'uicon-empty-favor': "\uE67C",
  24599. 'uicon-empty-permission': "\uE686",
  24600. 'uicon-empty-news': "\uE687",
  24601. 'uicon-empty-search': "\uE664",
  24602. 'uicon-github-circle-fill': "\uE887",
  24603. 'uicon-rmb': "\uE608",
  24604. 'uicon-person-delete-fill': "\uE66A",
  24605. 'uicon-reload': "\uE788",
  24606. 'uicon-order': "\uE68F",
  24607. 'uicon-server-man': "\uE6BC",
  24608. 'uicon-search': "\uE62A",
  24609. 'uicon-fingerprint': "\uE955",
  24610. 'uicon-more-dot-fill': "\uE630",
  24611. 'uicon-scan': "\uE662",
  24612. 'uicon-share-square': "\uE60B",
  24613. 'uicon-map': "\uE61D",
  24614. 'uicon-map-fill': "\uE64E",
  24615. 'uicon-tags': "\uE629",
  24616. 'uicon-tags-fill': "\uE651",
  24617. 'uicon-bookmark-fill': "\uE63B",
  24618. 'uicon-bookmark': "\uE60A",
  24619. 'uicon-eye': "\uE613",
  24620. 'uicon-eye-fill': "\uE641",
  24621. 'uicon-mic': "\uE64A",
  24622. 'uicon-mic-off': "\uE649",
  24623. 'uicon-calendar': "\uE66E",
  24624. 'uicon-calendar-fill': "\uE634",
  24625. 'uicon-trash': "\uE623",
  24626. 'uicon-trash-fill': "\uE658",
  24627. 'uicon-play-left': "\uE66D",
  24628. 'uicon-play-right': "\uE610",
  24629. 'uicon-minus': "\uE618",
  24630. 'uicon-plus': "\uE62D",
  24631. 'uicon-info': "\uE653",
  24632. 'uicon-info-circle': "\uE7D2",
  24633. 'uicon-info-circle-fill': "\uE64B",
  24634. 'uicon-question': "\uE715",
  24635. 'uicon-error': "\uE6D3",
  24636. 'uicon-close': "\uE685",
  24637. 'uicon-checkmark': "\uE6A8",
  24638. 'uicon-android-circle-fill': "\uE67E",
  24639. 'uicon-android-fill': "\uE67D",
  24640. 'uicon-ie': "\uE87B",
  24641. 'uicon-IE-circle-fill': "\uE889",
  24642. 'uicon-google': "\uE87A",
  24643. 'uicon-google-circle-fill': "\uE88A",
  24644. 'uicon-setting-fill': "\uE872",
  24645. 'uicon-setting': "\uE61F",
  24646. 'uicon-minus-square-fill': "\uE855",
  24647. 'uicon-plus-square-fill': "\uE856",
  24648. 'uicon-heart': "\uE7DF",
  24649. 'uicon-heart-fill': "\uE851",
  24650. 'uicon-camera': "\uE7D7",
  24651. 'uicon-camera-fill': "\uE870",
  24652. 'uicon-more-circle': "\uE63E",
  24653. 'uicon-more-circle-fill': "\uE645",
  24654. 'uicon-chat': "\uE620",
  24655. 'uicon-chat-fill': "\uE61E",
  24656. 'uicon-bag-fill': "\uE617",
  24657. 'uicon-bag': "\uE619",
  24658. 'uicon-error-circle-fill': "\uE62C",
  24659. 'uicon-error-circle': "\uE624",
  24660. 'uicon-close-circle': "\uE63F",
  24661. 'uicon-close-circle-fill': "\uE637",
  24662. 'uicon-checkmark-circle': "\uE63D",
  24663. 'uicon-checkmark-circle-fill': "\uE635",
  24664. 'uicon-question-circle-fill': "\uE666",
  24665. 'uicon-question-circle': "\uE625",
  24666. 'uicon-share': "\uE631",
  24667. 'uicon-share-fill': "\uE65E",
  24668. 'uicon-shopping-cart': "\uE621",
  24669. 'uicon-shopping-cart-fill': "\uE65D",
  24670. 'uicon-bell': "\uE609",
  24671. 'uicon-bell-fill': "\uE640",
  24672. 'uicon-list': "\uE650",
  24673. 'uicon-list-dot': "\uE616",
  24674. 'uicon-zhihu': "\uE6BA",
  24675. 'uicon-zhihu-circle-fill': "\uE709",
  24676. 'uicon-zhifubao': "\uE6B9",
  24677. 'uicon-zhifubao-circle-fill': "\uE6B8",
  24678. 'uicon-weixin-circle-fill': "\uE6B1",
  24679. 'uicon-weixin-fill': "\uE6B2",
  24680. 'uicon-twitter-circle-fill': "\uE6AB",
  24681. 'uicon-twitter': "\uE6AA",
  24682. 'uicon-taobao-circle-fill': "\uE6A7",
  24683. 'uicon-taobao': "\uE6A6",
  24684. 'uicon-weibo-circle-fill': "\uE6A5",
  24685. 'uicon-weibo': "\uE6A4",
  24686. 'uicon-qq-fill': "\uE6A1",
  24687. 'uicon-qq-circle-fill': "\uE6A0",
  24688. 'uicon-moments-circel-fill': "\uE69A",
  24689. 'uicon-moments': "\uE69B",
  24690. 'uicon-qzone': "\uE695",
  24691. 'uicon-qzone-circle-fill': "\uE696",
  24692. 'uicon-baidu-circle-fill': "\uE680",
  24693. 'uicon-baidu': "\uE681",
  24694. 'uicon-facebook-circle-fill': "\uE68A",
  24695. 'uicon-facebook': "\uE689",
  24696. 'uicon-car': "\uE60C",
  24697. 'uicon-car-fill': "\uE636",
  24698. 'uicon-warning-fill': "\uE64D",
  24699. 'uicon-warning': "\uE694",
  24700. 'uicon-clock-fill': "\uE638",
  24701. 'uicon-clock': "\uE60F",
  24702. 'uicon-edit-pen': "\uE612",
  24703. 'uicon-edit-pen-fill': "\uE66B",
  24704. 'uicon-email': "\uE611",
  24705. 'uicon-email-fill': "\uE642",
  24706. 'uicon-minus-circle': "\uE61B",
  24707. 'uicon-minus-circle-fill': "\uE652",
  24708. 'uicon-plus-circle': "\uE62E",
  24709. 'uicon-plus-circle-fill': "\uE661",
  24710. 'uicon-file-text': "\uE663",
  24711. 'uicon-file-text-fill': "\uE665",
  24712. 'uicon-pushpin': "\uE7E3",
  24713. 'uicon-pushpin-fill': "\uE86E",
  24714. 'uicon-grid': "\uE673",
  24715. 'uicon-grid-fill': "\uE678",
  24716. 'uicon-play-circle': "\uE647",
  24717. 'uicon-play-circle-fill': "\uE655",
  24718. 'uicon-pause-circle-fill': "\uE654",
  24719. 'uicon-pause': "\uE8FA",
  24720. 'uicon-pause-circle': "\uE643",
  24721. 'uicon-eye-off': "\uE648",
  24722. 'uicon-eye-off-outline': "\uE62B",
  24723. 'uicon-gift-fill': "\uE65C",
  24724. 'uicon-gift': "\uE65B",
  24725. 'uicon-rmb-circle-fill': "\uE657",
  24726. 'uicon-rmb-circle': "\uE677",
  24727. 'uicon-kefu-ermai': "\uE656",
  24728. 'uicon-server-fill': "\uE751",
  24729. 'uicon-coupon-fill': "\uE8C4",
  24730. 'uicon-coupon': "\uE8AE",
  24731. 'uicon-integral': "\uE704",
  24732. 'uicon-integral-fill': "\uE703",
  24733. 'uicon-home-fill': "\uE964",
  24734. 'uicon-home': "\uE965",
  24735. 'uicon-hourglass-half-fill': "\uE966",
  24736. 'uicon-hourglass': "\uE967",
  24737. 'uicon-account': "\uE628",
  24738. 'uicon-plus-people-fill': "\uE626",
  24739. 'uicon-minus-people-fill': "\uE615",
  24740. 'uicon-account-fill': "\uE614",
  24741. 'uicon-thumb-down-fill': "\uE726",
  24742. 'uicon-thumb-down': "\uE727",
  24743. 'uicon-thumb-up': "\uE733",
  24744. 'uicon-thumb-up-fill': "\uE72F",
  24745. 'uicon-lock-fill': "\uE979",
  24746. 'uicon-lock-open': "\uE973",
  24747. 'uicon-lock-opened-fill': "\uE974",
  24748. 'uicon-lock': "\uE97A",
  24749. 'uicon-red-packet-fill': "\uE690",
  24750. 'uicon-photo-fill': "\uE98B",
  24751. 'uicon-photo': "\uE98D",
  24752. 'uicon-volume-off-fill': "\uE659",
  24753. 'uicon-volume-off': "\uE644",
  24754. 'uicon-volume-fill': "\uE670",
  24755. 'uicon-volume': "\uE633",
  24756. 'uicon-red-packet': "\uE691",
  24757. 'uicon-download': "\uE63C",
  24758. 'uicon-arrow-up-fill': "\uE6B0",
  24759. 'uicon-arrow-down-fill': "\uE600",
  24760. 'uicon-play-left-fill': "\uE675",
  24761. 'uicon-play-right-fill': "\uE676",
  24762. 'uicon-rewind-left-fill': "\uE679",
  24763. 'uicon-rewind-right-fill': "\uE67A",
  24764. 'uicon-arrow-downward': "\uE604",
  24765. 'uicon-arrow-leftward': "\uE601",
  24766. 'uicon-arrow-rightward': "\uE603",
  24767. 'uicon-arrow-upward': "\uE607",
  24768. 'uicon-arrow-down': "\uE60D",
  24769. 'uicon-arrow-right': "\uE605",
  24770. 'uicon-arrow-left': "\uE60E",
  24771. 'uicon-arrow-up': "\uE606",
  24772. 'uicon-skip-back-left': "\uE674",
  24773. 'uicon-skip-forward-right': "\uE672",
  24774. 'uicon-rewind-right': "\uE66F",
  24775. 'uicon-rewind-left': "\uE671",
  24776. 'uicon-arrow-right-double': "\uE68D",
  24777. 'uicon-arrow-left-double': "\uE68C",
  24778. 'uicon-wifi-off': "\uE668",
  24779. 'uicon-wifi': "\uE667",
  24780. 'uicon-empty-data': "\uE62F",
  24781. 'uicon-empty-history': "\uE684",
  24782. 'uicon-empty-list': "\uE68B",
  24783. 'uicon-empty-page': "\uE627",
  24784. 'uicon-empty-order': "\uE639",
  24785. 'uicon-man': "\uE697",
  24786. 'uicon-woman': "\uE69C",
  24787. 'uicon-man-add': "\uE61C",
  24788. 'uicon-man-add-fill': "\uE64C",
  24789. 'uicon-man-delete': "\uE61A",
  24790. 'uicon-man-delete-fill': "\uE66A",
  24791. 'uicon-zh': "\uE70A",
  24792. 'uicon-en': "\uE692"
  24793. };
  24794. exports.default = _default;
  24795. /***/ }),
  24796. /***/ 824:
  24797. /*!*************************************************************************!*\
  24798. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-icon/props.js ***!
  24799. \*************************************************************************/
  24800. /*! no static exports found */
  24801. /***/ (function(module, exports, __webpack_require__) {
  24802. "use strict";
  24803. /* WEBPACK VAR INJECTION */(function(uni) {
  24804. Object.defineProperty(exports, "__esModule", {
  24805. value: true
  24806. });
  24807. exports.default = void 0;
  24808. var _default = {
  24809. props: {
  24810. // 图标类名
  24811. name: {
  24812. type: String,
  24813. default: uni.$u.props.icon.name
  24814. },
  24815. // 图标颜色,可接受主题色
  24816. color: {
  24817. type: String,
  24818. default: uni.$u.props.icon.color
  24819. },
  24820. // 字体大小,单位px
  24821. size: {
  24822. type: [String, Number],
  24823. default: uni.$u.props.icon.size
  24824. },
  24825. // 是否显示粗体
  24826. bold: {
  24827. type: Boolean,
  24828. default: uni.$u.props.icon.bold
  24829. },
  24830. // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
  24831. index: {
  24832. type: [String, Number],
  24833. default: uni.$u.props.icon.index
  24834. },
  24835. // 触摸图标时的类名
  24836. hoverClass: {
  24837. type: String,
  24838. default: uni.$u.props.icon.hoverClass
  24839. },
  24840. // 自定义扩展前缀,方便用户扩展自己的图标库
  24841. customPrefix: {
  24842. type: String,
  24843. default: uni.$u.props.icon.customPrefix
  24844. },
  24845. // 图标右边或者下面的文字
  24846. label: {
  24847. type: [String, Number],
  24848. default: uni.$u.props.icon.label
  24849. },
  24850. // label的位置,只能右边或者下边
  24851. labelPos: {
  24852. type: String,
  24853. default: uni.$u.props.icon.labelPos
  24854. },
  24855. // label的大小
  24856. labelSize: {
  24857. type: [String, Number],
  24858. default: uni.$u.props.icon.labelSize
  24859. },
  24860. // label的颜色
  24861. labelColor: {
  24862. type: String,
  24863. default: uni.$u.props.icon.labelColor
  24864. },
  24865. // label与图标的距离
  24866. space: {
  24867. type: [String, Number],
  24868. default: uni.$u.props.icon.space
  24869. },
  24870. // 图片的mode
  24871. imgMode: {
  24872. type: String,
  24873. default: uni.$u.props.icon.imgMode
  24874. },
  24875. // 用于显示图片小图标时,图片的宽度
  24876. width: {
  24877. type: [String, Number],
  24878. default: uni.$u.props.icon.width
  24879. },
  24880. // 用于显示图片小图标时,图片的高度
  24881. height: {
  24882. type: [String, Number],
  24883. default: uni.$u.props.icon.height
  24884. },
  24885. // 用于解决某些情况下,让图标垂直居中的用途
  24886. top: {
  24887. type: [String, Number],
  24888. default: uni.$u.props.icon.top
  24889. },
  24890. // 是否阻止事件传播
  24891. stop: {
  24892. type: Boolean,
  24893. default: uni.$u.props.icon.stop
  24894. }
  24895. }
  24896. };
  24897. exports.default = _default;
  24898. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24899. /***/ }),
  24900. /***/ 83:
  24901. /*!************************************************************************!*\
  24902. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/code.js ***!
  24903. \************************************************************************/
  24904. /*! no static exports found */
  24905. /***/ (function(module, exports, __webpack_require__) {
  24906. "use strict";
  24907. Object.defineProperty(exports, "__esModule", {
  24908. value: true
  24909. });
  24910. exports.default = void 0;
  24911. /*
  24912. * @Author : LQ
  24913. * @Description :
  24914. * @version : 1.0
  24915. * @Date : 2021-08-20 16:44:21
  24916. * @LastAuthor : LQ
  24917. * @lastTime : 2021-08-20 16:55:27
  24918. * @FilePath : /u-view2.0/uview-ui/libs/config/props/code.js
  24919. */
  24920. var _default = {
  24921. // code 组件
  24922. code: {
  24923. seconds: 60,
  24924. startText: '获取验证码',
  24925. changeText: 'X秒重新获取',
  24926. endText: '重新获取',
  24927. keepRunning: false,
  24928. uniqueKey: ''
  24929. }
  24930. };
  24931. exports.default = _default;
  24932. /***/ }),
  24933. /***/ 832:
  24934. /*!*************************************************************************!*\
  24935. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-tabs/props.js ***!
  24936. \*************************************************************************/
  24937. /*! no static exports found */
  24938. /***/ (function(module, exports, __webpack_require__) {
  24939. "use strict";
  24940. /* WEBPACK VAR INJECTION */(function(uni) {
  24941. Object.defineProperty(exports, "__esModule", {
  24942. value: true
  24943. });
  24944. exports.default = void 0;
  24945. var _default = {
  24946. props: {
  24947. // 滑块的移动过渡时间,单位ms
  24948. duration: {
  24949. type: Number,
  24950. default: uni.$u.props.tabs.duration
  24951. },
  24952. // tabs标签数组
  24953. list: {
  24954. type: Array,
  24955. default: uni.$u.props.tabs.list
  24956. },
  24957. // 滑块颜色
  24958. lineColor: {
  24959. type: String,
  24960. default: uni.$u.props.tabs.lineColor
  24961. },
  24962. // 菜单选择中时的样式
  24963. activeStyle: {
  24964. type: [String, Object],
  24965. default: uni.$u.props.tabs.activeStyle
  24966. },
  24967. // 菜单非选中时的样式
  24968. inactiveStyle: {
  24969. type: [String, Object],
  24970. default: uni.$u.props.tabs.inactiveStyle
  24971. },
  24972. // 滑块长度
  24973. lineWidth: {
  24974. type: [String, Number],
  24975. default: uni.$u.props.tabs.lineWidth
  24976. },
  24977. // 滑块高度
  24978. lineHeight: {
  24979. type: [String, Number],
  24980. default: uni.$u.props.tabs.lineHeight
  24981. },
  24982. // 滑块背景显示大小,当滑块背景设置为图片时使用
  24983. lineBgSize: {
  24984. type: String,
  24985. default: uni.$u.props.tabs.lineBgSize
  24986. },
  24987. // 菜单item的样式
  24988. itemStyle: {
  24989. type: [String, Object],
  24990. default: uni.$u.props.tabs.itemStyle
  24991. },
  24992. // 菜单是否可滚动
  24993. scrollable: {
  24994. type: Boolean,
  24995. default: uni.$u.props.tabs.scrollable
  24996. },
  24997. // 当前选中标签的索引
  24998. current: {
  24999. type: [Number, String],
  25000. default: uni.$u.props.tabs.current
  25001. },
  25002. // 默认读取的键名
  25003. keyName: {
  25004. type: String,
  25005. default: uni.$u.props.tabs.keyName
  25006. }
  25007. }
  25008. };
  25009. exports.default = _default;
  25010. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  25011. /***/ }),
  25012. /***/ 84:
  25013. /*!*****************************************************************************!*\
  25014. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/codeInput.js ***!
  25015. \*****************************************************************************/
  25016. /*! no static exports found */
  25017. /***/ (function(module, exports, __webpack_require__) {
  25018. "use strict";
  25019. Object.defineProperty(exports, "__esModule", {
  25020. value: true
  25021. });
  25022. exports.default = void 0;
  25023. /*
  25024. * @Author : LQ
  25025. * @Description :
  25026. * @version : 1.0
  25027. * @Date : 2021-08-20 16:44:21
  25028. * @LastAuthor : LQ
  25029. * @lastTime : 2021-08-20 16:55:58
  25030. * @FilePath : /u-view2.0/uview-ui/libs/config/props/codeInput.js
  25031. */
  25032. var _default = {
  25033. // codeInput 组件
  25034. codeInput: {
  25035. adjustPosition: true,
  25036. maxlength: 6,
  25037. dot: false,
  25038. mode: 'box',
  25039. hairline: false,
  25040. space: 10,
  25041. value: '',
  25042. focus: false,
  25043. bold: false,
  25044. color: '#606266',
  25045. fontSize: 18,
  25046. size: 35,
  25047. disabledKeyboard: false,
  25048. borderColor: '#c9cacc',
  25049. disabledDot: true
  25050. }
  25051. };
  25052. exports.default = _default;
  25053. /***/ }),
  25054. /***/ 840:
  25055. /*!***************************************************************************!*\
  25056. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swiper/props.js ***!
  25057. \***************************************************************************/
  25058. /*! no static exports found */
  25059. /***/ (function(module, exports, __webpack_require__) {
  25060. "use strict";
  25061. /* WEBPACK VAR INJECTION */(function(uni) {
  25062. Object.defineProperty(exports, "__esModule", {
  25063. value: true
  25064. });
  25065. exports.default = void 0;
  25066. var _default = {
  25067. props: {
  25068. // 列表数组,元素可为字符串,如为对象可通过keyName指定目标属性名
  25069. list: {
  25070. type: Array,
  25071. default: uni.$u.props.swiper.list
  25072. },
  25073. // 是否显示面板指示器
  25074. indicator: {
  25075. type: Boolean,
  25076. default: uni.$u.props.swiper.indicator
  25077. },
  25078. // 指示器非激活颜色
  25079. indicatorActiveColor: {
  25080. type: String,
  25081. default: uni.$u.props.swiper.indicatorActiveColor
  25082. },
  25083. // 指示器的激活颜色
  25084. indicatorInactiveColor: {
  25085. type: String,
  25086. default: uni.$u.props.swiper.indicatorInactiveColor
  25087. },
  25088. // 指示器样式,可通过bottom,left,right进行定位
  25089. indicatorStyle: {
  25090. type: [String, Object],
  25091. default: uni.$u.props.swiper.indicatorStyle
  25092. },
  25093. // 指示器模式,line-线型,dot-点型
  25094. indicatorMode: {
  25095. type: String,
  25096. default: uni.$u.props.swiper.indicatorMode
  25097. },
  25098. // 是否自动切换
  25099. autoplay: {
  25100. type: Boolean,
  25101. default: uni.$u.props.swiper.autoplay
  25102. },
  25103. // 当前所在滑块的 index
  25104. current: {
  25105. type: [String, Number],
  25106. default: uni.$u.props.swiper.current
  25107. },
  25108. // 当前所在滑块的 item-id ,不能与 current 被同时指定
  25109. currentItemId: {
  25110. type: String,
  25111. default: uni.$u.props.swiper.currentItemId
  25112. },
  25113. // 滑块自动切换时间间隔
  25114. interval: {
  25115. type: [String, Number],
  25116. default: uni.$u.props.swiper.interval
  25117. },
  25118. // 滑块切换过程所需时间
  25119. duration: {
  25120. type: [String, Number],
  25121. default: uni.$u.props.swiper.duration
  25122. },
  25123. // 播放到末尾后是否重新回到开头
  25124. circular: {
  25125. type: Boolean,
  25126. default: uni.$u.props.swiper.circular
  25127. },
  25128. // 前边距,可用于露出前一项的一小部分,nvue和支付宝不支持
  25129. previousMargin: {
  25130. type: [String, Number],
  25131. default: uni.$u.props.swiper.previousMargin
  25132. },
  25133. // 后边距,可用于露出后一项的一小部分,nvue和支付宝不支持
  25134. nextMargin: {
  25135. type: [String, Number],
  25136. default: uni.$u.props.swiper.nextMargin
  25137. },
  25138. // 当开启时,会根据滑动速度,连续滑动多屏,支付宝不支持
  25139. acceleration: {
  25140. type: Boolean,
  25141. default: uni.$u.props.swiper.acceleration
  25142. },
  25143. // 同时显示的滑块数量,nvue、支付宝小程序不支持
  25144. displayMultipleItems: {
  25145. type: Number,
  25146. default: uni.$u.props.swiper.displayMultipleItems
  25147. },
  25148. // 指定swiper切换缓动动画类型,有效值:default、linear、easeInCubic、easeOutCubic、easeInOutCubic
  25149. // 只对微信小程序有效
  25150. easingFunction: {
  25151. type: String,
  25152. default: uni.$u.props.swiper.easingFunction
  25153. },
  25154. // list数组中指定对象的目标属性名
  25155. keyName: {
  25156. type: String,
  25157. default: uni.$u.props.swiper.keyName
  25158. },
  25159. // 图片的裁剪模式
  25160. imgMode: {
  25161. type: String,
  25162. default: uni.$u.props.swiper.imgMode
  25163. },
  25164. // 组件高度
  25165. height: {
  25166. type: [String, Number],
  25167. default: uni.$u.props.swiper.height
  25168. },
  25169. // 背景颜色
  25170. bgColor: {
  25171. type: String,
  25172. default: uni.$u.props.swiper.bgColor
  25173. },
  25174. // 组件圆角,数值或带单位的字符串
  25175. radius: {
  25176. type: [String, Number],
  25177. default: uni.$u.props.swiper.radius
  25178. },
  25179. // 是否加载中
  25180. loading: {
  25181. type: Boolean,
  25182. default: uni.$u.props.swiper.loading
  25183. },
  25184. // 是否显示标题,要求数组对象中有title属性
  25185. showTitle: {
  25186. type: Boolean,
  25187. default: uni.$u.props.swiper.showTitle
  25188. }
  25189. }
  25190. };
  25191. exports.default = _default;
  25192. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  25193. /***/ }),
  25194. /***/ 848:
  25195. /*!**************************************************************************!*\
  25196. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-popup/props.js ***!
  25197. \**************************************************************************/
  25198. /*! no static exports found */
  25199. /***/ (function(module, exports, __webpack_require__) {
  25200. "use strict";
  25201. /* WEBPACK VAR INJECTION */(function(uni) {
  25202. Object.defineProperty(exports, "__esModule", {
  25203. value: true
  25204. });
  25205. exports.default = void 0;
  25206. var _default = {
  25207. props: {
  25208. // 是否展示弹窗
  25209. show: {
  25210. type: Boolean,
  25211. default: uni.$u.props.popup.show
  25212. },
  25213. // 是否显示遮罩
  25214. overlay: {
  25215. type: Boolean,
  25216. default: uni.$u.props.popup.overlay
  25217. },
  25218. // 弹出的方向,可选值为 top bottom right left center
  25219. mode: {
  25220. type: String,
  25221. default: uni.$u.props.popup.mode
  25222. },
  25223. // 动画时长,单位ms
  25224. duration: {
  25225. type: [String, Number],
  25226. default: uni.$u.props.popup.duration
  25227. },
  25228. // 是否显示关闭图标
  25229. closeable: {
  25230. type: Boolean,
  25231. default: uni.$u.props.popup.closeable
  25232. },
  25233. // 自定义遮罩的样式
  25234. overlayStyle: {
  25235. type: [Object, String],
  25236. default: uni.$u.props.popup.overlayStyle
  25237. },
  25238. // 点击遮罩是否关闭弹窗
  25239. closeOnClickOverlay: {
  25240. type: Boolean,
  25241. default: uni.$u.props.popup.closeOnClickOverlay
  25242. },
  25243. // 层级
  25244. zIndex: {
  25245. type: [String, Number],
  25246. default: uni.$u.props.popup.zIndex
  25247. },
  25248. // 是否为iPhoneX留出底部安全距离
  25249. safeAreaInsetBottom: {
  25250. type: Boolean,
  25251. default: uni.$u.props.popup.safeAreaInsetBottom
  25252. },
  25253. // 是否留出顶部安全距离(状态栏高度)
  25254. safeAreaInsetTop: {
  25255. type: Boolean,
  25256. default: uni.$u.props.popup.safeAreaInsetTop
  25257. },
  25258. // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
  25259. closeIconPos: {
  25260. type: String,
  25261. default: uni.$u.props.popup.closeIconPos
  25262. },
  25263. // 是否显示圆角
  25264. round: {
  25265. type: [Boolean, String, Number],
  25266. default: uni.$u.props.popup.round
  25267. },
  25268. // mode=center,也即中部弹出时,是否使用缩放模式
  25269. zoom: {
  25270. type: Boolean,
  25271. default: uni.$u.props.popup.zoom
  25272. },
  25273. // 弹窗背景色,设置为transparent可去除白色背景
  25274. bgColor: {
  25275. type: String,
  25276. default: uni.$u.props.popup.bgColor
  25277. },
  25278. // 遮罩的透明度,0-1之间
  25279. overlayOpacity: {
  25280. type: [Number, String],
  25281. default: uni.$u.props.popup.overlayOpacity
  25282. }
  25283. }
  25284. };
  25285. exports.default = _default;
  25286. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  25287. /***/ }),
  25288. /***/ 85:
  25289. /*!***********************************************************************!*\
  25290. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/col.js ***!
  25291. \***********************************************************************/
  25292. /*! no static exports found */
  25293. /***/ (function(module, exports, __webpack_require__) {
  25294. "use strict";
  25295. Object.defineProperty(exports, "__esModule", {
  25296. value: true
  25297. });
  25298. exports.default = void 0;
  25299. /*
  25300. * @Author : LQ
  25301. * @Description :
  25302. * @version : 1.0
  25303. * @Date : 2021-08-20 16:44:21
  25304. * @LastAuthor : LQ
  25305. * @lastTime : 2021-08-20 16:56:12
  25306. * @FilePath : /u-view2.0/uview-ui/libs/config/props/col.js
  25307. */
  25308. var _default = {
  25309. // col 组件
  25310. col: {
  25311. span: 12,
  25312. offset: 0,
  25313. justify: 'start',
  25314. align: 'stretch',
  25315. textAlign: 'left'
  25316. }
  25317. };
  25318. exports.default = _default;
  25319. /***/ }),
  25320. /***/ 856:
  25321. /*!**************************************************************************************!*\
  25322. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js ***!
  25323. \**************************************************************************************/
  25324. /*! no static exports found */
  25325. /***/ (function(module, exports, __webpack_require__) {
  25326. "use strict";
  25327. /* WEBPACK VAR INJECTION */(function(global) {/*!
  25328. * vuex v3.6.2
  25329. * (c) 2021 Evan You
  25330. * @license MIT
  25331. */
  25332. function applyMixin (Vue) {
  25333. var version = Number(Vue.version.split('.')[0]);
  25334. if (version >= 2) {
  25335. Vue.mixin({ beforeCreate: vuexInit });
  25336. } else {
  25337. // override init and inject vuex init procedure
  25338. // for 1.x backwards compatibility.
  25339. var _init = Vue.prototype._init;
  25340. Vue.prototype._init = function (options) {
  25341. if ( options === void 0 ) options = {};
  25342. options.init = options.init
  25343. ? [vuexInit].concat(options.init)
  25344. : vuexInit;
  25345. _init.call(this, options);
  25346. };
  25347. }
  25348. /**
  25349. * Vuex init hook, injected into each instances init hooks list.
  25350. */
  25351. function vuexInit () {
  25352. var options = this.$options;
  25353. // store injection
  25354. if (options.store) {
  25355. this.$store = typeof options.store === 'function'
  25356. ? options.store()
  25357. : options.store;
  25358. } else if (options.parent && options.parent.$store) {
  25359. this.$store = options.parent.$store;
  25360. }
  25361. }
  25362. }
  25363. var target = typeof window !== 'undefined'
  25364. ? window
  25365. : typeof global !== 'undefined'
  25366. ? global
  25367. : {};
  25368. var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  25369. function devtoolPlugin (store) {
  25370. if (!devtoolHook) { return }
  25371. store._devtoolHook = devtoolHook;
  25372. devtoolHook.emit('vuex:init', store);
  25373. devtoolHook.on('vuex:travel-to-state', function (targetState) {
  25374. store.replaceState(targetState);
  25375. });
  25376. store.subscribe(function (mutation, state) {
  25377. devtoolHook.emit('vuex:mutation', mutation, state);
  25378. }, { prepend: true });
  25379. store.subscribeAction(function (action, state) {
  25380. devtoolHook.emit('vuex:action', action, state);
  25381. }, { prepend: true });
  25382. }
  25383. /**
  25384. * Get the first item that pass the test
  25385. * by second argument function
  25386. *
  25387. * @param {Array} list
  25388. * @param {Function} f
  25389. * @return {*}
  25390. */
  25391. function find (list, f) {
  25392. return list.filter(f)[0]
  25393. }
  25394. /**
  25395. * Deep copy the given object considering circular structure.
  25396. * This function caches all nested objects and its copies.
  25397. * If it detects circular structure, use cached copy to avoid infinite loop.
  25398. *
  25399. * @param {*} obj
  25400. * @param {Array<Object>} cache
  25401. * @return {*}
  25402. */
  25403. function deepCopy (obj, cache) {
  25404. if ( cache === void 0 ) cache = [];
  25405. // just return if obj is immutable value
  25406. if (obj === null || typeof obj !== 'object') {
  25407. return obj
  25408. }
  25409. // if obj is hit, it is in circular structure
  25410. var hit = find(cache, function (c) { return c.original === obj; });
  25411. if (hit) {
  25412. return hit.copy
  25413. }
  25414. var copy = Array.isArray(obj) ? [] : {};
  25415. // put the copy into cache at first
  25416. // because we want to refer it in recursive deepCopy
  25417. cache.push({
  25418. original: obj,
  25419. copy: copy
  25420. });
  25421. Object.keys(obj).forEach(function (key) {
  25422. copy[key] = deepCopy(obj[key], cache);
  25423. });
  25424. return copy
  25425. }
  25426. /**
  25427. * forEach for object
  25428. */
  25429. function forEachValue (obj, fn) {
  25430. Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
  25431. }
  25432. function isObject (obj) {
  25433. return obj !== null && typeof obj === 'object'
  25434. }
  25435. function isPromise (val) {
  25436. return val && typeof val.then === 'function'
  25437. }
  25438. function assert (condition, msg) {
  25439. if (!condition) { throw new Error(("[vuex] " + msg)) }
  25440. }
  25441. function partial (fn, arg) {
  25442. return function () {
  25443. return fn(arg)
  25444. }
  25445. }
  25446. // Base data struct for store's module, package with some attribute and method
  25447. var Module = function Module (rawModule, runtime) {
  25448. this.runtime = runtime;
  25449. // Store some children item
  25450. this._children = Object.create(null);
  25451. // Store the origin module object which passed by programmer
  25452. this._rawModule = rawModule;
  25453. var rawState = rawModule.state;
  25454. // Store the origin module's state
  25455. this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
  25456. };
  25457. var prototypeAccessors = { namespaced: { configurable: true } };
  25458. prototypeAccessors.namespaced.get = function () {
  25459. return !!this._rawModule.namespaced
  25460. };
  25461. Module.prototype.addChild = function addChild (key, module) {
  25462. this._children[key] = module;
  25463. };
  25464. Module.prototype.removeChild = function removeChild (key) {
  25465. delete this._children[key];
  25466. };
  25467. Module.prototype.getChild = function getChild (key) {
  25468. return this._children[key]
  25469. };
  25470. Module.prototype.hasChild = function hasChild (key) {
  25471. return key in this._children
  25472. };
  25473. Module.prototype.update = function update (rawModule) {
  25474. this._rawModule.namespaced = rawModule.namespaced;
  25475. if (rawModule.actions) {
  25476. this._rawModule.actions = rawModule.actions;
  25477. }
  25478. if (rawModule.mutations) {
  25479. this._rawModule.mutations = rawModule.mutations;
  25480. }
  25481. if (rawModule.getters) {
  25482. this._rawModule.getters = rawModule.getters;
  25483. }
  25484. };
  25485. Module.prototype.forEachChild = function forEachChild (fn) {
  25486. forEachValue(this._children, fn);
  25487. };
  25488. Module.prototype.forEachGetter = function forEachGetter (fn) {
  25489. if (this._rawModule.getters) {
  25490. forEachValue(this._rawModule.getters, fn);
  25491. }
  25492. };
  25493. Module.prototype.forEachAction = function forEachAction (fn) {
  25494. if (this._rawModule.actions) {
  25495. forEachValue(this._rawModule.actions, fn);
  25496. }
  25497. };
  25498. Module.prototype.forEachMutation = function forEachMutation (fn) {
  25499. if (this._rawModule.mutations) {
  25500. forEachValue(this._rawModule.mutations, fn);
  25501. }
  25502. };
  25503. Object.defineProperties( Module.prototype, prototypeAccessors );
  25504. var ModuleCollection = function ModuleCollection (rawRootModule) {
  25505. // register root module (Vuex.Store options)
  25506. this.register([], rawRootModule, false);
  25507. };
  25508. ModuleCollection.prototype.get = function get (path) {
  25509. return path.reduce(function (module, key) {
  25510. return module.getChild(key)
  25511. }, this.root)
  25512. };
  25513. ModuleCollection.prototype.getNamespace = function getNamespace (path) {
  25514. var module = this.root;
  25515. return path.reduce(function (namespace, key) {
  25516. module = module.getChild(key);
  25517. return namespace + (module.namespaced ? key + '/' : '')
  25518. }, '')
  25519. };
  25520. ModuleCollection.prototype.update = function update$1 (rawRootModule) {
  25521. update([], this.root, rawRootModule);
  25522. };
  25523. ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
  25524. var this$1 = this;
  25525. if ( runtime === void 0 ) runtime = true;
  25526. if ((true)) {
  25527. assertRawModule(path, rawModule);
  25528. }
  25529. var newModule = new Module(rawModule, runtime);
  25530. if (path.length === 0) {
  25531. this.root = newModule;
  25532. } else {
  25533. var parent = this.get(path.slice(0, -1));
  25534. parent.addChild(path[path.length - 1], newModule);
  25535. }
  25536. // register nested modules
  25537. if (rawModule.modules) {
  25538. forEachValue(rawModule.modules, function (rawChildModule, key) {
  25539. this$1.register(path.concat(key), rawChildModule, runtime);
  25540. });
  25541. }
  25542. };
  25543. ModuleCollection.prototype.unregister = function unregister (path) {
  25544. var parent = this.get(path.slice(0, -1));
  25545. var key = path[path.length - 1];
  25546. var child = parent.getChild(key);
  25547. if (!child) {
  25548. if ((true)) {
  25549. console.warn(
  25550. "[vuex] trying to unregister module '" + key + "', which is " +
  25551. "not registered"
  25552. );
  25553. }
  25554. return
  25555. }
  25556. if (!child.runtime) {
  25557. return
  25558. }
  25559. parent.removeChild(key);
  25560. };
  25561. ModuleCollection.prototype.isRegistered = function isRegistered (path) {
  25562. var parent = this.get(path.slice(0, -1));
  25563. var key = path[path.length - 1];
  25564. if (parent) {
  25565. return parent.hasChild(key)
  25566. }
  25567. return false
  25568. };
  25569. function update (path, targetModule, newModule) {
  25570. if ((true)) {
  25571. assertRawModule(path, newModule);
  25572. }
  25573. // update target module
  25574. targetModule.update(newModule);
  25575. // update nested modules
  25576. if (newModule.modules) {
  25577. for (var key in newModule.modules) {
  25578. if (!targetModule.getChild(key)) {
  25579. if ((true)) {
  25580. console.warn(
  25581. "[vuex] trying to add a new module '" + key + "' on hot reloading, " +
  25582. 'manual reload is needed'
  25583. );
  25584. }
  25585. return
  25586. }
  25587. update(
  25588. path.concat(key),
  25589. targetModule.getChild(key),
  25590. newModule.modules[key]
  25591. );
  25592. }
  25593. }
  25594. }
  25595. var functionAssert = {
  25596. assert: function (value) { return typeof value === 'function'; },
  25597. expected: 'function'
  25598. };
  25599. var objectAssert = {
  25600. assert: function (value) { return typeof value === 'function' ||
  25601. (typeof value === 'object' && typeof value.handler === 'function'); },
  25602. expected: 'function or object with "handler" function'
  25603. };
  25604. var assertTypes = {
  25605. getters: functionAssert,
  25606. mutations: functionAssert,
  25607. actions: objectAssert
  25608. };
  25609. function assertRawModule (path, rawModule) {
  25610. Object.keys(assertTypes).forEach(function (key) {
  25611. if (!rawModule[key]) { return }
  25612. var assertOptions = assertTypes[key];
  25613. forEachValue(rawModule[key], function (value, type) {
  25614. assert(
  25615. assertOptions.assert(value),
  25616. makeAssertionMessage(path, key, type, value, assertOptions.expected)
  25617. );
  25618. });
  25619. });
  25620. }
  25621. function makeAssertionMessage (path, key, type, value, expected) {
  25622. var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
  25623. if (path.length > 0) {
  25624. buf += " in module \"" + (path.join('.')) + "\"";
  25625. }
  25626. buf += " is " + (JSON.stringify(value)) + ".";
  25627. return buf
  25628. }
  25629. var Vue; // bind on install
  25630. var Store = function Store (options) {
  25631. var this$1 = this;
  25632. if ( options === void 0 ) options = {};
  25633. // Auto install if it is not done yet and `window` has `Vue`.
  25634. // To allow users to avoid auto-installation in some cases,
  25635. // this code should be placed here. See #731
  25636. if (!Vue && typeof window !== 'undefined' && window.Vue) {
  25637. install(window.Vue);
  25638. }
  25639. if ((true)) {
  25640. assert(Vue, "must call Vue.use(Vuex) before creating a store instance.");
  25641. assert(typeof Promise !== 'undefined', "vuex requires a Promise polyfill in this browser.");
  25642. assert(this instanceof Store, "store must be called with the new operator.");
  25643. }
  25644. var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
  25645. var strict = options.strict; if ( strict === void 0 ) strict = false;
  25646. // store internal state
  25647. this._committing = false;
  25648. this._actions = Object.create(null);
  25649. this._actionSubscribers = [];
  25650. this._mutations = Object.create(null);
  25651. this._wrappedGetters = Object.create(null);
  25652. this._modules = new ModuleCollection(options);
  25653. this._modulesNamespaceMap = Object.create(null);
  25654. this._subscribers = [];
  25655. this._watcherVM = new Vue();
  25656. this._makeLocalGettersCache = Object.create(null);
  25657. // bind commit and dispatch to self
  25658. var store = this;
  25659. var ref = this;
  25660. var dispatch = ref.dispatch;
  25661. var commit = ref.commit;
  25662. this.dispatch = function boundDispatch (type, payload) {
  25663. return dispatch.call(store, type, payload)
  25664. };
  25665. this.commit = function boundCommit (type, payload, options) {
  25666. return commit.call(store, type, payload, options)
  25667. };
  25668. // strict mode
  25669. this.strict = strict;
  25670. var state = this._modules.root.state;
  25671. // init root module.
  25672. // this also recursively registers all sub-modules
  25673. // and collects all module getters inside this._wrappedGetters
  25674. installModule(this, state, [], this._modules.root);
  25675. // initialize the store vm, which is responsible for the reactivity
  25676. // (also registers _wrappedGetters as computed properties)
  25677. resetStoreVM(this, state);
  25678. // apply plugins
  25679. plugins.forEach(function (plugin) { return plugin(this$1); });
  25680. var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
  25681. if (useDevtools) {
  25682. devtoolPlugin(this);
  25683. }
  25684. };
  25685. var prototypeAccessors$1 = { state: { configurable: true } };
  25686. prototypeAccessors$1.state.get = function () {
  25687. return this._vm._data.$$state
  25688. };
  25689. prototypeAccessors$1.state.set = function (v) {
  25690. if ((true)) {
  25691. assert(false, "use store.replaceState() to explicit replace store state.");
  25692. }
  25693. };
  25694. Store.prototype.commit = function commit (_type, _payload, _options) {
  25695. var this$1 = this;
  25696. // check object-style commit
  25697. var ref = unifyObjectStyle(_type, _payload, _options);
  25698. var type = ref.type;
  25699. var payload = ref.payload;
  25700. var options = ref.options;
  25701. var mutation = { type: type, payload: payload };
  25702. var entry = this._mutations[type];
  25703. if (!entry) {
  25704. if ((true)) {
  25705. console.error(("[vuex] unknown mutation type: " + type));
  25706. }
  25707. return
  25708. }
  25709. this._withCommit(function () {
  25710. entry.forEach(function commitIterator (handler) {
  25711. handler(payload);
  25712. });
  25713. });
  25714. this._subscribers
  25715. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  25716. .forEach(function (sub) { return sub(mutation, this$1.state); });
  25717. if (
  25718. ( true) &&
  25719. options && options.silent
  25720. ) {
  25721. console.warn(
  25722. "[vuex] mutation type: " + type + ". Silent option has been removed. " +
  25723. 'Use the filter functionality in the vue-devtools'
  25724. );
  25725. }
  25726. };
  25727. Store.prototype.dispatch = function dispatch (_type, _payload) {
  25728. var this$1 = this;
  25729. // check object-style dispatch
  25730. var ref = unifyObjectStyle(_type, _payload);
  25731. var type = ref.type;
  25732. var payload = ref.payload;
  25733. var action = { type: type, payload: payload };
  25734. var entry = this._actions[type];
  25735. if (!entry) {
  25736. if ((true)) {
  25737. console.error(("[vuex] unknown action type: " + type));
  25738. }
  25739. return
  25740. }
  25741. try {
  25742. this._actionSubscribers
  25743. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  25744. .filter(function (sub) { return sub.before; })
  25745. .forEach(function (sub) { return sub.before(action, this$1.state); });
  25746. } catch (e) {
  25747. if ((true)) {
  25748. console.warn("[vuex] error in before action subscribers: ");
  25749. console.error(e);
  25750. }
  25751. }
  25752. var result = entry.length > 1
  25753. ? Promise.all(entry.map(function (handler) { return handler(payload); }))
  25754. : entry[0](payload);
  25755. return new Promise(function (resolve, reject) {
  25756. result.then(function (res) {
  25757. try {
  25758. this$1._actionSubscribers
  25759. .filter(function (sub) { return sub.after; })
  25760. .forEach(function (sub) { return sub.after(action, this$1.state); });
  25761. } catch (e) {
  25762. if ((true)) {
  25763. console.warn("[vuex] error in after action subscribers: ");
  25764. console.error(e);
  25765. }
  25766. }
  25767. resolve(res);
  25768. }, function (error) {
  25769. try {
  25770. this$1._actionSubscribers
  25771. .filter(function (sub) { return sub.error; })
  25772. .forEach(function (sub) { return sub.error(action, this$1.state, error); });
  25773. } catch (e) {
  25774. if ((true)) {
  25775. console.warn("[vuex] error in error action subscribers: ");
  25776. console.error(e);
  25777. }
  25778. }
  25779. reject(error);
  25780. });
  25781. })
  25782. };
  25783. Store.prototype.subscribe = function subscribe (fn, options) {
  25784. return genericSubscribe(fn, this._subscribers, options)
  25785. };
  25786. Store.prototype.subscribeAction = function subscribeAction (fn, options) {
  25787. var subs = typeof fn === 'function' ? { before: fn } : fn;
  25788. return genericSubscribe(subs, this._actionSubscribers, options)
  25789. };
  25790. Store.prototype.watch = function watch (getter, cb, options) {
  25791. var this$1 = this;
  25792. if ((true)) {
  25793. assert(typeof getter === 'function', "store.watch only accepts a function.");
  25794. }
  25795. return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
  25796. };
  25797. Store.prototype.replaceState = function replaceState (state) {
  25798. var this$1 = this;
  25799. this._withCommit(function () {
  25800. this$1._vm._data.$$state = state;
  25801. });
  25802. };
  25803. Store.prototype.registerModule = function registerModule (path, rawModule, options) {
  25804. if ( options === void 0 ) options = {};
  25805. if (typeof path === 'string') { path = [path]; }
  25806. if ((true)) {
  25807. assert(Array.isArray(path), "module path must be a string or an Array.");
  25808. assert(path.length > 0, 'cannot register the root module by using registerModule.');
  25809. }
  25810. this._modules.register(path, rawModule);
  25811. installModule(this, this.state, path, this._modules.get(path), options.preserveState);
  25812. // reset store to update getters...
  25813. resetStoreVM(this, this.state);
  25814. };
  25815. Store.prototype.unregisterModule = function unregisterModule (path) {
  25816. var this$1 = this;
  25817. if (typeof path === 'string') { path = [path]; }
  25818. if ((true)) {
  25819. assert(Array.isArray(path), "module path must be a string or an Array.");
  25820. }
  25821. this._modules.unregister(path);
  25822. this._withCommit(function () {
  25823. var parentState = getNestedState(this$1.state, path.slice(0, -1));
  25824. Vue.delete(parentState, path[path.length - 1]);
  25825. });
  25826. resetStore(this);
  25827. };
  25828. Store.prototype.hasModule = function hasModule (path) {
  25829. if (typeof path === 'string') { path = [path]; }
  25830. if ((true)) {
  25831. assert(Array.isArray(path), "module path must be a string or an Array.");
  25832. }
  25833. return this._modules.isRegistered(path)
  25834. };
  25835. Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) {
  25836. this._modules.update(newOptions);
  25837. resetStore(this, true);
  25838. };
  25839. Store.prototype._withCommit = function _withCommit (fn) {
  25840. var committing = this._committing;
  25841. this._committing = true;
  25842. fn();
  25843. this._committing = committing;
  25844. };
  25845. Object.defineProperties( Store.prototype, prototypeAccessors$1 );
  25846. function genericSubscribe (fn, subs, options) {
  25847. if (subs.indexOf(fn) < 0) {
  25848. options && options.prepend
  25849. ? subs.unshift(fn)
  25850. : subs.push(fn);
  25851. }
  25852. return function () {
  25853. var i = subs.indexOf(fn);
  25854. if (i > -1) {
  25855. subs.splice(i, 1);
  25856. }
  25857. }
  25858. }
  25859. function resetStore (store, hot) {
  25860. store._actions = Object.create(null);
  25861. store._mutations = Object.create(null);
  25862. store._wrappedGetters = Object.create(null);
  25863. store._modulesNamespaceMap = Object.create(null);
  25864. var state = store.state;
  25865. // init all modules
  25866. installModule(store, state, [], store._modules.root, true);
  25867. // reset vm
  25868. resetStoreVM(store, state, hot);
  25869. }
  25870. function resetStoreVM (store, state, hot) {
  25871. var oldVm = store._vm;
  25872. // bind store public getters
  25873. store.getters = {};
  25874. // reset local getters cache
  25875. store._makeLocalGettersCache = Object.create(null);
  25876. var wrappedGetters = store._wrappedGetters;
  25877. var computed = {};
  25878. forEachValue(wrappedGetters, function (fn, key) {
  25879. // use computed to leverage its lazy-caching mechanism
  25880. // direct inline function use will lead to closure preserving oldVm.
  25881. // using partial to return function with only arguments preserved in closure environment.
  25882. computed[key] = partial(fn, store);
  25883. Object.defineProperty(store.getters, key, {
  25884. get: function () { return store._vm[key]; },
  25885. enumerable: true // for local getters
  25886. });
  25887. });
  25888. // use a Vue instance to store the state tree
  25889. // suppress warnings just in case the user has added
  25890. // some funky global mixins
  25891. var silent = Vue.config.silent;
  25892. Vue.config.silent = true;
  25893. store._vm = new Vue({
  25894. data: {
  25895. $$state: state
  25896. },
  25897. computed: computed
  25898. });
  25899. Vue.config.silent = silent;
  25900. // enable strict mode for new vm
  25901. if (store.strict) {
  25902. enableStrictMode(store);
  25903. }
  25904. if (oldVm) {
  25905. if (hot) {
  25906. // dispatch changes in all subscribed watchers
  25907. // to force getter re-evaluation for hot reloading.
  25908. store._withCommit(function () {
  25909. oldVm._data.$$state = null;
  25910. });
  25911. }
  25912. Vue.nextTick(function () { return oldVm.$destroy(); });
  25913. }
  25914. }
  25915. function installModule (store, rootState, path, module, hot) {
  25916. var isRoot = !path.length;
  25917. var namespace = store._modules.getNamespace(path);
  25918. // register in namespace map
  25919. if (module.namespaced) {
  25920. if (store._modulesNamespaceMap[namespace] && ("development" !== 'production')) {
  25921. console.error(("[vuex] duplicate namespace " + namespace + " for the namespaced module " + (path.join('/'))));
  25922. }
  25923. store._modulesNamespaceMap[namespace] = module;
  25924. }
  25925. // set state
  25926. if (!isRoot && !hot) {
  25927. var parentState = getNestedState(rootState, path.slice(0, -1));
  25928. var moduleName = path[path.length - 1];
  25929. store._withCommit(function () {
  25930. if ((true)) {
  25931. if (moduleName in parentState) {
  25932. console.warn(
  25933. ("[vuex] state field \"" + moduleName + "\" was overridden by a module with the same name at \"" + (path.join('.')) + "\"")
  25934. );
  25935. }
  25936. }
  25937. Vue.set(parentState, moduleName, module.state);
  25938. });
  25939. }
  25940. var local = module.context = makeLocalContext(store, namespace, path);
  25941. module.forEachMutation(function (mutation, key) {
  25942. var namespacedType = namespace + key;
  25943. registerMutation(store, namespacedType, mutation, local);
  25944. });
  25945. module.forEachAction(function (action, key) {
  25946. var type = action.root ? key : namespace + key;
  25947. var handler = action.handler || action;
  25948. registerAction(store, type, handler, local);
  25949. });
  25950. module.forEachGetter(function (getter, key) {
  25951. var namespacedType = namespace + key;
  25952. registerGetter(store, namespacedType, getter, local);
  25953. });
  25954. module.forEachChild(function (child, key) {
  25955. installModule(store, rootState, path.concat(key), child, hot);
  25956. });
  25957. }
  25958. /**
  25959. * make localized dispatch, commit, getters and state
  25960. * if there is no namespace, just use root ones
  25961. */
  25962. function makeLocalContext (store, namespace, path) {
  25963. var noNamespace = namespace === '';
  25964. var local = {
  25965. dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
  25966. var args = unifyObjectStyle(_type, _payload, _options);
  25967. var payload = args.payload;
  25968. var options = args.options;
  25969. var type = args.type;
  25970. if (!options || !options.root) {
  25971. type = namespace + type;
  25972. if (( true) && !store._actions[type]) {
  25973. console.error(("[vuex] unknown local action type: " + (args.type) + ", global type: " + type));
  25974. return
  25975. }
  25976. }
  25977. return store.dispatch(type, payload)
  25978. },
  25979. commit: noNamespace ? store.commit : function (_type, _payload, _options) {
  25980. var args = unifyObjectStyle(_type, _payload, _options);
  25981. var payload = args.payload;
  25982. var options = args.options;
  25983. var type = args.type;
  25984. if (!options || !options.root) {
  25985. type = namespace + type;
  25986. if (( true) && !store._mutations[type]) {
  25987. console.error(("[vuex] unknown local mutation type: " + (args.type) + ", global type: " + type));
  25988. return
  25989. }
  25990. }
  25991. store.commit(type, payload, options);
  25992. }
  25993. };
  25994. // getters and state object must be gotten lazily
  25995. // because they will be changed by vm update
  25996. Object.defineProperties(local, {
  25997. getters: {
  25998. get: noNamespace
  25999. ? function () { return store.getters; }
  26000. : function () { return makeLocalGetters(store, namespace); }
  26001. },
  26002. state: {
  26003. get: function () { return getNestedState(store.state, path); }
  26004. }
  26005. });
  26006. return local
  26007. }
  26008. function makeLocalGetters (store, namespace) {
  26009. if (!store._makeLocalGettersCache[namespace]) {
  26010. var gettersProxy = {};
  26011. var splitPos = namespace.length;
  26012. Object.keys(store.getters).forEach(function (type) {
  26013. // skip if the target getter is not match this namespace
  26014. if (type.slice(0, splitPos) !== namespace) { return }
  26015. // extract local getter type
  26016. var localType = type.slice(splitPos);
  26017. // Add a port to the getters proxy.
  26018. // Define as getter property because
  26019. // we do not want to evaluate the getters in this time.
  26020. Object.defineProperty(gettersProxy, localType, {
  26021. get: function () { return store.getters[type]; },
  26022. enumerable: true
  26023. });
  26024. });
  26025. store._makeLocalGettersCache[namespace] = gettersProxy;
  26026. }
  26027. return store._makeLocalGettersCache[namespace]
  26028. }
  26029. function registerMutation (store, type, handler, local) {
  26030. var entry = store._mutations[type] || (store._mutations[type] = []);
  26031. entry.push(function wrappedMutationHandler (payload) {
  26032. handler.call(store, local.state, payload);
  26033. });
  26034. }
  26035. function registerAction (store, type, handler, local) {
  26036. var entry = store._actions[type] || (store._actions[type] = []);
  26037. entry.push(function wrappedActionHandler (payload) {
  26038. var res = handler.call(store, {
  26039. dispatch: local.dispatch,
  26040. commit: local.commit,
  26041. getters: local.getters,
  26042. state: local.state,
  26043. rootGetters: store.getters,
  26044. rootState: store.state
  26045. }, payload);
  26046. if (!isPromise(res)) {
  26047. res = Promise.resolve(res);
  26048. }
  26049. if (store._devtoolHook) {
  26050. return res.catch(function (err) {
  26051. store._devtoolHook.emit('vuex:error', err);
  26052. throw err
  26053. })
  26054. } else {
  26055. return res
  26056. }
  26057. });
  26058. }
  26059. function registerGetter (store, type, rawGetter, local) {
  26060. if (store._wrappedGetters[type]) {
  26061. if ((true)) {
  26062. console.error(("[vuex] duplicate getter key: " + type));
  26063. }
  26064. return
  26065. }
  26066. store._wrappedGetters[type] = function wrappedGetter (store) {
  26067. return rawGetter(
  26068. local.state, // local state
  26069. local.getters, // local getters
  26070. store.state, // root state
  26071. store.getters // root getters
  26072. )
  26073. };
  26074. }
  26075. function enableStrictMode (store) {
  26076. store._vm.$watch(function () { return this._data.$$state }, function () {
  26077. if ((true)) {
  26078. assert(store._committing, "do not mutate vuex store state outside mutation handlers.");
  26079. }
  26080. }, { deep: true, sync: true });
  26081. }
  26082. function getNestedState (state, path) {
  26083. return path.reduce(function (state, key) { return state[key]; }, state)
  26084. }
  26085. function unifyObjectStyle (type, payload, options) {
  26086. if (isObject(type) && type.type) {
  26087. options = payload;
  26088. payload = type;
  26089. type = type.type;
  26090. }
  26091. if ((true)) {
  26092. assert(typeof type === 'string', ("expects string as the type, but found " + (typeof type) + "."));
  26093. }
  26094. return { type: type, payload: payload, options: options }
  26095. }
  26096. function install (_Vue) {
  26097. if (Vue && _Vue === Vue) {
  26098. if ((true)) {
  26099. console.error(
  26100. '[vuex] already installed. Vue.use(Vuex) should be called only once.'
  26101. );
  26102. }
  26103. return
  26104. }
  26105. Vue = _Vue;
  26106. applyMixin(Vue);
  26107. }
  26108. /**
  26109. * Reduce the code which written in Vue.js for getting the state.
  26110. * @param {String} [namespace] - Module's namespace
  26111. * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.
  26112. * @param {Object}
  26113. */
  26114. var mapState = normalizeNamespace(function (namespace, states) {
  26115. var res = {};
  26116. if (( true) && !isValidMap(states)) {
  26117. console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');
  26118. }
  26119. normalizeMap(states).forEach(function (ref) {
  26120. var key = ref.key;
  26121. var val = ref.val;
  26122. res[key] = function mappedState () {
  26123. var state = this.$store.state;
  26124. var getters = this.$store.getters;
  26125. if (namespace) {
  26126. var module = getModuleByNamespace(this.$store, 'mapState', namespace);
  26127. if (!module) {
  26128. return
  26129. }
  26130. state = module.context.state;
  26131. getters = module.context.getters;
  26132. }
  26133. return typeof val === 'function'
  26134. ? val.call(this, state, getters)
  26135. : state[val]
  26136. };
  26137. // mark vuex getter for devtools
  26138. res[key].vuex = true;
  26139. });
  26140. return res
  26141. });
  26142. /**
  26143. * Reduce the code which written in Vue.js for committing the mutation
  26144. * @param {String} [namespace] - Module's namespace
  26145. * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  26146. * @return {Object}
  26147. */
  26148. var mapMutations = normalizeNamespace(function (namespace, mutations) {
  26149. var res = {};
  26150. if (( true) && !isValidMap(mutations)) {
  26151. console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');
  26152. }
  26153. normalizeMap(mutations).forEach(function (ref) {
  26154. var key = ref.key;
  26155. var val = ref.val;
  26156. res[key] = function mappedMutation () {
  26157. var args = [], len = arguments.length;
  26158. while ( len-- ) args[ len ] = arguments[ len ];
  26159. // Get the commit method from store
  26160. var commit = this.$store.commit;
  26161. if (namespace) {
  26162. var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
  26163. if (!module) {
  26164. return
  26165. }
  26166. commit = module.context.commit;
  26167. }
  26168. return typeof val === 'function'
  26169. ? val.apply(this, [commit].concat(args))
  26170. : commit.apply(this.$store, [val].concat(args))
  26171. };
  26172. });
  26173. return res
  26174. });
  26175. /**
  26176. * Reduce the code which written in Vue.js for getting the getters
  26177. * @param {String} [namespace] - Module's namespace
  26178. * @param {Object|Array} getters
  26179. * @return {Object}
  26180. */
  26181. var mapGetters = normalizeNamespace(function (namespace, getters) {
  26182. var res = {};
  26183. if (( true) && !isValidMap(getters)) {
  26184. console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');
  26185. }
  26186. normalizeMap(getters).forEach(function (ref) {
  26187. var key = ref.key;
  26188. var val = ref.val;
  26189. // The namespace has been mutated by normalizeNamespace
  26190. val = namespace + val;
  26191. res[key] = function mappedGetter () {
  26192. if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
  26193. return
  26194. }
  26195. if (( true) && !(val in this.$store.getters)) {
  26196. console.error(("[vuex] unknown getter: " + val));
  26197. return
  26198. }
  26199. return this.$store.getters[val]
  26200. };
  26201. // mark vuex getter for devtools
  26202. res[key].vuex = true;
  26203. });
  26204. return res
  26205. });
  26206. /**
  26207. * Reduce the code which written in Vue.js for dispatch the action
  26208. * @param {String} [namespace] - Module's namespace
  26209. * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  26210. * @return {Object}
  26211. */
  26212. var mapActions = normalizeNamespace(function (namespace, actions) {
  26213. var res = {};
  26214. if (( true) && !isValidMap(actions)) {
  26215. console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');
  26216. }
  26217. normalizeMap(actions).forEach(function (ref) {
  26218. var key = ref.key;
  26219. var val = ref.val;
  26220. res[key] = function mappedAction () {
  26221. var args = [], len = arguments.length;
  26222. while ( len-- ) args[ len ] = arguments[ len ];
  26223. // get dispatch function from store
  26224. var dispatch = this.$store.dispatch;
  26225. if (namespace) {
  26226. var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
  26227. if (!module) {
  26228. return
  26229. }
  26230. dispatch = module.context.dispatch;
  26231. }
  26232. return typeof val === 'function'
  26233. ? val.apply(this, [dispatch].concat(args))
  26234. : dispatch.apply(this.$store, [val].concat(args))
  26235. };
  26236. });
  26237. return res
  26238. });
  26239. /**
  26240. * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
  26241. * @param {String} namespace
  26242. * @return {Object}
  26243. */
  26244. var createNamespacedHelpers = function (namespace) { return ({
  26245. mapState: mapState.bind(null, namespace),
  26246. mapGetters: mapGetters.bind(null, namespace),
  26247. mapMutations: mapMutations.bind(null, namespace),
  26248. mapActions: mapActions.bind(null, namespace)
  26249. }); };
  26250. /**
  26251. * Normalize the map
  26252. * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
  26253. * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
  26254. * @param {Array|Object} map
  26255. * @return {Object}
  26256. */
  26257. function normalizeMap (map) {
  26258. if (!isValidMap(map)) {
  26259. return []
  26260. }
  26261. return Array.isArray(map)
  26262. ? map.map(function (key) { return ({ key: key, val: key }); })
  26263. : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
  26264. }
  26265. /**
  26266. * Validate whether given map is valid or not
  26267. * @param {*} map
  26268. * @return {Boolean}
  26269. */
  26270. function isValidMap (map) {
  26271. return Array.isArray(map) || isObject(map)
  26272. }
  26273. /**
  26274. * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.
  26275. * @param {Function} fn
  26276. * @return {Function}
  26277. */
  26278. function normalizeNamespace (fn) {
  26279. return function (namespace, map) {
  26280. if (typeof namespace !== 'string') {
  26281. map = namespace;
  26282. namespace = '';
  26283. } else if (namespace.charAt(namespace.length - 1) !== '/') {
  26284. namespace += '/';
  26285. }
  26286. return fn(namespace, map)
  26287. }
  26288. }
  26289. /**
  26290. * Search a special module from store by namespace. if module not exist, print error message.
  26291. * @param {Object} store
  26292. * @param {String} helper
  26293. * @param {String} namespace
  26294. * @return {Object}
  26295. */
  26296. function getModuleByNamespace (store, helper, namespace) {
  26297. var module = store._modulesNamespaceMap[namespace];
  26298. if (( true) && !module) {
  26299. console.error(("[vuex] module namespace not found in " + helper + "(): " + namespace));
  26300. }
  26301. return module
  26302. }
  26303. // Credits: borrowed code from fcomb/redux-logger
  26304. function createLogger (ref) {
  26305. if ( ref === void 0 ) ref = {};
  26306. var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
  26307. var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
  26308. var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
  26309. var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
  26310. var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
  26311. var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
  26312. var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
  26313. var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
  26314. var logger = ref.logger; if ( logger === void 0 ) logger = console;
  26315. return function (store) {
  26316. var prevState = deepCopy(store.state);
  26317. if (typeof logger === 'undefined') {
  26318. return
  26319. }
  26320. if (logMutations) {
  26321. store.subscribe(function (mutation, state) {
  26322. var nextState = deepCopy(state);
  26323. if (filter(mutation, prevState, nextState)) {
  26324. var formattedTime = getFormattedTime();
  26325. var formattedMutation = mutationTransformer(mutation);
  26326. var message = "mutation " + (mutation.type) + formattedTime;
  26327. startMessage(logger, message, collapsed);
  26328. logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
  26329. logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
  26330. logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
  26331. endMessage(logger);
  26332. }
  26333. prevState = nextState;
  26334. });
  26335. }
  26336. if (logActions) {
  26337. store.subscribeAction(function (action, state) {
  26338. if (actionFilter(action, state)) {
  26339. var formattedTime = getFormattedTime();
  26340. var formattedAction = actionTransformer(action);
  26341. var message = "action " + (action.type) + formattedTime;
  26342. startMessage(logger, message, collapsed);
  26343. logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
  26344. endMessage(logger);
  26345. }
  26346. });
  26347. }
  26348. }
  26349. }
  26350. function startMessage (logger, message, collapsed) {
  26351. var startMessage = collapsed
  26352. ? logger.groupCollapsed
  26353. : logger.group;
  26354. // render
  26355. try {
  26356. startMessage.call(logger, message);
  26357. } catch (e) {
  26358. logger.log(message);
  26359. }
  26360. }
  26361. function endMessage (logger) {
  26362. try {
  26363. logger.groupEnd();
  26364. } catch (e) {
  26365. logger.log('—— log end ——');
  26366. }
  26367. }
  26368. function getFormattedTime () {
  26369. var time = new Date();
  26370. return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
  26371. }
  26372. function repeat (str, times) {
  26373. return (new Array(times + 1)).join(str)
  26374. }
  26375. function pad (num, maxLength) {
  26376. return repeat('0', maxLength - num.toString().length) + num
  26377. }
  26378. var index_cjs = {
  26379. Store: Store,
  26380. install: install,
  26381. version: '3.6.2',
  26382. mapState: mapState,
  26383. mapMutations: mapMutations,
  26384. mapGetters: mapGetters,
  26385. mapActions: mapActions,
  26386. createNamespacedHelpers: createNamespacedHelpers,
  26387. createLogger: createLogger
  26388. };
  26389. module.exports = index_cjs;
  26390. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  26391. /***/ }),
  26392. /***/ 86:
  26393. /*!****************************************************************************!*\
  26394. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/collapse.js ***!
  26395. \****************************************************************************/
  26396. /*! no static exports found */
  26397. /***/ (function(module, exports, __webpack_require__) {
  26398. "use strict";
  26399. Object.defineProperty(exports, "__esModule", {
  26400. value: true
  26401. });
  26402. exports.default = void 0;
  26403. /*
  26404. * @Author : LQ
  26405. * @Description :
  26406. * @version : 1.0
  26407. * @Date : 2021-08-20 16:44:21
  26408. * @LastAuthor : LQ
  26409. * @lastTime : 2021-08-20 16:56:30
  26410. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapse.js
  26411. */
  26412. var _default = {
  26413. // collapse 组件
  26414. collapse: {
  26415. value: null,
  26416. accordion: false,
  26417. border: true
  26418. }
  26419. };
  26420. exports.default = _default;
  26421. /***/ }),
  26422. /***/ 87:
  26423. /*!********************************************************************************!*\
  26424. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/collapseItem.js ***!
  26425. \********************************************************************************/
  26426. /*! no static exports found */
  26427. /***/ (function(module, exports, __webpack_require__) {
  26428. "use strict";
  26429. Object.defineProperty(exports, "__esModule", {
  26430. value: true
  26431. });
  26432. exports.default = void 0;
  26433. /*
  26434. * @Author : LQ
  26435. * @Description :
  26436. * @version : 1.0
  26437. * @Date : 2021-08-20 16:44:21
  26438. * @LastAuthor : LQ
  26439. * @lastTime : 2021-08-20 16:56:42
  26440. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapseItem.js
  26441. */
  26442. var _default = {
  26443. // collapseItem 组件
  26444. collapseItem: {
  26445. title: '',
  26446. value: '',
  26447. label: '',
  26448. disabled: false,
  26449. isLink: true,
  26450. clickable: true,
  26451. border: true,
  26452. align: 'left',
  26453. name: '',
  26454. icon: '',
  26455. duration: 300
  26456. }
  26457. };
  26458. exports.default = _default;
  26459. /***/ }),
  26460. /***/ 88:
  26461. /*!********************************************************************************!*\
  26462. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/columnNotice.js ***!
  26463. \********************************************************************************/
  26464. /*! no static exports found */
  26465. /***/ (function(module, exports, __webpack_require__) {
  26466. "use strict";
  26467. Object.defineProperty(exports, "__esModule", {
  26468. value: true
  26469. });
  26470. exports.default = void 0;
  26471. /*
  26472. * @Author : LQ
  26473. * @Description :
  26474. * @version : 1.0
  26475. * @Date : 2021-08-20 16:44:21
  26476. * @LastAuthor : LQ
  26477. * @lastTime : 2021-08-20 16:57:16
  26478. * @FilePath : /u-view2.0/uview-ui/libs/config/props/columnNotice.js
  26479. */
  26480. var _default = {
  26481. // columnNotice 组件
  26482. columnNotice: {
  26483. text: '',
  26484. icon: 'volume',
  26485. mode: '',
  26486. color: '#f9ae3d',
  26487. bgColor: '#fdf6ec',
  26488. fontSize: 14,
  26489. speed: 80,
  26490. step: false,
  26491. duration: 1500,
  26492. disableTouch: true
  26493. }
  26494. };
  26495. exports.default = _default;
  26496. /***/ }),
  26497. /***/ 89:
  26498. /*!*****************************************************************************!*\
  26499. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/countDown.js ***!
  26500. \*****************************************************************************/
  26501. /*! no static exports found */
  26502. /***/ (function(module, exports, __webpack_require__) {
  26503. "use strict";
  26504. Object.defineProperty(exports, "__esModule", {
  26505. value: true
  26506. });
  26507. exports.default = void 0;
  26508. /*
  26509. * @Author : LQ
  26510. * @Description :
  26511. * @version : 1.0
  26512. * @Date : 2021-08-20 16:44:21
  26513. * @LastAuthor : LQ
  26514. * @lastTime : 2021-08-20 17:11:29
  26515. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countDown.js
  26516. */
  26517. var _default = {
  26518. // u-count-down 计时器组件
  26519. countDown: {
  26520. time: 0,
  26521. format: 'HH:mm:ss',
  26522. autoStart: true,
  26523. millisecond: false
  26524. }
  26525. };
  26526. exports.default = _default;
  26527. /***/ }),
  26528. /***/ 892:
  26529. /*!**************************************************************************!*\
  26530. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-badge/props.js ***!
  26531. \**************************************************************************/
  26532. /*! no static exports found */
  26533. /***/ (function(module, exports, __webpack_require__) {
  26534. "use strict";
  26535. /* WEBPACK VAR INJECTION */(function(uni) {
  26536. Object.defineProperty(exports, "__esModule", {
  26537. value: true
  26538. });
  26539. exports.default = void 0;
  26540. var _default = {
  26541. props: {
  26542. // 是否显示圆点
  26543. isDot: {
  26544. type: Boolean,
  26545. default: uni.$u.props.badge.isDot
  26546. },
  26547. // 显示的内容
  26548. value: {
  26549. type: [Number, String],
  26550. default: uni.$u.props.badge.value
  26551. },
  26552. // 是否显示
  26553. show: {
  26554. type: Boolean,
  26555. default: uni.$u.props.badge.show
  26556. },
  26557. // 最大值,超过最大值会显示 '{max}+'
  26558. max: {
  26559. type: [Number, String],
  26560. default: uni.$u.props.badge.max
  26561. },
  26562. // 主题类型,error|warning|success|primary
  26563. type: {
  26564. type: String,
  26565. default: uni.$u.props.badge.type
  26566. },
  26567. // 当数值为 0 时,是否展示 Badge
  26568. showZero: {
  26569. type: Boolean,
  26570. default: uni.$u.props.badge.showZero
  26571. },
  26572. // 背景颜色,优先级比type高,如设置,type参数会失效
  26573. bgColor: {
  26574. type: [String, null],
  26575. default: uni.$u.props.badge.bgColor
  26576. },
  26577. // 字体颜色
  26578. color: {
  26579. type: [String, null],
  26580. default: uni.$u.props.badge.color
  26581. },
  26582. // 徽标形状,circle-四角均为圆角,horn-左下角为直角
  26583. shape: {
  26584. type: String,
  26585. default: uni.$u.props.badge.shape
  26586. },
  26587. // 设置数字的显示方式,overflow|ellipsis|limit
  26588. // overflow会根据max字段判断,超出显示`${max}+`
  26589. // ellipsis会根据max判断,超出显示`${max}...`
  26590. // limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
  26591. numberType: {
  26592. type: String,
  26593. default: uni.$u.props.badge.numberType
  26594. },
  26595. // 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
  26596. offset: {
  26597. type: Array,
  26598. default: uni.$u.props.badge.offset
  26599. },
  26600. // 是否反转背景和字体颜色
  26601. inverted: {
  26602. type: Boolean,
  26603. default: uni.$u.props.badge.inverted
  26604. },
  26605. // 是否绝对定位
  26606. absolute: {
  26607. type: Boolean,
  26608. default: uni.$u.props.badge.absolute
  26609. }
  26610. }
  26611. };
  26612. exports.default = _default;
  26613. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26614. /***/ }),
  26615. /***/ 9:
  26616. /*!*****************************************************************!*\
  26617. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  26618. \*****************************************************************/
  26619. /*! no static exports found */
  26620. /***/ (function(module, exports) {
  26621. function _arrayLikeToArray(arr, len) {
  26622. if (len == null || len > arr.length) len = arr.length;
  26623. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  26624. arr2[i] = arr[i];
  26625. }
  26626. return arr2;
  26627. }
  26628. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  26629. /***/ }),
  26630. /***/ 90:
  26631. /*!***************************************************************************!*\
  26632. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/countTo.js ***!
  26633. \***************************************************************************/
  26634. /*! no static exports found */
  26635. /***/ (function(module, exports, __webpack_require__) {
  26636. "use strict";
  26637. Object.defineProperty(exports, "__esModule", {
  26638. value: true
  26639. });
  26640. exports.default = void 0;
  26641. /*
  26642. * @Author : LQ
  26643. * @Description :
  26644. * @version : 1.0
  26645. * @Date : 2021-08-20 16:44:21
  26646. * @LastAuthor : LQ
  26647. * @lastTime : 2021-08-20 16:57:32
  26648. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countTo.js
  26649. */
  26650. var _default = {
  26651. // countTo 组件
  26652. countTo: {
  26653. startVal: 0,
  26654. endVal: 0,
  26655. duration: 2000,
  26656. autoplay: true,
  26657. decimals: 0,
  26658. useEasing: true,
  26659. decimal: '.',
  26660. color: '#606266',
  26661. fontSize: 22,
  26662. bold: false,
  26663. separator: ''
  26664. }
  26665. };
  26666. exports.default = _default;
  26667. /***/ }),
  26668. /***/ 900:
  26669. /*!**********************************************************************************!*\
  26670. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-line-progress/props.js ***!
  26671. \**********************************************************************************/
  26672. /*! no static exports found */
  26673. /***/ (function(module, exports, __webpack_require__) {
  26674. "use strict";
  26675. /* WEBPACK VAR INJECTION */(function(uni) {
  26676. Object.defineProperty(exports, "__esModule", {
  26677. value: true
  26678. });
  26679. exports.default = void 0;
  26680. var _default = {
  26681. props: {
  26682. // 激活部分的颜色
  26683. activeColor: {
  26684. type: String,
  26685. default: uni.$u.props.lineProgress.activeColor
  26686. },
  26687. inactiveColor: {
  26688. type: String,
  26689. default: uni.$u.props.lineProgress.color
  26690. },
  26691. // 进度百分比,数值
  26692. percentage: {
  26693. type: [String, Number],
  26694. default: uni.$u.props.lineProgress.inactiveColor
  26695. },
  26696. // 是否在进度条内部显示百分比的值
  26697. showText: {
  26698. type: Boolean,
  26699. default: uni.$u.props.lineProgress.showText
  26700. },
  26701. // 进度条的高度,单位px
  26702. height: {
  26703. type: [String, Number],
  26704. default: uni.$u.props.lineProgress.height
  26705. }
  26706. }
  26707. };
  26708. exports.default = _default;
  26709. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26710. /***/ }),
  26711. /***/ 91:
  26712. /*!**********************************************************************************!*\
  26713. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/datetimePicker.js ***!
  26714. \**********************************************************************************/
  26715. /*! no static exports found */
  26716. /***/ (function(module, exports, __webpack_require__) {
  26717. "use strict";
  26718. Object.defineProperty(exports, "__esModule", {
  26719. value: true
  26720. });
  26721. exports.default = void 0;
  26722. /*
  26723. * @Author : LQ
  26724. * @Description :
  26725. * @version : 1.0
  26726. * @Date : 2021-08-20 16:44:21
  26727. * @LastAuthor : LQ
  26728. * @lastTime : 2021-08-20 16:57:48
  26729. * @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
  26730. */
  26731. var _default = {
  26732. // datetimePicker 组件
  26733. datetimePicker: {
  26734. show: false,
  26735. showToolbar: true,
  26736. value: '',
  26737. title: '',
  26738. mode: 'datetime',
  26739. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  26740. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  26741. minHour: 0,
  26742. maxHour: 23,
  26743. minMinute: 0,
  26744. maxMinute: 59,
  26745. filter: null,
  26746. formatter: null,
  26747. loading: false,
  26748. itemHeight: 44,
  26749. cancelText: '取消',
  26750. confirmText: '确认',
  26751. cancelColor: '#909193',
  26752. confirmColor: '#3c9cff',
  26753. visibleItemCount: 5,
  26754. closeOnClickOverlay: false,
  26755. defaultIndex: function defaultIndex() {
  26756. return [];
  26757. }
  26758. }
  26759. };
  26760. exports.default = _default;
  26761. /***/ }),
  26762. /***/ 915:
  26763. /*!***********************************************************************************!*\
  26764. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-checkbox-group/props.js ***!
  26765. \***********************************************************************************/
  26766. /*! no static exports found */
  26767. /***/ (function(module, exports, __webpack_require__) {
  26768. "use strict";
  26769. /* WEBPACK VAR INJECTION */(function(uni) {
  26770. Object.defineProperty(exports, "__esModule", {
  26771. value: true
  26772. });
  26773. exports.default = void 0;
  26774. var _default = {
  26775. props: {
  26776. // 标识符
  26777. name: {
  26778. type: String,
  26779. default: uni.$u.props.checkboxGroup.name
  26780. },
  26781. // 绑定的值
  26782. value: {
  26783. type: Array,
  26784. default: uni.$u.props.checkboxGroup.value
  26785. },
  26786. // 形状,circle-圆形,square-方形
  26787. shape: {
  26788. type: String,
  26789. default: uni.$u.props.checkboxGroup.shape
  26790. },
  26791. // 是否禁用全部checkbox
  26792. disabled: {
  26793. type: Boolean,
  26794. default: uni.$u.props.checkboxGroup.disabled
  26795. },
  26796. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  26797. activeColor: {
  26798. type: String,
  26799. default: uni.$u.props.checkboxGroup.activeColor
  26800. },
  26801. // 未选中的颜色
  26802. inactiveColor: {
  26803. type: String,
  26804. default: uni.$u.props.checkboxGroup.inactiveColor
  26805. },
  26806. // 整个组件的尺寸,默认px
  26807. size: {
  26808. type: [String, Number],
  26809. default: uni.$u.props.checkboxGroup.size
  26810. },
  26811. // 布局方式,row-横向,column-纵向
  26812. placement: {
  26813. type: String,
  26814. default: uni.$u.props.checkboxGroup.placement
  26815. },
  26816. // label的字体大小,px单位
  26817. labelSize: {
  26818. type: [String, Number],
  26819. default: uni.$u.props.checkboxGroup.labelSize
  26820. },
  26821. // label的字体颜色
  26822. labelColor: {
  26823. type: [String],
  26824. default: uni.$u.props.checkboxGroup.labelColor
  26825. },
  26826. // 是否禁止点击文本操作
  26827. labelDisabled: {
  26828. type: Boolean,
  26829. default: uni.$u.props.checkboxGroup.labelDisabled
  26830. },
  26831. // 图标颜色
  26832. iconColor: {
  26833. type: String,
  26834. default: uni.$u.props.checkboxGroup.iconColor
  26835. },
  26836. // 图标的大小,单位px
  26837. iconSize: {
  26838. type: [String, Number],
  26839. default: uni.$u.props.checkboxGroup.iconSize
  26840. },
  26841. // 勾选图标的对齐方式,left-左边,right-右边
  26842. iconPlacement: {
  26843. type: String,
  26844. default: uni.$u.props.checkboxGroup.iconPlacement
  26845. },
  26846. // 竖向配列时,是否显示下划线
  26847. borderBottom: {
  26848. type: Boolean,
  26849. default: uni.$u.props.checkboxGroup.borderBottom
  26850. }
  26851. }
  26852. };
  26853. exports.default = _default;
  26854. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26855. /***/ }),
  26856. /***/ 92:
  26857. /*!***************************************************************************!*\
  26858. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/divider.js ***!
  26859. \***************************************************************************/
  26860. /*! no static exports found */
  26861. /***/ (function(module, exports, __webpack_require__) {
  26862. "use strict";
  26863. Object.defineProperty(exports, "__esModule", {
  26864. value: true
  26865. });
  26866. exports.default = void 0;
  26867. /*
  26868. * @Author : LQ
  26869. * @Description :
  26870. * @version : 1.0
  26871. * @Date : 2021-08-20 16:44:21
  26872. * @LastAuthor : LQ
  26873. * @lastTime : 2021-08-20 16:58:03
  26874. * @FilePath : /u-view2.0/uview-ui/libs/config/props/divider.js
  26875. */
  26876. var _default = {
  26877. // divider组件
  26878. divider: {
  26879. dashed: false,
  26880. hairline: true,
  26881. dot: false,
  26882. textPosition: 'center',
  26883. text: '',
  26884. textSize: 14,
  26885. textColor: '#909399',
  26886. lineColor: '#dcdfe6'
  26887. }
  26888. };
  26889. exports.default = _default;
  26890. /***/ }),
  26891. /***/ 923:
  26892. /*!*********************************************************************************!*\
  26893. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swipe-action/props.js ***!
  26894. \*********************************************************************************/
  26895. /*! no static exports found */
  26896. /***/ (function(module, exports, __webpack_require__) {
  26897. "use strict";
  26898. /* WEBPACK VAR INJECTION */(function(uni) {
  26899. Object.defineProperty(exports, "__esModule", {
  26900. value: true
  26901. });
  26902. exports.default = void 0;
  26903. var _default = {
  26904. props: {
  26905. // 是否自动关闭其他swipe按钮组
  26906. autoClose: {
  26907. type: Boolean,
  26908. default: uni.$u.props.swipeAction.autoClose
  26909. }
  26910. }
  26911. };
  26912. exports.default = _default;
  26913. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26914. /***/ }),
  26915. /***/ 929:
  26916. /*!******************************************************************!*\
  26917. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/touch.js ***!
  26918. \******************************************************************/
  26919. /*! no static exports found */
  26920. /***/ (function(module, exports, __webpack_require__) {
  26921. "use strict";
  26922. Object.defineProperty(exports, "__esModule", {
  26923. value: true
  26924. });
  26925. exports.default = void 0;
  26926. var MIN_DISTANCE = 10;
  26927. function getDirection(x, y) {
  26928. if (x > y && x > MIN_DISTANCE) {
  26929. return 'horizontal';
  26930. }
  26931. if (y > x && y > MIN_DISTANCE) {
  26932. return 'vertical';
  26933. }
  26934. return '';
  26935. }
  26936. var _default = {
  26937. methods: {
  26938. getTouchPoint: function getTouchPoint(e) {
  26939. if (!e) {
  26940. return {
  26941. x: 0,
  26942. y: 0
  26943. };
  26944. }
  26945. if (e.touches && e.touches[0]) {
  26946. return {
  26947. x: e.touches[0].pageX,
  26948. y: e.touches[0].pageY
  26949. };
  26950. }
  26951. if (e.changedTouches && e.changedTouches[0]) {
  26952. return {
  26953. x: e.changedTouches[0].pageX,
  26954. y: e.changedTouches[0].pageY
  26955. };
  26956. }
  26957. return {
  26958. x: e.clientX || 0,
  26959. y: e.clientY || 0
  26960. };
  26961. },
  26962. resetTouchStatus: function resetTouchStatus() {
  26963. this.direction = '';
  26964. this.deltaX = 0;
  26965. this.deltaY = 0;
  26966. this.offsetX = 0;
  26967. this.offsetY = 0;
  26968. },
  26969. touchStart: function touchStart(event) {
  26970. this.resetTouchStatus();
  26971. var touch = this.getTouchPoint(event);
  26972. this.startX = touch.x;
  26973. this.startY = touch.y;
  26974. },
  26975. touchMove: function touchMove(event) {
  26976. var touch = this.getTouchPoint(event);
  26977. this.deltaX = touch.x - this.startX;
  26978. this.deltaY = touch.y - this.startY;
  26979. this.offsetX = Math.abs(this.deltaX);
  26980. this.offsetY = Math.abs(this.deltaY);
  26981. this.direction = this.direction || getDirection(this.offsetX, this.offsetY);
  26982. }
  26983. }
  26984. };
  26985. exports.default = _default;
  26986. /***/ }),
  26987. /***/ 93:
  26988. /*!*************************************************************************!*\
  26989. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/empty.js ***!
  26990. \*************************************************************************/
  26991. /*! no static exports found */
  26992. /***/ (function(module, exports, __webpack_require__) {
  26993. "use strict";
  26994. Object.defineProperty(exports, "__esModule", {
  26995. value: true
  26996. });
  26997. exports.default = void 0;
  26998. /*
  26999. * @Author : LQ
  27000. * @Description :
  27001. * @version : 1.0
  27002. * @Date : 2021-08-20 16:44:21
  27003. * @LastAuthor : LQ
  27004. * @lastTime : 2021-08-20 17:03:27
  27005. * @FilePath : /u-view2.0/uview-ui/libs/config/props/empty.js
  27006. */
  27007. var _default = {
  27008. // empty组件
  27009. empty: {
  27010. icon: '',
  27011. text: '',
  27012. textColor: '#c0c4cc',
  27013. textSize: 14,
  27014. iconColor: '#c0c4cc',
  27015. iconSize: 90,
  27016. mode: 'data',
  27017. width: 160,
  27018. height: 160,
  27019. show: true,
  27020. marginTop: 0
  27021. }
  27022. };
  27023. exports.default = _default;
  27024. /***/ }),
  27025. /***/ 930:
  27026. /*!**************************************************************************************!*\
  27027. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swipe-action-item/props.js ***!
  27028. \**************************************************************************************/
  27029. /*! no static exports found */
  27030. /***/ (function(module, exports, __webpack_require__) {
  27031. "use strict";
  27032. /* WEBPACK VAR INJECTION */(function(uni) {
  27033. Object.defineProperty(exports, "__esModule", {
  27034. value: true
  27035. });
  27036. exports.default = void 0;
  27037. var _default2 = {
  27038. props: {
  27039. // 控制打开或者关闭
  27040. show: {
  27041. type: Boolean,
  27042. default: uni.$u.props.swipeActionItem.show
  27043. },
  27044. // 标识符,如果是v-for,可用index索引值
  27045. name: {
  27046. type: [String, Number],
  27047. default: uni.$u.props.swipeActionItem.name
  27048. },
  27049. // 是否禁用
  27050. disabled: {
  27051. type: Boolean,
  27052. default: uni.$u.props.swipeActionItem.disabled
  27053. },
  27054. // 是否自动关闭其他swipe按钮组
  27055. autoClose: {
  27056. type: Boolean,
  27057. default: uni.$u.props.swipeActionItem.autoClose
  27058. },
  27059. // 滑动距离阈值,只有大于此值,才被认为是要打开菜单
  27060. threshold: {
  27061. type: Number,
  27062. default: uni.$u.props.swipeActionItem.threshold
  27063. },
  27064. // 右侧按钮内容
  27065. options: {
  27066. type: Array,
  27067. default: function _default() {
  27068. return uni.$u.props.swipeActionItem.rightOptions;
  27069. }
  27070. },
  27071. // 动画过渡时间,单位ms
  27072. duration: {
  27073. type: [String, Number],
  27074. default: uni.$u.props.swipeActionItem.duration
  27075. }
  27076. }
  27077. };
  27078. exports.default = _default2;
  27079. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27080. /***/ }),
  27081. /***/ 931:
  27082. /*!************************************************************************************!*\
  27083. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swipe-action-item/wxs.js ***!
  27084. \************************************************************************************/
  27085. /*! no static exports found */
  27086. /***/ (function(module, exports, __webpack_require__) {
  27087. "use strict";
  27088. Object.defineProperty(exports, "__esModule", {
  27089. value: true
  27090. });
  27091. exports.default = void 0;
  27092. var _default = {
  27093. methods: {
  27094. // 关闭时执行
  27095. closeHandler: function closeHandler() {
  27096. this.status = 'close';
  27097. },
  27098. setState: function setState(status) {
  27099. this.status = status;
  27100. },
  27101. closeOther: function closeOther() {
  27102. // 尝试关闭其他打开的单元格
  27103. this.parent && this.parent.closeOther(this);
  27104. }
  27105. }
  27106. };
  27107. exports.default = _default;
  27108. /***/ }),
  27109. /***/ 94:
  27110. /*!************************************************************************!*\
  27111. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/form.js ***!
  27112. \************************************************************************/
  27113. /*! no static exports found */
  27114. /***/ (function(module, exports, __webpack_require__) {
  27115. "use strict";
  27116. Object.defineProperty(exports, "__esModule", {
  27117. value: true
  27118. });
  27119. exports.default = void 0;
  27120. /*
  27121. * @Author : LQ
  27122. * @Description :
  27123. * @version : 1.0
  27124. * @Date : 2021-08-20 16:44:21
  27125. * @LastAuthor : LQ
  27126. * @lastTime : 2021-08-20 17:03:49
  27127. * @FilePath : /u-view2.0/uview-ui/libs/config/props/form.js
  27128. */
  27129. var _default = {
  27130. // form 组件
  27131. form: {
  27132. model: function model() {
  27133. return {};
  27134. },
  27135. rules: function rules() {
  27136. return {};
  27137. },
  27138. errorType: 'message',
  27139. borderBottom: true,
  27140. labelPosition: 'left',
  27141. labelWidth: 45,
  27142. labelAlign: 'left',
  27143. labelStyle: function labelStyle() {
  27144. return {};
  27145. }
  27146. }
  27147. };
  27148. exports.default = _default;
  27149. /***/ }),
  27150. /***/ 941:
  27151. /*!*****************************************************************************!*\
  27152. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-checkbox/props.js ***!
  27153. \*****************************************************************************/
  27154. /*! no static exports found */
  27155. /***/ (function(module, exports, __webpack_require__) {
  27156. "use strict";
  27157. /* WEBPACK VAR INJECTION */(function(uni) {
  27158. Object.defineProperty(exports, "__esModule", {
  27159. value: true
  27160. });
  27161. exports.default = void 0;
  27162. var _default = {
  27163. props: {
  27164. // checkbox的名称
  27165. name: {
  27166. type: [String, Number, Boolean],
  27167. default: uni.$u.props.checkbox.name
  27168. },
  27169. // 形状,square为方形,circle为圆型
  27170. shape: {
  27171. type: String,
  27172. default: uni.$u.props.checkbox.shape
  27173. },
  27174. // 整体的大小
  27175. size: {
  27176. type: [String, Number],
  27177. default: uni.$u.props.checkbox.size
  27178. },
  27179. // 是否默认选中
  27180. checked: {
  27181. type: Boolean,
  27182. default: uni.$u.props.checkbox.checked
  27183. },
  27184. // 是否禁用
  27185. disabled: {
  27186. type: [String, Boolean],
  27187. default: uni.$u.props.checkbox.disabled
  27188. },
  27189. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  27190. activeColor: {
  27191. type: String,
  27192. default: uni.$u.props.checkbox.activeColor
  27193. },
  27194. // 未选中的颜色
  27195. inactiveColor: {
  27196. type: String,
  27197. default: uni.$u.props.checkbox.inactiveColor
  27198. },
  27199. // 图标的大小,单位px
  27200. iconSize: {
  27201. type: [String, Number],
  27202. default: uni.$u.props.checkbox.iconSize
  27203. },
  27204. // 图标颜色
  27205. iconColor: {
  27206. type: String,
  27207. default: uni.$u.props.checkbox.iconColor
  27208. },
  27209. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  27210. label: {
  27211. type: [String, Number],
  27212. default: uni.$u.props.checkbox.label
  27213. },
  27214. // label的字体大小,px单位
  27215. labelSize: {
  27216. type: [String, Number],
  27217. default: uni.$u.props.checkbox.labelSize
  27218. },
  27219. // label的颜色
  27220. labelColor: {
  27221. type: String,
  27222. default: uni.$u.props.checkbox.labelColor
  27223. },
  27224. // 是否禁止点击提示语选中复选框
  27225. labelDisabled: {
  27226. type: [String, Boolean],
  27227. default: uni.$u.props.checkbox.labelDisabled
  27228. }
  27229. }
  27230. };
  27231. exports.default = _default;
  27232. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27233. /***/ }),
  27234. /***/ 949:
  27235. /*!*******************************************************************************!*\
  27236. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-number-box/props.js ***!
  27237. \*******************************************************************************/
  27238. /*! no static exports found */
  27239. /***/ (function(module, exports, __webpack_require__) {
  27240. "use strict";
  27241. /* WEBPACK VAR INJECTION */(function(uni) {
  27242. Object.defineProperty(exports, "__esModule", {
  27243. value: true
  27244. });
  27245. exports.default = void 0;
  27246. var _default = {
  27247. props: {
  27248. // 步进器标识符,在change回调返回
  27249. name: {
  27250. type: [String, Number],
  27251. default: uni.$u.props.numberBox.name
  27252. },
  27253. // 用于双向绑定的值,初始化时设置设为默认min值(最小值)
  27254. value: {
  27255. type: [String, Number],
  27256. default: uni.$u.props.numberBox.value
  27257. },
  27258. // 最小值
  27259. min: {
  27260. type: [String, Number],
  27261. default: uni.$u.props.numberBox.min
  27262. },
  27263. // 最大值
  27264. max: {
  27265. type: [String, Number],
  27266. default: uni.$u.props.numberBox.max
  27267. },
  27268. // 加减的步长,可为小数
  27269. step: {
  27270. type: [String, Number],
  27271. default: uni.$u.props.numberBox.step
  27272. },
  27273. // 是否只允许输入整数
  27274. integer: {
  27275. type: Boolean,
  27276. default: uni.$u.props.numberBox.integer
  27277. },
  27278. // 是否禁用,包括输入框,加减按钮
  27279. disabled: {
  27280. type: Boolean,
  27281. default: uni.$u.props.numberBox.disabled
  27282. },
  27283. // 是否禁用输入框
  27284. disabledInput: {
  27285. type: Boolean,
  27286. default: uni.$u.props.numberBox.disabledInput
  27287. },
  27288. // 是否开启异步变更,开启后需要手动控制输入值
  27289. asyncChange: {
  27290. type: Boolean,
  27291. default: uni.$u.props.numberBox.asyncChange
  27292. },
  27293. // 输入框宽度,单位为px
  27294. inputWidth: {
  27295. type: [String, Number],
  27296. default: uni.$u.props.numberBox.inputWidth
  27297. },
  27298. // 是否显示减少按钮
  27299. showMinus: {
  27300. type: Boolean,
  27301. default: uni.$u.props.numberBox.showMinus
  27302. },
  27303. // 是否显示增加按钮
  27304. showPlus: {
  27305. type: Boolean,
  27306. default: uni.$u.props.numberBox.showPlus
  27307. },
  27308. // 显示的小数位数
  27309. decimalLength: {
  27310. type: [String, Number, null],
  27311. default: uni.$u.props.numberBox.decimalLength
  27312. },
  27313. // 是否开启长按加减手势
  27314. longPress: {
  27315. type: Boolean,
  27316. default: uni.$u.props.numberBox.longPress
  27317. },
  27318. // 输入框文字和加减按钮图标的颜色
  27319. color: {
  27320. type: String,
  27321. default: uni.$u.props.numberBox.color
  27322. },
  27323. // 按钮大小,宽高等于此值,单位px,输入框高度和此值保持一致
  27324. buttonSize: {
  27325. type: [String, Number],
  27326. default: uni.$u.props.numberBox.buttonSize
  27327. },
  27328. // 输入框和按钮的背景颜色
  27329. bgColor: {
  27330. type: String,
  27331. default: uni.$u.props.numberBox.bgColor
  27332. },
  27333. // 指定光标于键盘的距离,避免键盘遮挡输入框,单位px
  27334. cursorSpacing: {
  27335. type: [String, Number],
  27336. default: uni.$u.props.numberBox.cursorSpacing
  27337. },
  27338. // 是否禁用增加按钮
  27339. disablePlus: {
  27340. type: Boolean,
  27341. default: uni.$u.props.numberBox.disablePlus
  27342. },
  27343. // 是否禁用减少按钮
  27344. disableMinus: {
  27345. type: Boolean,
  27346. default: uni.$u.props.numberBox.disableMinus
  27347. },
  27348. // 加减按钮图标的样式
  27349. iconStyle: {
  27350. type: [Object, String],
  27351. default: uni.$u.props.numberBox.iconStyle
  27352. }
  27353. }
  27354. };
  27355. exports.default = _default;
  27356. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27357. /***/ }),
  27358. /***/ 95:
  27359. /*!****************************************************************************!*\
  27360. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/formItem.js ***!
  27361. \****************************************************************************/
  27362. /*! no static exports found */
  27363. /***/ (function(module, exports, __webpack_require__) {
  27364. "use strict";
  27365. Object.defineProperty(exports, "__esModule", {
  27366. value: true
  27367. });
  27368. exports.default = void 0;
  27369. /*
  27370. * @Author : LQ
  27371. * @Description :
  27372. * @version : 1.0
  27373. * @Date : 2021-08-20 16:44:21
  27374. * @LastAuthor : LQ
  27375. * @lastTime : 2021-08-20 17:04:32
  27376. * @FilePath : /u-view2.0/uview-ui/libs/config/props/formItem.js
  27377. */
  27378. var _default = {
  27379. // formItem 组件
  27380. formItem: {
  27381. label: '',
  27382. prop: '',
  27383. borderBottom: '',
  27384. labelPosition: '',
  27385. labelWidth: '',
  27386. rightIcon: '',
  27387. leftIcon: '',
  27388. required: false,
  27389. leftIconStyle: ''
  27390. }
  27391. };
  27392. exports.default = _default;
  27393. /***/ }),
  27394. /***/ 96:
  27395. /*!***********************************************************************!*\
  27396. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/gap.js ***!
  27397. \***********************************************************************/
  27398. /*! no static exports found */
  27399. /***/ (function(module, exports, __webpack_require__) {
  27400. "use strict";
  27401. Object.defineProperty(exports, "__esModule", {
  27402. value: true
  27403. });
  27404. exports.default = void 0;
  27405. /*
  27406. * @Author : LQ
  27407. * @Description :
  27408. * @version : 1.0
  27409. * @Date : 2021-08-20 16:44:21
  27410. * @LastAuthor : LQ
  27411. * @lastTime : 2021-08-20 17:05:25
  27412. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gap.js
  27413. */
  27414. var _default = {
  27415. // gap组件
  27416. gap: {
  27417. bgColor: 'transparent',
  27418. height: 20,
  27419. marginTop: 0,
  27420. marginBottom: 0,
  27421. customStyle: {}
  27422. }
  27423. };
  27424. exports.default = _default;
  27425. /***/ }),
  27426. /***/ 97:
  27427. /*!************************************************************************!*\
  27428. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/grid.js ***!
  27429. \************************************************************************/
  27430. /*! no static exports found */
  27431. /***/ (function(module, exports, __webpack_require__) {
  27432. "use strict";
  27433. Object.defineProperty(exports, "__esModule", {
  27434. value: true
  27435. });
  27436. exports.default = void 0;
  27437. /*
  27438. * @Author : LQ
  27439. * @Description :
  27440. * @version : 1.0
  27441. * @Date : 2021-08-20 16:44:21
  27442. * @LastAuthor : LQ
  27443. * @lastTime : 2021-08-20 17:05:57
  27444. * @FilePath : /u-view2.0/uview-ui/libs/config/props/grid.js
  27445. */
  27446. var _default = {
  27447. // grid组件
  27448. grid: {
  27449. col: 3,
  27450. border: false,
  27451. align: 'left'
  27452. }
  27453. };
  27454. exports.default = _default;
  27455. /***/ }),
  27456. /***/ 971:
  27457. /*!**************************************************************************!*\
  27458. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-parse/props.js ***!
  27459. \**************************************************************************/
  27460. /*! no static exports found */
  27461. /***/ (function(module, exports, __webpack_require__) {
  27462. "use strict";
  27463. /* WEBPACK VAR INJECTION */(function(uni) {
  27464. Object.defineProperty(exports, "__esModule", {
  27465. value: true
  27466. });
  27467. exports.default = void 0;
  27468. var _default = {
  27469. props: {
  27470. content: String,
  27471. copyLink: {
  27472. type: Boolean,
  27473. default: uni.$u.props.parse.copyLink
  27474. },
  27475. domain: String,
  27476. errorImg: {
  27477. type: String,
  27478. default: uni.$u.props.parse.errorImg
  27479. },
  27480. lazyLoad: {
  27481. type: Boolean,
  27482. default: uni.$u.props.parse.lazyLoad
  27483. },
  27484. loadingImg: {
  27485. type: String,
  27486. default: uni.$u.props.parse.loadingImg
  27487. },
  27488. pauseVideo: {
  27489. type: Boolean,
  27490. default: uni.$u.props.parse.pauseVideo
  27491. },
  27492. previewImg: {
  27493. type: Boolean,
  27494. default: uni.$u.props.parse.previewImg
  27495. },
  27496. scrollTable: Boolean,
  27497. selectable: Boolean,
  27498. setTitle: {
  27499. type: Boolean,
  27500. default: uni.$u.props.parse.setTitle
  27501. },
  27502. showImgMenu: {
  27503. type: Boolean,
  27504. default: uni.$u.props.parse.showImgMenu
  27505. },
  27506. tagStyle: Object,
  27507. useAnchor: null
  27508. }
  27509. };
  27510. exports.default = _default;
  27511. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27512. /***/ }),
  27513. /***/ 972:
  27514. /*!***************************************************************************!*\
  27515. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-parse/parser.js ***!
  27516. \***************************************************************************/
  27517. /*! no static exports found */
  27518. /***/ (function(module, exports, __webpack_require__) {
  27519. "use strict";
  27520. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  27521. /**
  27522. * @fileoverview html 解析器
  27523. */
  27524. // 配置
  27525. var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11);
  27526. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  27527. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  27528. var config = {
  27529. // 信任的标签(保持标签名不变)
  27530. trustTags: makeMap('a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'),
  27531. // 块级标签(转为 div,其他的非信任标签转为 span)
  27532. blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'),
  27533. // 要移除的标签
  27534. ignoreTags: makeMap('area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr'),
  27535. // 自闭合的标签
  27536. voidTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'),
  27537. // html 实体
  27538. entities: {
  27539. lt: '<',
  27540. gt: '>',
  27541. quot: '"',
  27542. apos: "'",
  27543. ensp: "\u2002",
  27544. emsp: "\u2003",
  27545. nbsp: '\xA0',
  27546. semi: ';',
  27547. ndash: '–',
  27548. mdash: '—',
  27549. middot: '·',
  27550. lsquo: '‘',
  27551. rsquo: '’',
  27552. ldquo: '“',
  27553. rdquo: '”',
  27554. bull: '•',
  27555. hellip: '…'
  27556. },
  27557. // 默认的标签样式
  27558. tagStyle: {
  27559. address: 'font-style:italic',
  27560. big: 'display:inline;font-size:1.2em',
  27561. caption: 'display:table-caption;text-align:center',
  27562. center: 'text-align:center',
  27563. cite: 'font-style:italic',
  27564. dd: 'margin-left:40px',
  27565. mark: 'background-color:yellow',
  27566. pre: 'font-family:monospace;white-space:pre',
  27567. s: 'text-decoration:line-through',
  27568. small: 'display:inline;font-size:0.8em',
  27569. u: 'text-decoration:underline'
  27570. }
  27571. };
  27572. var _uni$getSystemInfoSyn = uni.getSystemInfoSync(),
  27573. windowWidth = _uni$getSystemInfoSyn.windowWidth;
  27574. var blankChar = makeMap(' ,\r,\n,\t,\f');
  27575. var idIndex = 0;
  27576. /**
  27577. * @description 创建 map
  27578. * @param {String} str 逗号分隔
  27579. */
  27580. function makeMap(str) {
  27581. var map = Object.create(null);
  27582. var list = str.split(',');
  27583. for (var i = list.length; i--;) {
  27584. map[list[i]] = true;
  27585. }
  27586. return map;
  27587. }
  27588. /**
  27589. * @description 解码 html 实体
  27590. * @param {String} str 要解码的字符串
  27591. * @param {Boolean} amp 要不要解码 &amp;
  27592. * @returns {String} 解码后的字符串
  27593. */
  27594. function decodeEntity(str, amp) {
  27595. var i = str.indexOf('&');
  27596. while (i != -1) {
  27597. var j = str.indexOf(';', i + 3);
  27598. var code = void 0;
  27599. if (j == -1) break;
  27600. if (str[i + 1] == '#') {
  27601. // &#123; 形式的实体
  27602. code = parseInt((str[i + 2] == 'x' ? '0' : '') + str.substring(i + 2, j));
  27603. if (!isNaN(code)) str = str.substr(0, i) + String.fromCharCode(code) + str.substr(j + 1);
  27604. } else {
  27605. // &nbsp; 形式的实体
  27606. code = str.substring(i + 1, j);
  27607. if (config.entities[code] || code == 'amp' && amp) str = str.substr(0, i) + (config.entities[code] || '&') + str.substr(j + 1);
  27608. }
  27609. i = str.indexOf('&', i + 1);
  27610. }
  27611. return str;
  27612. }
  27613. /**
  27614. * @description html 解析器
  27615. * @param {Object} vm 组件实例
  27616. */
  27617. function parser(vm) {
  27618. this.options = vm || {};
  27619. this.tagStyle = Object.assign(config.tagStyle, this.options.tagStyle);
  27620. this.imgList = vm.imgList || [];
  27621. this.plugins = vm.plugins || [];
  27622. this.attrs = Object.create(null);
  27623. this.stack = [];
  27624. this.nodes = [];
  27625. }
  27626. /**
  27627. * @description 执行解析
  27628. * @param {String} content 要解析的文本
  27629. */
  27630. parser.prototype.parse = function (content) {
  27631. // 插件处理
  27632. for (var i = this.plugins.length; i--;) {
  27633. if (this.plugins[i].onUpdate) content = this.plugins[i].onUpdate(content, config) || content;
  27634. }
  27635. new lexer(this).parse(content); // 出栈未闭合的标签
  27636. while (this.stack.length) {
  27637. this.popNode();
  27638. }
  27639. return this.nodes;
  27640. };
  27641. /**
  27642. * @description 将标签暴露出来(不被 rich-text 包含)
  27643. */
  27644. parser.prototype.expose = function () {
  27645. for (var i = this.stack.length; i--;) {
  27646. var item = this.stack[i];
  27647. if (item.name == 'a' || item.c) return;
  27648. item.c = 1;
  27649. }
  27650. };
  27651. /**
  27652. * @description 处理插件
  27653. * @param {Object} node 要处理的标签
  27654. * @returns {Boolean} 是否要移除此标签
  27655. */
  27656. parser.prototype.hook = function (node) {
  27657. for (var i = this.plugins.length; i--;) {
  27658. if (this.plugins[i].onParse && this.plugins[i].onParse(node, this) == false) return false;
  27659. }
  27660. return true;
  27661. };
  27662. /**
  27663. * @description 将链接拼接上主域名
  27664. * @param {String} url 需要拼接的链接
  27665. * @returns {String} 拼接后的链接
  27666. */
  27667. parser.prototype.getUrl = function (url) {
  27668. var domain = this.options.domain;
  27669. if (url[0] == '/') {
  27670. // // 开头的补充协议名
  27671. if (url[1] == '/') url = "".concat(domain ? domain.split('://')[0] : 'http', ":").concat(url); // 否则补充整个域名
  27672. else if (domain) url = domain + url;
  27673. } else if (domain && !url.includes('data:') && !url.includes('://')) url = "".concat(domain, "/").concat(url);
  27674. return url;
  27675. };
  27676. /**
  27677. * @description 解析样式表
  27678. * @param {Object} node 标签
  27679. * @returns {Object}
  27680. */
  27681. parser.prototype.parseStyle = function (node) {
  27682. var attrs = node.attrs;
  27683. var list = (this.tagStyle[node.name] || '').split(';').concat((attrs.style || '').split(';'));
  27684. var styleObj = {};
  27685. var tmp = '';
  27686. if (attrs.id) {
  27687. // 暴露锚点
  27688. if (this.options.useAnchor) this.expose();else if (node.name != 'img' && node.name != 'a' && node.name != 'video' && node.name != 'audio') attrs.id = void 0;
  27689. } // 转换 width 和 height 属性
  27690. if (attrs.width) {
  27691. styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px');
  27692. attrs.width = void 0;
  27693. }
  27694. if (attrs.height) {
  27695. styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px');
  27696. attrs.height = void 0;
  27697. }
  27698. for (var i = 0, len = list.length; i < len; i++) {
  27699. var info = list[i].split(':');
  27700. if (info.length < 2) continue;
  27701. var key = info.shift().trim().toLowerCase();
  27702. var value = info.join(':').trim(); // 兼容性的 css 不压缩
  27703. if (value[0] == '-' && value.lastIndexOf('-') > 0 || value.includes('safe')) tmp += ';'.concat(key, ':').concat(value); // 重复的样式进行覆盖
  27704. else if (!styleObj[key] || value.includes('import') || !styleObj[key].includes('import')) {
  27705. // 填充链接
  27706. if (value.includes('url')) {
  27707. var j = value.indexOf('(') + 1;
  27708. if (j) {
  27709. while (value[j] == '"' || value[j] == "'" || blankChar[value[j]]) {
  27710. j++;
  27711. }
  27712. value = value.substr(0, j) + this.getUrl(value.substr(j));
  27713. }
  27714. } // 转换 rpx(rich-text 内部不支持 rpx)
  27715. else if (value.includes('rpx')) {
  27716. value = value.replace(/[0-9.]+\s*rpx/g, function ($) {
  27717. return "".concat(parseFloat($) * windowWidth / 750, "px");
  27718. });
  27719. }
  27720. styleObj[key] = value;
  27721. }
  27722. }
  27723. node.attrs.style = tmp;
  27724. return styleObj;
  27725. };
  27726. /**
  27727. * @description 解析到标签名
  27728. * @param {String} name 标签名
  27729. * @private
  27730. */
  27731. parser.prototype.onTagName = function (name) {
  27732. this.tagName = this.xml ? name : name.toLowerCase();
  27733. if (this.tagName == 'svg') this.xml = true; // svg 标签内大小写敏感
  27734. };
  27735. /**
  27736. * @description 解析到属性名
  27737. * @param {String} name 属性名
  27738. * @private
  27739. */
  27740. parser.prototype.onAttrName = function (name) {
  27741. name = this.xml ? name : name.toLowerCase();
  27742. if (name.substr(0, 5) == 'data-') {
  27743. // data-src 自动转为 src
  27744. if (name == 'data-src' && !this.attrs.src) this.attrName = 'src'; // a 和 img 标签保留 data- 的属性,可以在 imgtap 和 linktap 事件中使用
  27745. else if (this.tagName == 'img' || this.tagName == 'a') this.attrName = name; // 剩余的移除以减小大小
  27746. else this.attrName = void 0;
  27747. } else {
  27748. this.attrName = name;
  27749. this.attrs[name] = 'T'; // boolean 型属性缺省设置
  27750. }
  27751. };
  27752. /**
  27753. * @description 解析到属性值
  27754. * @param {String} val 属性值
  27755. * @private
  27756. */
  27757. parser.prototype.onAttrVal = function (val) {
  27758. var name = this.attrName || ''; // 部分属性进行实体解码
  27759. if (name == 'style' || name == 'href') this.attrs[name] = decodeEntity(val, true); // 拼接主域名
  27760. else if (name.includes('src')) this.attrs[name] = this.getUrl(decodeEntity(val, true));else if (name) this.attrs[name] = val;
  27761. };
  27762. /**
  27763. * @description 解析到标签开始
  27764. * @param {Boolean} selfClose 是否有自闭合标识 />
  27765. * @private
  27766. */
  27767. parser.prototype.onOpenTag = function (selfClose) {
  27768. // 拼装 node
  27769. var node = Object.create(null);
  27770. node.name = this.tagName;
  27771. node.attrs = this.attrs;
  27772. this.attrs = Object.create(null);
  27773. var attrs = node.attrs;
  27774. var parent = this.stack[this.stack.length - 1];
  27775. var siblings = parent ? parent.children : this.nodes;
  27776. var close = this.xml ? selfClose : config.voidTags[node.name]; // 转换 embed 标签
  27777. if (node.name == 'embed') {
  27778. var src = attrs.src || ''; // 按照后缀名和 type 将 embed 转为 video 或 audio
  27779. if (src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8') || (attrs.type || '').includes('video')) node.name = 'video';else if (src.includes('.mp3') || src.includes('.wav') || src.includes('.aac') || src.includes('.m4a') || (attrs.type || '').includes('audio')) node.name = 'audio';
  27780. if (attrs.autostart) attrs.autoplay = 'T';
  27781. attrs.controls = 'T';
  27782. }
  27783. // 处理音视频
  27784. if (node.name == 'video' || node.name == 'audio') {
  27785. // 设置 id 以便获取 context
  27786. if (node.name == 'video' && !attrs.id) attrs.id = "v".concat(idIndex++); // 没有设置 controls 也没有设置 autoplay 的自动设置 controls
  27787. if (!attrs.controls && !attrs.autoplay) attrs.controls = 'T'; // 用数组存储所有可用的 source
  27788. node.src = [];
  27789. if (attrs.src) {
  27790. node.src.push(attrs.src);
  27791. attrs.src = void 0;
  27792. }
  27793. this.expose();
  27794. }
  27795. // 处理自闭合标签
  27796. if (close) {
  27797. if (!this.hook(node) || config.ignoreTags[node.name]) {
  27798. // 通过 base 标签设置主域名
  27799. if (node.name == 'base' && !this.options.domain) this.options.domain = attrs.href;
  27800. // 设置 source 标签(仅父节点为 video 或 audio 时有效)
  27801. else if (node.name == 'source' && parent && (parent.name == 'video' || parent.name == 'audio') && attrs.src) parent.src.push(attrs.src);
  27802. return;
  27803. } // 解析 style
  27804. var styleObj = this.parseStyle(node); // 处理图片
  27805. if (node.name == 'img') {
  27806. if (attrs.src) {
  27807. // 标记 webp
  27808. if (attrs.src.includes('webp')) node.webp = 'T'; // data url 图片如果没有设置 original-src 默认为不可预览的小图片
  27809. if (attrs.src.includes('data:') && !attrs['original-src']) attrs.ignore = 'T';
  27810. if (!attrs.ignore || node.webp || attrs.src.includes('cloud://')) {
  27811. for (var i = this.stack.length; i--;) {
  27812. var item = this.stack[i];
  27813. if (item.name == 'a') {
  27814. node.a = item.attrs;
  27815. break;
  27816. }
  27817. var style = item.attrs.style || '';
  27818. if (style.includes('flex:') && !style.includes('flex:0') && !style.includes('flex: 0') && (!styleObj.width || !styleObj.width.includes('%'))) {
  27819. styleObj.width = '100% !important';
  27820. styleObj.height = '';
  27821. for (var j = i + 1; j < this.stack.length; j++) {
  27822. this.stack[j].attrs.style = (this.stack[j].attrs.style || '').replace('inline-', '');
  27823. }
  27824. } else if (style.includes('flex') && styleObj.width == '100%') {
  27825. for (var _j = i + 1; _j < this.stack.length; _j++) {
  27826. var _style = this.stack[_j].attrs.style || '';
  27827. if (!_style.includes(';width') && !_style.includes(' width') && _style.indexOf('width') != 0) {
  27828. styleObj.width = '';
  27829. break;
  27830. }
  27831. }
  27832. } else if (style.includes('inline-block')) {
  27833. if (styleObj.width && styleObj.width[styleObj.width.length - 1] == '%') {
  27834. item.attrs.style += ";max-width:".concat(styleObj.width);
  27835. styleObj.width = '';
  27836. } else item.attrs.style += ';max-width:100%';
  27837. }
  27838. item.c = 1;
  27839. }
  27840. attrs.i = this.imgList.length.toString();
  27841. var _src = attrs['original-src'] || attrs.src;
  27842. if (this.imgList.includes(_src)) {
  27843. // 如果有重复的链接则对域名进行随机大小写变换避免预览时错位
  27844. var _i = _src.indexOf('://');
  27845. if (_i != -1) {
  27846. _i += 3;
  27847. var newSrc = _src.substr(0, _i);
  27848. for (; _i < _src.length; _i++) {
  27849. if (_src[_i] == '/') break;
  27850. newSrc += Math.random() > 0.5 ? _src[_i].toUpperCase() : _src[_i];
  27851. }
  27852. newSrc += _src.substr(_i);
  27853. _src = newSrc;
  27854. }
  27855. }
  27856. this.imgList.push(_src);
  27857. }
  27858. }
  27859. if (styleObj.display == 'inline') styleObj.display = '';
  27860. if (attrs.ignore) {
  27861. styleObj['max-width'] = styleObj['max-width'] || '100%';
  27862. attrs.style += ';-webkit-touch-callout:none';
  27863. }
  27864. // 设置的宽度超出屏幕,为避免变形,高度转为自动
  27865. if (parseInt(styleObj.width) > windowWidth) styleObj.height = void 0; // 记录是否设置了宽高
  27866. if (styleObj.width) {
  27867. if (styleObj.width.includes('auto')) styleObj.width = '';else {
  27868. node.w = 'T';
  27869. if (styleObj.height && !styleObj.height.includes('auto')) node.h = 'T';
  27870. }
  27871. }
  27872. } else if (node.name == 'svg') {
  27873. siblings.push(node);
  27874. this.stack.push(node);
  27875. this.popNode();
  27876. return;
  27877. }
  27878. for (var key in styleObj) {
  27879. if (styleObj[key]) attrs.style += ';'.concat(key, ':').concat(styleObj[key].replace(' !important', ''));
  27880. }
  27881. attrs.style = attrs.style.substr(1) || void 0;
  27882. } else {
  27883. if (node.name == 'pre' || (attrs.style || '').includes('white-space') && attrs.style.includes('pre')) this.pre = node.pre = true;
  27884. node.children = [];
  27885. this.stack.push(node);
  27886. } // 加入节点树
  27887. siblings.push(node);
  27888. };
  27889. /**
  27890. * @description 解析到标签结束
  27891. * @param {String} name 标签名
  27892. * @private
  27893. */
  27894. parser.prototype.onCloseTag = function (name) {
  27895. // 依次出栈到匹配为止
  27896. name = this.xml ? name : name.toLowerCase();
  27897. var i;
  27898. for (i = this.stack.length; i--;) {
  27899. if (this.stack[i].name == name) break;
  27900. }
  27901. if (i != -1) {
  27902. while (this.stack.length > i) {
  27903. this.popNode();
  27904. }
  27905. } else if (name == 'p' || name == 'br') {
  27906. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  27907. siblings.push({
  27908. name: name,
  27909. attrs: {}
  27910. });
  27911. }
  27912. };
  27913. /**
  27914. * @description 处理标签出栈
  27915. * @private
  27916. */
  27917. parser.prototype.popNode = function () {
  27918. var node = this.stack.pop();
  27919. var attrs = node.attrs;
  27920. var children = node.children;
  27921. var parent = this.stack[this.stack.length - 1];
  27922. var siblings = parent ? parent.children : this.nodes;
  27923. if (!this.hook(node) || config.ignoreTags[node.name]) {
  27924. // 获取标题
  27925. if (node.name == 'title' && children.length && children[0].type == 'text' && this.options.setTitle) {
  27926. uni.setNavigationBarTitle({
  27927. title: children[0].text
  27928. });
  27929. }
  27930. siblings.pop();
  27931. return;
  27932. }
  27933. if (node.pre) {
  27934. // 是否合并空白符标识
  27935. node.pre = this.pre = void 0;
  27936. for (var i = this.stack.length; i--;) {
  27937. if (this.stack[i].pre) this.pre = true;
  27938. }
  27939. }
  27940. var styleObj = {}; // 转换 svg
  27941. if (node.name == 'svg') {
  27942. var src = '';
  27943. var _attrs = attrs,
  27944. style = _attrs.style;
  27945. attrs.style = '';
  27946. attrs.xmlns = 'http://www.w3.org/2000/svg';
  27947. (function traversal(node) {
  27948. src += "<".concat(node.name);
  27949. for (var item in node.attrs) {
  27950. var val = node.attrs[item];
  27951. if (val) {
  27952. if (item == 'viewbox') item = 'viewBox';
  27953. src += ' '.concat(item, '="').concat(val, '"');
  27954. }
  27955. }
  27956. if (!node.children) src += '/>';else {
  27957. src += '>';
  27958. for (var _i2 = 0; _i2 < node.children.length; _i2++) {
  27959. traversal(node.children[_i2]);
  27960. }
  27961. src += "</".concat(node.name, ">");
  27962. }
  27963. })(node);
  27964. node.name = 'img';
  27965. node.attrs = {
  27966. src: "data:image/svg+xml;utf8,".concat(src.replace(/#/g, '%23')),
  27967. style: style,
  27968. ignore: 'T'
  27969. };
  27970. node.children = void 0;
  27971. this.xml = false;
  27972. return;
  27973. }
  27974. // 转换 align 属性
  27975. if (attrs.align) {
  27976. if (node.name == 'table') {
  27977. if (attrs.align == 'center') styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';else styleObj.float = attrs.align;
  27978. } else styleObj['text-align'] = attrs.align;
  27979. attrs.align = void 0;
  27980. } // 转换 font 标签的属性
  27981. if (node.name == 'font') {
  27982. if (attrs.color) {
  27983. styleObj.color = attrs.color;
  27984. attrs.color = void 0;
  27985. }
  27986. if (attrs.face) {
  27987. styleObj['font-family'] = attrs.face;
  27988. attrs.face = void 0;
  27989. }
  27990. if (attrs.size) {
  27991. var size = parseInt(attrs.size);
  27992. if (!isNaN(size)) {
  27993. if (size < 1) size = 1;else if (size > 7) size = 7;
  27994. styleObj['font-size'] = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'][size - 1];
  27995. }
  27996. attrs.size = void 0;
  27997. }
  27998. }
  27999. // 一些编辑器的自带 class
  28000. if ((attrs.class || '').includes('align-center')) styleObj['text-align'] = 'center';
  28001. Object.assign(styleObj, this.parseStyle(node));
  28002. if (parseInt(styleObj.width) > windowWidth) {
  28003. styleObj['max-width'] = '100%';
  28004. styleObj['box-sizing'] = 'border-box';
  28005. }
  28006. if (config.blockTags[node.name]) node.name = 'div'; // 未知标签转为 span,避免无法显示
  28007. else if (!config.trustTags[node.name] && !this.xml) node.name = 'span';
  28008. if (node.name == 'a' || node.name == 'ad') this.expose();
  28009. // 列表处理
  28010. else if ((node.name == 'ul' || node.name == 'ol') && node.c) {
  28011. var types = {
  28012. a: 'lower-alpha',
  28013. A: 'upper-alpha',
  28014. i: 'lower-roman',
  28015. I: 'upper-roman'
  28016. };
  28017. if (types[attrs.type]) {
  28018. attrs.style += ";list-style-type:".concat(types[attrs.type]);
  28019. attrs.type = void 0;
  28020. }
  28021. for (var _i4 = children.length; _i4--;) {
  28022. if (children[_i4].name == 'li') children[_i4].c = 1;
  28023. }
  28024. } // 表格处理
  28025. else if (node.name == 'table') {
  28026. // cellpadding、cellspacing、border 这几个常用表格属性需要通过转换实现
  28027. var padding = parseFloat(attrs.cellpadding);
  28028. var spacing = parseFloat(attrs.cellspacing);
  28029. var border = parseFloat(attrs.border);
  28030. if (node.c) {
  28031. // padding 和 spacing 默认 2
  28032. if (isNaN(padding)) padding = 2;
  28033. if (isNaN(spacing)) spacing = 2;
  28034. }
  28035. if (border) attrs.style += ";border:".concat(border, "px solid gray");
  28036. if (node.flag && node.c) {
  28037. // 有 colspan 或 rowspan 且含有链接的表格通过 grid 布局实现
  28038. styleObj.display = 'grid';
  28039. if (spacing) {
  28040. styleObj['grid-gap'] = "".concat(spacing, "px");
  28041. styleObj.padding = "".concat(spacing, "px");
  28042. } // 无间隔的情况下避免边框重叠
  28043. else if (border) attrs.style += ';border-left:0;border-top:0';
  28044. var width = [];
  28045. // 表格的列宽
  28046. var trList = [];
  28047. // tr 列表
  28048. var cells = [];
  28049. // 保存新的单元格
  28050. var map = {}; // 被合并单元格占用的格子
  28051. (function traversal(nodes) {
  28052. for (var _i5 = 0; _i5 < nodes.length; _i5++) {
  28053. if (nodes[_i5].name == 'tr') trList.push(nodes[_i5]);else traversal(nodes[_i5].children || []);
  28054. }
  28055. })(children);
  28056. for (var row = 1; row <= trList.length; row++) {
  28057. var col = 1;
  28058. for (var j = 0; j < trList[row - 1].children.length; j++, col++) {
  28059. var td = trList[row - 1].children[j];
  28060. if (td.name == 'td' || td.name == 'th') {
  28061. // 这个格子被上面的单元格占用,则列号++
  28062. while (map["".concat(row, ".").concat(col)]) {
  28063. col++;
  28064. }
  28065. var _style2 = td.attrs.style || '';
  28066. var start = _style2.indexOf('width') ? _style2.indexOf(';width') : 0; // 提取出 td 的宽度
  28067. if (start != -1) {
  28068. var end = _style2.indexOf(';', start + 6);
  28069. if (end == -1) end = _style2.length;
  28070. if (!td.attrs.colspan) width[col] = _style2.substring(start ? start + 7 : 6, end);
  28071. _style2 = _style2.substr(0, start) + _style2.substr(end);
  28072. }
  28073. _style2 += (border ? ';border:'.concat(border, 'px solid gray') + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ';padding:'.concat(padding, 'px') : ''); // 处理列合并
  28074. if (td.attrs.colspan) {
  28075. _style2 += ';grid-column-start:'.concat(col, ';grid-column-end:').concat(col + parseInt(td.attrs.colspan));
  28076. if (!td.attrs.rowspan) _style2 += ';grid-row-start:'.concat(row, ';grid-row-end:').concat(row + 1);
  28077. col += parseInt(td.attrs.colspan) - 1;
  28078. } // 处理行合并
  28079. if (td.attrs.rowspan) {
  28080. _style2 += ';grid-row-start:'.concat(row, ';grid-row-end:').concat(row + parseInt(td.attrs.rowspan));
  28081. if (!td.attrs.colspan) _style2 += ';grid-column-start:'.concat(col, ';grid-column-end:').concat(col + 1); // 记录下方单元格被占用
  28082. for (var k = 1; k < td.attrs.rowspan; k++) {
  28083. map["".concat(row + k, ".").concat(col)] = 1;
  28084. }
  28085. }
  28086. if (_style2) td.attrs.style = _style2;
  28087. cells.push(td);
  28088. }
  28089. }
  28090. if (row == 1) {
  28091. var temp = '';
  28092. for (var _i6 = 1; _i6 < col; _i6++) {
  28093. temp += "".concat(width[_i6] ? width[_i6] : 'auto', " ");
  28094. }
  28095. styleObj['grid-template-columns'] = temp;
  28096. }
  28097. }
  28098. node.children = cells;
  28099. } else {
  28100. // 没有使用合并单元格的表格通过 table 布局实现
  28101. if (node.c) styleObj.display = 'table';
  28102. if (!isNaN(spacing)) styleObj['border-spacing'] = "".concat(spacing, "px");
  28103. if (border || padding) {
  28104. // 遍历
  28105. (function traversal(nodes) {
  28106. for (var _i7 = 0; _i7 < nodes.length; _i7++) {
  28107. var _td = nodes[_i7];
  28108. if (_td.name == 'th' || _td.name == 'td') {
  28109. if (border) _td.attrs.style = 'border:'.concat(border, 'px solid gray;').concat(_td.attrs.style || '');
  28110. if (padding) _td.attrs.style = 'padding:'.concat(padding, 'px;').concat(_td.attrs.style || '');
  28111. } else if (_td.children) traversal(_td.children);
  28112. }
  28113. })(children);
  28114. }
  28115. } // 给表格添加一个单独的横向滚动层
  28116. if (this.options.scrollTable && !(attrs.style || '').includes('inline')) {
  28117. var table = _objectSpread({}, node);
  28118. node.name = 'div';
  28119. node.attrs = {
  28120. style: 'overflow:auto'
  28121. };
  28122. node.children = [table];
  28123. attrs = table.attrs;
  28124. }
  28125. } else if ((node.name == 'td' || node.name == 'th') && (attrs.colspan || attrs.rowspan)) {
  28126. for (var _i8 = this.stack.length; _i8--;) {
  28127. if (this.stack[_i8].name == 'table') {
  28128. this.stack[_i8].flag = 1; // 指示含有合并单元格
  28129. break;
  28130. }
  28131. }
  28132. } // 转换 ruby
  28133. else if (node.name == 'ruby') {
  28134. node.name = 'span';
  28135. for (var _i9 = 0; _i9 < children.length - 1; _i9++) {
  28136. if (children[_i9].type == 'text' && children[_i9 + 1].name == 'rt') {
  28137. children[_i9] = {
  28138. name: 'div',
  28139. attrs: {
  28140. style: 'display:inline-block'
  28141. },
  28142. children: [{
  28143. name: 'div',
  28144. attrs: {
  28145. style: 'font-size:50%;text-align:start'
  28146. },
  28147. children: children[_i9 + 1].children
  28148. }, children[_i9]]
  28149. };
  28150. children.splice(_i9 + 1, 1);
  28151. }
  28152. }
  28153. } else if (node.c) {
  28154. node.c = 2;
  28155. for (var _i10 = node.children.length; _i10--;) {
  28156. if (!node.children[_i10].c || node.children[_i10].name == 'table') node.c = 1;
  28157. }
  28158. }
  28159. if ((styleObj.display || '').includes('flex') && !node.c) {
  28160. for (var _i11 = children.length; _i11--;) {
  28161. var _item = children[_i11];
  28162. if (_item.f) {
  28163. _item.attrs.style = (_item.attrs.style || '') + _item.f;
  28164. _item.f = void 0;
  28165. }
  28166. }
  28167. } // flex 布局时部分样式需要提取到 rich-text 外层
  28168. var flex = parent && (parent.attrs.style || '').includes('flex')
  28169. // 检查基础库版本 virtualHost 是否可用
  28170. && !(node.c && wx.getNFCAdapter);
  28171. if (flex) node.f = ';max-width:100%';
  28172. for (var key in styleObj) {
  28173. if (styleObj[key]) {
  28174. var val = ';'.concat(key, ':').concat(styleObj[key].replace(' !important', ''));
  28175. if (flex && (key.includes('flex') && key != 'flex-direction' || key == 'align-self' || styleObj[key][0] == '-' || key == 'width' && val.includes('%'))) {
  28176. node.f += val;
  28177. if (key == 'width') attrs.style += ';width:100%';
  28178. } else {
  28179. attrs.style += val;
  28180. }
  28181. }
  28182. }
  28183. attrs.style = attrs.style.substr(1) || void 0;
  28184. };
  28185. /**
  28186. * @description 解析到文本
  28187. * @param {String} text 文本内容
  28188. */
  28189. parser.prototype.onText = function (text) {
  28190. if (!this.pre) {
  28191. // 合并空白符
  28192. var trim = '';
  28193. var flag;
  28194. for (var i = 0, len = text.length; i < len; i++) {
  28195. if (!blankChar[text[i]]) trim += text[i];else {
  28196. if (trim[trim.length - 1] != ' ') trim += ' ';
  28197. if (text[i] == '\n' && !flag) flag = true;
  28198. }
  28199. } // 去除含有换行符的空串
  28200. if (trim == ' ' && flag) return;
  28201. text = trim;
  28202. }
  28203. var node = Object.create(null);
  28204. node.type = 'text';
  28205. node.text = decodeEntity(text);
  28206. if (this.hook(node)) {
  28207. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  28208. siblings.push(node);
  28209. }
  28210. };
  28211. /**
  28212. * @description html 词法分析器
  28213. * @param {Object} handler 高层处理器
  28214. */
  28215. function lexer(handler) {
  28216. this.handler = handler;
  28217. }
  28218. /**
  28219. * @description 执行解析
  28220. * @param {String} content 要解析的文本
  28221. */
  28222. lexer.prototype.parse = function (content) {
  28223. this.content = content || '';
  28224. this.i = 0; // 标记解析位置
  28225. this.start = 0; // 标记一个单词的开始位置
  28226. this.state = this.text; // 当前状态
  28227. for (var len = this.content.length; this.i != -1 && this.i < len;) {
  28228. this.state();
  28229. }
  28230. };
  28231. /**
  28232. * @description 检查标签是否闭合
  28233. * @param {String} method 如果闭合要进行的操作
  28234. * @returns {Boolean} 是否闭合
  28235. * @private
  28236. */
  28237. lexer.prototype.checkClose = function (method) {
  28238. var selfClose = this.content[this.i] == '/';
  28239. if (this.content[this.i] == '>' || selfClose && this.content[this.i + 1] == '>') {
  28240. if (method) this.handler[method](this.content.substring(this.start, this.i));
  28241. this.i += selfClose ? 2 : 1;
  28242. this.start = this.i;
  28243. this.handler.onOpenTag(selfClose);
  28244. if (this.handler.tagName == 'script') {
  28245. this.i = this.content.indexOf('</', this.i);
  28246. if (this.i != -1) {
  28247. this.i += 2;
  28248. this.start = this.i;
  28249. }
  28250. this.state = this.endTag;
  28251. } else this.state = this.text;
  28252. return true;
  28253. }
  28254. return false;
  28255. };
  28256. /**
  28257. * @description 文本状态
  28258. * @private
  28259. */
  28260. lexer.prototype.text = function () {
  28261. this.i = this.content.indexOf('<', this.i); // 查找最近的标签
  28262. if (this.i == -1) {
  28263. // 没有标签了
  28264. if (this.start < this.content.length) this.handler.onText(this.content.substring(this.start, this.content.length));
  28265. return;
  28266. }
  28267. var c = this.content[this.i + 1];
  28268. if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') {
  28269. // 标签开头
  28270. if (this.start != this.i) this.handler.onText(this.content.substring(this.start, this.i));
  28271. this.start = ++this.i;
  28272. this.state = this.tagName;
  28273. } else if (c == '/' || c == '!' || c == '?') {
  28274. if (this.start != this.i) this.handler.onText(this.content.substring(this.start, this.i));
  28275. var next = this.content[this.i + 2];
  28276. if (c == '/' && (next >= 'a' && next <= 'z' || next >= 'A' && next <= 'Z')) {
  28277. // 标签结尾
  28278. this.i += 2;
  28279. this.start = this.i;
  28280. return this.state = this.endTag;
  28281. } // 处理注释
  28282. var end = '-->';
  28283. if (c != '!' || this.content[this.i + 2] != '-' || this.content[this.i + 3] != '-') end = '>';
  28284. this.i = this.content.indexOf(end, this.i);
  28285. if (this.i != -1) {
  28286. this.i += end.length;
  28287. this.start = this.i;
  28288. }
  28289. } else this.i++;
  28290. };
  28291. /**
  28292. * @description 标签名状态
  28293. * @private
  28294. */
  28295. lexer.prototype.tagName = function () {
  28296. if (blankChar[this.content[this.i]]) {
  28297. // 解析到标签名
  28298. this.handler.onTagName(this.content.substring(this.start, this.i));
  28299. while (blankChar[this.content[++this.i]]) {}
  28300. if (this.i < this.content.length && !this.checkClose()) {
  28301. this.start = this.i;
  28302. this.state = this.attrName;
  28303. }
  28304. } else if (!this.checkClose('onTagName')) this.i++;
  28305. };
  28306. /**
  28307. * @description 属性名状态
  28308. * @private
  28309. */
  28310. lexer.prototype.attrName = function () {
  28311. var c = this.content[this.i];
  28312. if (blankChar[c] || c == '=') {
  28313. // 解析到属性名
  28314. this.handler.onAttrName(this.content.substring(this.start, this.i));
  28315. var needVal = c == '=';
  28316. var len = this.content.length;
  28317. while (++this.i < len) {
  28318. c = this.content[this.i];
  28319. if (!blankChar[c]) {
  28320. if (this.checkClose()) return;
  28321. if (needVal) {
  28322. // 等号后遇到第一个非空字符
  28323. this.start = this.i;
  28324. return this.state = this.attrVal;
  28325. }
  28326. if (this.content[this.i] == '=') needVal = true;else {
  28327. this.start = this.i;
  28328. return this.state = this.attrName;
  28329. }
  28330. }
  28331. }
  28332. } else if (!this.checkClose('onAttrName')) this.i++;
  28333. };
  28334. /**
  28335. * @description 属性值状态
  28336. * @private
  28337. */
  28338. lexer.prototype.attrVal = function () {
  28339. var c = this.content[this.i];
  28340. var len = this.content.length; // 有冒号的属性
  28341. if (c == '"' || c == "'") {
  28342. this.start = ++this.i;
  28343. this.i = this.content.indexOf(c, this.i);
  28344. if (this.i == -1) return;
  28345. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  28346. } // 没有冒号的属性
  28347. else {
  28348. for (; this.i < len; this.i++) {
  28349. if (blankChar[this.content[this.i]]) {
  28350. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  28351. break;
  28352. } else if (this.checkClose('onAttrVal')) return;
  28353. }
  28354. }
  28355. while (blankChar[this.content[++this.i]]) {}
  28356. if (this.i < len && !this.checkClose()) {
  28357. this.start = this.i;
  28358. this.state = this.attrName;
  28359. }
  28360. };
  28361. /**
  28362. * @description 结束标签状态
  28363. * @returns {String} 结束的标签名
  28364. * @private
  28365. */
  28366. lexer.prototype.endTag = function () {
  28367. var c = this.content[this.i];
  28368. if (blankChar[c] || c == '>' || c == '/') {
  28369. this.handler.onCloseTag(this.content.substring(this.start, this.i));
  28370. if (c != '>') {
  28371. this.i = this.content.indexOf('>', this.i);
  28372. if (this.i == -1) return;
  28373. }
  28374. this.start = ++this.i;
  28375. this.state = this.text;
  28376. } else this.i++;
  28377. };
  28378. module.exports = parser;
  28379. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  28380. /***/ }),
  28381. /***/ 98:
  28382. /*!****************************************************************************!*\
  28383. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/gridItem.js ***!
  28384. \****************************************************************************/
  28385. /*! no static exports found */
  28386. /***/ (function(module, exports, __webpack_require__) {
  28387. "use strict";
  28388. Object.defineProperty(exports, "__esModule", {
  28389. value: true
  28390. });
  28391. exports.default = void 0;
  28392. /*
  28393. * @Author : LQ
  28394. * @Description :
  28395. * @version : 1.0
  28396. * @Date : 2021-08-20 16:44:21
  28397. * @LastAuthor : LQ
  28398. * @lastTime : 2021-08-20 17:06:13
  28399. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gridItem.js
  28400. */
  28401. var _default = {
  28402. // grid-item组件
  28403. gridItem: {
  28404. name: null,
  28405. bgColor: 'transparent'
  28406. }
  28407. };
  28408. exports.default = _default;
  28409. /***/ }),
  28410. /***/ 980:
  28411. /*!***************************************************************************!*\
  28412. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-picker/props.js ***!
  28413. \***************************************************************************/
  28414. /*! no static exports found */
  28415. /***/ (function(module, exports, __webpack_require__) {
  28416. "use strict";
  28417. /* WEBPACK VAR INJECTION */(function(uni) {
  28418. Object.defineProperty(exports, "__esModule", {
  28419. value: true
  28420. });
  28421. exports.default = void 0;
  28422. var _default = {
  28423. props: {
  28424. // 是否展示picker弹窗
  28425. show: {
  28426. type: Boolean,
  28427. default: uni.$u.props.picker.show
  28428. },
  28429. // 是否展示顶部的操作栏
  28430. showToolbar: {
  28431. type: Boolean,
  28432. default: uni.$u.props.picker.showToolbar
  28433. },
  28434. // 顶部标题
  28435. title: {
  28436. type: String,
  28437. default: uni.$u.props.picker.title
  28438. },
  28439. // 对象数组,设置每一列的数据
  28440. columns: {
  28441. type: Array,
  28442. default: uni.$u.props.picker.columns
  28443. },
  28444. // 是否显示加载中状态
  28445. loading: {
  28446. type: Boolean,
  28447. default: uni.$u.props.picker.loading
  28448. },
  28449. // 各列中,单个选项的高度
  28450. itemHeight: {
  28451. type: [String, Number],
  28452. default: uni.$u.props.picker.itemHeight
  28453. },
  28454. // 取消按钮的文字
  28455. cancelText: {
  28456. type: String,
  28457. default: uni.$u.props.picker.cancelText
  28458. },
  28459. // 确认按钮的文字
  28460. confirmText: {
  28461. type: String,
  28462. default: uni.$u.props.picker.confirmText
  28463. },
  28464. // 取消按钮的颜色
  28465. cancelColor: {
  28466. type: String,
  28467. default: uni.$u.props.picker.cancelColor
  28468. },
  28469. // 确认按钮的颜色
  28470. confirmColor: {
  28471. type: String,
  28472. default: uni.$u.props.picker.confirmColor
  28473. },
  28474. // 每列中可见选项的数量
  28475. visibleItemCount: {
  28476. type: [String, Number],
  28477. default: uni.$u.props.picker.visibleItemCount
  28478. },
  28479. // 选项对象中,需要展示的属性键名
  28480. keyName: {
  28481. type: String,
  28482. default: uni.$u.props.picker.keyName
  28483. },
  28484. // 是否允许点击遮罩关闭选择器
  28485. closeOnClickOverlay: {
  28486. type: Boolean,
  28487. default: uni.$u.props.picker.closeOnClickOverlay
  28488. },
  28489. // 各列的默认索引
  28490. defaultIndex: {
  28491. type: Array,
  28492. default: uni.$u.props.picker.defaultIndex
  28493. },
  28494. // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
  28495. immediateChange: {
  28496. type: Boolean,
  28497. default: uni.$u.props.picker.immediateChange
  28498. }
  28499. }
  28500. };
  28501. exports.default = _default;
  28502. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  28503. /***/ }),
  28504. /***/ 99:
  28505. /*!************************************************************************!*\
  28506. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/icon.js ***!
  28507. \************************************************************************/
  28508. /*! no static exports found */
  28509. /***/ (function(module, exports, __webpack_require__) {
  28510. "use strict";
  28511. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28512. Object.defineProperty(exports, "__esModule", {
  28513. value: true
  28514. });
  28515. exports.default = void 0;
  28516. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 66));
  28517. /*
  28518. * @Author : LQ
  28519. * @Description :
  28520. * @version : 1.0
  28521. * @Date : 2021-08-20 16:44:21
  28522. * @LastAuthor : LQ
  28523. * @lastTime : 2021-08-20 18:00:14
  28524. * @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
  28525. */
  28526. var color = _config.default.color;
  28527. var _default = {
  28528. // icon组件
  28529. icon: {
  28530. name: '',
  28531. color: color['u-content-color'],
  28532. size: '16px',
  28533. bold: false,
  28534. index: '',
  28535. hoverClass: '',
  28536. customPrefix: 'uicon',
  28537. label: '',
  28538. labelPos: 'right',
  28539. labelSize: '15px',
  28540. labelColor: color['u-content-color'],
  28541. space: '3px',
  28542. imgMode: '',
  28543. width: '',
  28544. height: '',
  28545. top: 0,
  28546. stop: false
  28547. }
  28548. };
  28549. exports.default = _default;
  28550. /***/ })
  28551. }]);
  28552. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map