vendor.js 776 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146
  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. /***/ 11:
  53. /*!***************************************************************!*\
  54. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  55. \***************************************************************/
  56. /*! no static exports found */
  57. /***/ (function(module, exports, __webpack_require__) {
  58. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  59. function _defineProperty(obj, key, value) {
  60. key = toPropertyKey(key);
  61. if (key in obj) {
  62. Object.defineProperty(obj, key, {
  63. value: value,
  64. enumerable: true,
  65. configurable: true,
  66. writable: true
  67. });
  68. } else {
  69. obj[key] = value;
  70. }
  71. return obj;
  72. }
  73. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  74. /***/ }),
  75. /***/ 12:
  76. /*!**************************************************************!*\
  77. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  78. \**************************************************************/
  79. /*! no static exports found */
  80. /***/ (function(module, exports, __webpack_require__) {
  81. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  82. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  83. function _toPropertyKey(arg) {
  84. var key = toPrimitive(arg, "string");
  85. return _typeof(key) === "symbol" ? key : String(key);
  86. }
  87. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  88. /***/ }),
  89. /***/ 13:
  90. /*!*******************************************************!*\
  91. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  92. \*******************************************************/
  93. /*! no static exports found */
  94. /***/ (function(module, exports) {
  95. function _typeof(obj) {
  96. "@babel/helpers - typeof";
  97. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  98. return typeof obj;
  99. } : function (obj) {
  100. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  101. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  102. }
  103. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  104. /***/ }),
  105. /***/ 14:
  106. /*!************************************************************!*\
  107. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  108. \************************************************************/
  109. /*! no static exports found */
  110. /***/ (function(module, exports, __webpack_require__) {
  111. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  112. function _toPrimitive(input, hint) {
  113. if (_typeof(input) !== "object" || input === null) return input;
  114. var prim = input[Symbol.toPrimitive];
  115. if (prim !== undefined) {
  116. var res = prim.call(input, hint || "default");
  117. if (_typeof(res) !== "object") return res;
  118. throw new TypeError("@@toPrimitive must return a primitive value.");
  119. }
  120. return (hint === "string" ? String : Number)(input);
  121. }
  122. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  123. /***/ }),
  124. /***/ 15:
  125. /*!**********************************************************!*\
  126. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  127. \**********************************************************/
  128. /*! no static exports found */
  129. /***/ (function(module, exports, __webpack_require__) {
  130. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  131. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  132. function _construct(Parent, args, Class) {
  133. if (isNativeReflectConstruct()) {
  134. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  135. } else {
  136. module.exports = _construct = function _construct(Parent, args, Class) {
  137. var a = [null];
  138. a.push.apply(a, args);
  139. var Constructor = Function.bind.apply(Parent, a);
  140. var instance = new Constructor();
  141. if (Class) setPrototypeOf(instance, Class.prototype);
  142. return instance;
  143. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  144. }
  145. return _construct.apply(null, arguments);
  146. }
  147. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  148. /***/ }),
  149. /***/ 16:
  150. /*!***************************************************************!*\
  151. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  152. \***************************************************************/
  153. /*! no static exports found */
  154. /***/ (function(module, exports) {
  155. function _setPrototypeOf(o, p) {
  156. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  157. o.__proto__ = p;
  158. return o;
  159. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  160. return _setPrototypeOf(o, p);
  161. }
  162. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  163. /***/ }),
  164. /***/ 17:
  165. /*!*************************************************************************!*\
  166. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  167. \*************************************************************************/
  168. /*! no static exports found */
  169. /***/ (function(module, exports) {
  170. function _isNativeReflectConstruct() {
  171. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  172. if (Reflect.construct.sham) return false;
  173. if (typeof Proxy === "function") return true;
  174. try {
  175. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  176. return true;
  177. } catch (e) {
  178. return false;
  179. }
  180. }
  181. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  182. /***/ }),
  183. /***/ 18:
  184. /*!******************************************************************!*\
  185. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  186. \******************************************************************/
  187. /*! no static exports found */
  188. /***/ (function(module, exports, __webpack_require__) {
  189. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  190. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  191. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  192. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  193. function _toConsumableArray(arr) {
  194. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  195. }
  196. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  197. /***/ }),
  198. /***/ 19:
  199. /*!******************************************************************!*\
  200. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  201. \******************************************************************/
  202. /*! no static exports found */
  203. /***/ (function(module, exports, __webpack_require__) {
  204. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  205. function _arrayWithoutHoles(arr) {
  206. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  207. }
  208. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  209. /***/ }),
  210. /***/ 2:
  211. /*!************************************************************!*\
  212. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  213. \************************************************************/
  214. /*! no static exports found */
  215. /***/ (function(module, exports, __webpack_require__) {
  216. "use strict";
  217. /* WEBPACK VAR INJECTION */(function(wx, global) {
  218. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  219. Object.defineProperty(exports, "__esModule", {
  220. value: true
  221. });
  222. exports.createApp = createApp;
  223. exports.createComponent = createComponent;
  224. exports.createPage = createPage;
  225. exports.createPlugin = createPlugin;
  226. exports.createSubpackageApp = createSubpackageApp;
  227. exports.default = void 0;
  228. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  229. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  230. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  231. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  232. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  233. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  234. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  235. 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; }
  236. 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; }
  237. var realAtob;
  238. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  239. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  240. if (typeof atob !== 'function') {
  241. realAtob = function realAtob(str) {
  242. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  243. if (!b64re.test(str)) {
  244. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  245. }
  246. // Adding the padding if missing, for semplicity
  247. str += '=='.slice(2 - (str.length & 3));
  248. var bitmap;
  249. var result = '';
  250. var r1;
  251. var r2;
  252. var i = 0;
  253. for (; i < str.length;) {
  254. 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++)));
  255. 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);
  256. }
  257. return result;
  258. };
  259. } else {
  260. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  261. realAtob = atob;
  262. }
  263. function b64DecodeUnicode(str) {
  264. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  265. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  266. }).join(''));
  267. }
  268. function getCurrentUserInfo() {
  269. var token = wx.getStorageSync('uni_id_token') || '';
  270. var tokenArr = token.split('.');
  271. if (!token || tokenArr.length !== 3) {
  272. return {
  273. uid: null,
  274. role: [],
  275. permission: [],
  276. tokenExpired: 0
  277. };
  278. }
  279. var userInfo;
  280. try {
  281. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  282. } catch (error) {
  283. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  284. }
  285. userInfo.tokenExpired = userInfo.exp * 1000;
  286. delete userInfo.exp;
  287. delete userInfo.iat;
  288. return userInfo;
  289. }
  290. function uniIdMixin(Vue) {
  291. Vue.prototype.uniIDHasRole = function (roleId) {
  292. var _getCurrentUserInfo = getCurrentUserInfo(),
  293. role = _getCurrentUserInfo.role;
  294. return role.indexOf(roleId) > -1;
  295. };
  296. Vue.prototype.uniIDHasPermission = function (permissionId) {
  297. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  298. permission = _getCurrentUserInfo2.permission;
  299. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  300. };
  301. Vue.prototype.uniIDTokenValid = function () {
  302. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  303. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  304. return tokenExpired > Date.now();
  305. };
  306. }
  307. var _toString = Object.prototype.toString;
  308. var hasOwnProperty = Object.prototype.hasOwnProperty;
  309. function isFn(fn) {
  310. return typeof fn === 'function';
  311. }
  312. function isStr(str) {
  313. return typeof str === 'string';
  314. }
  315. function isObject(obj) {
  316. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  317. }
  318. function isPlainObject(obj) {
  319. return _toString.call(obj) === '[object Object]';
  320. }
  321. function hasOwn(obj, key) {
  322. return hasOwnProperty.call(obj, key);
  323. }
  324. function noop() {}
  325. /**
  326. * Create a cached version of a pure function.
  327. */
  328. function cached(fn) {
  329. var cache = Object.create(null);
  330. return function cachedFn(str) {
  331. var hit = cache[str];
  332. return hit || (cache[str] = fn(str));
  333. };
  334. }
  335. /**
  336. * Camelize a hyphen-delimited string.
  337. */
  338. var camelizeRE = /-(\w)/g;
  339. var camelize = cached(function (str) {
  340. return str.replace(camelizeRE, function (_, c) {
  341. return c ? c.toUpperCase() : '';
  342. });
  343. });
  344. function sortObject(obj) {
  345. var sortObj = {};
  346. if (isPlainObject(obj)) {
  347. Object.keys(obj).sort().forEach(function (key) {
  348. sortObj[key] = obj[key];
  349. });
  350. }
  351. return !Object.keys(sortObj) ? obj : sortObj;
  352. }
  353. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  354. var globalInterceptors = {};
  355. var scopedInterceptors = {};
  356. function mergeHook(parentVal, childVal) {
  357. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  358. return res ? dedupeHooks(res) : res;
  359. }
  360. function dedupeHooks(hooks) {
  361. var res = [];
  362. for (var i = 0; i < hooks.length; i++) {
  363. if (res.indexOf(hooks[i]) === -1) {
  364. res.push(hooks[i]);
  365. }
  366. }
  367. return res;
  368. }
  369. function removeHook(hooks, hook) {
  370. var index = hooks.indexOf(hook);
  371. if (index !== -1) {
  372. hooks.splice(index, 1);
  373. }
  374. }
  375. function mergeInterceptorHook(interceptor, option) {
  376. Object.keys(option).forEach(function (hook) {
  377. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  378. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  379. }
  380. });
  381. }
  382. function removeInterceptorHook(interceptor, option) {
  383. if (!interceptor || !option) {
  384. return;
  385. }
  386. Object.keys(option).forEach(function (hook) {
  387. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  388. removeHook(interceptor[hook], option[hook]);
  389. }
  390. });
  391. }
  392. function addInterceptor(method, option) {
  393. if (typeof method === 'string' && isPlainObject(option)) {
  394. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  395. } else if (isPlainObject(method)) {
  396. mergeInterceptorHook(globalInterceptors, method);
  397. }
  398. }
  399. function removeInterceptor(method, option) {
  400. if (typeof method === 'string') {
  401. if (isPlainObject(option)) {
  402. removeInterceptorHook(scopedInterceptors[method], option);
  403. } else {
  404. delete scopedInterceptors[method];
  405. }
  406. } else if (isPlainObject(method)) {
  407. removeInterceptorHook(globalInterceptors, method);
  408. }
  409. }
  410. function wrapperHook(hook, params) {
  411. return function (data) {
  412. return hook(data, params) || data;
  413. };
  414. }
  415. function isPromise(obj) {
  416. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  417. }
  418. function queue(hooks, data, params) {
  419. var promise = false;
  420. for (var i = 0; i < hooks.length; i++) {
  421. var hook = hooks[i];
  422. if (promise) {
  423. promise = Promise.resolve(wrapperHook(hook, params));
  424. } else {
  425. var res = hook(data, params);
  426. if (isPromise(res)) {
  427. promise = Promise.resolve(res);
  428. }
  429. if (res === false) {
  430. return {
  431. then: function then() {}
  432. };
  433. }
  434. }
  435. }
  436. return promise || {
  437. then: function then(callback) {
  438. return callback(data);
  439. }
  440. };
  441. }
  442. function wrapperOptions(interceptor) {
  443. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  444. ['success', 'fail', 'complete'].forEach(function (name) {
  445. if (Array.isArray(interceptor[name])) {
  446. var oldCallback = options[name];
  447. options[name] = function callbackInterceptor(res) {
  448. queue(interceptor[name], res, options).then(function (res) {
  449. /* eslint-disable no-mixed-operators */
  450. return isFn(oldCallback) && oldCallback(res) || res;
  451. });
  452. };
  453. }
  454. });
  455. return options;
  456. }
  457. function wrapperReturnValue(method, returnValue) {
  458. var returnValueHooks = [];
  459. if (Array.isArray(globalInterceptors.returnValue)) {
  460. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  461. }
  462. var interceptor = scopedInterceptors[method];
  463. if (interceptor && Array.isArray(interceptor.returnValue)) {
  464. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  465. }
  466. returnValueHooks.forEach(function (hook) {
  467. returnValue = hook(returnValue) || returnValue;
  468. });
  469. return returnValue;
  470. }
  471. function getApiInterceptorHooks(method) {
  472. var interceptor = Object.create(null);
  473. Object.keys(globalInterceptors).forEach(function (hook) {
  474. if (hook !== 'returnValue') {
  475. interceptor[hook] = globalInterceptors[hook].slice();
  476. }
  477. });
  478. var scopedInterceptor = scopedInterceptors[method];
  479. if (scopedInterceptor) {
  480. Object.keys(scopedInterceptor).forEach(function (hook) {
  481. if (hook !== 'returnValue') {
  482. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  483. }
  484. });
  485. }
  486. return interceptor;
  487. }
  488. function invokeApi(method, api, options) {
  489. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  490. params[_key - 3] = arguments[_key];
  491. }
  492. var interceptor = getApiInterceptorHooks(method);
  493. if (interceptor && Object.keys(interceptor).length) {
  494. if (Array.isArray(interceptor.invoke)) {
  495. var res = queue(interceptor.invoke, options);
  496. return res.then(function (options) {
  497. // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
  498. return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
  499. });
  500. } else {
  501. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  502. }
  503. }
  504. return api.apply(void 0, [options].concat(params));
  505. }
  506. var promiseInterceptor = {
  507. returnValue: function returnValue(res) {
  508. if (!isPromise(res)) {
  509. return res;
  510. }
  511. return new Promise(function (resolve, reject) {
  512. res.then(function (res) {
  513. if (res[0]) {
  514. reject(res[0]);
  515. } else {
  516. resolve(res[1]);
  517. }
  518. });
  519. });
  520. }
  521. };
  522. 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/;
  523. var CONTEXT_API_RE = /^create|Manager$/;
  524. // Context例外情况
  525. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  526. // 同步例外情况
  527. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  528. var CALLBACK_API_RE = /^on|^off/;
  529. function isContextApi(name) {
  530. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  531. }
  532. function isSyncApi(name) {
  533. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  534. }
  535. function isCallbackApi(name) {
  536. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  537. }
  538. function handlePromise(promise) {
  539. return promise.then(function (data) {
  540. return [null, data];
  541. }).catch(function (err) {
  542. return [err];
  543. });
  544. }
  545. function shouldPromise(name) {
  546. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  547. return false;
  548. }
  549. return true;
  550. }
  551. /* eslint-disable no-extend-native */
  552. if (!Promise.prototype.finally) {
  553. Promise.prototype.finally = function (callback) {
  554. var promise = this.constructor;
  555. return this.then(function (value) {
  556. return promise.resolve(callback()).then(function () {
  557. return value;
  558. });
  559. }, function (reason) {
  560. return promise.resolve(callback()).then(function () {
  561. throw reason;
  562. });
  563. });
  564. };
  565. }
  566. function promisify(name, api) {
  567. if (!shouldPromise(name) || !isFn(api)) {
  568. return api;
  569. }
  570. return function promiseApi() {
  571. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  572. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  573. params[_key2 - 1] = arguments[_key2];
  574. }
  575. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  576. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  577. }
  578. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  579. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  580. success: resolve,
  581. fail: reject
  582. })].concat(params));
  583. })));
  584. };
  585. }
  586. var EPS = 1e-4;
  587. var BASE_DEVICE_WIDTH = 750;
  588. var isIOS = false;
  589. var deviceWidth = 0;
  590. var deviceDPR = 0;
  591. function checkDeviceWidth() {
  592. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  593. platform = _wx$getSystemInfoSync.platform,
  594. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  595. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  596. deviceWidth = windowWidth;
  597. deviceDPR = pixelRatio;
  598. isIOS = platform === 'ios';
  599. }
  600. function upx2px(number, newDeviceWidth) {
  601. if (deviceWidth === 0) {
  602. checkDeviceWidth();
  603. }
  604. number = Number(number);
  605. if (number === 0) {
  606. return 0;
  607. }
  608. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  609. if (result < 0) {
  610. result = -result;
  611. }
  612. result = Math.floor(result + EPS);
  613. if (result === 0) {
  614. if (deviceDPR === 1 || !isIOS) {
  615. result = 1;
  616. } else {
  617. result = 0.5;
  618. }
  619. }
  620. return number < 0 ? -result : result;
  621. }
  622. var LOCALE_ZH_HANS = 'zh-Hans';
  623. var LOCALE_ZH_HANT = 'zh-Hant';
  624. var LOCALE_EN = 'en';
  625. var LOCALE_FR = 'fr';
  626. var LOCALE_ES = 'es';
  627. var messages = {};
  628. var locale;
  629. {
  630. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  631. }
  632. function initI18nMessages() {
  633. if (!isEnableLocale()) {
  634. return;
  635. }
  636. var localeKeys = Object.keys(__uniConfig.locales);
  637. if (localeKeys.length) {
  638. localeKeys.forEach(function (locale) {
  639. var curMessages = messages[locale];
  640. var userMessages = __uniConfig.locales[locale];
  641. if (curMessages) {
  642. Object.assign(curMessages, userMessages);
  643. } else {
  644. messages[locale] = userMessages;
  645. }
  646. });
  647. }
  648. }
  649. initI18nMessages();
  650. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  651. var t = i18n.t;
  652. var i18nMixin = i18n.mixin = {
  653. beforeCreate: function beforeCreate() {
  654. var _this = this;
  655. var unwatch = i18n.i18n.watchLocale(function () {
  656. _this.$forceUpdate();
  657. });
  658. this.$once('hook:beforeDestroy', function () {
  659. unwatch();
  660. });
  661. },
  662. methods: {
  663. $$t: function $$t(key, values) {
  664. return t(key, values);
  665. }
  666. }
  667. };
  668. var setLocale = i18n.setLocale;
  669. var getLocale = i18n.getLocale;
  670. function initAppLocale(Vue, appVm, locale) {
  671. var state = Vue.observable({
  672. locale: locale || i18n.getLocale()
  673. });
  674. var localeWatchers = [];
  675. appVm.$watchLocale = function (fn) {
  676. localeWatchers.push(fn);
  677. };
  678. Object.defineProperty(appVm, '$locale', {
  679. get: function get() {
  680. return state.locale;
  681. },
  682. set: function set(v) {
  683. state.locale = v;
  684. localeWatchers.forEach(function (watch) {
  685. return watch(v);
  686. });
  687. }
  688. });
  689. }
  690. function isEnableLocale() {
  691. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  692. }
  693. function include(str, parts) {
  694. return !!parts.find(function (part) {
  695. return str.indexOf(part) !== -1;
  696. });
  697. }
  698. function startsWith(str, parts) {
  699. return parts.find(function (part) {
  700. return str.indexOf(part) === 0;
  701. });
  702. }
  703. function normalizeLocale(locale, messages) {
  704. if (!locale) {
  705. return;
  706. }
  707. locale = locale.trim().replace(/_/g, '-');
  708. if (messages && messages[locale]) {
  709. return locale;
  710. }
  711. locale = locale.toLowerCase();
  712. if (locale === 'chinese') {
  713. // 支付宝
  714. return LOCALE_ZH_HANS;
  715. }
  716. if (locale.indexOf('zh') === 0) {
  717. if (locale.indexOf('-hans') > -1) {
  718. return LOCALE_ZH_HANS;
  719. }
  720. if (locale.indexOf('-hant') > -1) {
  721. return LOCALE_ZH_HANT;
  722. }
  723. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  724. return LOCALE_ZH_HANT;
  725. }
  726. return LOCALE_ZH_HANS;
  727. }
  728. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  729. if (lang) {
  730. return lang;
  731. }
  732. }
  733. // export function initI18n() {
  734. // const localeKeys = Object.keys(__uniConfig.locales || {})
  735. // if (localeKeys.length) {
  736. // localeKeys.forEach((locale) =>
  737. // i18n.add(locale, __uniConfig.locales[locale])
  738. // )
  739. // }
  740. // }
  741. function getLocale$1() {
  742. // 优先使用 $locale
  743. if (isFn(getApp)) {
  744. var app = getApp({
  745. allowDefault: true
  746. });
  747. if (app && app.$vm) {
  748. return app.$vm.$locale;
  749. }
  750. }
  751. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  752. }
  753. function setLocale$1(locale) {
  754. var app = isFn(getApp) ? getApp() : false;
  755. if (!app) {
  756. return false;
  757. }
  758. var oldLocale = app.$vm.$locale;
  759. if (oldLocale !== locale) {
  760. app.$vm.$locale = locale;
  761. onLocaleChangeCallbacks.forEach(function (fn) {
  762. return fn({
  763. locale: locale
  764. });
  765. });
  766. return true;
  767. }
  768. return false;
  769. }
  770. var onLocaleChangeCallbacks = [];
  771. function onLocaleChange(fn) {
  772. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  773. onLocaleChangeCallbacks.push(fn);
  774. }
  775. }
  776. if (typeof global !== 'undefined') {
  777. global.getLocale = getLocale$1;
  778. }
  779. var interceptors = {
  780. promiseInterceptor: promiseInterceptor
  781. };
  782. var baseApi = /*#__PURE__*/Object.freeze({
  783. __proto__: null,
  784. upx2px: upx2px,
  785. getLocale: getLocale$1,
  786. setLocale: setLocale$1,
  787. onLocaleChange: onLocaleChange,
  788. addInterceptor: addInterceptor,
  789. removeInterceptor: removeInterceptor,
  790. interceptors: interceptors
  791. });
  792. function findExistsPageIndex(url) {
  793. var pages = getCurrentPages();
  794. var len = pages.length;
  795. while (len--) {
  796. var page = pages[len];
  797. if (page.$page && page.$page.fullPath === url) {
  798. return len;
  799. }
  800. }
  801. return -1;
  802. }
  803. var redirectTo = {
  804. name: function name(fromArgs) {
  805. if (fromArgs.exists === 'back' && fromArgs.delta) {
  806. return 'navigateBack';
  807. }
  808. return 'redirectTo';
  809. },
  810. args: function args(fromArgs) {
  811. if (fromArgs.exists === 'back' && fromArgs.url) {
  812. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  813. if (existsPageIndex !== -1) {
  814. var delta = getCurrentPages().length - 1 - existsPageIndex;
  815. if (delta > 0) {
  816. fromArgs.delta = delta;
  817. }
  818. }
  819. }
  820. }
  821. };
  822. var previewImage = {
  823. args: function args(fromArgs) {
  824. var currentIndex = parseInt(fromArgs.current);
  825. if (isNaN(currentIndex)) {
  826. return;
  827. }
  828. var urls = fromArgs.urls;
  829. if (!Array.isArray(urls)) {
  830. return;
  831. }
  832. var len = urls.length;
  833. if (!len) {
  834. return;
  835. }
  836. if (currentIndex < 0) {
  837. currentIndex = 0;
  838. } else if (currentIndex >= len) {
  839. currentIndex = len - 1;
  840. }
  841. if (currentIndex > 0) {
  842. fromArgs.current = urls[currentIndex];
  843. fromArgs.urls = urls.filter(function (item, index) {
  844. return index < currentIndex ? item !== urls[currentIndex] : true;
  845. });
  846. } else {
  847. fromArgs.current = urls[0];
  848. }
  849. return {
  850. indicator: false,
  851. loop: false
  852. };
  853. }
  854. };
  855. var UUID_KEY = '__DC_STAT_UUID';
  856. var deviceId;
  857. function useDeviceId(result) {
  858. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  859. if (!deviceId) {
  860. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  861. wx.setStorage({
  862. key: UUID_KEY,
  863. data: deviceId
  864. });
  865. }
  866. result.deviceId = deviceId;
  867. }
  868. function addSafeAreaInsets(result) {
  869. if (result.safeArea) {
  870. var safeArea = result.safeArea;
  871. result.safeAreaInsets = {
  872. top: safeArea.top,
  873. left: safeArea.left,
  874. right: result.windowWidth - safeArea.right,
  875. bottom: result.screenHeight - safeArea.bottom
  876. };
  877. }
  878. }
  879. function populateParameters(result) {
  880. var _result$brand = result.brand,
  881. brand = _result$brand === void 0 ? '' : _result$brand,
  882. _result$model = result.model,
  883. model = _result$model === void 0 ? '' : _result$model,
  884. _result$system = result.system,
  885. system = _result$system === void 0 ? '' : _result$system,
  886. _result$language = result.language,
  887. language = _result$language === void 0 ? '' : _result$language,
  888. theme = result.theme,
  889. version = result.version,
  890. platform = result.platform,
  891. fontSizeSetting = result.fontSizeSetting,
  892. SDKVersion = result.SDKVersion,
  893. pixelRatio = result.pixelRatio,
  894. deviceOrientation = result.deviceOrientation;
  895. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  896. var extraParam = {};
  897. // osName osVersion
  898. var osName = '';
  899. var osVersion = '';
  900. {
  901. osName = system.split(' ')[0] || '';
  902. osVersion = system.split(' ')[1] || '';
  903. }
  904. var hostVersion = version;
  905. // deviceType
  906. var deviceType = getGetDeviceType(result, model);
  907. // deviceModel
  908. var deviceBrand = getDeviceBrand(brand);
  909. // hostName
  910. var _hostName = getHostName(result);
  911. // deviceOrientation
  912. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  913. // devicePixelRatio
  914. var _devicePixelRatio = pixelRatio;
  915. // SDKVersion
  916. var _SDKVersion = SDKVersion;
  917. // hostLanguage
  918. var hostLanguage = language.replace(/_/g, '-');
  919. // wx.getAccountInfoSync
  920. var parameters = {
  921. appId: "__UNI__5FB7046",
  922. appName: "贞达市政工程",
  923. appVersion: "1.0.0",
  924. appVersionCode: "100",
  925. appLanguage: getAppLanguage(hostLanguage),
  926. uniCompileVersion: "3.8.12",
  927. uniRuntimeVersion: "3.8.12",
  928. uniPlatform: undefined || "mp-weixin",
  929. deviceBrand: deviceBrand,
  930. deviceModel: model,
  931. deviceType: deviceType,
  932. devicePixelRatio: _devicePixelRatio,
  933. deviceOrientation: _deviceOrientation,
  934. osName: osName.toLocaleLowerCase(),
  935. osVersion: osVersion,
  936. hostTheme: theme,
  937. hostVersion: hostVersion,
  938. hostLanguage: hostLanguage,
  939. hostName: _hostName,
  940. hostSDKVersion: _SDKVersion,
  941. hostFontSizeSetting: fontSizeSetting,
  942. windowTop: 0,
  943. windowBottom: 0,
  944. // TODO
  945. osLanguage: undefined,
  946. osTheme: undefined,
  947. ua: undefined,
  948. hostPackageName: undefined,
  949. browserName: undefined,
  950. browserVersion: undefined
  951. };
  952. Object.assign(result, parameters, extraParam);
  953. }
  954. function getGetDeviceType(result, model) {
  955. var deviceType = result.deviceType || 'phone';
  956. {
  957. var deviceTypeMaps = {
  958. ipad: 'pad',
  959. windows: 'pc',
  960. mac: 'pc'
  961. };
  962. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  963. var _model = model.toLocaleLowerCase();
  964. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  965. var _m = deviceTypeMapsKeys[index];
  966. if (_model.indexOf(_m) !== -1) {
  967. deviceType = deviceTypeMaps[_m];
  968. break;
  969. }
  970. }
  971. }
  972. return deviceType;
  973. }
  974. function getDeviceBrand(brand) {
  975. var deviceBrand = brand;
  976. if (deviceBrand) {
  977. deviceBrand = brand.toLocaleLowerCase();
  978. }
  979. return deviceBrand;
  980. }
  981. function getAppLanguage(defaultLanguage) {
  982. return getLocale$1 ? getLocale$1() : defaultLanguage;
  983. }
  984. function getHostName(result) {
  985. var _platform = 'WeChat';
  986. var _hostName = result.hostName || _platform; // mp-jd
  987. {
  988. if (result.environment) {
  989. _hostName = result.environment;
  990. } else if (result.host && result.host.env) {
  991. _hostName = result.host.env;
  992. }
  993. }
  994. return _hostName;
  995. }
  996. var getSystemInfo = {
  997. returnValue: function returnValue(result) {
  998. useDeviceId(result);
  999. addSafeAreaInsets(result);
  1000. populateParameters(result);
  1001. }
  1002. };
  1003. var showActionSheet = {
  1004. args: function args(fromArgs) {
  1005. if ((0, _typeof2.default)(fromArgs) === 'object') {
  1006. fromArgs.alertText = fromArgs.title;
  1007. }
  1008. }
  1009. };
  1010. var getAppBaseInfo = {
  1011. returnValue: function returnValue(result) {
  1012. var _result = result,
  1013. version = _result.version,
  1014. language = _result.language,
  1015. SDKVersion = _result.SDKVersion,
  1016. theme = _result.theme;
  1017. var _hostName = getHostName(result);
  1018. var hostLanguage = language.replace('_', '-');
  1019. result = sortObject(Object.assign(result, {
  1020. appId: "__UNI__5FB7046",
  1021. appName: "贞达市政工程",
  1022. appVersion: "1.0.0",
  1023. appVersionCode: "100",
  1024. appLanguage: getAppLanguage(hostLanguage),
  1025. hostVersion: version,
  1026. hostLanguage: hostLanguage,
  1027. hostName: _hostName,
  1028. hostSDKVersion: SDKVersion,
  1029. hostTheme: theme
  1030. }));
  1031. }
  1032. };
  1033. var getDeviceInfo = {
  1034. returnValue: function returnValue(result) {
  1035. var _result2 = result,
  1036. brand = _result2.brand,
  1037. model = _result2.model;
  1038. var deviceType = getGetDeviceType(result, model);
  1039. var deviceBrand = getDeviceBrand(brand);
  1040. useDeviceId(result);
  1041. result = sortObject(Object.assign(result, {
  1042. deviceType: deviceType,
  1043. deviceBrand: deviceBrand,
  1044. deviceModel: model
  1045. }));
  1046. }
  1047. };
  1048. var getWindowInfo = {
  1049. returnValue: function returnValue(result) {
  1050. addSafeAreaInsets(result);
  1051. result = sortObject(Object.assign(result, {
  1052. windowTop: 0,
  1053. windowBottom: 0
  1054. }));
  1055. }
  1056. };
  1057. var getAppAuthorizeSetting = {
  1058. returnValue: function returnValue(result) {
  1059. var locationReducedAccuracy = result.locationReducedAccuracy;
  1060. result.locationAccuracy = 'unsupported';
  1061. if (locationReducedAccuracy === true) {
  1062. result.locationAccuracy = 'reduced';
  1063. } else if (locationReducedAccuracy === false) {
  1064. result.locationAccuracy = 'full';
  1065. }
  1066. }
  1067. };
  1068. // import navigateTo from 'uni-helpers/navigate-to'
  1069. var compressImage = {
  1070. args: function args(fromArgs) {
  1071. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  1072. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  1073. fromArgs.compressHeight = fromArgs.compressedHeight;
  1074. }
  1075. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  1076. fromArgs.compressWidth = fromArgs.compressedWidth;
  1077. }
  1078. }
  1079. };
  1080. var protocols = {
  1081. redirectTo: redirectTo,
  1082. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  1083. previewImage: previewImage,
  1084. getSystemInfo: getSystemInfo,
  1085. getSystemInfoSync: getSystemInfo,
  1086. showActionSheet: showActionSheet,
  1087. getAppBaseInfo: getAppBaseInfo,
  1088. getDeviceInfo: getDeviceInfo,
  1089. getWindowInfo: getWindowInfo,
  1090. getAppAuthorizeSetting: getAppAuthorizeSetting,
  1091. compressImage: compressImage
  1092. };
  1093. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  1094. var canIUses = [];
  1095. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  1096. function processCallback(methodName, method, returnValue) {
  1097. return function (res) {
  1098. return method(processReturnValue(methodName, res, returnValue));
  1099. };
  1100. }
  1101. function processArgs(methodName, fromArgs) {
  1102. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  1103. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  1104. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  1105. if (isPlainObject(fromArgs)) {
  1106. // 一般 api 的参数解析
  1107. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  1108. if (isFn(argsOption)) {
  1109. argsOption = argsOption(fromArgs, toArgs) || {};
  1110. }
  1111. for (var key in fromArgs) {
  1112. if (hasOwn(argsOption, key)) {
  1113. var keyOption = argsOption[key];
  1114. if (isFn(keyOption)) {
  1115. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  1116. }
  1117. if (!keyOption) {
  1118. // 不支持的参数
  1119. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  1120. } else if (isStr(keyOption)) {
  1121. // 重写参数 key
  1122. toArgs[keyOption] = fromArgs[key];
  1123. } else if (isPlainObject(keyOption)) {
  1124. // {name:newName,value:value}可重新指定参数 key:value
  1125. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  1126. }
  1127. } else if (CALLBACKS.indexOf(key) !== -1) {
  1128. if (isFn(fromArgs[key])) {
  1129. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  1130. }
  1131. } else {
  1132. if (!keepFromArgs) {
  1133. toArgs[key] = fromArgs[key];
  1134. }
  1135. }
  1136. }
  1137. return toArgs;
  1138. } else if (isFn(fromArgs)) {
  1139. fromArgs = processCallback(methodName, fromArgs, returnValue);
  1140. }
  1141. return fromArgs;
  1142. }
  1143. function processReturnValue(methodName, res, returnValue) {
  1144. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  1145. if (isFn(protocols.returnValue)) {
  1146. // 处理通用 returnValue
  1147. res = protocols.returnValue(methodName, res);
  1148. }
  1149. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  1150. }
  1151. function wrapper(methodName, method) {
  1152. if (hasOwn(protocols, methodName)) {
  1153. var protocol = protocols[methodName];
  1154. if (!protocol) {
  1155. // 暂不支持的 api
  1156. return function () {
  1157. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  1158. };
  1159. }
  1160. return function (arg1, arg2) {
  1161. // 目前 api 最多两个参数
  1162. var options = protocol;
  1163. if (isFn(protocol)) {
  1164. options = protocol(arg1);
  1165. }
  1166. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  1167. var args = [arg1];
  1168. if (typeof arg2 !== 'undefined') {
  1169. args.push(arg2);
  1170. }
  1171. if (isFn(options.name)) {
  1172. methodName = options.name(arg1);
  1173. } else if (isStr(options.name)) {
  1174. methodName = options.name;
  1175. }
  1176. var returnValue = wx[methodName].apply(wx, args);
  1177. if (isSyncApi(methodName)) {
  1178. // 同步 api
  1179. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1180. }
  1181. return returnValue;
  1182. };
  1183. }
  1184. return method;
  1185. }
  1186. var todoApis = Object.create(null);
  1187. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1188. function createTodoApi(name) {
  1189. return function todoApi(_ref) {
  1190. var fail = _ref.fail,
  1191. complete = _ref.complete;
  1192. var res = {
  1193. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1194. };
  1195. isFn(fail) && fail(res);
  1196. isFn(complete) && complete(res);
  1197. };
  1198. }
  1199. TODOS.forEach(function (name) {
  1200. todoApis[name] = createTodoApi(name);
  1201. });
  1202. var providers = {
  1203. oauth: ['weixin'],
  1204. share: ['weixin'],
  1205. payment: ['wxpay'],
  1206. push: ['weixin']
  1207. };
  1208. function getProvider(_ref2) {
  1209. var service = _ref2.service,
  1210. success = _ref2.success,
  1211. fail = _ref2.fail,
  1212. complete = _ref2.complete;
  1213. var res = false;
  1214. if (providers[service]) {
  1215. res = {
  1216. errMsg: 'getProvider:ok',
  1217. service: service,
  1218. provider: providers[service]
  1219. };
  1220. isFn(success) && success(res);
  1221. } else {
  1222. res = {
  1223. errMsg: 'getProvider:fail service not found'
  1224. };
  1225. isFn(fail) && fail(res);
  1226. }
  1227. isFn(complete) && complete(res);
  1228. }
  1229. var extraApi = /*#__PURE__*/Object.freeze({
  1230. __proto__: null,
  1231. getProvider: getProvider
  1232. });
  1233. var getEmitter = function () {
  1234. var Emitter;
  1235. return function getUniEmitter() {
  1236. if (!Emitter) {
  1237. Emitter = new _vue.default();
  1238. }
  1239. return Emitter;
  1240. };
  1241. }();
  1242. function apply(ctx, method, args) {
  1243. return ctx[method].apply(ctx, args);
  1244. }
  1245. function $on() {
  1246. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1247. }
  1248. function $off() {
  1249. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1250. }
  1251. function $once() {
  1252. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1253. }
  1254. function $emit() {
  1255. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1256. }
  1257. var eventApi = /*#__PURE__*/Object.freeze({
  1258. __proto__: null,
  1259. $on: $on,
  1260. $off: $off,
  1261. $once: $once,
  1262. $emit: $emit
  1263. });
  1264. /**
  1265. * 框架内 try-catch
  1266. */
  1267. /**
  1268. * 开发者 try-catch
  1269. */
  1270. function tryCatch(fn) {
  1271. return function () {
  1272. try {
  1273. return fn.apply(fn, arguments);
  1274. } catch (e) {
  1275. // TODO
  1276. console.error(e);
  1277. }
  1278. };
  1279. }
  1280. function getApiCallbacks(params) {
  1281. var apiCallbacks = {};
  1282. for (var name in params) {
  1283. var param = params[name];
  1284. if (isFn(param)) {
  1285. apiCallbacks[name] = tryCatch(param);
  1286. delete params[name];
  1287. }
  1288. }
  1289. return apiCallbacks;
  1290. }
  1291. var cid;
  1292. var cidErrMsg;
  1293. var enabled;
  1294. function normalizePushMessage(message) {
  1295. try {
  1296. return JSON.parse(message);
  1297. } catch (e) {}
  1298. return message;
  1299. }
  1300. function invokePushCallback(args) {
  1301. if (args.type === 'enabled') {
  1302. enabled = true;
  1303. } else if (args.type === 'clientId') {
  1304. cid = args.cid;
  1305. cidErrMsg = args.errMsg;
  1306. invokeGetPushCidCallbacks(cid, args.errMsg);
  1307. } else if (args.type === 'pushMsg') {
  1308. var message = {
  1309. type: 'receive',
  1310. data: normalizePushMessage(args.message)
  1311. };
  1312. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1313. var callback = onPushMessageCallbacks[i];
  1314. callback(message);
  1315. // 该消息已被阻止
  1316. if (message.stopped) {
  1317. break;
  1318. }
  1319. }
  1320. } else if (args.type === 'click') {
  1321. onPushMessageCallbacks.forEach(function (callback) {
  1322. callback({
  1323. type: 'click',
  1324. data: normalizePushMessage(args.message)
  1325. });
  1326. });
  1327. }
  1328. }
  1329. var getPushCidCallbacks = [];
  1330. function invokeGetPushCidCallbacks(cid, errMsg) {
  1331. getPushCidCallbacks.forEach(function (callback) {
  1332. callback(cid, errMsg);
  1333. });
  1334. getPushCidCallbacks.length = 0;
  1335. }
  1336. function getPushClientId(args) {
  1337. if (!isPlainObject(args)) {
  1338. args = {};
  1339. }
  1340. var _getApiCallbacks = getApiCallbacks(args),
  1341. success = _getApiCallbacks.success,
  1342. fail = _getApiCallbacks.fail,
  1343. complete = _getApiCallbacks.complete;
  1344. var hasSuccess = isFn(success);
  1345. var hasFail = isFn(fail);
  1346. var hasComplete = isFn(complete);
  1347. Promise.resolve().then(function () {
  1348. if (typeof enabled === 'undefined') {
  1349. enabled = false;
  1350. cid = '';
  1351. cidErrMsg = 'uniPush is not enabled';
  1352. }
  1353. getPushCidCallbacks.push(function (cid, errMsg) {
  1354. var res;
  1355. if (cid) {
  1356. res = {
  1357. errMsg: 'getPushClientId:ok',
  1358. cid: cid
  1359. };
  1360. hasSuccess && success(res);
  1361. } else {
  1362. res = {
  1363. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1364. };
  1365. hasFail && fail(res);
  1366. }
  1367. hasComplete && complete(res);
  1368. });
  1369. if (typeof cid !== 'undefined') {
  1370. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1371. }
  1372. });
  1373. }
  1374. var onPushMessageCallbacks = [];
  1375. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1376. var onPushMessage = function onPushMessage(fn) {
  1377. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1378. onPushMessageCallbacks.push(fn);
  1379. }
  1380. };
  1381. var offPushMessage = function offPushMessage(fn) {
  1382. if (!fn) {
  1383. onPushMessageCallbacks.length = 0;
  1384. } else {
  1385. var index = onPushMessageCallbacks.indexOf(fn);
  1386. if (index > -1) {
  1387. onPushMessageCallbacks.splice(index, 1);
  1388. }
  1389. }
  1390. };
  1391. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1392. if (!baseInfo) {
  1393. baseInfo = wx.getSystemInfoSync();
  1394. }
  1395. var host = baseInfo ? baseInfo.host : null;
  1396. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1397. var api = /*#__PURE__*/Object.freeze({
  1398. __proto__: null,
  1399. shareVideoMessage: shareVideoMessage,
  1400. getPushClientId: getPushClientId,
  1401. onPushMessage: onPushMessage,
  1402. offPushMessage: offPushMessage,
  1403. invokePushCallback: invokePushCallback
  1404. });
  1405. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1406. function findVmByVueId(vm, vuePid) {
  1407. var $children = vm.$children;
  1408. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1409. for (var i = $children.length - 1; i >= 0; i--) {
  1410. var childVm = $children[i];
  1411. if (childVm.$scope._$vueId === vuePid) {
  1412. return childVm;
  1413. }
  1414. }
  1415. // 反向递归查找
  1416. var parentVm;
  1417. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1418. parentVm = findVmByVueId($children[_i], vuePid);
  1419. if (parentVm) {
  1420. return parentVm;
  1421. }
  1422. }
  1423. }
  1424. function initBehavior(options) {
  1425. return Behavior(options);
  1426. }
  1427. function isPage() {
  1428. return !!this.route;
  1429. }
  1430. function initRelation(detail) {
  1431. this.triggerEvent('__l', detail);
  1432. }
  1433. function selectAllComponents(mpInstance, selector, $refs) {
  1434. var components = mpInstance.selectAllComponents(selector) || [];
  1435. components.forEach(function (component) {
  1436. var ref = component.dataset.ref;
  1437. $refs[ref] = component.$vm || toSkip(component);
  1438. {
  1439. if (component.dataset.vueGeneric === 'scoped') {
  1440. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1441. selectAllComponents(scopedComponent, selector, $refs);
  1442. });
  1443. }
  1444. }
  1445. });
  1446. }
  1447. function syncRefs(refs, newRefs) {
  1448. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1449. var newKeys = Object.keys(newRefs);
  1450. newKeys.forEach(function (key) {
  1451. var oldValue = refs[key];
  1452. var newValue = newRefs[key];
  1453. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1454. return oldValue.includes(value);
  1455. })) {
  1456. return;
  1457. }
  1458. refs[key] = newValue;
  1459. oldKeys.delete(key);
  1460. });
  1461. oldKeys.forEach(function (key) {
  1462. delete refs[key];
  1463. });
  1464. return refs;
  1465. }
  1466. function initRefs(vm) {
  1467. var mpInstance = vm.$scope;
  1468. var refs = {};
  1469. Object.defineProperty(vm, '$refs', {
  1470. get: function get() {
  1471. var $refs = {};
  1472. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1473. // TODO 暂不考虑 for 中的 scoped
  1474. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1475. forComponents.forEach(function (component) {
  1476. var ref = component.dataset.ref;
  1477. if (!$refs[ref]) {
  1478. $refs[ref] = [];
  1479. }
  1480. $refs[ref].push(component.$vm || toSkip(component));
  1481. });
  1482. return syncRefs(refs, $refs);
  1483. }
  1484. });
  1485. }
  1486. function handleLink(event) {
  1487. var _ref3 = event.detail || event.value,
  1488. vuePid = _ref3.vuePid,
  1489. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1490. var parentVm;
  1491. if (vuePid) {
  1492. parentVm = findVmByVueId(this.$vm, vuePid);
  1493. }
  1494. if (!parentVm) {
  1495. parentVm = this.$vm;
  1496. }
  1497. vueOptions.parent = parentVm;
  1498. }
  1499. function markMPComponent(component) {
  1500. // 在 Vue 中标记为小程序组件
  1501. var IS_MP = '__v_isMPComponent';
  1502. Object.defineProperty(component, IS_MP, {
  1503. configurable: true,
  1504. enumerable: false,
  1505. value: true
  1506. });
  1507. return component;
  1508. }
  1509. function toSkip(obj) {
  1510. var OB = '__ob__';
  1511. var SKIP = '__v_skip';
  1512. if (isObject(obj) && Object.isExtensible(obj)) {
  1513. // 避免被 @vue/composition-api 观测
  1514. Object.defineProperty(obj, OB, {
  1515. configurable: true,
  1516. enumerable: false,
  1517. value: (0, _defineProperty2.default)({}, SKIP, true)
  1518. });
  1519. }
  1520. return obj;
  1521. }
  1522. var WORKLET_RE = /_(.*)_worklet_factory_/;
  1523. function initWorkletMethods(mpMethods, vueMethods) {
  1524. if (vueMethods) {
  1525. Object.keys(vueMethods).forEach(function (name) {
  1526. var matches = name.match(WORKLET_RE);
  1527. if (matches) {
  1528. var workletName = matches[1];
  1529. mpMethods[name] = vueMethods[name];
  1530. mpMethods[workletName] = vueMethods[workletName];
  1531. }
  1532. });
  1533. }
  1534. }
  1535. var MPPage = Page;
  1536. var MPComponent = Component;
  1537. var customizeRE = /:/g;
  1538. var customize = cached(function (str) {
  1539. return camelize(str.replace(customizeRE, '-'));
  1540. });
  1541. function initTriggerEvent(mpInstance) {
  1542. var oldTriggerEvent = mpInstance.triggerEvent;
  1543. var newTriggerEvent = function newTriggerEvent(event) {
  1544. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1545. args[_key3 - 1] = arguments[_key3];
  1546. }
  1547. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1548. if (this.$vm || this.dataset && this.dataset.comType) {
  1549. event = customize(event);
  1550. } else {
  1551. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1552. var newEvent = customize(event);
  1553. if (newEvent !== event) {
  1554. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1555. }
  1556. }
  1557. return oldTriggerEvent.apply(this, [event].concat(args));
  1558. };
  1559. try {
  1560. // 京东小程序 triggerEvent 为只读
  1561. mpInstance.triggerEvent = newTriggerEvent;
  1562. } catch (error) {
  1563. mpInstance._triggerEvent = newTriggerEvent;
  1564. }
  1565. }
  1566. function initHook(name, options, isComponent) {
  1567. var oldHook = options[name];
  1568. options[name] = function () {
  1569. markMPComponent(this);
  1570. initTriggerEvent(this);
  1571. if (oldHook) {
  1572. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1573. args[_key4] = arguments[_key4];
  1574. }
  1575. return oldHook.apply(this, args);
  1576. }
  1577. };
  1578. }
  1579. if (!MPPage.__$wrappered) {
  1580. MPPage.__$wrappered = true;
  1581. Page = function Page() {
  1582. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1583. initHook('onLoad', options);
  1584. return MPPage(options);
  1585. };
  1586. Page.after = MPPage.after;
  1587. Component = function Component() {
  1588. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1589. initHook('created', options);
  1590. return MPComponent(options);
  1591. };
  1592. }
  1593. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1594. function initMocks(vm, mocks) {
  1595. var mpInstance = vm.$mp[vm.mpType];
  1596. mocks.forEach(function (mock) {
  1597. if (hasOwn(mpInstance, mock)) {
  1598. vm[mock] = mpInstance[mock];
  1599. }
  1600. });
  1601. }
  1602. function hasHook(hook, vueOptions) {
  1603. if (!vueOptions) {
  1604. return true;
  1605. }
  1606. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1607. return true;
  1608. }
  1609. vueOptions = vueOptions.default || vueOptions;
  1610. if (isFn(vueOptions)) {
  1611. if (isFn(vueOptions.extendOptions[hook])) {
  1612. return true;
  1613. }
  1614. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1615. return true;
  1616. }
  1617. return false;
  1618. }
  1619. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1620. return true;
  1621. }
  1622. var mixins = vueOptions.mixins;
  1623. if (Array.isArray(mixins)) {
  1624. return !!mixins.find(function (mixin) {
  1625. return hasHook(hook, mixin);
  1626. });
  1627. }
  1628. }
  1629. function initHooks(mpOptions, hooks, vueOptions) {
  1630. hooks.forEach(function (hook) {
  1631. if (hasHook(hook, vueOptions)) {
  1632. mpOptions[hook] = function (args) {
  1633. return this.$vm && this.$vm.__call_hook(hook, args);
  1634. };
  1635. }
  1636. });
  1637. }
  1638. function initUnknownHooks(mpOptions, vueOptions) {
  1639. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1640. findHooks(vueOptions).forEach(function (hook) {
  1641. return initHook$1(mpOptions, hook, excludes);
  1642. });
  1643. }
  1644. function findHooks(vueOptions) {
  1645. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  1646. if (vueOptions) {
  1647. Object.keys(vueOptions).forEach(function (name) {
  1648. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  1649. hooks.push(name);
  1650. }
  1651. });
  1652. }
  1653. return hooks;
  1654. }
  1655. function initHook$1(mpOptions, hook, excludes) {
  1656. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  1657. mpOptions[hook] = function (args) {
  1658. return this.$vm && this.$vm.__call_hook(hook, args);
  1659. };
  1660. }
  1661. }
  1662. function initVueComponent(Vue, vueOptions) {
  1663. vueOptions = vueOptions.default || vueOptions;
  1664. var VueComponent;
  1665. if (isFn(vueOptions)) {
  1666. VueComponent = vueOptions;
  1667. } else {
  1668. VueComponent = Vue.extend(vueOptions);
  1669. }
  1670. vueOptions = VueComponent.options;
  1671. return [VueComponent, vueOptions];
  1672. }
  1673. function initSlots(vm, vueSlots) {
  1674. if (Array.isArray(vueSlots) && vueSlots.length) {
  1675. var $slots = Object.create(null);
  1676. vueSlots.forEach(function (slotName) {
  1677. $slots[slotName] = true;
  1678. });
  1679. vm.$scopedSlots = vm.$slots = $slots;
  1680. }
  1681. }
  1682. function initVueIds(vueIds, mpInstance) {
  1683. vueIds = (vueIds || '').split(',');
  1684. var len = vueIds.length;
  1685. if (len === 1) {
  1686. mpInstance._$vueId = vueIds[0];
  1687. } else if (len === 2) {
  1688. mpInstance._$vueId = vueIds[0];
  1689. mpInstance._$vuePid = vueIds[1];
  1690. }
  1691. }
  1692. function initData(vueOptions, context) {
  1693. var data = vueOptions.data || {};
  1694. var methods = vueOptions.methods || {};
  1695. if (typeof data === 'function') {
  1696. try {
  1697. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  1698. } catch (e) {
  1699. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  1700. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  1701. }
  1702. }
  1703. } else {
  1704. try {
  1705. // 对 data 格式化
  1706. data = JSON.parse(JSON.stringify(data));
  1707. } catch (e) {}
  1708. }
  1709. if (!isPlainObject(data)) {
  1710. data = {};
  1711. }
  1712. Object.keys(methods).forEach(function (methodName) {
  1713. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  1714. data[methodName] = methods[methodName];
  1715. }
  1716. });
  1717. return data;
  1718. }
  1719. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  1720. function createObserver(name) {
  1721. return function observer(newVal, oldVal) {
  1722. if (this.$vm) {
  1723. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  1724. }
  1725. };
  1726. }
  1727. function initBehaviors(vueOptions, initBehavior) {
  1728. var vueBehaviors = vueOptions.behaviors;
  1729. var vueExtends = vueOptions.extends;
  1730. var vueMixins = vueOptions.mixins;
  1731. var vueProps = vueOptions.props;
  1732. if (!vueProps) {
  1733. vueOptions.props = vueProps = [];
  1734. }
  1735. var behaviors = [];
  1736. if (Array.isArray(vueBehaviors)) {
  1737. vueBehaviors.forEach(function (behavior) {
  1738. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  1739. if (behavior === 'uni://form-field') {
  1740. if (Array.isArray(vueProps)) {
  1741. vueProps.push('name');
  1742. vueProps.push('value');
  1743. } else {
  1744. vueProps.name = {
  1745. type: String,
  1746. default: ''
  1747. };
  1748. vueProps.value = {
  1749. type: [String, Number, Boolean, Array, Object, Date],
  1750. default: ''
  1751. };
  1752. }
  1753. }
  1754. });
  1755. }
  1756. if (isPlainObject(vueExtends) && vueExtends.props) {
  1757. behaviors.push(initBehavior({
  1758. properties: initProperties(vueExtends.props, true)
  1759. }));
  1760. }
  1761. if (Array.isArray(vueMixins)) {
  1762. vueMixins.forEach(function (vueMixin) {
  1763. if (isPlainObject(vueMixin) && vueMixin.props) {
  1764. behaviors.push(initBehavior({
  1765. properties: initProperties(vueMixin.props, true)
  1766. }));
  1767. }
  1768. });
  1769. }
  1770. return behaviors;
  1771. }
  1772. function parsePropType(key, type, defaultValue, file) {
  1773. // [String]=>String
  1774. if (Array.isArray(type) && type.length === 1) {
  1775. return type[0];
  1776. }
  1777. return type;
  1778. }
  1779. function initProperties(props) {
  1780. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  1781. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  1782. var options = arguments.length > 3 ? arguments[3] : undefined;
  1783. var properties = {};
  1784. if (!isBehavior) {
  1785. properties.vueId = {
  1786. type: String,
  1787. value: ''
  1788. };
  1789. {
  1790. if (options.virtualHost) {
  1791. properties.virtualHostStyle = {
  1792. type: null,
  1793. value: ''
  1794. };
  1795. properties.virtualHostClass = {
  1796. type: null,
  1797. value: ''
  1798. };
  1799. }
  1800. }
  1801. // scopedSlotsCompiler auto
  1802. properties.scopedSlotsCompiler = {
  1803. type: String,
  1804. value: ''
  1805. };
  1806. properties.vueSlots = {
  1807. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  1808. type: null,
  1809. value: [],
  1810. observer: function observer(newVal, oldVal) {
  1811. var $slots = Object.create(null);
  1812. newVal.forEach(function (slotName) {
  1813. $slots[slotName] = true;
  1814. });
  1815. this.setData({
  1816. $slots: $slots
  1817. });
  1818. }
  1819. };
  1820. }
  1821. if (Array.isArray(props)) {
  1822. // ['title']
  1823. props.forEach(function (key) {
  1824. properties[key] = {
  1825. type: null,
  1826. observer: createObserver(key)
  1827. };
  1828. });
  1829. } else if (isPlainObject(props)) {
  1830. // {title:{type:String,default:''},content:String}
  1831. Object.keys(props).forEach(function (key) {
  1832. var opts = props[key];
  1833. if (isPlainObject(opts)) {
  1834. // title:{type:String,default:''}
  1835. var value = opts.default;
  1836. if (isFn(value)) {
  1837. value = value();
  1838. }
  1839. opts.type = parsePropType(key, opts.type);
  1840. properties[key] = {
  1841. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  1842. value: value,
  1843. observer: createObserver(key)
  1844. };
  1845. } else {
  1846. // content:String
  1847. var type = parsePropType(key, opts);
  1848. properties[key] = {
  1849. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  1850. observer: createObserver(key)
  1851. };
  1852. }
  1853. });
  1854. }
  1855. return properties;
  1856. }
  1857. function wrapper$1(event) {
  1858. // TODO 又得兼容 mpvue 的 mp 对象
  1859. try {
  1860. event.mp = JSON.parse(JSON.stringify(event));
  1861. } catch (e) {}
  1862. event.stopPropagation = noop;
  1863. event.preventDefault = noop;
  1864. event.target = event.target || {};
  1865. if (!hasOwn(event, 'detail')) {
  1866. event.detail = {};
  1867. }
  1868. if (hasOwn(event, 'markerId')) {
  1869. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  1870. event.detail.markerId = event.markerId;
  1871. }
  1872. if (isPlainObject(event.detail)) {
  1873. event.target = Object.assign({}, event.target, event.detail);
  1874. }
  1875. return event;
  1876. }
  1877. function getExtraValue(vm, dataPathsArray) {
  1878. var context = vm;
  1879. dataPathsArray.forEach(function (dataPathArray) {
  1880. var dataPath = dataPathArray[0];
  1881. var value = dataPathArray[2];
  1882. if (dataPath || typeof value !== 'undefined') {
  1883. // ['','',index,'disable']
  1884. var propPath = dataPathArray[1];
  1885. var valuePath = dataPathArray[3];
  1886. var vFor;
  1887. if (Number.isInteger(dataPath)) {
  1888. vFor = dataPath;
  1889. } else if (!dataPath) {
  1890. vFor = context;
  1891. } else if (typeof dataPath === 'string' && dataPath) {
  1892. if (dataPath.indexOf('#s#') === 0) {
  1893. vFor = dataPath.substr(3);
  1894. } else {
  1895. vFor = vm.__get_value(dataPath, context);
  1896. }
  1897. }
  1898. if (Number.isInteger(vFor)) {
  1899. context = value;
  1900. } else if (!propPath) {
  1901. context = vFor[value];
  1902. } else {
  1903. if (Array.isArray(vFor)) {
  1904. context = vFor.find(function (vForItem) {
  1905. return vm.__get_value(propPath, vForItem) === value;
  1906. });
  1907. } else if (isPlainObject(vFor)) {
  1908. context = Object.keys(vFor).find(function (vForKey) {
  1909. return vm.__get_value(propPath, vFor[vForKey]) === value;
  1910. });
  1911. } else {
  1912. console.error('v-for 暂不支持循环数据:', vFor);
  1913. }
  1914. }
  1915. if (valuePath) {
  1916. context = vm.__get_value(valuePath, context);
  1917. }
  1918. }
  1919. });
  1920. return context;
  1921. }
  1922. function processEventExtra(vm, extra, event, __args__) {
  1923. var extraObj = {};
  1924. if (Array.isArray(extra) && extra.length) {
  1925. /**
  1926. *[
  1927. * ['data.items', 'data.id', item.data.id],
  1928. * ['metas', 'id', meta.id]
  1929. *],
  1930. *[
  1931. * ['data.items', 'data.id', item.data.id],
  1932. * ['metas', 'id', meta.id]
  1933. *],
  1934. *'test'
  1935. */
  1936. extra.forEach(function (dataPath, index) {
  1937. if (typeof dataPath === 'string') {
  1938. if (!dataPath) {
  1939. // model,prop.sync
  1940. extraObj['$' + index] = vm;
  1941. } else {
  1942. if (dataPath === '$event') {
  1943. // $event
  1944. extraObj['$' + index] = event;
  1945. } else if (dataPath === 'arguments') {
  1946. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  1947. } else if (dataPath.indexOf('$event.') === 0) {
  1948. // $event.target.value
  1949. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  1950. } else {
  1951. extraObj['$' + index] = vm.__get_value(dataPath);
  1952. }
  1953. }
  1954. } else {
  1955. extraObj['$' + index] = getExtraValue(vm, dataPath);
  1956. }
  1957. });
  1958. }
  1959. return extraObj;
  1960. }
  1961. function getObjByArray(arr) {
  1962. var obj = {};
  1963. for (var i = 1; i < arr.length; i++) {
  1964. var element = arr[i];
  1965. obj[element[0]] = element[1];
  1966. }
  1967. return obj;
  1968. }
  1969. function processEventArgs(vm, event) {
  1970. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1971. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  1972. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  1973. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  1974. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  1975. // fixed 用户直接触发 mpInstance.triggerEvent
  1976. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  1977. if (isCustom) {
  1978. // 自定义事件
  1979. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  1980. if (!args.length) {
  1981. // 无参数,直接传入 event 或 detail 数组
  1982. if (isCustomMPEvent) {
  1983. return [event];
  1984. }
  1985. return __args__;
  1986. }
  1987. }
  1988. var extraObj = processEventExtra(vm, extra, event, __args__);
  1989. var ret = [];
  1990. args.forEach(function (arg) {
  1991. if (arg === '$event') {
  1992. if (methodName === '__set_model' && !isCustom) {
  1993. // input v-model value
  1994. ret.push(event.target.value);
  1995. } else {
  1996. if (isCustom && !isCustomMPEvent) {
  1997. ret.push(__args__[0]);
  1998. } else {
  1999. // wxcomponent 组件或内置组件
  2000. ret.push(event);
  2001. }
  2002. }
  2003. } else {
  2004. if (Array.isArray(arg) && arg[0] === 'o') {
  2005. ret.push(getObjByArray(arg));
  2006. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  2007. ret.push(extraObj[arg]);
  2008. } else {
  2009. ret.push(arg);
  2010. }
  2011. }
  2012. });
  2013. return ret;
  2014. }
  2015. var ONCE = '~';
  2016. var CUSTOM = '^';
  2017. function isMatchEventType(eventType, optType) {
  2018. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  2019. }
  2020. function getContextVm(vm) {
  2021. var $parent = vm.$parent;
  2022. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  2023. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  2024. $parent = $parent.$parent;
  2025. }
  2026. return $parent && $parent.$parent;
  2027. }
  2028. function handleEvent(event) {
  2029. var _this2 = this;
  2030. event = wrapper$1(event);
  2031. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  2032. var dataset = (event.currentTarget || event.target).dataset;
  2033. if (!dataset) {
  2034. return console.warn('事件信息不存在');
  2035. }
  2036. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  2037. if (!eventOpts) {
  2038. return console.warn('事件信息不存在');
  2039. }
  2040. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  2041. var eventType = event.type;
  2042. var ret = [];
  2043. eventOpts.forEach(function (eventOpt) {
  2044. var type = eventOpt[0];
  2045. var eventsArray = eventOpt[1];
  2046. var isCustom = type.charAt(0) === CUSTOM;
  2047. type = isCustom ? type.slice(1) : type;
  2048. var isOnce = type.charAt(0) === ONCE;
  2049. type = isOnce ? type.slice(1) : type;
  2050. if (eventsArray && isMatchEventType(eventType, type)) {
  2051. eventsArray.forEach(function (eventArray) {
  2052. var methodName = eventArray[0];
  2053. if (methodName) {
  2054. var handlerCtx = _this2.$vm;
  2055. if (handlerCtx.$options.generic) {
  2056. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  2057. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  2058. }
  2059. if (methodName === '$emit') {
  2060. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  2061. return;
  2062. }
  2063. var handler = handlerCtx[methodName];
  2064. if (!isFn(handler)) {
  2065. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  2066. var path = _this2.route || _this2.is;
  2067. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  2068. }
  2069. if (isOnce) {
  2070. if (handler.once) {
  2071. return;
  2072. }
  2073. handler.once = true;
  2074. }
  2075. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  2076. params = Array.isArray(params) ? params : [];
  2077. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  2078. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  2079. // eslint-disable-next-line no-sparse-arrays
  2080. params = params.concat([,,,,,,,,,, event]);
  2081. }
  2082. ret.push(handler.apply(handlerCtx, params));
  2083. }
  2084. });
  2085. }
  2086. });
  2087. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  2088. return ret[0];
  2089. }
  2090. }
  2091. var eventChannels = {};
  2092. function getEventChannel(id) {
  2093. var eventChannel = eventChannels[id];
  2094. delete eventChannels[id];
  2095. return eventChannel;
  2096. }
  2097. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  2098. function initEventChannel() {
  2099. _vue.default.prototype.getOpenerEventChannel = function () {
  2100. // 微信小程序使用自身getOpenerEventChannel
  2101. {
  2102. return this.$scope.getOpenerEventChannel();
  2103. }
  2104. };
  2105. var callHook = _vue.default.prototype.__call_hook;
  2106. _vue.default.prototype.__call_hook = function (hook, args) {
  2107. if (hook === 'onLoad' && args && args.__id__) {
  2108. this.__eventChannel__ = getEventChannel(args.__id__);
  2109. delete args.__id__;
  2110. }
  2111. return callHook.call(this, hook, args);
  2112. };
  2113. }
  2114. function initScopedSlotsParams() {
  2115. var center = {};
  2116. var parents = {};
  2117. function currentId(fn) {
  2118. var vueIds = this.$options.propsData.vueId;
  2119. if (vueIds) {
  2120. var vueId = vueIds.split(',')[0];
  2121. fn(vueId);
  2122. }
  2123. }
  2124. _vue.default.prototype.$hasSSP = function (vueId) {
  2125. var slot = center[vueId];
  2126. if (!slot) {
  2127. parents[vueId] = this;
  2128. this.$on('hook:destroyed', function () {
  2129. delete parents[vueId];
  2130. });
  2131. }
  2132. return slot;
  2133. };
  2134. _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
  2135. var slot = center[vueId];
  2136. if (slot) {
  2137. var params = slot[name] || [];
  2138. if (needAll) {
  2139. return params;
  2140. }
  2141. return params[0];
  2142. }
  2143. };
  2144. _vue.default.prototype.$setSSP = function (name, value) {
  2145. var index = 0;
  2146. currentId.call(this, function (vueId) {
  2147. var slot = center[vueId];
  2148. var params = slot[name] = slot[name] || [];
  2149. params.push(value);
  2150. index = params.length - 1;
  2151. });
  2152. return index;
  2153. };
  2154. _vue.default.prototype.$initSSP = function () {
  2155. currentId.call(this, function (vueId) {
  2156. center[vueId] = {};
  2157. });
  2158. };
  2159. _vue.default.prototype.$callSSP = function () {
  2160. currentId.call(this, function (vueId) {
  2161. if (parents[vueId]) {
  2162. parents[vueId].$forceUpdate();
  2163. }
  2164. });
  2165. };
  2166. _vue.default.mixin({
  2167. destroyed: function destroyed() {
  2168. var propsData = this.$options.propsData;
  2169. var vueId = propsData && propsData.vueId;
  2170. if (vueId) {
  2171. delete center[vueId];
  2172. delete parents[vueId];
  2173. }
  2174. }
  2175. });
  2176. }
  2177. function parseBaseApp(vm, _ref4) {
  2178. var mocks = _ref4.mocks,
  2179. initRefs = _ref4.initRefs;
  2180. initEventChannel();
  2181. {
  2182. initScopedSlotsParams();
  2183. }
  2184. if (vm.$options.store) {
  2185. _vue.default.prototype.$store = vm.$options.store;
  2186. }
  2187. uniIdMixin(_vue.default);
  2188. _vue.default.prototype.mpHost = "mp-weixin";
  2189. _vue.default.mixin({
  2190. beforeCreate: function beforeCreate() {
  2191. if (!this.$options.mpType) {
  2192. return;
  2193. }
  2194. this.mpType = this.$options.mpType;
  2195. this.$mp = (0, _defineProperty2.default)({
  2196. data: {}
  2197. }, this.mpType, this.$options.mpInstance);
  2198. this.$scope = this.$options.mpInstance;
  2199. delete this.$options.mpType;
  2200. delete this.$options.mpInstance;
  2201. if (this.mpType === 'page' && typeof getApp === 'function') {
  2202. // hack vue-i18n
  2203. var app = getApp();
  2204. if (app.$vm && app.$vm.$i18n) {
  2205. this._i18n = app.$vm.$i18n;
  2206. }
  2207. }
  2208. if (this.mpType !== 'app') {
  2209. initRefs(this);
  2210. initMocks(this, mocks);
  2211. }
  2212. }
  2213. });
  2214. var appOptions = {
  2215. onLaunch: function onLaunch(args) {
  2216. if (this.$vm) {
  2217. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2218. return;
  2219. }
  2220. {
  2221. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2222. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2223. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2224. }
  2225. }
  2226. this.$vm = vm;
  2227. this.$vm.$mp = {
  2228. app: this
  2229. };
  2230. this.$vm.$scope = this;
  2231. // vm 上也挂载 globalData
  2232. this.$vm.globalData = this.globalData;
  2233. this.$vm._isMounted = true;
  2234. this.$vm.__call_hook('mounted', args);
  2235. this.$vm.__call_hook('onLaunch', args);
  2236. }
  2237. };
  2238. // 兼容旧版本 globalData
  2239. appOptions.globalData = vm.$options.globalData || {};
  2240. // 将 methods 中的方法挂在 getApp() 中
  2241. var methods = vm.$options.methods;
  2242. if (methods) {
  2243. Object.keys(methods).forEach(function (name) {
  2244. appOptions[name] = methods[name];
  2245. });
  2246. }
  2247. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2248. initHooks(appOptions, hooks);
  2249. initUnknownHooks(appOptions, vm.$options);
  2250. return appOptions;
  2251. }
  2252. function parseApp(vm) {
  2253. return parseBaseApp(vm, {
  2254. mocks: mocks,
  2255. initRefs: initRefs
  2256. });
  2257. }
  2258. function createApp(vm) {
  2259. App(parseApp(vm));
  2260. return vm;
  2261. }
  2262. var encodeReserveRE = /[!'()*]/g;
  2263. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2264. return '%' + c.charCodeAt(0).toString(16);
  2265. };
  2266. var commaRE = /%2C/g;
  2267. // fixed encodeURIComponent which is more conformant to RFC3986:
  2268. // - escapes [!'()*]
  2269. // - preserve commas
  2270. var encode = function encode(str) {
  2271. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2272. };
  2273. function stringifyQuery(obj) {
  2274. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2275. var res = obj ? Object.keys(obj).map(function (key) {
  2276. var val = obj[key];
  2277. if (val === undefined) {
  2278. return '';
  2279. }
  2280. if (val === null) {
  2281. return encodeStr(key);
  2282. }
  2283. if (Array.isArray(val)) {
  2284. var result = [];
  2285. val.forEach(function (val2) {
  2286. if (val2 === undefined) {
  2287. return;
  2288. }
  2289. if (val2 === null) {
  2290. result.push(encodeStr(key));
  2291. } else {
  2292. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2293. }
  2294. });
  2295. return result.join('&');
  2296. }
  2297. return encodeStr(key) + '=' + encodeStr(val);
  2298. }).filter(function (x) {
  2299. return x.length > 0;
  2300. }).join('&') : null;
  2301. return res ? "?".concat(res) : '';
  2302. }
  2303. function parseBaseComponent(vueComponentOptions) {
  2304. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2305. isPage = _ref5.isPage,
  2306. initRelation = _ref5.initRelation;
  2307. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2308. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2309. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2310. VueComponent = _initVueComponent2[0],
  2311. vueOptions = _initVueComponent2[1];
  2312. var options = _objectSpread({
  2313. multipleSlots: true,
  2314. // styleIsolation: 'apply-shared',
  2315. addGlobalClass: true
  2316. }, vueOptions.options || {});
  2317. {
  2318. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2319. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2320. Object.assign(options, vueOptions['mp-weixin'].options);
  2321. }
  2322. }
  2323. var componentOptions = {
  2324. options: options,
  2325. data: initData(vueOptions, _vue.default.prototype),
  2326. behaviors: initBehaviors(vueOptions, initBehavior),
  2327. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2328. lifetimes: {
  2329. attached: function attached() {
  2330. var properties = this.properties;
  2331. var options = {
  2332. mpType: isPage.call(this) ? 'page' : 'component',
  2333. mpInstance: this,
  2334. propsData: properties
  2335. };
  2336. initVueIds(properties.vueId, this);
  2337. // 处理父子关系
  2338. initRelation.call(this, {
  2339. vuePid: this._$vuePid,
  2340. vueOptions: options
  2341. });
  2342. // 初始化 vue 实例
  2343. this.$vm = new VueComponent(options);
  2344. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2345. initSlots(this.$vm, properties.vueSlots);
  2346. // 触发首次 setData
  2347. this.$vm.$mount();
  2348. },
  2349. ready: function ready() {
  2350. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2351. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2352. if (this.$vm) {
  2353. this.$vm._isMounted = true;
  2354. this.$vm.__call_hook('mounted');
  2355. this.$vm.__call_hook('onReady');
  2356. }
  2357. },
  2358. detached: function detached() {
  2359. this.$vm && this.$vm.$destroy();
  2360. }
  2361. },
  2362. pageLifetimes: {
  2363. show: function show(args) {
  2364. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2365. },
  2366. hide: function hide() {
  2367. this.$vm && this.$vm.__call_hook('onPageHide');
  2368. },
  2369. resize: function resize(size) {
  2370. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2371. }
  2372. },
  2373. methods: {
  2374. __l: handleLink,
  2375. __e: handleEvent
  2376. }
  2377. };
  2378. // externalClasses
  2379. if (vueOptions.externalClasses) {
  2380. componentOptions.externalClasses = vueOptions.externalClasses;
  2381. }
  2382. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2383. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2384. componentOptions.methods[callMethod] = function (args) {
  2385. return this.$vm[callMethod](args);
  2386. };
  2387. });
  2388. }
  2389. if (needVueOptions) {
  2390. return [componentOptions, vueOptions, VueComponent];
  2391. }
  2392. if (isPage) {
  2393. return componentOptions;
  2394. }
  2395. return [componentOptions, VueComponent];
  2396. }
  2397. function parseComponent(vueComponentOptions, needVueOptions) {
  2398. return parseBaseComponent(vueComponentOptions, {
  2399. isPage: isPage,
  2400. initRelation: initRelation
  2401. }, needVueOptions);
  2402. }
  2403. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2404. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2405. function parseBasePage(vuePageOptions) {
  2406. var _parseComponent = parseComponent(vuePageOptions, true),
  2407. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2408. pageOptions = _parseComponent2[0],
  2409. vueOptions = _parseComponent2[1];
  2410. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2411. pageOptions.methods.onLoad = function (query) {
  2412. this.options = query;
  2413. var copyQuery = Object.assign({}, query);
  2414. delete copyQuery.__id__;
  2415. this.$page = {
  2416. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2417. };
  2418. this.$vm.$mp.query = query; // 兼容 mpvue
  2419. this.$vm.__call_hook('onLoad', query);
  2420. };
  2421. {
  2422. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2423. }
  2424. {
  2425. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  2426. }
  2427. return pageOptions;
  2428. }
  2429. function parsePage(vuePageOptions) {
  2430. return parseBasePage(vuePageOptions);
  2431. }
  2432. function createPage(vuePageOptions) {
  2433. {
  2434. return Component(parsePage(vuePageOptions));
  2435. }
  2436. }
  2437. function createComponent(vueOptions) {
  2438. {
  2439. return Component(parseComponent(vueOptions));
  2440. }
  2441. }
  2442. function createSubpackageApp(vm) {
  2443. var appOptions = parseApp(vm);
  2444. var app = getApp({
  2445. allowDefault: true
  2446. });
  2447. vm.$scope = app;
  2448. var globalData = app.globalData;
  2449. if (globalData) {
  2450. Object.keys(appOptions.globalData).forEach(function (name) {
  2451. if (!hasOwn(globalData, name)) {
  2452. globalData[name] = appOptions.globalData[name];
  2453. }
  2454. });
  2455. }
  2456. Object.keys(appOptions).forEach(function (name) {
  2457. if (!hasOwn(app, name)) {
  2458. app[name] = appOptions[name];
  2459. }
  2460. });
  2461. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2462. wx.onAppShow(function () {
  2463. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2464. args[_key5] = arguments[_key5];
  2465. }
  2466. vm.__call_hook('onShow', args);
  2467. });
  2468. }
  2469. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2470. wx.onAppHide(function () {
  2471. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2472. args[_key6] = arguments[_key6];
  2473. }
  2474. vm.__call_hook('onHide', args);
  2475. });
  2476. }
  2477. if (isFn(appOptions.onLaunch)) {
  2478. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2479. vm.__call_hook('onLaunch', args);
  2480. }
  2481. return vm;
  2482. }
  2483. function createPlugin(vm) {
  2484. var appOptions = parseApp(vm);
  2485. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2486. wx.onAppShow(function () {
  2487. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2488. args[_key7] = arguments[_key7];
  2489. }
  2490. vm.__call_hook('onShow', args);
  2491. });
  2492. }
  2493. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2494. wx.onAppHide(function () {
  2495. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2496. args[_key8] = arguments[_key8];
  2497. }
  2498. vm.__call_hook('onHide', args);
  2499. });
  2500. }
  2501. if (isFn(appOptions.onLaunch)) {
  2502. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2503. vm.__call_hook('onLaunch', args);
  2504. }
  2505. return vm;
  2506. }
  2507. todos.forEach(function (todoApi) {
  2508. protocols[todoApi] = false;
  2509. });
  2510. canIUses.forEach(function (canIUseApi) {
  2511. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2512. if (!wx.canIUse(apiName)) {
  2513. protocols[canIUseApi] = false;
  2514. }
  2515. });
  2516. var uni = {};
  2517. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2518. uni = new Proxy({}, {
  2519. get: function get(target, name) {
  2520. if (hasOwn(target, name)) {
  2521. return target[name];
  2522. }
  2523. if (baseApi[name]) {
  2524. return baseApi[name];
  2525. }
  2526. if (api[name]) {
  2527. return promisify(name, api[name]);
  2528. }
  2529. {
  2530. if (extraApi[name]) {
  2531. return promisify(name, extraApi[name]);
  2532. }
  2533. if (todoApis[name]) {
  2534. return promisify(name, todoApis[name]);
  2535. }
  2536. }
  2537. if (eventApi[name]) {
  2538. return eventApi[name];
  2539. }
  2540. return promisify(name, wrapper(name, wx[name]));
  2541. },
  2542. set: function set(target, name, value) {
  2543. target[name] = value;
  2544. return true;
  2545. }
  2546. });
  2547. } else {
  2548. Object.keys(baseApi).forEach(function (name) {
  2549. uni[name] = baseApi[name];
  2550. });
  2551. {
  2552. Object.keys(todoApis).forEach(function (name) {
  2553. uni[name] = promisify(name, todoApis[name]);
  2554. });
  2555. Object.keys(extraApi).forEach(function (name) {
  2556. uni[name] = promisify(name, extraApi[name]);
  2557. });
  2558. }
  2559. Object.keys(eventApi).forEach(function (name) {
  2560. uni[name] = eventApi[name];
  2561. });
  2562. Object.keys(api).forEach(function (name) {
  2563. uni[name] = promisify(name, api[name]);
  2564. });
  2565. Object.keys(wx).forEach(function (name) {
  2566. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2567. uni[name] = promisify(name, wrapper(name, wx[name]));
  2568. }
  2569. });
  2570. }
  2571. wx.createApp = createApp;
  2572. wx.createPage = createPage;
  2573. wx.createComponent = createComponent;
  2574. wx.createSubpackageApp = createSubpackageApp;
  2575. wx.createPlugin = createPlugin;
  2576. var uni$1 = uni;
  2577. var _default = uni$1;
  2578. exports.default = _default;
  2579. /* 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)))
  2580. /***/ }),
  2581. /***/ 20:
  2582. /*!****************************************************************!*\
  2583. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2584. \****************************************************************/
  2585. /*! no static exports found */
  2586. /***/ (function(module, exports) {
  2587. function _iterableToArray(iter) {
  2588. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2589. }
  2590. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2591. /***/ }),
  2592. /***/ 21:
  2593. /*!******************************************************************!*\
  2594. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2595. \******************************************************************/
  2596. /*! no static exports found */
  2597. /***/ (function(module, exports) {
  2598. function _nonIterableSpread() {
  2599. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2600. }
  2601. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2602. /***/ }),
  2603. /***/ 22:
  2604. /*!*************************************************************!*\
  2605. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  2606. \*************************************************************/
  2607. /*! no static exports found */
  2608. /***/ (function(module, exports, __webpack_require__) {
  2609. "use strict";
  2610. /* WEBPACK VAR INJECTION */(function(uni, global) {
  2611. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2612. Object.defineProperty(exports, "__esModule", {
  2613. value: true
  2614. });
  2615. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  2616. exports.compileI18nJsonStr = compileI18nJsonStr;
  2617. exports.hasI18nJson = hasI18nJson;
  2618. exports.initVueI18n = initVueI18n;
  2619. exports.isI18nStr = isI18nStr;
  2620. exports.isString = void 0;
  2621. exports.normalizeLocale = normalizeLocale;
  2622. exports.parseI18nJson = parseI18nJson;
  2623. exports.resolveLocale = resolveLocale;
  2624. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  2625. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  2626. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  2627. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  2628. var isObject = function isObject(val) {
  2629. return val !== null && (0, _typeof2.default)(val) === 'object';
  2630. };
  2631. var defaultDelimiters = ['{', '}'];
  2632. var BaseFormatter = /*#__PURE__*/function () {
  2633. function BaseFormatter() {
  2634. (0, _classCallCheck2.default)(this, BaseFormatter);
  2635. this._caches = Object.create(null);
  2636. }
  2637. (0, _createClass2.default)(BaseFormatter, [{
  2638. key: "interpolate",
  2639. value: function interpolate(message, values) {
  2640. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  2641. if (!values) {
  2642. return [message];
  2643. }
  2644. var tokens = this._caches[message];
  2645. if (!tokens) {
  2646. tokens = parse(message, delimiters);
  2647. this._caches[message] = tokens;
  2648. }
  2649. return compile(tokens, values);
  2650. }
  2651. }]);
  2652. return BaseFormatter;
  2653. }();
  2654. exports.Formatter = BaseFormatter;
  2655. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  2656. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  2657. function parse(format, _ref) {
  2658. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  2659. startDelimiter = _ref2[0],
  2660. endDelimiter = _ref2[1];
  2661. var tokens = [];
  2662. var position = 0;
  2663. var text = '';
  2664. while (position < format.length) {
  2665. var char = format[position++];
  2666. if (char === startDelimiter) {
  2667. if (text) {
  2668. tokens.push({
  2669. type: 'text',
  2670. value: text
  2671. });
  2672. }
  2673. text = '';
  2674. var sub = '';
  2675. char = format[position++];
  2676. while (char !== undefined && char !== endDelimiter) {
  2677. sub += char;
  2678. char = format[position++];
  2679. }
  2680. var isClosed = char === endDelimiter;
  2681. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  2682. tokens.push({
  2683. value: sub,
  2684. type: type
  2685. });
  2686. }
  2687. // else if (char === '%') {
  2688. // // when found rails i18n syntax, skip text capture
  2689. // if (format[position] !== '{') {
  2690. // text += char
  2691. // }
  2692. // }
  2693. else {
  2694. text += char;
  2695. }
  2696. }
  2697. text && tokens.push({
  2698. type: 'text',
  2699. value: text
  2700. });
  2701. return tokens;
  2702. }
  2703. function compile(tokens, values) {
  2704. var compiled = [];
  2705. var index = 0;
  2706. var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  2707. if (mode === 'unknown') {
  2708. return compiled;
  2709. }
  2710. while (index < tokens.length) {
  2711. var token = tokens[index];
  2712. switch (token.type) {
  2713. case 'text':
  2714. compiled.push(token.value);
  2715. break;
  2716. case 'list':
  2717. compiled.push(values[parseInt(token.value, 10)]);
  2718. break;
  2719. case 'named':
  2720. if (mode === 'named') {
  2721. compiled.push(values[token.value]);
  2722. } else {
  2723. if (true) {
  2724. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  2725. }
  2726. }
  2727. break;
  2728. case 'unknown':
  2729. if (true) {
  2730. console.warn("Detect 'unknown' type of token!");
  2731. }
  2732. break;
  2733. }
  2734. index++;
  2735. }
  2736. return compiled;
  2737. }
  2738. var LOCALE_ZH_HANS = 'zh-Hans';
  2739. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  2740. var LOCALE_ZH_HANT = 'zh-Hant';
  2741. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  2742. var LOCALE_EN = 'en';
  2743. exports.LOCALE_EN = LOCALE_EN;
  2744. var LOCALE_FR = 'fr';
  2745. exports.LOCALE_FR = LOCALE_FR;
  2746. var LOCALE_ES = 'es';
  2747. exports.LOCALE_ES = LOCALE_ES;
  2748. var hasOwnProperty = Object.prototype.hasOwnProperty;
  2749. var hasOwn = function hasOwn(val, key) {
  2750. return hasOwnProperty.call(val, key);
  2751. };
  2752. var defaultFormatter = new BaseFormatter();
  2753. function include(str, parts) {
  2754. return !!parts.find(function (part) {
  2755. return str.indexOf(part) !== -1;
  2756. });
  2757. }
  2758. function startsWith(str, parts) {
  2759. return parts.find(function (part) {
  2760. return str.indexOf(part) === 0;
  2761. });
  2762. }
  2763. function normalizeLocale(locale, messages) {
  2764. if (!locale) {
  2765. return;
  2766. }
  2767. locale = locale.trim().replace(/_/g, '-');
  2768. if (messages && messages[locale]) {
  2769. return locale;
  2770. }
  2771. locale = locale.toLowerCase();
  2772. if (locale === 'chinese') {
  2773. // 支付宝
  2774. return LOCALE_ZH_HANS;
  2775. }
  2776. if (locale.indexOf('zh') === 0) {
  2777. if (locale.indexOf('-hans') > -1) {
  2778. return LOCALE_ZH_HANS;
  2779. }
  2780. if (locale.indexOf('-hant') > -1) {
  2781. return LOCALE_ZH_HANT;
  2782. }
  2783. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  2784. return LOCALE_ZH_HANT;
  2785. }
  2786. return LOCALE_ZH_HANS;
  2787. }
  2788. var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
  2789. if (messages && Object.keys(messages).length > 0) {
  2790. locales = Object.keys(messages);
  2791. }
  2792. var lang = startsWith(locale, locales);
  2793. if (lang) {
  2794. return lang;
  2795. }
  2796. }
  2797. var I18n = /*#__PURE__*/function () {
  2798. function I18n(_ref3) {
  2799. var locale = _ref3.locale,
  2800. fallbackLocale = _ref3.fallbackLocale,
  2801. messages = _ref3.messages,
  2802. watcher = _ref3.watcher,
  2803. formater = _ref3.formater;
  2804. (0, _classCallCheck2.default)(this, I18n);
  2805. this.locale = LOCALE_EN;
  2806. this.fallbackLocale = LOCALE_EN;
  2807. this.message = {};
  2808. this.messages = {};
  2809. this.watchers = [];
  2810. if (fallbackLocale) {
  2811. this.fallbackLocale = fallbackLocale;
  2812. }
  2813. this.formater = formater || defaultFormatter;
  2814. this.messages = messages || {};
  2815. this.setLocale(locale || LOCALE_EN);
  2816. if (watcher) {
  2817. this.watchLocale(watcher);
  2818. }
  2819. }
  2820. (0, _createClass2.default)(I18n, [{
  2821. key: "setLocale",
  2822. value: function setLocale(locale) {
  2823. var _this = this;
  2824. var oldLocale = this.locale;
  2825. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  2826. if (!this.messages[this.locale]) {
  2827. // 可能初始化时不存在
  2828. this.messages[this.locale] = {};
  2829. }
  2830. this.message = this.messages[this.locale];
  2831. // 仅发生变化时,通知
  2832. if (oldLocale !== this.locale) {
  2833. this.watchers.forEach(function (watcher) {
  2834. watcher(_this.locale, oldLocale);
  2835. });
  2836. }
  2837. }
  2838. }, {
  2839. key: "getLocale",
  2840. value: function getLocale() {
  2841. return this.locale;
  2842. }
  2843. }, {
  2844. key: "watchLocale",
  2845. value: function watchLocale(fn) {
  2846. var _this2 = this;
  2847. var index = this.watchers.push(fn) - 1;
  2848. return function () {
  2849. _this2.watchers.splice(index, 1);
  2850. };
  2851. }
  2852. }, {
  2853. key: "add",
  2854. value: function add(locale, message) {
  2855. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2856. var curMessages = this.messages[locale];
  2857. if (curMessages) {
  2858. if (override) {
  2859. Object.assign(curMessages, message);
  2860. } else {
  2861. Object.keys(message).forEach(function (key) {
  2862. if (!hasOwn(curMessages, key)) {
  2863. curMessages[key] = message[key];
  2864. }
  2865. });
  2866. }
  2867. } else {
  2868. this.messages[locale] = message;
  2869. }
  2870. }
  2871. }, {
  2872. key: "f",
  2873. value: function f(message, values, delimiters) {
  2874. return this.formater.interpolate(message, values, delimiters).join('');
  2875. }
  2876. }, {
  2877. key: "t",
  2878. value: function t(key, locale, values) {
  2879. var message = this.message;
  2880. if (typeof locale === 'string') {
  2881. locale = normalizeLocale(locale, this.messages);
  2882. locale && (message = this.messages[locale]);
  2883. } else {
  2884. values = locale;
  2885. }
  2886. if (!hasOwn(message, key)) {
  2887. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  2888. return key;
  2889. }
  2890. return this.formater.interpolate(message[key], values).join('');
  2891. }
  2892. }]);
  2893. return I18n;
  2894. }();
  2895. exports.I18n = I18n;
  2896. function watchAppLocale(appVm, i18n) {
  2897. // 需要保证 watch 的触发在组件渲染之前
  2898. if (appVm.$watchLocale) {
  2899. // vue2
  2900. appVm.$watchLocale(function (newLocale) {
  2901. i18n.setLocale(newLocale);
  2902. });
  2903. } else {
  2904. appVm.$watch(function () {
  2905. return appVm.$locale;
  2906. }, function (newLocale) {
  2907. i18n.setLocale(newLocale);
  2908. });
  2909. }
  2910. }
  2911. function getDefaultLocale() {
  2912. if (typeof uni !== 'undefined' && uni.getLocale) {
  2913. return uni.getLocale();
  2914. }
  2915. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  2916. if (typeof global !== 'undefined' && global.getLocale) {
  2917. return global.getLocale();
  2918. }
  2919. return LOCALE_EN;
  2920. }
  2921. function initVueI18n(locale) {
  2922. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  2923. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  2924. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  2925. // 兼容旧版本入参
  2926. if (typeof locale !== 'string') {
  2927. var _ref4 = [messages, locale];
  2928. locale = _ref4[0];
  2929. messages = _ref4[1];
  2930. }
  2931. if (typeof locale !== 'string') {
  2932. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  2933. locale = getDefaultLocale();
  2934. }
  2935. if (typeof fallbackLocale !== 'string') {
  2936. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  2937. }
  2938. var i18n = new I18n({
  2939. locale: locale,
  2940. fallbackLocale: fallbackLocale,
  2941. messages: messages,
  2942. watcher: watcher
  2943. });
  2944. var _t = function t(key, values) {
  2945. if (typeof getApp !== 'function') {
  2946. // app view
  2947. /* eslint-disable no-func-assign */
  2948. _t = function t(key, values) {
  2949. return i18n.t(key, values);
  2950. };
  2951. } else {
  2952. var isWatchedAppLocale = false;
  2953. _t = function t(key, values) {
  2954. var appVm = getApp().$vm;
  2955. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  2956. // options: {
  2957. // type: Array,
  2958. // default () {
  2959. // return [{
  2960. // icon: 'shop',
  2961. // text: t("uni-goods-nav.options.shop"),
  2962. // }, {
  2963. // icon: 'cart',
  2964. // text: t("uni-goods-nav.options.cart")
  2965. // }]
  2966. // }
  2967. // },
  2968. if (appVm) {
  2969. // 触发响应式
  2970. appVm.$locale;
  2971. if (!isWatchedAppLocale) {
  2972. isWatchedAppLocale = true;
  2973. watchAppLocale(appVm, i18n);
  2974. }
  2975. }
  2976. return i18n.t(key, values);
  2977. };
  2978. }
  2979. return _t(key, values);
  2980. };
  2981. return {
  2982. i18n: i18n,
  2983. f: function f(message, values, delimiters) {
  2984. return i18n.f(message, values, delimiters);
  2985. },
  2986. t: function t(key, values) {
  2987. return _t(key, values);
  2988. },
  2989. add: function add(locale, message) {
  2990. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2991. return i18n.add(locale, message, override);
  2992. },
  2993. watch: function watch(fn) {
  2994. return i18n.watchLocale(fn);
  2995. },
  2996. getLocale: function getLocale() {
  2997. return i18n.getLocale();
  2998. },
  2999. setLocale: function setLocale(newLocale) {
  3000. return i18n.setLocale(newLocale);
  3001. }
  3002. };
  3003. }
  3004. var isString = function isString(val) {
  3005. return typeof val === 'string';
  3006. };
  3007. exports.isString = isString;
  3008. var formater;
  3009. function hasI18nJson(jsonObj, delimiters) {
  3010. if (!formater) {
  3011. formater = new BaseFormatter();
  3012. }
  3013. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3014. var value = jsonObj[key];
  3015. if (isString(value)) {
  3016. if (isI18nStr(value, delimiters)) {
  3017. return true;
  3018. }
  3019. } else {
  3020. return hasI18nJson(value, delimiters);
  3021. }
  3022. });
  3023. }
  3024. function parseI18nJson(jsonObj, values, delimiters) {
  3025. if (!formater) {
  3026. formater = new BaseFormatter();
  3027. }
  3028. walkJsonObj(jsonObj, function (jsonObj, key) {
  3029. var value = jsonObj[key];
  3030. if (isString(value)) {
  3031. if (isI18nStr(value, delimiters)) {
  3032. jsonObj[key] = compileStr(value, values, delimiters);
  3033. }
  3034. } else {
  3035. parseI18nJson(value, values, delimiters);
  3036. }
  3037. });
  3038. return jsonObj;
  3039. }
  3040. function compileI18nJsonStr(jsonStr, _ref5) {
  3041. var locale = _ref5.locale,
  3042. locales = _ref5.locales,
  3043. delimiters = _ref5.delimiters;
  3044. if (!isI18nStr(jsonStr, delimiters)) {
  3045. return jsonStr;
  3046. }
  3047. if (!formater) {
  3048. formater = new BaseFormatter();
  3049. }
  3050. var localeValues = [];
  3051. Object.keys(locales).forEach(function (name) {
  3052. if (name !== locale) {
  3053. localeValues.push({
  3054. locale: name,
  3055. values: locales[name]
  3056. });
  3057. }
  3058. });
  3059. localeValues.unshift({
  3060. locale: locale,
  3061. values: locales[locale]
  3062. });
  3063. try {
  3064. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3065. } catch (e) {}
  3066. return jsonStr;
  3067. }
  3068. function isI18nStr(value, delimiters) {
  3069. return value.indexOf(delimiters[0]) > -1;
  3070. }
  3071. function compileStr(value, values, delimiters) {
  3072. return formater.interpolate(value, values, delimiters).join('');
  3073. }
  3074. function compileValue(jsonObj, key, localeValues, delimiters) {
  3075. var value = jsonObj[key];
  3076. if (isString(value)) {
  3077. // 存在国际化
  3078. if (isI18nStr(value, delimiters)) {
  3079. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3080. if (localeValues.length > 1) {
  3081. // 格式化国际化语言
  3082. var valueLocales = jsonObj[key + 'Locales'] = {};
  3083. localeValues.forEach(function (localValue) {
  3084. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3085. });
  3086. }
  3087. }
  3088. } else {
  3089. compileJsonObj(value, localeValues, delimiters);
  3090. }
  3091. }
  3092. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3093. walkJsonObj(jsonObj, function (jsonObj, key) {
  3094. compileValue(jsonObj, key, localeValues, delimiters);
  3095. });
  3096. return jsonObj;
  3097. }
  3098. function walkJsonObj(jsonObj, walk) {
  3099. if (Array.isArray(jsonObj)) {
  3100. for (var i = 0; i < jsonObj.length; i++) {
  3101. if (walk(jsonObj, i)) {
  3102. return true;
  3103. }
  3104. }
  3105. } else if (isObject(jsonObj)) {
  3106. for (var key in jsonObj) {
  3107. if (walk(jsonObj, key)) {
  3108. return true;
  3109. }
  3110. }
  3111. }
  3112. return false;
  3113. }
  3114. function resolveLocale(locales) {
  3115. return function (locale) {
  3116. if (!locale) {
  3117. return locale;
  3118. }
  3119. locale = normalizeLocale(locale) || locale;
  3120. return resolveLocaleChain(locale).find(function (locale) {
  3121. return locales.indexOf(locale) > -1;
  3122. });
  3123. };
  3124. }
  3125. function resolveLocaleChain(locale) {
  3126. var chain = [];
  3127. var tokens = locale.split('-');
  3128. while (tokens.length) {
  3129. chain.push(tokens.join('-'));
  3130. tokens.pop();
  3131. }
  3132. return chain;
  3133. }
  3134. /* 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)))
  3135. /***/ }),
  3136. /***/ 23:
  3137. /*!***************************************************************!*\
  3138. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3139. \***************************************************************/
  3140. /*! no static exports found */
  3141. /***/ (function(module, exports) {
  3142. function _classCallCheck(instance, Constructor) {
  3143. if (!(instance instanceof Constructor)) {
  3144. throw new TypeError("Cannot call a class as a function");
  3145. }
  3146. }
  3147. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3148. /***/ }),
  3149. /***/ 24:
  3150. /*!************************************************************!*\
  3151. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3152. \************************************************************/
  3153. /*! no static exports found */
  3154. /***/ (function(module, exports, __webpack_require__) {
  3155. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3156. function _defineProperties(target, props) {
  3157. for (var i = 0; i < props.length; i++) {
  3158. var descriptor = props[i];
  3159. descriptor.enumerable = descriptor.enumerable || false;
  3160. descriptor.configurable = true;
  3161. if ("value" in descriptor) descriptor.writable = true;
  3162. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3163. }
  3164. }
  3165. function _createClass(Constructor, protoProps, staticProps) {
  3166. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3167. if (staticProps) _defineProperties(Constructor, staticProps);
  3168. Object.defineProperty(Constructor, "prototype", {
  3169. writable: false
  3170. });
  3171. return Constructor;
  3172. }
  3173. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3174. /***/ }),
  3175. /***/ 25:
  3176. /*!******************************************************************************************!*\
  3177. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3178. \******************************************************************************************/
  3179. /*! exports provided: default */
  3180. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3181. "use strict";
  3182. __webpack_require__.r(__webpack_exports__);
  3183. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3184. * Vue.js v2.6.11
  3185. * (c) 2014-2023 Evan You
  3186. * Released under the MIT License.
  3187. */
  3188. /* */
  3189. var emptyObject = Object.freeze({});
  3190. // These helpers produce better VM code in JS engines due to their
  3191. // explicitness and function inlining.
  3192. function isUndef (v) {
  3193. return v === undefined || v === null
  3194. }
  3195. function isDef (v) {
  3196. return v !== undefined && v !== null
  3197. }
  3198. function isTrue (v) {
  3199. return v === true
  3200. }
  3201. function isFalse (v) {
  3202. return v === false
  3203. }
  3204. /**
  3205. * Check if value is primitive.
  3206. */
  3207. function isPrimitive (value) {
  3208. return (
  3209. typeof value === 'string' ||
  3210. typeof value === 'number' ||
  3211. // $flow-disable-line
  3212. typeof value === 'symbol' ||
  3213. typeof value === 'boolean'
  3214. )
  3215. }
  3216. /**
  3217. * Quick object check - this is primarily used to tell
  3218. * Objects from primitive values when we know the value
  3219. * is a JSON-compliant type.
  3220. */
  3221. function isObject (obj) {
  3222. return obj !== null && typeof obj === 'object'
  3223. }
  3224. /**
  3225. * Get the raw type string of a value, e.g., [object Object].
  3226. */
  3227. var _toString = Object.prototype.toString;
  3228. function toRawType (value) {
  3229. return _toString.call(value).slice(8, -1)
  3230. }
  3231. /**
  3232. * Strict object type check. Only returns true
  3233. * for plain JavaScript objects.
  3234. */
  3235. function isPlainObject (obj) {
  3236. return _toString.call(obj) === '[object Object]'
  3237. }
  3238. function isRegExp (v) {
  3239. return _toString.call(v) === '[object RegExp]'
  3240. }
  3241. /**
  3242. * Check if val is a valid array index.
  3243. */
  3244. function isValidArrayIndex (val) {
  3245. var n = parseFloat(String(val));
  3246. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3247. }
  3248. function isPromise (val) {
  3249. return (
  3250. isDef(val) &&
  3251. typeof val.then === 'function' &&
  3252. typeof val.catch === 'function'
  3253. )
  3254. }
  3255. /**
  3256. * Convert a value to a string that is actually rendered.
  3257. */
  3258. function toString (val) {
  3259. return val == null
  3260. ? ''
  3261. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3262. ? JSON.stringify(val, null, 2)
  3263. : String(val)
  3264. }
  3265. /**
  3266. * Convert an input value to a number for persistence.
  3267. * If the conversion fails, return original string.
  3268. */
  3269. function toNumber (val) {
  3270. var n = parseFloat(val);
  3271. return isNaN(n) ? val : n
  3272. }
  3273. /**
  3274. * Make a map and return a function for checking if a key
  3275. * is in that map.
  3276. */
  3277. function makeMap (
  3278. str,
  3279. expectsLowerCase
  3280. ) {
  3281. var map = Object.create(null);
  3282. var list = str.split(',');
  3283. for (var i = 0; i < list.length; i++) {
  3284. map[list[i]] = true;
  3285. }
  3286. return expectsLowerCase
  3287. ? function (val) { return map[val.toLowerCase()]; }
  3288. : function (val) { return map[val]; }
  3289. }
  3290. /**
  3291. * Check if a tag is a built-in tag.
  3292. */
  3293. var isBuiltInTag = makeMap('slot,component', true);
  3294. /**
  3295. * Check if an attribute is a reserved attribute.
  3296. */
  3297. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3298. /**
  3299. * Remove an item from an array.
  3300. */
  3301. function remove (arr, item) {
  3302. if (arr.length) {
  3303. var index = arr.indexOf(item);
  3304. if (index > -1) {
  3305. return arr.splice(index, 1)
  3306. }
  3307. }
  3308. }
  3309. /**
  3310. * Check whether an object has the property.
  3311. */
  3312. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3313. function hasOwn (obj, key) {
  3314. return hasOwnProperty.call(obj, key)
  3315. }
  3316. /**
  3317. * Create a cached version of a pure function.
  3318. */
  3319. function cached (fn) {
  3320. var cache = Object.create(null);
  3321. return (function cachedFn (str) {
  3322. var hit = cache[str];
  3323. return hit || (cache[str] = fn(str))
  3324. })
  3325. }
  3326. /**
  3327. * Camelize a hyphen-delimited string.
  3328. */
  3329. var camelizeRE = /-(\w)/g;
  3330. var camelize = cached(function (str) {
  3331. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3332. });
  3333. /**
  3334. * Capitalize a string.
  3335. */
  3336. var capitalize = cached(function (str) {
  3337. return str.charAt(0).toUpperCase() + str.slice(1)
  3338. });
  3339. /**
  3340. * Hyphenate a camelCase string.
  3341. */
  3342. var hyphenateRE = /\B([A-Z])/g;
  3343. var hyphenate = cached(function (str) {
  3344. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3345. });
  3346. /**
  3347. * Simple bind polyfill for environments that do not support it,
  3348. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3349. * since native bind is now performant enough in most browsers.
  3350. * But removing it would mean breaking code that was able to run in
  3351. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3352. */
  3353. /* istanbul ignore next */
  3354. function polyfillBind (fn, ctx) {
  3355. function boundFn (a) {
  3356. var l = arguments.length;
  3357. return l
  3358. ? l > 1
  3359. ? fn.apply(ctx, arguments)
  3360. : fn.call(ctx, a)
  3361. : fn.call(ctx)
  3362. }
  3363. boundFn._length = fn.length;
  3364. return boundFn
  3365. }
  3366. function nativeBind (fn, ctx) {
  3367. return fn.bind(ctx)
  3368. }
  3369. var bind = Function.prototype.bind
  3370. ? nativeBind
  3371. : polyfillBind;
  3372. /**
  3373. * Convert an Array-like object to a real Array.
  3374. */
  3375. function toArray (list, start) {
  3376. start = start || 0;
  3377. var i = list.length - start;
  3378. var ret = new Array(i);
  3379. while (i--) {
  3380. ret[i] = list[i + start];
  3381. }
  3382. return ret
  3383. }
  3384. /**
  3385. * Mix properties into target object.
  3386. */
  3387. function extend (to, _from) {
  3388. for (var key in _from) {
  3389. to[key] = _from[key];
  3390. }
  3391. return to
  3392. }
  3393. /**
  3394. * Merge an Array of Objects into a single Object.
  3395. */
  3396. function toObject (arr) {
  3397. var res = {};
  3398. for (var i = 0; i < arr.length; i++) {
  3399. if (arr[i]) {
  3400. extend(res, arr[i]);
  3401. }
  3402. }
  3403. return res
  3404. }
  3405. /* eslint-disable no-unused-vars */
  3406. /**
  3407. * Perform no operation.
  3408. * Stubbing args to make Flow happy without leaving useless transpiled code
  3409. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  3410. */
  3411. function noop (a, b, c) {}
  3412. /**
  3413. * Always return false.
  3414. */
  3415. var no = function (a, b, c) { return false; };
  3416. /* eslint-enable no-unused-vars */
  3417. /**
  3418. * Return the same value.
  3419. */
  3420. var identity = function (_) { return _; };
  3421. /**
  3422. * Check if two values are loosely equal - that is,
  3423. * if they are plain objects, do they have the same shape?
  3424. */
  3425. function looseEqual (a, b) {
  3426. if (a === b) { return true }
  3427. var isObjectA = isObject(a);
  3428. var isObjectB = isObject(b);
  3429. if (isObjectA && isObjectB) {
  3430. try {
  3431. var isArrayA = Array.isArray(a);
  3432. var isArrayB = Array.isArray(b);
  3433. if (isArrayA && isArrayB) {
  3434. return a.length === b.length && a.every(function (e, i) {
  3435. return looseEqual(e, b[i])
  3436. })
  3437. } else if (a instanceof Date && b instanceof Date) {
  3438. return a.getTime() === b.getTime()
  3439. } else if (!isArrayA && !isArrayB) {
  3440. var keysA = Object.keys(a);
  3441. var keysB = Object.keys(b);
  3442. return keysA.length === keysB.length && keysA.every(function (key) {
  3443. return looseEqual(a[key], b[key])
  3444. })
  3445. } else {
  3446. /* istanbul ignore next */
  3447. return false
  3448. }
  3449. } catch (e) {
  3450. /* istanbul ignore next */
  3451. return false
  3452. }
  3453. } else if (!isObjectA && !isObjectB) {
  3454. return String(a) === String(b)
  3455. } else {
  3456. return false
  3457. }
  3458. }
  3459. /**
  3460. * Return the first index at which a loosely equal value can be
  3461. * found in the array (if value is a plain object, the array must
  3462. * contain an object of the same shape), or -1 if it is not present.
  3463. */
  3464. function looseIndexOf (arr, val) {
  3465. for (var i = 0; i < arr.length; i++) {
  3466. if (looseEqual(arr[i], val)) { return i }
  3467. }
  3468. return -1
  3469. }
  3470. /**
  3471. * Ensure a function is called only once.
  3472. */
  3473. function once (fn) {
  3474. var called = false;
  3475. return function () {
  3476. if (!called) {
  3477. called = true;
  3478. fn.apply(this, arguments);
  3479. }
  3480. }
  3481. }
  3482. var ASSET_TYPES = [
  3483. 'component',
  3484. 'directive',
  3485. 'filter'
  3486. ];
  3487. var LIFECYCLE_HOOKS = [
  3488. 'beforeCreate',
  3489. 'created',
  3490. 'beforeMount',
  3491. 'mounted',
  3492. 'beforeUpdate',
  3493. 'updated',
  3494. 'beforeDestroy',
  3495. 'destroyed',
  3496. 'activated',
  3497. 'deactivated',
  3498. 'errorCaptured',
  3499. 'serverPrefetch'
  3500. ];
  3501. /* */
  3502. var config = ({
  3503. /**
  3504. * Option merge strategies (used in core/util/options)
  3505. */
  3506. // $flow-disable-line
  3507. optionMergeStrategies: Object.create(null),
  3508. /**
  3509. * Whether to suppress warnings.
  3510. */
  3511. silent: false,
  3512. /**
  3513. * Show production mode tip message on boot?
  3514. */
  3515. productionTip: "development" !== 'production',
  3516. /**
  3517. * Whether to enable devtools
  3518. */
  3519. devtools: "development" !== 'production',
  3520. /**
  3521. * Whether to record perf
  3522. */
  3523. performance: false,
  3524. /**
  3525. * Error handler for watcher errors
  3526. */
  3527. errorHandler: null,
  3528. /**
  3529. * Warn handler for watcher warns
  3530. */
  3531. warnHandler: null,
  3532. /**
  3533. * Ignore certain custom elements
  3534. */
  3535. ignoredElements: [],
  3536. /**
  3537. * Custom user key aliases for v-on
  3538. */
  3539. // $flow-disable-line
  3540. keyCodes: Object.create(null),
  3541. /**
  3542. * Check if a tag is reserved so that it cannot be registered as a
  3543. * component. This is platform-dependent and may be overwritten.
  3544. */
  3545. isReservedTag: no,
  3546. /**
  3547. * Check if an attribute is reserved so that it cannot be used as a component
  3548. * prop. This is platform-dependent and may be overwritten.
  3549. */
  3550. isReservedAttr: no,
  3551. /**
  3552. * Check if a tag is an unknown element.
  3553. * Platform-dependent.
  3554. */
  3555. isUnknownElement: no,
  3556. /**
  3557. * Get the namespace of an element
  3558. */
  3559. getTagNamespace: noop,
  3560. /**
  3561. * Parse the real tag name for the specific platform.
  3562. */
  3563. parsePlatformTagName: identity,
  3564. /**
  3565. * Check if an attribute must be bound using property, e.g. value
  3566. * Platform-dependent.
  3567. */
  3568. mustUseProp: no,
  3569. /**
  3570. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  3571. * This will significantly reduce performance if set to false.
  3572. */
  3573. async: true,
  3574. /**
  3575. * Exposed for legacy reasons
  3576. */
  3577. _lifecycleHooks: LIFECYCLE_HOOKS
  3578. });
  3579. /* */
  3580. /**
  3581. * unicode letters used for parsing html tags, component names and property paths.
  3582. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  3583. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  3584. */
  3585. 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/;
  3586. /**
  3587. * Check if a string starts with $ or _
  3588. */
  3589. function isReserved (str) {
  3590. var c = (str + '').charCodeAt(0);
  3591. return c === 0x24 || c === 0x5F
  3592. }
  3593. /**
  3594. * Define a property.
  3595. */
  3596. function def (obj, key, val, enumerable) {
  3597. Object.defineProperty(obj, key, {
  3598. value: val,
  3599. enumerable: !!enumerable,
  3600. writable: true,
  3601. configurable: true
  3602. });
  3603. }
  3604. /**
  3605. * Parse simple path.
  3606. */
  3607. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  3608. function parsePath (path) {
  3609. if (bailRE.test(path)) {
  3610. return
  3611. }
  3612. var segments = path.split('.');
  3613. return function (obj) {
  3614. for (var i = 0; i < segments.length; i++) {
  3615. if (!obj) { return }
  3616. obj = obj[segments[i]];
  3617. }
  3618. return obj
  3619. }
  3620. }
  3621. /* */
  3622. // can we use __proto__?
  3623. var hasProto = '__proto__' in {};
  3624. // Browser environment sniffing
  3625. var inBrowser = typeof window !== 'undefined';
  3626. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  3627. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  3628. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  3629. var isIE = UA && /msie|trident/.test(UA);
  3630. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  3631. var isEdge = UA && UA.indexOf('edge/') > 0;
  3632. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  3633. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  3634. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  3635. var isPhantomJS = UA && /phantomjs/.test(UA);
  3636. var isFF = UA && UA.match(/firefox\/(\d+)/);
  3637. // Firefox has a "watch" function on Object.prototype...
  3638. var nativeWatch = ({}).watch;
  3639. if (inBrowser) {
  3640. try {
  3641. var opts = {};
  3642. Object.defineProperty(opts, 'passive', ({
  3643. get: function get () {
  3644. }
  3645. })); // https://github.com/facebook/flow/issues/285
  3646. window.addEventListener('test-passive', null, opts);
  3647. } catch (e) {}
  3648. }
  3649. // this needs to be lazy-evaled because vue may be required before
  3650. // vue-server-renderer can set VUE_ENV
  3651. var _isServer;
  3652. var isServerRendering = function () {
  3653. if (_isServer === undefined) {
  3654. /* istanbul ignore if */
  3655. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  3656. // detect presence of vue-server-renderer and avoid
  3657. // Webpack shimming the process
  3658. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  3659. } else {
  3660. _isServer = false;
  3661. }
  3662. }
  3663. return _isServer
  3664. };
  3665. // detect devtools
  3666. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  3667. /* istanbul ignore next */
  3668. function isNative (Ctor) {
  3669. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  3670. }
  3671. var hasSymbol =
  3672. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  3673. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  3674. var _Set;
  3675. /* istanbul ignore if */ // $flow-disable-line
  3676. if (typeof Set !== 'undefined' && isNative(Set)) {
  3677. // use native Set when available.
  3678. _Set = Set;
  3679. } else {
  3680. // a non-standard Set polyfill that only works with primitive keys.
  3681. _Set = /*@__PURE__*/(function () {
  3682. function Set () {
  3683. this.set = Object.create(null);
  3684. }
  3685. Set.prototype.has = function has (key) {
  3686. return this.set[key] === true
  3687. };
  3688. Set.prototype.add = function add (key) {
  3689. this.set[key] = true;
  3690. };
  3691. Set.prototype.clear = function clear () {
  3692. this.set = Object.create(null);
  3693. };
  3694. return Set;
  3695. }());
  3696. }
  3697. /* */
  3698. var warn = noop;
  3699. var tip = noop;
  3700. var generateComponentTrace = (noop); // work around flow check
  3701. var formatComponentName = (noop);
  3702. if (true) {
  3703. var hasConsole = typeof console !== 'undefined';
  3704. var classifyRE = /(?:^|[-_])(\w)/g;
  3705. var classify = function (str) { return str
  3706. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  3707. .replace(/[-_]/g, ''); };
  3708. warn = function (msg, vm) {
  3709. var trace = vm ? generateComponentTrace(vm) : '';
  3710. if (config.warnHandler) {
  3711. config.warnHandler.call(null, msg, vm, trace);
  3712. } else if (hasConsole && (!config.silent)) {
  3713. console.error(("[Vue warn]: " + msg + trace));
  3714. }
  3715. };
  3716. tip = function (msg, vm) {
  3717. if (hasConsole && (!config.silent)) {
  3718. console.warn("[Vue tip]: " + msg + (
  3719. vm ? generateComponentTrace(vm) : ''
  3720. ));
  3721. }
  3722. };
  3723. formatComponentName = function (vm, includeFile) {
  3724. if (vm.$root === vm) {
  3725. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  3726. return ('') + vm.$options.__file
  3727. }
  3728. return '<Root>'
  3729. }
  3730. var options = typeof vm === 'function' && vm.cid != null
  3731. ? vm.options
  3732. : vm._isVue
  3733. ? vm.$options || vm.constructor.options
  3734. : vm;
  3735. var name = options.name || options._componentTag;
  3736. var file = options.__file;
  3737. if (!name && file) {
  3738. var match = file.match(/([^/\\]+)\.vue$/);
  3739. name = match && match[1];
  3740. }
  3741. return (
  3742. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  3743. (file && includeFile !== false ? (" at " + file) : '')
  3744. )
  3745. };
  3746. var repeat = function (str, n) {
  3747. var res = '';
  3748. while (n) {
  3749. if (n % 2 === 1) { res += str; }
  3750. if (n > 1) { str += str; }
  3751. n >>= 1;
  3752. }
  3753. return res
  3754. };
  3755. generateComponentTrace = function (vm) {
  3756. if (vm._isVue && vm.$parent) {
  3757. var tree = [];
  3758. var currentRecursiveSequence = 0;
  3759. while (vm && vm.$options.name !== 'PageBody') {
  3760. if (tree.length > 0) {
  3761. var last = tree[tree.length - 1];
  3762. if (last.constructor === vm.constructor) {
  3763. currentRecursiveSequence++;
  3764. vm = vm.$parent;
  3765. continue
  3766. } else if (currentRecursiveSequence > 0) {
  3767. tree[tree.length - 1] = [last, currentRecursiveSequence];
  3768. currentRecursiveSequence = 0;
  3769. }
  3770. }
  3771. !vm.$options.isReserved && tree.push(vm);
  3772. vm = vm.$parent;
  3773. }
  3774. return '\n\nfound in\n\n' + tree
  3775. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  3776. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  3777. : formatComponentName(vm))); })
  3778. .join('\n')
  3779. } else {
  3780. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  3781. }
  3782. };
  3783. }
  3784. /* */
  3785. var uid = 0;
  3786. /**
  3787. * A dep is an observable that can have multiple
  3788. * directives subscribing to it.
  3789. */
  3790. var Dep = function Dep () {
  3791. this.id = uid++;
  3792. this.subs = [];
  3793. };
  3794. Dep.prototype.addSub = function addSub (sub) {
  3795. this.subs.push(sub);
  3796. };
  3797. Dep.prototype.removeSub = function removeSub (sub) {
  3798. remove(this.subs, sub);
  3799. };
  3800. Dep.prototype.depend = function depend () {
  3801. if (Dep.SharedObject.target) {
  3802. Dep.SharedObject.target.addDep(this);
  3803. }
  3804. };
  3805. Dep.prototype.notify = function notify () {
  3806. // stabilize the subscriber list first
  3807. var subs = this.subs.slice();
  3808. if ( true && !config.async) {
  3809. // subs aren't sorted in scheduler if not running async
  3810. // we need to sort them now to make sure they fire in correct
  3811. // order
  3812. subs.sort(function (a, b) { return a.id - b.id; });
  3813. }
  3814. for (var i = 0, l = subs.length; i < l; i++) {
  3815. subs[i].update();
  3816. }
  3817. };
  3818. // The current target watcher being evaluated.
  3819. // This is globally unique because only one watcher
  3820. // can be evaluated at a time.
  3821. // fixed by xxxxxx (nvue shared vuex)
  3822. /* eslint-disable no-undef */
  3823. Dep.SharedObject = {};
  3824. Dep.SharedObject.target = null;
  3825. Dep.SharedObject.targetStack = [];
  3826. function pushTarget (target) {
  3827. Dep.SharedObject.targetStack.push(target);
  3828. Dep.SharedObject.target = target;
  3829. Dep.target = target;
  3830. }
  3831. function popTarget () {
  3832. Dep.SharedObject.targetStack.pop();
  3833. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  3834. Dep.target = Dep.SharedObject.target;
  3835. }
  3836. /* */
  3837. var VNode = function VNode (
  3838. tag,
  3839. data,
  3840. children,
  3841. text,
  3842. elm,
  3843. context,
  3844. componentOptions,
  3845. asyncFactory
  3846. ) {
  3847. this.tag = tag;
  3848. this.data = data;
  3849. this.children = children;
  3850. this.text = text;
  3851. this.elm = elm;
  3852. this.ns = undefined;
  3853. this.context = context;
  3854. this.fnContext = undefined;
  3855. this.fnOptions = undefined;
  3856. this.fnScopeId = undefined;
  3857. this.key = data && data.key;
  3858. this.componentOptions = componentOptions;
  3859. this.componentInstance = undefined;
  3860. this.parent = undefined;
  3861. this.raw = false;
  3862. this.isStatic = false;
  3863. this.isRootInsert = true;
  3864. this.isComment = false;
  3865. this.isCloned = false;
  3866. this.isOnce = false;
  3867. this.asyncFactory = asyncFactory;
  3868. this.asyncMeta = undefined;
  3869. this.isAsyncPlaceholder = false;
  3870. };
  3871. var prototypeAccessors = { child: { configurable: true } };
  3872. // DEPRECATED: alias for componentInstance for backwards compat.
  3873. /* istanbul ignore next */
  3874. prototypeAccessors.child.get = function () {
  3875. return this.componentInstance
  3876. };
  3877. Object.defineProperties( VNode.prototype, prototypeAccessors );
  3878. var createEmptyVNode = function (text) {
  3879. if ( text === void 0 ) text = '';
  3880. var node = new VNode();
  3881. node.text = text;
  3882. node.isComment = true;
  3883. return node
  3884. };
  3885. function createTextVNode (val) {
  3886. return new VNode(undefined, undefined, undefined, String(val))
  3887. }
  3888. // optimized shallow clone
  3889. // used for static nodes and slot nodes because they may be reused across
  3890. // multiple renders, cloning them avoids errors when DOM manipulations rely
  3891. // on their elm reference.
  3892. function cloneVNode (vnode) {
  3893. var cloned = new VNode(
  3894. vnode.tag,
  3895. vnode.data,
  3896. // #7975
  3897. // clone children array to avoid mutating original in case of cloning
  3898. // a child.
  3899. vnode.children && vnode.children.slice(),
  3900. vnode.text,
  3901. vnode.elm,
  3902. vnode.context,
  3903. vnode.componentOptions,
  3904. vnode.asyncFactory
  3905. );
  3906. cloned.ns = vnode.ns;
  3907. cloned.isStatic = vnode.isStatic;
  3908. cloned.key = vnode.key;
  3909. cloned.isComment = vnode.isComment;
  3910. cloned.fnContext = vnode.fnContext;
  3911. cloned.fnOptions = vnode.fnOptions;
  3912. cloned.fnScopeId = vnode.fnScopeId;
  3913. cloned.asyncMeta = vnode.asyncMeta;
  3914. cloned.isCloned = true;
  3915. return cloned
  3916. }
  3917. /*
  3918. * not type checking this file because flow doesn't play well with
  3919. * dynamically accessing methods on Array prototype
  3920. */
  3921. var arrayProto = Array.prototype;
  3922. var arrayMethods = Object.create(arrayProto);
  3923. var methodsToPatch = [
  3924. 'push',
  3925. 'pop',
  3926. 'shift',
  3927. 'unshift',
  3928. 'splice',
  3929. 'sort',
  3930. 'reverse'
  3931. ];
  3932. /**
  3933. * Intercept mutating methods and emit events
  3934. */
  3935. methodsToPatch.forEach(function (method) {
  3936. // cache original method
  3937. var original = arrayProto[method];
  3938. def(arrayMethods, method, function mutator () {
  3939. var args = [], len = arguments.length;
  3940. while ( len-- ) args[ len ] = arguments[ len ];
  3941. var result = original.apply(this, args);
  3942. var ob = this.__ob__;
  3943. var inserted;
  3944. switch (method) {
  3945. case 'push':
  3946. case 'unshift':
  3947. inserted = args;
  3948. break
  3949. case 'splice':
  3950. inserted = args.slice(2);
  3951. break
  3952. }
  3953. if (inserted) { ob.observeArray(inserted); }
  3954. // notify change
  3955. ob.dep.notify();
  3956. return result
  3957. });
  3958. });
  3959. /* */
  3960. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  3961. /**
  3962. * In some cases we may want to disable observation inside a component's
  3963. * update computation.
  3964. */
  3965. var shouldObserve = true;
  3966. function toggleObserving (value) {
  3967. shouldObserve = value;
  3968. }
  3969. /**
  3970. * Observer class that is attached to each observed
  3971. * object. Once attached, the observer converts the target
  3972. * object's property keys into getter/setters that
  3973. * collect dependencies and dispatch updates.
  3974. */
  3975. var Observer = function Observer (value) {
  3976. this.value = value;
  3977. this.dep = new Dep();
  3978. this.vmCount = 0;
  3979. def(value, '__ob__', this);
  3980. if (Array.isArray(value)) {
  3981. if (hasProto) {
  3982. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  3983. if(value.push !== value.__proto__.push){
  3984. copyAugment(value, arrayMethods, arrayKeys);
  3985. } else {
  3986. protoAugment(value, arrayMethods);
  3987. }
  3988. }
  3989. } else {
  3990. copyAugment(value, arrayMethods, arrayKeys);
  3991. }
  3992. this.observeArray(value);
  3993. } else {
  3994. this.walk(value);
  3995. }
  3996. };
  3997. /**
  3998. * Walk through all properties and convert them into
  3999. * getter/setters. This method should only be called when
  4000. * value type is Object.
  4001. */
  4002. Observer.prototype.walk = function walk (obj) {
  4003. var keys = Object.keys(obj);
  4004. for (var i = 0; i < keys.length; i++) {
  4005. defineReactive$$1(obj, keys[i]);
  4006. }
  4007. };
  4008. /**
  4009. * Observe a list of Array items.
  4010. */
  4011. Observer.prototype.observeArray = function observeArray (items) {
  4012. for (var i = 0, l = items.length; i < l; i++) {
  4013. observe(items[i]);
  4014. }
  4015. };
  4016. // helpers
  4017. /**
  4018. * Augment a target Object or Array by intercepting
  4019. * the prototype chain using __proto__
  4020. */
  4021. function protoAugment (target, src) {
  4022. /* eslint-disable no-proto */
  4023. target.__proto__ = src;
  4024. /* eslint-enable no-proto */
  4025. }
  4026. /**
  4027. * Augment a target Object or Array by defining
  4028. * hidden properties.
  4029. */
  4030. /* istanbul ignore next */
  4031. function copyAugment (target, src, keys) {
  4032. for (var i = 0, l = keys.length; i < l; i++) {
  4033. var key = keys[i];
  4034. def(target, key, src[key]);
  4035. }
  4036. }
  4037. /**
  4038. * Attempt to create an observer instance for a value,
  4039. * returns the new observer if successfully observed,
  4040. * or the existing observer if the value already has one.
  4041. */
  4042. function observe (value, asRootData) {
  4043. if (!isObject(value) || value instanceof VNode) {
  4044. return
  4045. }
  4046. var ob;
  4047. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4048. ob = value.__ob__;
  4049. } else if (
  4050. shouldObserve &&
  4051. !isServerRendering() &&
  4052. (Array.isArray(value) || isPlainObject(value)) &&
  4053. Object.isExtensible(value) &&
  4054. !value._isVue &&
  4055. !value.__v_isMPComponent
  4056. ) {
  4057. ob = new Observer(value);
  4058. }
  4059. if (asRootData && ob) {
  4060. ob.vmCount++;
  4061. }
  4062. return ob
  4063. }
  4064. /**
  4065. * Define a reactive property on an Object.
  4066. */
  4067. function defineReactive$$1 (
  4068. obj,
  4069. key,
  4070. val,
  4071. customSetter,
  4072. shallow
  4073. ) {
  4074. var dep = new Dep();
  4075. var property = Object.getOwnPropertyDescriptor(obj, key);
  4076. if (property && property.configurable === false) {
  4077. return
  4078. }
  4079. // cater for pre-defined getter/setters
  4080. var getter = property && property.get;
  4081. var setter = property && property.set;
  4082. if ((!getter || setter) && arguments.length === 2) {
  4083. val = obj[key];
  4084. }
  4085. var childOb = !shallow && observe(val);
  4086. Object.defineProperty(obj, key, {
  4087. enumerable: true,
  4088. configurable: true,
  4089. get: function reactiveGetter () {
  4090. var value = getter ? getter.call(obj) : val;
  4091. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4092. dep.depend();
  4093. if (childOb) {
  4094. childOb.dep.depend();
  4095. if (Array.isArray(value)) {
  4096. dependArray(value);
  4097. }
  4098. }
  4099. }
  4100. return value
  4101. },
  4102. set: function reactiveSetter (newVal) {
  4103. var value = getter ? getter.call(obj) : val;
  4104. /* eslint-disable no-self-compare */
  4105. if (newVal === value || (newVal !== newVal && value !== value)) {
  4106. return
  4107. }
  4108. /* eslint-enable no-self-compare */
  4109. if ( true && customSetter) {
  4110. customSetter();
  4111. }
  4112. // #7981: for accessor properties without setter
  4113. if (getter && !setter) { return }
  4114. if (setter) {
  4115. setter.call(obj, newVal);
  4116. } else {
  4117. val = newVal;
  4118. }
  4119. childOb = !shallow && observe(newVal);
  4120. dep.notify();
  4121. }
  4122. });
  4123. }
  4124. /**
  4125. * Set a property on an object. Adds the new property and
  4126. * triggers change notification if the property doesn't
  4127. * already exist.
  4128. */
  4129. function set (target, key, val) {
  4130. if ( true &&
  4131. (isUndef(target) || isPrimitive(target))
  4132. ) {
  4133. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4134. }
  4135. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4136. target.length = Math.max(target.length, key);
  4137. target.splice(key, 1, val);
  4138. return val
  4139. }
  4140. if (key in target && !(key in Object.prototype)) {
  4141. target[key] = val;
  4142. return val
  4143. }
  4144. var ob = (target).__ob__;
  4145. if (target._isVue || (ob && ob.vmCount)) {
  4146. true && warn(
  4147. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4148. 'at runtime - declare it upfront in the data option.'
  4149. );
  4150. return val
  4151. }
  4152. if (!ob) {
  4153. target[key] = val;
  4154. return val
  4155. }
  4156. defineReactive$$1(ob.value, key, val);
  4157. ob.dep.notify();
  4158. return val
  4159. }
  4160. /**
  4161. * Delete a property and trigger change if necessary.
  4162. */
  4163. function del (target, key) {
  4164. if ( true &&
  4165. (isUndef(target) || isPrimitive(target))
  4166. ) {
  4167. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4168. }
  4169. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4170. target.splice(key, 1);
  4171. return
  4172. }
  4173. var ob = (target).__ob__;
  4174. if (target._isVue || (ob && ob.vmCount)) {
  4175. true && warn(
  4176. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4177. '- just set it to null.'
  4178. );
  4179. return
  4180. }
  4181. if (!hasOwn(target, key)) {
  4182. return
  4183. }
  4184. delete target[key];
  4185. if (!ob) {
  4186. return
  4187. }
  4188. ob.dep.notify();
  4189. }
  4190. /**
  4191. * Collect dependencies on array elements when the array is touched, since
  4192. * we cannot intercept array element access like property getters.
  4193. */
  4194. function dependArray (value) {
  4195. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4196. e = value[i];
  4197. e && e.__ob__ && e.__ob__.dep.depend();
  4198. if (Array.isArray(e)) {
  4199. dependArray(e);
  4200. }
  4201. }
  4202. }
  4203. /* */
  4204. /**
  4205. * Option overwriting strategies are functions that handle
  4206. * how to merge a parent option value and a child option
  4207. * value into the final value.
  4208. */
  4209. var strats = config.optionMergeStrategies;
  4210. /**
  4211. * Options with restrictions
  4212. */
  4213. if (true) {
  4214. strats.el = strats.propsData = function (parent, child, vm, key) {
  4215. if (!vm) {
  4216. warn(
  4217. "option \"" + key + "\" can only be used during instance " +
  4218. 'creation with the `new` keyword.'
  4219. );
  4220. }
  4221. return defaultStrat(parent, child)
  4222. };
  4223. }
  4224. /**
  4225. * Helper that recursively merges two data objects together.
  4226. */
  4227. function mergeData (to, from) {
  4228. if (!from) { return to }
  4229. var key, toVal, fromVal;
  4230. var keys = hasSymbol
  4231. ? Reflect.ownKeys(from)
  4232. : Object.keys(from);
  4233. for (var i = 0; i < keys.length; i++) {
  4234. key = keys[i];
  4235. // in case the object is already observed...
  4236. if (key === '__ob__') { continue }
  4237. toVal = to[key];
  4238. fromVal = from[key];
  4239. if (!hasOwn(to, key)) {
  4240. set(to, key, fromVal);
  4241. } else if (
  4242. toVal !== fromVal &&
  4243. isPlainObject(toVal) &&
  4244. isPlainObject(fromVal)
  4245. ) {
  4246. mergeData(toVal, fromVal);
  4247. }
  4248. }
  4249. return to
  4250. }
  4251. /**
  4252. * Data
  4253. */
  4254. function mergeDataOrFn (
  4255. parentVal,
  4256. childVal,
  4257. vm
  4258. ) {
  4259. if (!vm) {
  4260. // in a Vue.extend merge, both should be functions
  4261. if (!childVal) {
  4262. return parentVal
  4263. }
  4264. if (!parentVal) {
  4265. return childVal
  4266. }
  4267. // when parentVal & childVal are both present,
  4268. // we need to return a function that returns the
  4269. // merged result of both functions... no need to
  4270. // check if parentVal is a function here because
  4271. // it has to be a function to pass previous merges.
  4272. return function mergedDataFn () {
  4273. return mergeData(
  4274. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4275. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4276. )
  4277. }
  4278. } else {
  4279. return function mergedInstanceDataFn () {
  4280. // instance merge
  4281. var instanceData = typeof childVal === 'function'
  4282. ? childVal.call(vm, vm)
  4283. : childVal;
  4284. var defaultData = typeof parentVal === 'function'
  4285. ? parentVal.call(vm, vm)
  4286. : parentVal;
  4287. if (instanceData) {
  4288. return mergeData(instanceData, defaultData)
  4289. } else {
  4290. return defaultData
  4291. }
  4292. }
  4293. }
  4294. }
  4295. strats.data = function (
  4296. parentVal,
  4297. childVal,
  4298. vm
  4299. ) {
  4300. if (!vm) {
  4301. if (childVal && typeof childVal !== 'function') {
  4302. true && warn(
  4303. 'The "data" option should be a function ' +
  4304. 'that returns a per-instance value in component ' +
  4305. 'definitions.',
  4306. vm
  4307. );
  4308. return parentVal
  4309. }
  4310. return mergeDataOrFn(parentVal, childVal)
  4311. }
  4312. return mergeDataOrFn(parentVal, childVal, vm)
  4313. };
  4314. /**
  4315. * Hooks and props are merged as arrays.
  4316. */
  4317. function mergeHook (
  4318. parentVal,
  4319. childVal
  4320. ) {
  4321. var res = childVal
  4322. ? parentVal
  4323. ? parentVal.concat(childVal)
  4324. : Array.isArray(childVal)
  4325. ? childVal
  4326. : [childVal]
  4327. : parentVal;
  4328. return res
  4329. ? dedupeHooks(res)
  4330. : res
  4331. }
  4332. function dedupeHooks (hooks) {
  4333. var res = [];
  4334. for (var i = 0; i < hooks.length; i++) {
  4335. if (res.indexOf(hooks[i]) === -1) {
  4336. res.push(hooks[i]);
  4337. }
  4338. }
  4339. return res
  4340. }
  4341. LIFECYCLE_HOOKS.forEach(function (hook) {
  4342. strats[hook] = mergeHook;
  4343. });
  4344. /**
  4345. * Assets
  4346. *
  4347. * When a vm is present (instance creation), we need to do
  4348. * a three-way merge between constructor options, instance
  4349. * options and parent options.
  4350. */
  4351. function mergeAssets (
  4352. parentVal,
  4353. childVal,
  4354. vm,
  4355. key
  4356. ) {
  4357. var res = Object.create(parentVal || null);
  4358. if (childVal) {
  4359. true && assertObjectType(key, childVal, vm);
  4360. return extend(res, childVal)
  4361. } else {
  4362. return res
  4363. }
  4364. }
  4365. ASSET_TYPES.forEach(function (type) {
  4366. strats[type + 's'] = mergeAssets;
  4367. });
  4368. /**
  4369. * Watchers.
  4370. *
  4371. * Watchers hashes should not overwrite one
  4372. * another, so we merge them as arrays.
  4373. */
  4374. strats.watch = function (
  4375. parentVal,
  4376. childVal,
  4377. vm,
  4378. key
  4379. ) {
  4380. // work around Firefox's Object.prototype.watch...
  4381. if (parentVal === nativeWatch) { parentVal = undefined; }
  4382. if (childVal === nativeWatch) { childVal = undefined; }
  4383. /* istanbul ignore if */
  4384. if (!childVal) { return Object.create(parentVal || null) }
  4385. if (true) {
  4386. assertObjectType(key, childVal, vm);
  4387. }
  4388. if (!parentVal) { return childVal }
  4389. var ret = {};
  4390. extend(ret, parentVal);
  4391. for (var key$1 in childVal) {
  4392. var parent = ret[key$1];
  4393. var child = childVal[key$1];
  4394. if (parent && !Array.isArray(parent)) {
  4395. parent = [parent];
  4396. }
  4397. ret[key$1] = parent
  4398. ? parent.concat(child)
  4399. : Array.isArray(child) ? child : [child];
  4400. }
  4401. return ret
  4402. };
  4403. /**
  4404. * Other object hashes.
  4405. */
  4406. strats.props =
  4407. strats.methods =
  4408. strats.inject =
  4409. strats.computed = function (
  4410. parentVal,
  4411. childVal,
  4412. vm,
  4413. key
  4414. ) {
  4415. if (childVal && "development" !== 'production') {
  4416. assertObjectType(key, childVal, vm);
  4417. }
  4418. if (!parentVal) { return childVal }
  4419. var ret = Object.create(null);
  4420. extend(ret, parentVal);
  4421. if (childVal) { extend(ret, childVal); }
  4422. return ret
  4423. };
  4424. strats.provide = mergeDataOrFn;
  4425. /**
  4426. * Default strategy.
  4427. */
  4428. var defaultStrat = function (parentVal, childVal) {
  4429. return childVal === undefined
  4430. ? parentVal
  4431. : childVal
  4432. };
  4433. /**
  4434. * Validate component names
  4435. */
  4436. function checkComponents (options) {
  4437. for (var key in options.components) {
  4438. validateComponentName(key);
  4439. }
  4440. }
  4441. function validateComponentName (name) {
  4442. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  4443. warn(
  4444. 'Invalid component name: "' + name + '". Component names ' +
  4445. 'should conform to valid custom element name in html5 specification.'
  4446. );
  4447. }
  4448. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  4449. warn(
  4450. 'Do not use built-in or reserved HTML elements as component ' +
  4451. 'id: ' + name
  4452. );
  4453. }
  4454. }
  4455. /**
  4456. * Ensure all props option syntax are normalized into the
  4457. * Object-based format.
  4458. */
  4459. function normalizeProps (options, vm) {
  4460. var props = options.props;
  4461. if (!props) { return }
  4462. var res = {};
  4463. var i, val, name;
  4464. if (Array.isArray(props)) {
  4465. i = props.length;
  4466. while (i--) {
  4467. val = props[i];
  4468. if (typeof val === 'string') {
  4469. name = camelize(val);
  4470. res[name] = { type: null };
  4471. } else if (true) {
  4472. warn('props must be strings when using array syntax.');
  4473. }
  4474. }
  4475. } else if (isPlainObject(props)) {
  4476. for (var key in props) {
  4477. val = props[key];
  4478. name = camelize(key);
  4479. res[name] = isPlainObject(val)
  4480. ? val
  4481. : { type: val };
  4482. }
  4483. } else if (true) {
  4484. warn(
  4485. "Invalid value for option \"props\": expected an Array or an Object, " +
  4486. "but got " + (toRawType(props)) + ".",
  4487. vm
  4488. );
  4489. }
  4490. options.props = res;
  4491. }
  4492. /**
  4493. * Normalize all injections into Object-based format
  4494. */
  4495. function normalizeInject (options, vm) {
  4496. var inject = options.inject;
  4497. if (!inject) { return }
  4498. var normalized = options.inject = {};
  4499. if (Array.isArray(inject)) {
  4500. for (var i = 0; i < inject.length; i++) {
  4501. normalized[inject[i]] = { from: inject[i] };
  4502. }
  4503. } else if (isPlainObject(inject)) {
  4504. for (var key in inject) {
  4505. var val = inject[key];
  4506. normalized[key] = isPlainObject(val)
  4507. ? extend({ from: key }, val)
  4508. : { from: val };
  4509. }
  4510. } else if (true) {
  4511. warn(
  4512. "Invalid value for option \"inject\": expected an Array or an Object, " +
  4513. "but got " + (toRawType(inject)) + ".",
  4514. vm
  4515. );
  4516. }
  4517. }
  4518. /**
  4519. * Normalize raw function directives into object format.
  4520. */
  4521. function normalizeDirectives (options) {
  4522. var dirs = options.directives;
  4523. if (dirs) {
  4524. for (var key in dirs) {
  4525. var def$$1 = dirs[key];
  4526. if (typeof def$$1 === 'function') {
  4527. dirs[key] = { bind: def$$1, update: def$$1 };
  4528. }
  4529. }
  4530. }
  4531. }
  4532. function assertObjectType (name, value, vm) {
  4533. if (!isPlainObject(value)) {
  4534. warn(
  4535. "Invalid value for option \"" + name + "\": expected an Object, " +
  4536. "but got " + (toRawType(value)) + ".",
  4537. vm
  4538. );
  4539. }
  4540. }
  4541. /**
  4542. * Merge two option objects into a new one.
  4543. * Core utility used in both instantiation and inheritance.
  4544. */
  4545. function mergeOptions (
  4546. parent,
  4547. child,
  4548. vm
  4549. ) {
  4550. if (true) {
  4551. checkComponents(child);
  4552. }
  4553. if (typeof child === 'function') {
  4554. child = child.options;
  4555. }
  4556. normalizeProps(child, vm);
  4557. normalizeInject(child, vm);
  4558. normalizeDirectives(child);
  4559. // Apply extends and mixins on the child options,
  4560. // but only if it is a raw options object that isn't
  4561. // the result of another mergeOptions call.
  4562. // Only merged options has the _base property.
  4563. if (!child._base) {
  4564. if (child.extends) {
  4565. parent = mergeOptions(parent, child.extends, vm);
  4566. }
  4567. if (child.mixins) {
  4568. for (var i = 0, l = child.mixins.length; i < l; i++) {
  4569. parent = mergeOptions(parent, child.mixins[i], vm);
  4570. }
  4571. }
  4572. }
  4573. var options = {};
  4574. var key;
  4575. for (key in parent) {
  4576. mergeField(key);
  4577. }
  4578. for (key in child) {
  4579. if (!hasOwn(parent, key)) {
  4580. mergeField(key);
  4581. }
  4582. }
  4583. function mergeField (key) {
  4584. var strat = strats[key] || defaultStrat;
  4585. options[key] = strat(parent[key], child[key], vm, key);
  4586. }
  4587. return options
  4588. }
  4589. /**
  4590. * Resolve an asset.
  4591. * This function is used because child instances need access
  4592. * to assets defined in its ancestor chain.
  4593. */
  4594. function resolveAsset (
  4595. options,
  4596. type,
  4597. id,
  4598. warnMissing
  4599. ) {
  4600. /* istanbul ignore if */
  4601. if (typeof id !== 'string') {
  4602. return
  4603. }
  4604. var assets = options[type];
  4605. // check local registration variations first
  4606. if (hasOwn(assets, id)) { return assets[id] }
  4607. var camelizedId = camelize(id);
  4608. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  4609. var PascalCaseId = capitalize(camelizedId);
  4610. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  4611. // fallback to prototype chain
  4612. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  4613. if ( true && warnMissing && !res) {
  4614. warn(
  4615. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  4616. options
  4617. );
  4618. }
  4619. return res
  4620. }
  4621. /* */
  4622. function validateProp (
  4623. key,
  4624. propOptions,
  4625. propsData,
  4626. vm
  4627. ) {
  4628. var prop = propOptions[key];
  4629. var absent = !hasOwn(propsData, key);
  4630. var value = propsData[key];
  4631. // boolean casting
  4632. var booleanIndex = getTypeIndex(Boolean, prop.type);
  4633. if (booleanIndex > -1) {
  4634. if (absent && !hasOwn(prop, 'default')) {
  4635. value = false;
  4636. } else if (value === '' || value === hyphenate(key)) {
  4637. // only cast empty string / same name to boolean if
  4638. // boolean has higher priority
  4639. var stringIndex = getTypeIndex(String, prop.type);
  4640. if (stringIndex < 0 || booleanIndex < stringIndex) {
  4641. value = true;
  4642. }
  4643. }
  4644. }
  4645. // check default value
  4646. if (value === undefined) {
  4647. value = getPropDefaultValue(vm, prop, key);
  4648. // since the default value is a fresh copy,
  4649. // make sure to observe it.
  4650. var prevShouldObserve = shouldObserve;
  4651. toggleObserving(true);
  4652. observe(value);
  4653. toggleObserving(prevShouldObserve);
  4654. }
  4655. if (
  4656. true
  4657. ) {
  4658. assertProp(prop, key, value, vm, absent);
  4659. }
  4660. return value
  4661. }
  4662. /**
  4663. * Get the default value of a prop.
  4664. */
  4665. function getPropDefaultValue (vm, prop, key) {
  4666. // no default, return undefined
  4667. if (!hasOwn(prop, 'default')) {
  4668. return undefined
  4669. }
  4670. var def = prop.default;
  4671. // warn against non-factory defaults for Object & Array
  4672. if ( true && isObject(def)) {
  4673. warn(
  4674. 'Invalid default value for prop "' + key + '": ' +
  4675. 'Props with type Object/Array must use a factory function ' +
  4676. 'to return the default value.',
  4677. vm
  4678. );
  4679. }
  4680. // the raw prop value was also undefined from previous render,
  4681. // return previous default value to avoid unnecessary watcher trigger
  4682. if (vm && vm.$options.propsData &&
  4683. vm.$options.propsData[key] === undefined &&
  4684. vm._props[key] !== undefined
  4685. ) {
  4686. return vm._props[key]
  4687. }
  4688. // call factory function for non-Function types
  4689. // a value is Function if its prototype is function even across different execution context
  4690. return typeof def === 'function' && getType(prop.type) !== 'Function'
  4691. ? def.call(vm)
  4692. : def
  4693. }
  4694. /**
  4695. * Assert whether a prop is valid.
  4696. */
  4697. function assertProp (
  4698. prop,
  4699. name,
  4700. value,
  4701. vm,
  4702. absent
  4703. ) {
  4704. if (prop.required && absent) {
  4705. warn(
  4706. 'Missing required prop: "' + name + '"',
  4707. vm
  4708. );
  4709. return
  4710. }
  4711. if (value == null && !prop.required) {
  4712. return
  4713. }
  4714. var type = prop.type;
  4715. var valid = !type || type === true;
  4716. var expectedTypes = [];
  4717. if (type) {
  4718. if (!Array.isArray(type)) {
  4719. type = [type];
  4720. }
  4721. for (var i = 0; i < type.length && !valid; i++) {
  4722. var assertedType = assertType(value, type[i]);
  4723. expectedTypes.push(assertedType.expectedType || '');
  4724. valid = assertedType.valid;
  4725. }
  4726. }
  4727. if (!valid) {
  4728. warn(
  4729. getInvalidTypeMessage(name, value, expectedTypes),
  4730. vm
  4731. );
  4732. return
  4733. }
  4734. var validator = prop.validator;
  4735. if (validator) {
  4736. if (!validator(value)) {
  4737. warn(
  4738. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  4739. vm
  4740. );
  4741. }
  4742. }
  4743. }
  4744. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  4745. function assertType (value, type) {
  4746. var valid;
  4747. var expectedType = getType(type);
  4748. if (simpleCheckRE.test(expectedType)) {
  4749. var t = typeof value;
  4750. valid = t === expectedType.toLowerCase();
  4751. // for primitive wrapper objects
  4752. if (!valid && t === 'object') {
  4753. valid = value instanceof type;
  4754. }
  4755. } else if (expectedType === 'Object') {
  4756. valid = isPlainObject(value);
  4757. } else if (expectedType === 'Array') {
  4758. valid = Array.isArray(value);
  4759. } else {
  4760. valid = value instanceof type;
  4761. }
  4762. return {
  4763. valid: valid,
  4764. expectedType: expectedType
  4765. }
  4766. }
  4767. /**
  4768. * Use function string name to check built-in types,
  4769. * because a simple equality check will fail when running
  4770. * across different vms / iframes.
  4771. */
  4772. function getType (fn) {
  4773. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  4774. return match ? match[1] : ''
  4775. }
  4776. function isSameType (a, b) {
  4777. return getType(a) === getType(b)
  4778. }
  4779. function getTypeIndex (type, expectedTypes) {
  4780. if (!Array.isArray(expectedTypes)) {
  4781. return isSameType(expectedTypes, type) ? 0 : -1
  4782. }
  4783. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  4784. if (isSameType(expectedTypes[i], type)) {
  4785. return i
  4786. }
  4787. }
  4788. return -1
  4789. }
  4790. function getInvalidTypeMessage (name, value, expectedTypes) {
  4791. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  4792. " Expected " + (expectedTypes.map(capitalize).join(', '));
  4793. var expectedType = expectedTypes[0];
  4794. var receivedType = toRawType(value);
  4795. var expectedValue = styleValue(value, expectedType);
  4796. var receivedValue = styleValue(value, receivedType);
  4797. // check if we need to specify expected value
  4798. if (expectedTypes.length === 1 &&
  4799. isExplicable(expectedType) &&
  4800. !isBoolean(expectedType, receivedType)) {
  4801. message += " with value " + expectedValue;
  4802. }
  4803. message += ", got " + receivedType + " ";
  4804. // check if we need to specify received value
  4805. if (isExplicable(receivedType)) {
  4806. message += "with value " + receivedValue + ".";
  4807. }
  4808. return message
  4809. }
  4810. function styleValue (value, type) {
  4811. if (type === 'String') {
  4812. return ("\"" + value + "\"")
  4813. } else if (type === 'Number') {
  4814. return ("" + (Number(value)))
  4815. } else {
  4816. return ("" + value)
  4817. }
  4818. }
  4819. function isExplicable (value) {
  4820. var explicitTypes = ['string', 'number', 'boolean'];
  4821. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  4822. }
  4823. function isBoolean () {
  4824. var args = [], len = arguments.length;
  4825. while ( len-- ) args[ len ] = arguments[ len ];
  4826. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  4827. }
  4828. /* */
  4829. function handleError (err, vm, info) {
  4830. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  4831. // See: https://github.com/vuejs/vuex/issues/1505
  4832. pushTarget();
  4833. try {
  4834. if (vm) {
  4835. var cur = vm;
  4836. while ((cur = cur.$parent)) {
  4837. var hooks = cur.$options.errorCaptured;
  4838. if (hooks) {
  4839. for (var i = 0; i < hooks.length; i++) {
  4840. try {
  4841. var capture = hooks[i].call(cur, err, vm, info) === false;
  4842. if (capture) { return }
  4843. } catch (e) {
  4844. globalHandleError(e, cur, 'errorCaptured hook');
  4845. }
  4846. }
  4847. }
  4848. }
  4849. }
  4850. globalHandleError(err, vm, info);
  4851. } finally {
  4852. popTarget();
  4853. }
  4854. }
  4855. function invokeWithErrorHandling (
  4856. handler,
  4857. context,
  4858. args,
  4859. vm,
  4860. info
  4861. ) {
  4862. var res;
  4863. try {
  4864. res = args ? handler.apply(context, args) : handler.call(context);
  4865. if (res && !res._isVue && isPromise(res) && !res._handled) {
  4866. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  4867. // issue #9511
  4868. // avoid catch triggering multiple times when nested calls
  4869. res._handled = true;
  4870. }
  4871. } catch (e) {
  4872. handleError(e, vm, info);
  4873. }
  4874. return res
  4875. }
  4876. function globalHandleError (err, vm, info) {
  4877. if (config.errorHandler) {
  4878. try {
  4879. return config.errorHandler.call(null, err, vm, info)
  4880. } catch (e) {
  4881. // if the user intentionally throws the original error in the handler,
  4882. // do not log it twice
  4883. if (e !== err) {
  4884. logError(e, null, 'config.errorHandler');
  4885. }
  4886. }
  4887. }
  4888. logError(err, vm, info);
  4889. }
  4890. function logError (err, vm, info) {
  4891. if (true) {
  4892. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  4893. }
  4894. /* istanbul ignore else */
  4895. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  4896. console.error(err);
  4897. } else {
  4898. throw err
  4899. }
  4900. }
  4901. /* */
  4902. var callbacks = [];
  4903. var pending = false;
  4904. function flushCallbacks () {
  4905. pending = false;
  4906. var copies = callbacks.slice(0);
  4907. callbacks.length = 0;
  4908. for (var i = 0; i < copies.length; i++) {
  4909. copies[i]();
  4910. }
  4911. }
  4912. // Here we have async deferring wrappers using microtasks.
  4913. // In 2.5 we used (macro) tasks (in combination with microtasks).
  4914. // However, it has subtle problems when state is changed right before repaint
  4915. // (e.g. #6813, out-in transitions).
  4916. // Also, using (macro) tasks in event handler would cause some weird behaviors
  4917. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  4918. // So we now use microtasks everywhere, again.
  4919. // A major drawback of this tradeoff is that there are some scenarios
  4920. // where microtasks have too high a priority and fire in between supposedly
  4921. // sequential events (e.g. #4521, #6690, which have workarounds)
  4922. // or even between bubbling of the same event (#6566).
  4923. var timerFunc;
  4924. // The nextTick behavior leverages the microtask queue, which can be accessed
  4925. // via either native Promise.then or MutationObserver.
  4926. // MutationObserver has wider support, however it is seriously bugged in
  4927. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  4928. // completely stops working after triggering a few times... so, if native
  4929. // Promise is available, we will use it:
  4930. /* istanbul ignore next, $flow-disable-line */
  4931. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  4932. var p = Promise.resolve();
  4933. timerFunc = function () {
  4934. p.then(flushCallbacks);
  4935. // In problematic UIWebViews, Promise.then doesn't completely break, but
  4936. // it can get stuck in a weird state where callbacks are pushed into the
  4937. // microtask queue but the queue isn't being flushed, until the browser
  4938. // needs to do some other work, e.g. handle a timer. Therefore we can
  4939. // "force" the microtask queue to be flushed by adding an empty timer.
  4940. if (isIOS) { setTimeout(noop); }
  4941. };
  4942. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  4943. isNative(MutationObserver) ||
  4944. // PhantomJS and iOS 7.x
  4945. MutationObserver.toString() === '[object MutationObserverConstructor]'
  4946. )) {
  4947. // Use MutationObserver where native Promise is not available,
  4948. // e.g. PhantomJS, iOS7, Android 4.4
  4949. // (#6466 MutationObserver is unreliable in IE11)
  4950. var counter = 1;
  4951. var observer = new MutationObserver(flushCallbacks);
  4952. var textNode = document.createTextNode(String(counter));
  4953. observer.observe(textNode, {
  4954. characterData: true
  4955. });
  4956. timerFunc = function () {
  4957. counter = (counter + 1) % 2;
  4958. textNode.data = String(counter);
  4959. };
  4960. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  4961. // Fallback to setImmediate.
  4962. // Technically it leverages the (macro) task queue,
  4963. // but it is still a better choice than setTimeout.
  4964. timerFunc = function () {
  4965. setImmediate(flushCallbacks);
  4966. };
  4967. } else {
  4968. // Fallback to setTimeout.
  4969. timerFunc = function () {
  4970. setTimeout(flushCallbacks, 0);
  4971. };
  4972. }
  4973. function nextTick (cb, ctx) {
  4974. var _resolve;
  4975. callbacks.push(function () {
  4976. if (cb) {
  4977. try {
  4978. cb.call(ctx);
  4979. } catch (e) {
  4980. handleError(e, ctx, 'nextTick');
  4981. }
  4982. } else if (_resolve) {
  4983. _resolve(ctx);
  4984. }
  4985. });
  4986. if (!pending) {
  4987. pending = true;
  4988. timerFunc();
  4989. }
  4990. // $flow-disable-line
  4991. if (!cb && typeof Promise !== 'undefined') {
  4992. return new Promise(function (resolve) {
  4993. _resolve = resolve;
  4994. })
  4995. }
  4996. }
  4997. /* */
  4998. /* not type checking this file because flow doesn't play well with Proxy */
  4999. var initProxy;
  5000. if (true) {
  5001. var allowedGlobals = makeMap(
  5002. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5003. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5004. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5005. 'require' // for Webpack/Browserify
  5006. );
  5007. var warnNonPresent = function (target, key) {
  5008. warn(
  5009. "Property or method \"" + key + "\" is not defined on the instance but " +
  5010. 'referenced during render. Make sure that this property is reactive, ' +
  5011. 'either in the data option, or for class-based components, by ' +
  5012. 'initializing the property. ' +
  5013. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5014. target
  5015. );
  5016. };
  5017. var warnReservedPrefix = function (target, key) {
  5018. warn(
  5019. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5020. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5021. 'prevent conflicts with Vue internals. ' +
  5022. 'See: https://vuejs.org/v2/api/#data',
  5023. target
  5024. );
  5025. };
  5026. var hasProxy =
  5027. typeof Proxy !== 'undefined' && isNative(Proxy);
  5028. if (hasProxy) {
  5029. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5030. config.keyCodes = new Proxy(config.keyCodes, {
  5031. set: function set (target, key, value) {
  5032. if (isBuiltInModifier(key)) {
  5033. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5034. return false
  5035. } else {
  5036. target[key] = value;
  5037. return true
  5038. }
  5039. }
  5040. });
  5041. }
  5042. var hasHandler = {
  5043. has: function has (target, key) {
  5044. var has = key in target;
  5045. var isAllowed = allowedGlobals(key) ||
  5046. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5047. if (!has && !isAllowed) {
  5048. if (key in target.$data) { warnReservedPrefix(target, key); }
  5049. else { warnNonPresent(target, key); }
  5050. }
  5051. return has || !isAllowed
  5052. }
  5053. };
  5054. var getHandler = {
  5055. get: function get (target, key) {
  5056. if (typeof key === 'string' && !(key in target)) {
  5057. if (key in target.$data) { warnReservedPrefix(target, key); }
  5058. else { warnNonPresent(target, key); }
  5059. }
  5060. return target[key]
  5061. }
  5062. };
  5063. initProxy = function initProxy (vm) {
  5064. if (hasProxy) {
  5065. // determine which proxy handler to use
  5066. var options = vm.$options;
  5067. var handlers = options.render && options.render._withStripped
  5068. ? getHandler
  5069. : hasHandler;
  5070. vm._renderProxy = new Proxy(vm, handlers);
  5071. } else {
  5072. vm._renderProxy = vm;
  5073. }
  5074. };
  5075. }
  5076. /* */
  5077. var seenObjects = new _Set();
  5078. /**
  5079. * Recursively traverse an object to evoke all converted
  5080. * getters, so that every nested property inside the object
  5081. * is collected as a "deep" dependency.
  5082. */
  5083. function traverse (val) {
  5084. _traverse(val, seenObjects);
  5085. seenObjects.clear();
  5086. }
  5087. function _traverse (val, seen) {
  5088. var i, keys;
  5089. var isA = Array.isArray(val);
  5090. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5091. return
  5092. }
  5093. if (val.__ob__) {
  5094. var depId = val.__ob__.dep.id;
  5095. if (seen.has(depId)) {
  5096. return
  5097. }
  5098. seen.add(depId);
  5099. }
  5100. if (isA) {
  5101. i = val.length;
  5102. while (i--) { _traverse(val[i], seen); }
  5103. } else {
  5104. keys = Object.keys(val);
  5105. i = keys.length;
  5106. while (i--) { _traverse(val[keys[i]], seen); }
  5107. }
  5108. }
  5109. var mark;
  5110. var measure;
  5111. if (true) {
  5112. var perf = inBrowser && window.performance;
  5113. /* istanbul ignore if */
  5114. if (
  5115. perf &&
  5116. perf.mark &&
  5117. perf.measure &&
  5118. perf.clearMarks &&
  5119. perf.clearMeasures
  5120. ) {
  5121. mark = function (tag) { return perf.mark(tag); };
  5122. measure = function (name, startTag, endTag) {
  5123. perf.measure(name, startTag, endTag);
  5124. perf.clearMarks(startTag);
  5125. perf.clearMarks(endTag);
  5126. // perf.clearMeasures(name)
  5127. };
  5128. }
  5129. }
  5130. /* */
  5131. var normalizeEvent = cached(function (name) {
  5132. var passive = name.charAt(0) === '&';
  5133. name = passive ? name.slice(1) : name;
  5134. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5135. name = once$$1 ? name.slice(1) : name;
  5136. var capture = name.charAt(0) === '!';
  5137. name = capture ? name.slice(1) : name;
  5138. return {
  5139. name: name,
  5140. once: once$$1,
  5141. capture: capture,
  5142. passive: passive
  5143. }
  5144. });
  5145. function createFnInvoker (fns, vm) {
  5146. function invoker () {
  5147. var arguments$1 = arguments;
  5148. var fns = invoker.fns;
  5149. if (Array.isArray(fns)) {
  5150. var cloned = fns.slice();
  5151. for (var i = 0; i < cloned.length; i++) {
  5152. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5153. }
  5154. } else {
  5155. // return handler return value for single handlers
  5156. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5157. }
  5158. }
  5159. invoker.fns = fns;
  5160. return invoker
  5161. }
  5162. function updateListeners (
  5163. on,
  5164. oldOn,
  5165. add,
  5166. remove$$1,
  5167. createOnceHandler,
  5168. vm
  5169. ) {
  5170. var name, def$$1, cur, old, event;
  5171. for (name in on) {
  5172. def$$1 = cur = on[name];
  5173. old = oldOn[name];
  5174. event = normalizeEvent(name);
  5175. if (isUndef(cur)) {
  5176. true && warn(
  5177. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5178. vm
  5179. );
  5180. } else if (isUndef(old)) {
  5181. if (isUndef(cur.fns)) {
  5182. cur = on[name] = createFnInvoker(cur, vm);
  5183. }
  5184. if (isTrue(event.once)) {
  5185. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5186. }
  5187. add(event.name, cur, event.capture, event.passive, event.params);
  5188. } else if (cur !== old) {
  5189. old.fns = cur;
  5190. on[name] = old;
  5191. }
  5192. }
  5193. for (name in oldOn) {
  5194. if (isUndef(on[name])) {
  5195. event = normalizeEvent(name);
  5196. remove$$1(event.name, oldOn[name], event.capture);
  5197. }
  5198. }
  5199. }
  5200. /* */
  5201. /* */
  5202. // fixed by xxxxxx (mp properties)
  5203. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5204. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5205. if (isUndef(propOptions)) {
  5206. return res
  5207. }
  5208. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5209. var attrs = data.attrs;
  5210. var props = data.props;
  5211. if (isDef(attrs) || isDef(props)) {
  5212. for (var key in propOptions) {
  5213. var altKey = hyphenate(key);
  5214. var result = checkProp(res, props, key, altKey, true) ||
  5215. checkProp(res, attrs, key, altKey, false);
  5216. // externalClass
  5217. if (
  5218. result &&
  5219. res[key] &&
  5220. externalClasses.indexOf(altKey) !== -1 &&
  5221. context[camelize(res[key])]
  5222. ) {
  5223. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5224. res[key] = context[camelize(res[key])];
  5225. }
  5226. }
  5227. }
  5228. return res
  5229. }
  5230. function extractPropsFromVNodeData (
  5231. data,
  5232. Ctor,
  5233. tag,
  5234. context// fixed by xxxxxx
  5235. ) {
  5236. // we are only extracting raw values here.
  5237. // validation and default values are handled in the child
  5238. // component itself.
  5239. var propOptions = Ctor.options.props;
  5240. if (isUndef(propOptions)) {
  5241. // fixed by xxxxxx
  5242. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5243. }
  5244. var res = {};
  5245. var attrs = data.attrs;
  5246. var props = data.props;
  5247. if (isDef(attrs) || isDef(props)) {
  5248. for (var key in propOptions) {
  5249. var altKey = hyphenate(key);
  5250. if (true) {
  5251. var keyInLowerCase = key.toLowerCase();
  5252. if (
  5253. key !== keyInLowerCase &&
  5254. attrs && hasOwn(attrs, keyInLowerCase)
  5255. ) {
  5256. tip(
  5257. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5258. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5259. " \"" + key + "\". " +
  5260. "Note that HTML attributes are case-insensitive and camelCased " +
  5261. "props need to use their kebab-case equivalents when using in-DOM " +
  5262. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5263. );
  5264. }
  5265. }
  5266. checkProp(res, props, key, altKey, true) ||
  5267. checkProp(res, attrs, key, altKey, false);
  5268. }
  5269. }
  5270. // fixed by xxxxxx
  5271. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5272. }
  5273. function checkProp (
  5274. res,
  5275. hash,
  5276. key,
  5277. altKey,
  5278. preserve
  5279. ) {
  5280. if (isDef(hash)) {
  5281. if (hasOwn(hash, key)) {
  5282. res[key] = hash[key];
  5283. if (!preserve) {
  5284. delete hash[key];
  5285. }
  5286. return true
  5287. } else if (hasOwn(hash, altKey)) {
  5288. res[key] = hash[altKey];
  5289. if (!preserve) {
  5290. delete hash[altKey];
  5291. }
  5292. return true
  5293. }
  5294. }
  5295. return false
  5296. }
  5297. /* */
  5298. // The template compiler attempts to minimize the need for normalization by
  5299. // statically analyzing the template at compile time.
  5300. //
  5301. // For plain HTML markup, normalization can be completely skipped because the
  5302. // generated render function is guaranteed to return Array<VNode>. There are
  5303. // two cases where extra normalization is needed:
  5304. // 1. When the children contains components - because a functional component
  5305. // may return an Array instead of a single root. In this case, just a simple
  5306. // normalization is needed - if any child is an Array, we flatten the whole
  5307. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5308. // because functional components already normalize their own children.
  5309. function simpleNormalizeChildren (children) {
  5310. for (var i = 0; i < children.length; i++) {
  5311. if (Array.isArray(children[i])) {
  5312. return Array.prototype.concat.apply([], children)
  5313. }
  5314. }
  5315. return children
  5316. }
  5317. // 2. When the children contains constructs that always generated nested Arrays,
  5318. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5319. // with hand-written render functions / JSX. In such cases a full normalization
  5320. // is needed to cater to all possible types of children values.
  5321. function normalizeChildren (children) {
  5322. return isPrimitive(children)
  5323. ? [createTextVNode(children)]
  5324. : Array.isArray(children)
  5325. ? normalizeArrayChildren(children)
  5326. : undefined
  5327. }
  5328. function isTextNode (node) {
  5329. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5330. }
  5331. function normalizeArrayChildren (children, nestedIndex) {
  5332. var res = [];
  5333. var i, c, lastIndex, last;
  5334. for (i = 0; i < children.length; i++) {
  5335. c = children[i];
  5336. if (isUndef(c) || typeof c === 'boolean') { continue }
  5337. lastIndex = res.length - 1;
  5338. last = res[lastIndex];
  5339. // nested
  5340. if (Array.isArray(c)) {
  5341. if (c.length > 0) {
  5342. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5343. // merge adjacent text nodes
  5344. if (isTextNode(c[0]) && isTextNode(last)) {
  5345. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5346. c.shift();
  5347. }
  5348. res.push.apply(res, c);
  5349. }
  5350. } else if (isPrimitive(c)) {
  5351. if (isTextNode(last)) {
  5352. // merge adjacent text nodes
  5353. // this is necessary for SSR hydration because text nodes are
  5354. // essentially merged when rendered to HTML strings
  5355. res[lastIndex] = createTextVNode(last.text + c);
  5356. } else if (c !== '') {
  5357. // convert primitive to vnode
  5358. res.push(createTextVNode(c));
  5359. }
  5360. } else {
  5361. if (isTextNode(c) && isTextNode(last)) {
  5362. // merge adjacent text nodes
  5363. res[lastIndex] = createTextVNode(last.text + c.text);
  5364. } else {
  5365. // default key for nested array children (likely generated by v-for)
  5366. if (isTrue(children._isVList) &&
  5367. isDef(c.tag) &&
  5368. isUndef(c.key) &&
  5369. isDef(nestedIndex)) {
  5370. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5371. }
  5372. res.push(c);
  5373. }
  5374. }
  5375. }
  5376. return res
  5377. }
  5378. /* */
  5379. function initProvide (vm) {
  5380. var provide = vm.$options.provide;
  5381. if (provide) {
  5382. vm._provided = typeof provide === 'function'
  5383. ? provide.call(vm)
  5384. : provide;
  5385. }
  5386. }
  5387. function initInjections (vm) {
  5388. var result = resolveInject(vm.$options.inject, vm);
  5389. if (result) {
  5390. toggleObserving(false);
  5391. Object.keys(result).forEach(function (key) {
  5392. /* istanbul ignore else */
  5393. if (true) {
  5394. defineReactive$$1(vm, key, result[key], function () {
  5395. warn(
  5396. "Avoid mutating an injected value directly since the changes will be " +
  5397. "overwritten whenever the provided component re-renders. " +
  5398. "injection being mutated: \"" + key + "\"",
  5399. vm
  5400. );
  5401. });
  5402. } else {}
  5403. });
  5404. toggleObserving(true);
  5405. }
  5406. }
  5407. function resolveInject (inject, vm) {
  5408. if (inject) {
  5409. // inject is :any because flow is not smart enough to figure out cached
  5410. var result = Object.create(null);
  5411. var keys = hasSymbol
  5412. ? Reflect.ownKeys(inject)
  5413. : Object.keys(inject);
  5414. for (var i = 0; i < keys.length; i++) {
  5415. var key = keys[i];
  5416. // #6574 in case the inject object is observed...
  5417. if (key === '__ob__') { continue }
  5418. var provideKey = inject[key].from;
  5419. var source = vm;
  5420. while (source) {
  5421. if (source._provided && hasOwn(source._provided, provideKey)) {
  5422. result[key] = source._provided[provideKey];
  5423. break
  5424. }
  5425. source = source.$parent;
  5426. }
  5427. if (!source) {
  5428. if ('default' in inject[key]) {
  5429. var provideDefault = inject[key].default;
  5430. result[key] = typeof provideDefault === 'function'
  5431. ? provideDefault.call(vm)
  5432. : provideDefault;
  5433. } else if (true) {
  5434. warn(("Injection \"" + key + "\" not found"), vm);
  5435. }
  5436. }
  5437. }
  5438. return result
  5439. }
  5440. }
  5441. /* */
  5442. /**
  5443. * Runtime helper for resolving raw children VNodes into a slot object.
  5444. */
  5445. function resolveSlots (
  5446. children,
  5447. context
  5448. ) {
  5449. if (!children || !children.length) {
  5450. return {}
  5451. }
  5452. var slots = {};
  5453. for (var i = 0, l = children.length; i < l; i++) {
  5454. var child = children[i];
  5455. var data = child.data;
  5456. // remove slot attribute if the node is resolved as a Vue slot node
  5457. if (data && data.attrs && data.attrs.slot) {
  5458. delete data.attrs.slot;
  5459. }
  5460. // named slots should only be respected if the vnode was rendered in the
  5461. // same context.
  5462. if ((child.context === context || child.fnContext === context) &&
  5463. data && data.slot != null
  5464. ) {
  5465. var name = data.slot;
  5466. var slot = (slots[name] || (slots[name] = []));
  5467. if (child.tag === 'template') {
  5468. slot.push.apply(slot, child.children || []);
  5469. } else {
  5470. slot.push(child);
  5471. }
  5472. } else {
  5473. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  5474. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  5475. (slots['page'] || (slots['page'] = [])).push(child);
  5476. }else{
  5477. (slots.default || (slots.default = [])).push(child);
  5478. }
  5479. }
  5480. }
  5481. // ignore slots that contains only whitespace
  5482. for (var name$1 in slots) {
  5483. if (slots[name$1].every(isWhitespace)) {
  5484. delete slots[name$1];
  5485. }
  5486. }
  5487. return slots
  5488. }
  5489. function isWhitespace (node) {
  5490. return (node.isComment && !node.asyncFactory) || node.text === ' '
  5491. }
  5492. /* */
  5493. function normalizeScopedSlots (
  5494. slots,
  5495. normalSlots,
  5496. prevSlots
  5497. ) {
  5498. var res;
  5499. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  5500. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  5501. var key = slots && slots.$key;
  5502. if (!slots) {
  5503. res = {};
  5504. } else if (slots._normalized) {
  5505. // fast path 1: child component re-render only, parent did not change
  5506. return slots._normalized
  5507. } else if (
  5508. isStable &&
  5509. prevSlots &&
  5510. prevSlots !== emptyObject &&
  5511. key === prevSlots.$key &&
  5512. !hasNormalSlots &&
  5513. !prevSlots.$hasNormal
  5514. ) {
  5515. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  5516. // only need to normalize once
  5517. return prevSlots
  5518. } else {
  5519. res = {};
  5520. for (var key$1 in slots) {
  5521. if (slots[key$1] && key$1[0] !== '$') {
  5522. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  5523. }
  5524. }
  5525. }
  5526. // expose normal slots on scopedSlots
  5527. for (var key$2 in normalSlots) {
  5528. if (!(key$2 in res)) {
  5529. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  5530. }
  5531. }
  5532. // avoriaz seems to mock a non-extensible $scopedSlots object
  5533. // and when that is passed down this would cause an error
  5534. if (slots && Object.isExtensible(slots)) {
  5535. (slots)._normalized = res;
  5536. }
  5537. def(res, '$stable', isStable);
  5538. def(res, '$key', key);
  5539. def(res, '$hasNormal', hasNormalSlots);
  5540. return res
  5541. }
  5542. function normalizeScopedSlot(normalSlots, key, fn) {
  5543. var normalized = function () {
  5544. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  5545. res = res && typeof res === 'object' && !Array.isArray(res)
  5546. ? [res] // single vnode
  5547. : normalizeChildren(res);
  5548. return res && (
  5549. res.length === 0 ||
  5550. (res.length === 1 && res[0].isComment) // #9658
  5551. ) ? undefined
  5552. : res
  5553. };
  5554. // this is a slot using the new v-slot syntax without scope. although it is
  5555. // compiled as a scoped slot, render fn users would expect it to be present
  5556. // on this.$slots because the usage is semantically a normal slot.
  5557. if (fn.proxy) {
  5558. Object.defineProperty(normalSlots, key, {
  5559. get: normalized,
  5560. enumerable: true,
  5561. configurable: true
  5562. });
  5563. }
  5564. return normalized
  5565. }
  5566. function proxyNormalSlot(slots, key) {
  5567. return function () { return slots[key]; }
  5568. }
  5569. /* */
  5570. /**
  5571. * Runtime helper for rendering v-for lists.
  5572. */
  5573. function renderList (
  5574. val,
  5575. render
  5576. ) {
  5577. var ret, i, l, keys, key;
  5578. if (Array.isArray(val) || typeof val === 'string') {
  5579. ret = new Array(val.length);
  5580. for (i = 0, l = val.length; i < l; i++) {
  5581. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  5582. }
  5583. } else if (typeof val === 'number') {
  5584. ret = new Array(val);
  5585. for (i = 0; i < val; i++) {
  5586. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  5587. }
  5588. } else if (isObject(val)) {
  5589. if (hasSymbol && val[Symbol.iterator]) {
  5590. ret = [];
  5591. var iterator = val[Symbol.iterator]();
  5592. var result = iterator.next();
  5593. while (!result.done) {
  5594. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  5595. result = iterator.next();
  5596. }
  5597. } else {
  5598. keys = Object.keys(val);
  5599. ret = new Array(keys.length);
  5600. for (i = 0, l = keys.length; i < l; i++) {
  5601. key = keys[i];
  5602. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  5603. }
  5604. }
  5605. }
  5606. if (!isDef(ret)) {
  5607. ret = [];
  5608. }
  5609. (ret)._isVList = true;
  5610. return ret
  5611. }
  5612. /* */
  5613. /**
  5614. * Runtime helper for rendering <slot>
  5615. */
  5616. function renderSlot (
  5617. name,
  5618. fallback,
  5619. props,
  5620. bindObject
  5621. ) {
  5622. var scopedSlotFn = this.$scopedSlots[name];
  5623. var nodes;
  5624. if (scopedSlotFn) { // scoped slot
  5625. props = props || {};
  5626. if (bindObject) {
  5627. if ( true && !isObject(bindObject)) {
  5628. warn(
  5629. 'slot v-bind without argument expects an Object',
  5630. this
  5631. );
  5632. }
  5633. props = extend(extend({}, bindObject), props);
  5634. }
  5635. // fixed by xxxxxx app-plus scopedSlot
  5636. nodes = scopedSlotFn(props, this, props._i) || fallback;
  5637. } else {
  5638. nodes = this.$slots[name] || fallback;
  5639. }
  5640. var target = props && props.slot;
  5641. if (target) {
  5642. return this.$createElement('template', { slot: target }, nodes)
  5643. } else {
  5644. return nodes
  5645. }
  5646. }
  5647. /* */
  5648. /**
  5649. * Runtime helper for resolving filters
  5650. */
  5651. function resolveFilter (id) {
  5652. return resolveAsset(this.$options, 'filters', id, true) || identity
  5653. }
  5654. /* */
  5655. function isKeyNotMatch (expect, actual) {
  5656. if (Array.isArray(expect)) {
  5657. return expect.indexOf(actual) === -1
  5658. } else {
  5659. return expect !== actual
  5660. }
  5661. }
  5662. /**
  5663. * Runtime helper for checking keyCodes from config.
  5664. * exposed as Vue.prototype._k
  5665. * passing in eventKeyName as last argument separately for backwards compat
  5666. */
  5667. function checkKeyCodes (
  5668. eventKeyCode,
  5669. key,
  5670. builtInKeyCode,
  5671. eventKeyName,
  5672. builtInKeyName
  5673. ) {
  5674. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  5675. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  5676. return isKeyNotMatch(builtInKeyName, eventKeyName)
  5677. } else if (mappedKeyCode) {
  5678. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  5679. } else if (eventKeyName) {
  5680. return hyphenate(eventKeyName) !== key
  5681. }
  5682. }
  5683. /* */
  5684. /**
  5685. * Runtime helper for merging v-bind="object" into a VNode's data.
  5686. */
  5687. function bindObjectProps (
  5688. data,
  5689. tag,
  5690. value,
  5691. asProp,
  5692. isSync
  5693. ) {
  5694. if (value) {
  5695. if (!isObject(value)) {
  5696. true && warn(
  5697. 'v-bind without argument expects an Object or Array value',
  5698. this
  5699. );
  5700. } else {
  5701. if (Array.isArray(value)) {
  5702. value = toObject(value);
  5703. }
  5704. var hash;
  5705. var loop = function ( key ) {
  5706. if (
  5707. key === 'class' ||
  5708. key === 'style' ||
  5709. isReservedAttribute(key)
  5710. ) {
  5711. hash = data;
  5712. } else {
  5713. var type = data.attrs && data.attrs.type;
  5714. hash = asProp || config.mustUseProp(tag, type, key)
  5715. ? data.domProps || (data.domProps = {})
  5716. : data.attrs || (data.attrs = {});
  5717. }
  5718. var camelizedKey = camelize(key);
  5719. var hyphenatedKey = hyphenate(key);
  5720. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  5721. hash[key] = value[key];
  5722. if (isSync) {
  5723. var on = data.on || (data.on = {});
  5724. on[("update:" + key)] = function ($event) {
  5725. value[key] = $event;
  5726. };
  5727. }
  5728. }
  5729. };
  5730. for (var key in value) loop( key );
  5731. }
  5732. }
  5733. return data
  5734. }
  5735. /* */
  5736. /**
  5737. * Runtime helper for rendering static trees.
  5738. */
  5739. function renderStatic (
  5740. index,
  5741. isInFor
  5742. ) {
  5743. var cached = this._staticTrees || (this._staticTrees = []);
  5744. var tree = cached[index];
  5745. // if has already-rendered static tree and not inside v-for,
  5746. // we can reuse the same tree.
  5747. if (tree && !isInFor) {
  5748. return tree
  5749. }
  5750. // otherwise, render a fresh tree.
  5751. tree = cached[index] = this.$options.staticRenderFns[index].call(
  5752. this._renderProxy,
  5753. null,
  5754. this // for render fns generated for functional component templates
  5755. );
  5756. markStatic(tree, ("__static__" + index), false);
  5757. return tree
  5758. }
  5759. /**
  5760. * Runtime helper for v-once.
  5761. * Effectively it means marking the node as static with a unique key.
  5762. */
  5763. function markOnce (
  5764. tree,
  5765. index,
  5766. key
  5767. ) {
  5768. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  5769. return tree
  5770. }
  5771. function markStatic (
  5772. tree,
  5773. key,
  5774. isOnce
  5775. ) {
  5776. if (Array.isArray(tree)) {
  5777. for (var i = 0; i < tree.length; i++) {
  5778. if (tree[i] && typeof tree[i] !== 'string') {
  5779. markStaticNode(tree[i], (key + "_" + i), isOnce);
  5780. }
  5781. }
  5782. } else {
  5783. markStaticNode(tree, key, isOnce);
  5784. }
  5785. }
  5786. function markStaticNode (node, key, isOnce) {
  5787. node.isStatic = true;
  5788. node.key = key;
  5789. node.isOnce = isOnce;
  5790. }
  5791. /* */
  5792. function bindObjectListeners (data, value) {
  5793. if (value) {
  5794. if (!isPlainObject(value)) {
  5795. true && warn(
  5796. 'v-on without argument expects an Object value',
  5797. this
  5798. );
  5799. } else {
  5800. var on = data.on = data.on ? extend({}, data.on) : {};
  5801. for (var key in value) {
  5802. var existing = on[key];
  5803. var ours = value[key];
  5804. on[key] = existing ? [].concat(existing, ours) : ours;
  5805. }
  5806. }
  5807. }
  5808. return data
  5809. }
  5810. /* */
  5811. function resolveScopedSlots (
  5812. fns, // see flow/vnode
  5813. res,
  5814. // the following are added in 2.6
  5815. hasDynamicKeys,
  5816. contentHashKey
  5817. ) {
  5818. res = res || { $stable: !hasDynamicKeys };
  5819. for (var i = 0; i < fns.length; i++) {
  5820. var slot = fns[i];
  5821. if (Array.isArray(slot)) {
  5822. resolveScopedSlots(slot, res, hasDynamicKeys);
  5823. } else if (slot) {
  5824. // marker for reverse proxying v-slot without scope on this.$slots
  5825. if (slot.proxy) {
  5826. slot.fn.proxy = true;
  5827. }
  5828. res[slot.key] = slot.fn;
  5829. }
  5830. }
  5831. if (contentHashKey) {
  5832. (res).$key = contentHashKey;
  5833. }
  5834. return res
  5835. }
  5836. /* */
  5837. function bindDynamicKeys (baseObj, values) {
  5838. for (var i = 0; i < values.length; i += 2) {
  5839. var key = values[i];
  5840. if (typeof key === 'string' && key) {
  5841. baseObj[values[i]] = values[i + 1];
  5842. } else if ( true && key !== '' && key !== null) {
  5843. // null is a special value for explicitly removing a binding
  5844. warn(
  5845. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  5846. this
  5847. );
  5848. }
  5849. }
  5850. return baseObj
  5851. }
  5852. // helper to dynamically append modifier runtime markers to event names.
  5853. // ensure only append when value is already string, otherwise it will be cast
  5854. // to string and cause the type check to miss.
  5855. function prependModifier (value, symbol) {
  5856. return typeof value === 'string' ? symbol + value : value
  5857. }
  5858. /* */
  5859. function installRenderHelpers (target) {
  5860. target._o = markOnce;
  5861. target._n = toNumber;
  5862. target._s = toString;
  5863. target._l = renderList;
  5864. target._t = renderSlot;
  5865. target._q = looseEqual;
  5866. target._i = looseIndexOf;
  5867. target._m = renderStatic;
  5868. target._f = resolveFilter;
  5869. target._k = checkKeyCodes;
  5870. target._b = bindObjectProps;
  5871. target._v = createTextVNode;
  5872. target._e = createEmptyVNode;
  5873. target._u = resolveScopedSlots;
  5874. target._g = bindObjectListeners;
  5875. target._d = bindDynamicKeys;
  5876. target._p = prependModifier;
  5877. }
  5878. /* */
  5879. function FunctionalRenderContext (
  5880. data,
  5881. props,
  5882. children,
  5883. parent,
  5884. Ctor
  5885. ) {
  5886. var this$1 = this;
  5887. var options = Ctor.options;
  5888. // ensure the createElement function in functional components
  5889. // gets a unique context - this is necessary for correct named slot check
  5890. var contextVm;
  5891. if (hasOwn(parent, '_uid')) {
  5892. contextVm = Object.create(parent);
  5893. // $flow-disable-line
  5894. contextVm._original = parent;
  5895. } else {
  5896. // the context vm passed in is a functional context as well.
  5897. // in this case we want to make sure we are able to get a hold to the
  5898. // real context instance.
  5899. contextVm = parent;
  5900. // $flow-disable-line
  5901. parent = parent._original;
  5902. }
  5903. var isCompiled = isTrue(options._compiled);
  5904. var needNormalization = !isCompiled;
  5905. this.data = data;
  5906. this.props = props;
  5907. this.children = children;
  5908. this.parent = parent;
  5909. this.listeners = data.on || emptyObject;
  5910. this.injections = resolveInject(options.inject, parent);
  5911. this.slots = function () {
  5912. if (!this$1.$slots) {
  5913. normalizeScopedSlots(
  5914. data.scopedSlots,
  5915. this$1.$slots = resolveSlots(children, parent)
  5916. );
  5917. }
  5918. return this$1.$slots
  5919. };
  5920. Object.defineProperty(this, 'scopedSlots', ({
  5921. enumerable: true,
  5922. get: function get () {
  5923. return normalizeScopedSlots(data.scopedSlots, this.slots())
  5924. }
  5925. }));
  5926. // support for compiled functional template
  5927. if (isCompiled) {
  5928. // exposing $options for renderStatic()
  5929. this.$options = options;
  5930. // pre-resolve slots for renderSlot()
  5931. this.$slots = this.slots();
  5932. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  5933. }
  5934. if (options._scopeId) {
  5935. this._c = function (a, b, c, d) {
  5936. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  5937. if (vnode && !Array.isArray(vnode)) {
  5938. vnode.fnScopeId = options._scopeId;
  5939. vnode.fnContext = parent;
  5940. }
  5941. return vnode
  5942. };
  5943. } else {
  5944. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  5945. }
  5946. }
  5947. installRenderHelpers(FunctionalRenderContext.prototype);
  5948. function createFunctionalComponent (
  5949. Ctor,
  5950. propsData,
  5951. data,
  5952. contextVm,
  5953. children
  5954. ) {
  5955. var options = Ctor.options;
  5956. var props = {};
  5957. var propOptions = options.props;
  5958. if (isDef(propOptions)) {
  5959. for (var key in propOptions) {
  5960. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  5961. }
  5962. } else {
  5963. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  5964. if (isDef(data.props)) { mergeProps(props, data.props); }
  5965. }
  5966. var renderContext = new FunctionalRenderContext(
  5967. data,
  5968. props,
  5969. children,
  5970. contextVm,
  5971. Ctor
  5972. );
  5973. var vnode = options.render.call(null, renderContext._c, renderContext);
  5974. if (vnode instanceof VNode) {
  5975. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  5976. } else if (Array.isArray(vnode)) {
  5977. var vnodes = normalizeChildren(vnode) || [];
  5978. var res = new Array(vnodes.length);
  5979. for (var i = 0; i < vnodes.length; i++) {
  5980. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  5981. }
  5982. return res
  5983. }
  5984. }
  5985. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  5986. // #7817 clone node before setting fnContext, otherwise if the node is reused
  5987. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  5988. // that should not be matched to match.
  5989. var clone = cloneVNode(vnode);
  5990. clone.fnContext = contextVm;
  5991. clone.fnOptions = options;
  5992. if (true) {
  5993. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  5994. }
  5995. if (data.slot) {
  5996. (clone.data || (clone.data = {})).slot = data.slot;
  5997. }
  5998. return clone
  5999. }
  6000. function mergeProps (to, from) {
  6001. for (var key in from) {
  6002. to[camelize(key)] = from[key];
  6003. }
  6004. }
  6005. /* */
  6006. /* */
  6007. /* */
  6008. /* */
  6009. // inline hooks to be invoked on component VNodes during patch
  6010. var componentVNodeHooks = {
  6011. init: function init (vnode, hydrating) {
  6012. if (
  6013. vnode.componentInstance &&
  6014. !vnode.componentInstance._isDestroyed &&
  6015. vnode.data.keepAlive
  6016. ) {
  6017. // kept-alive components, treat as a patch
  6018. var mountedNode = vnode; // work around flow
  6019. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6020. } else {
  6021. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6022. vnode,
  6023. activeInstance
  6024. );
  6025. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6026. }
  6027. },
  6028. prepatch: function prepatch (oldVnode, vnode) {
  6029. var options = vnode.componentOptions;
  6030. var child = vnode.componentInstance = oldVnode.componentInstance;
  6031. updateChildComponent(
  6032. child,
  6033. options.propsData, // updated props
  6034. options.listeners, // updated listeners
  6035. vnode, // new parent vnode
  6036. options.children // new children
  6037. );
  6038. },
  6039. insert: function insert (vnode) {
  6040. var context = vnode.context;
  6041. var componentInstance = vnode.componentInstance;
  6042. if (!componentInstance._isMounted) {
  6043. callHook(componentInstance, 'onServiceCreated');
  6044. callHook(componentInstance, 'onServiceAttached');
  6045. componentInstance._isMounted = true;
  6046. callHook(componentInstance, 'mounted');
  6047. }
  6048. if (vnode.data.keepAlive) {
  6049. if (context._isMounted) {
  6050. // vue-router#1212
  6051. // During updates, a kept-alive component's child components may
  6052. // change, so directly walking the tree here may call activated hooks
  6053. // on incorrect children. Instead we push them into a queue which will
  6054. // be processed after the whole patch process ended.
  6055. queueActivatedComponent(componentInstance);
  6056. } else {
  6057. activateChildComponent(componentInstance, true /* direct */);
  6058. }
  6059. }
  6060. },
  6061. destroy: function destroy (vnode) {
  6062. var componentInstance = vnode.componentInstance;
  6063. if (!componentInstance._isDestroyed) {
  6064. if (!vnode.data.keepAlive) {
  6065. componentInstance.$destroy();
  6066. } else {
  6067. deactivateChildComponent(componentInstance, true /* direct */);
  6068. }
  6069. }
  6070. }
  6071. };
  6072. var hooksToMerge = Object.keys(componentVNodeHooks);
  6073. function createComponent (
  6074. Ctor,
  6075. data,
  6076. context,
  6077. children,
  6078. tag
  6079. ) {
  6080. if (isUndef(Ctor)) {
  6081. return
  6082. }
  6083. var baseCtor = context.$options._base;
  6084. // plain options object: turn it into a constructor
  6085. if (isObject(Ctor)) {
  6086. Ctor = baseCtor.extend(Ctor);
  6087. }
  6088. // if at this stage it's not a constructor or an async component factory,
  6089. // reject.
  6090. if (typeof Ctor !== 'function') {
  6091. if (true) {
  6092. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6093. }
  6094. return
  6095. }
  6096. // async component
  6097. var asyncFactory;
  6098. if (isUndef(Ctor.cid)) {
  6099. asyncFactory = Ctor;
  6100. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6101. if (Ctor === undefined) {
  6102. // return a placeholder node for async component, which is rendered
  6103. // as a comment node but preserves all the raw information for the node.
  6104. // the information will be used for async server-rendering and hydration.
  6105. return createAsyncPlaceholder(
  6106. asyncFactory,
  6107. data,
  6108. context,
  6109. children,
  6110. tag
  6111. )
  6112. }
  6113. }
  6114. data = data || {};
  6115. // resolve constructor options in case global mixins are applied after
  6116. // component constructor creation
  6117. resolveConstructorOptions(Ctor);
  6118. // transform component v-model data into props & events
  6119. if (isDef(data.model)) {
  6120. transformModel(Ctor.options, data);
  6121. }
  6122. // extract props
  6123. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6124. // functional component
  6125. if (isTrue(Ctor.options.functional)) {
  6126. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6127. }
  6128. // extract listeners, since these needs to be treated as
  6129. // child component listeners instead of DOM listeners
  6130. var listeners = data.on;
  6131. // replace with listeners with .native modifier
  6132. // so it gets processed during parent component patch.
  6133. data.on = data.nativeOn;
  6134. if (isTrue(Ctor.options.abstract)) {
  6135. // abstract components do not keep anything
  6136. // other than props & listeners & slot
  6137. // work around flow
  6138. var slot = data.slot;
  6139. data = {};
  6140. if (slot) {
  6141. data.slot = slot;
  6142. }
  6143. }
  6144. // install component management hooks onto the placeholder node
  6145. installComponentHooks(data);
  6146. // return a placeholder vnode
  6147. var name = Ctor.options.name || tag;
  6148. var vnode = new VNode(
  6149. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6150. data, undefined, undefined, undefined, context,
  6151. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6152. asyncFactory
  6153. );
  6154. return vnode
  6155. }
  6156. function createComponentInstanceForVnode (
  6157. vnode, // we know it's MountedComponentVNode but flow doesn't
  6158. parent // activeInstance in lifecycle state
  6159. ) {
  6160. var options = {
  6161. _isComponent: true,
  6162. _parentVnode: vnode,
  6163. parent: parent
  6164. };
  6165. // check inline-template render functions
  6166. var inlineTemplate = vnode.data.inlineTemplate;
  6167. if (isDef(inlineTemplate)) {
  6168. options.render = inlineTemplate.render;
  6169. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6170. }
  6171. return new vnode.componentOptions.Ctor(options)
  6172. }
  6173. function installComponentHooks (data) {
  6174. var hooks = data.hook || (data.hook = {});
  6175. for (var i = 0; i < hooksToMerge.length; i++) {
  6176. var key = hooksToMerge[i];
  6177. var existing = hooks[key];
  6178. var toMerge = componentVNodeHooks[key];
  6179. if (existing !== toMerge && !(existing && existing._merged)) {
  6180. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6181. }
  6182. }
  6183. }
  6184. function mergeHook$1 (f1, f2) {
  6185. var merged = function (a, b) {
  6186. // flow complains about extra args which is why we use any
  6187. f1(a, b);
  6188. f2(a, b);
  6189. };
  6190. merged._merged = true;
  6191. return merged
  6192. }
  6193. // transform component v-model info (value and callback) into
  6194. // prop and event handler respectively.
  6195. function transformModel (options, data) {
  6196. var prop = (options.model && options.model.prop) || 'value';
  6197. var event = (options.model && options.model.event) || 'input'
  6198. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6199. var on = data.on || (data.on = {});
  6200. var existing = on[event];
  6201. var callback = data.model.callback;
  6202. if (isDef(existing)) {
  6203. if (
  6204. Array.isArray(existing)
  6205. ? existing.indexOf(callback) === -1
  6206. : existing !== callback
  6207. ) {
  6208. on[event] = [callback].concat(existing);
  6209. }
  6210. } else {
  6211. on[event] = callback;
  6212. }
  6213. }
  6214. /* */
  6215. var SIMPLE_NORMALIZE = 1;
  6216. var ALWAYS_NORMALIZE = 2;
  6217. // wrapper function for providing a more flexible interface
  6218. // without getting yelled at by flow
  6219. function createElement (
  6220. context,
  6221. tag,
  6222. data,
  6223. children,
  6224. normalizationType,
  6225. alwaysNormalize
  6226. ) {
  6227. if (Array.isArray(data) || isPrimitive(data)) {
  6228. normalizationType = children;
  6229. children = data;
  6230. data = undefined;
  6231. }
  6232. if (isTrue(alwaysNormalize)) {
  6233. normalizationType = ALWAYS_NORMALIZE;
  6234. }
  6235. return _createElement(context, tag, data, children, normalizationType)
  6236. }
  6237. function _createElement (
  6238. context,
  6239. tag,
  6240. data,
  6241. children,
  6242. normalizationType
  6243. ) {
  6244. if (isDef(data) && isDef((data).__ob__)) {
  6245. true && warn(
  6246. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6247. 'Always create fresh vnode data objects in each render!',
  6248. context
  6249. );
  6250. return createEmptyVNode()
  6251. }
  6252. // object syntax in v-bind
  6253. if (isDef(data) && isDef(data.is)) {
  6254. tag = data.is;
  6255. }
  6256. if (!tag) {
  6257. // in case of component :is set to falsy value
  6258. return createEmptyVNode()
  6259. }
  6260. // warn against non-primitive key
  6261. if ( true &&
  6262. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6263. ) {
  6264. {
  6265. warn(
  6266. 'Avoid using non-primitive value as key, ' +
  6267. 'use string/number value instead.',
  6268. context
  6269. );
  6270. }
  6271. }
  6272. // support single function children as default scoped slot
  6273. if (Array.isArray(children) &&
  6274. typeof children[0] === 'function'
  6275. ) {
  6276. data = data || {};
  6277. data.scopedSlots = { default: children[0] };
  6278. children.length = 0;
  6279. }
  6280. if (normalizationType === ALWAYS_NORMALIZE) {
  6281. children = normalizeChildren(children);
  6282. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6283. children = simpleNormalizeChildren(children);
  6284. }
  6285. var vnode, ns;
  6286. if (typeof tag === 'string') {
  6287. var Ctor;
  6288. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6289. if (config.isReservedTag(tag)) {
  6290. // platform built-in elements
  6291. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6292. warn(
  6293. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6294. context
  6295. );
  6296. }
  6297. vnode = new VNode(
  6298. config.parsePlatformTagName(tag), data, children,
  6299. undefined, undefined, context
  6300. );
  6301. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6302. // component
  6303. vnode = createComponent(Ctor, data, context, children, tag);
  6304. } else {
  6305. // unknown or unlisted namespaced elements
  6306. // check at runtime because it may get assigned a namespace when its
  6307. // parent normalizes children
  6308. vnode = new VNode(
  6309. tag, data, children,
  6310. undefined, undefined, context
  6311. );
  6312. }
  6313. } else {
  6314. // direct component options / constructor
  6315. vnode = createComponent(tag, data, context, children);
  6316. }
  6317. if (Array.isArray(vnode)) {
  6318. return vnode
  6319. } else if (isDef(vnode)) {
  6320. if (isDef(ns)) { applyNS(vnode, ns); }
  6321. if (isDef(data)) { registerDeepBindings(data); }
  6322. return vnode
  6323. } else {
  6324. return createEmptyVNode()
  6325. }
  6326. }
  6327. function applyNS (vnode, ns, force) {
  6328. vnode.ns = ns;
  6329. if (vnode.tag === 'foreignObject') {
  6330. // use default namespace inside foreignObject
  6331. ns = undefined;
  6332. force = true;
  6333. }
  6334. if (isDef(vnode.children)) {
  6335. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6336. var child = vnode.children[i];
  6337. if (isDef(child.tag) && (
  6338. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6339. applyNS(child, ns, force);
  6340. }
  6341. }
  6342. }
  6343. }
  6344. // ref #5318
  6345. // necessary to ensure parent re-render when deep bindings like :style and
  6346. // :class are used on slot nodes
  6347. function registerDeepBindings (data) {
  6348. if (isObject(data.style)) {
  6349. traverse(data.style);
  6350. }
  6351. if (isObject(data.class)) {
  6352. traverse(data.class);
  6353. }
  6354. }
  6355. /* */
  6356. function initRender (vm) {
  6357. vm._vnode = null; // the root of the child tree
  6358. vm._staticTrees = null; // v-once cached trees
  6359. var options = vm.$options;
  6360. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6361. var renderContext = parentVnode && parentVnode.context;
  6362. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6363. vm.$scopedSlots = emptyObject;
  6364. // bind the createElement fn to this instance
  6365. // so that we get proper render context inside it.
  6366. // args order: tag, data, children, normalizationType, alwaysNormalize
  6367. // internal version is used by render functions compiled from templates
  6368. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6369. // normalization is always applied for the public version, used in
  6370. // user-written render functions.
  6371. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6372. // $attrs & $listeners are exposed for easier HOC creation.
  6373. // they need to be reactive so that HOCs using them are always updated
  6374. var parentData = parentVnode && parentVnode.data;
  6375. /* istanbul ignore else */
  6376. if (true) {
  6377. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6378. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6379. }, true);
  6380. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6381. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6382. }, true);
  6383. } else {}
  6384. }
  6385. var currentRenderingInstance = null;
  6386. function renderMixin (Vue) {
  6387. // install runtime convenience helpers
  6388. installRenderHelpers(Vue.prototype);
  6389. Vue.prototype.$nextTick = function (fn) {
  6390. return nextTick(fn, this)
  6391. };
  6392. Vue.prototype._render = function () {
  6393. var vm = this;
  6394. var ref = vm.$options;
  6395. var render = ref.render;
  6396. var _parentVnode = ref._parentVnode;
  6397. if (_parentVnode) {
  6398. vm.$scopedSlots = normalizeScopedSlots(
  6399. _parentVnode.data.scopedSlots,
  6400. vm.$slots,
  6401. vm.$scopedSlots
  6402. );
  6403. }
  6404. // set parent vnode. this allows render functions to have access
  6405. // to the data on the placeholder node.
  6406. vm.$vnode = _parentVnode;
  6407. // render self
  6408. var vnode;
  6409. try {
  6410. // There's no need to maintain a stack because all render fns are called
  6411. // separately from one another. Nested component's render fns are called
  6412. // when parent component is patched.
  6413. currentRenderingInstance = vm;
  6414. vnode = render.call(vm._renderProxy, vm.$createElement);
  6415. } catch (e) {
  6416. handleError(e, vm, "render");
  6417. // return error render result,
  6418. // or previous vnode to prevent render error causing blank component
  6419. /* istanbul ignore else */
  6420. if ( true && vm.$options.renderError) {
  6421. try {
  6422. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  6423. } catch (e) {
  6424. handleError(e, vm, "renderError");
  6425. vnode = vm._vnode;
  6426. }
  6427. } else {
  6428. vnode = vm._vnode;
  6429. }
  6430. } finally {
  6431. currentRenderingInstance = null;
  6432. }
  6433. // if the returned array contains only a single node, allow it
  6434. if (Array.isArray(vnode) && vnode.length === 1) {
  6435. vnode = vnode[0];
  6436. }
  6437. // return empty vnode in case the render function errored out
  6438. if (!(vnode instanceof VNode)) {
  6439. if ( true && Array.isArray(vnode)) {
  6440. warn(
  6441. 'Multiple root nodes returned from render function. Render function ' +
  6442. 'should return a single root node.',
  6443. vm
  6444. );
  6445. }
  6446. vnode = createEmptyVNode();
  6447. }
  6448. // set parent
  6449. vnode.parent = _parentVnode;
  6450. return vnode
  6451. };
  6452. }
  6453. /* */
  6454. function ensureCtor (comp, base) {
  6455. if (
  6456. comp.__esModule ||
  6457. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  6458. ) {
  6459. comp = comp.default;
  6460. }
  6461. return isObject(comp)
  6462. ? base.extend(comp)
  6463. : comp
  6464. }
  6465. function createAsyncPlaceholder (
  6466. factory,
  6467. data,
  6468. context,
  6469. children,
  6470. tag
  6471. ) {
  6472. var node = createEmptyVNode();
  6473. node.asyncFactory = factory;
  6474. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  6475. return node
  6476. }
  6477. function resolveAsyncComponent (
  6478. factory,
  6479. baseCtor
  6480. ) {
  6481. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  6482. return factory.errorComp
  6483. }
  6484. if (isDef(factory.resolved)) {
  6485. return factory.resolved
  6486. }
  6487. var owner = currentRenderingInstance;
  6488. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  6489. // already pending
  6490. factory.owners.push(owner);
  6491. }
  6492. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  6493. return factory.loadingComp
  6494. }
  6495. if (owner && !isDef(factory.owners)) {
  6496. var owners = factory.owners = [owner];
  6497. var sync = true;
  6498. var timerLoading = null;
  6499. var timerTimeout = null
  6500. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  6501. var forceRender = function (renderCompleted) {
  6502. for (var i = 0, l = owners.length; i < l; i++) {
  6503. (owners[i]).$forceUpdate();
  6504. }
  6505. if (renderCompleted) {
  6506. owners.length = 0;
  6507. if (timerLoading !== null) {
  6508. clearTimeout(timerLoading);
  6509. timerLoading = null;
  6510. }
  6511. if (timerTimeout !== null) {
  6512. clearTimeout(timerTimeout);
  6513. timerTimeout = null;
  6514. }
  6515. }
  6516. };
  6517. var resolve = once(function (res) {
  6518. // cache resolved
  6519. factory.resolved = ensureCtor(res, baseCtor);
  6520. // invoke callbacks only if this is not a synchronous resolve
  6521. // (async resolves are shimmed as synchronous during SSR)
  6522. if (!sync) {
  6523. forceRender(true);
  6524. } else {
  6525. owners.length = 0;
  6526. }
  6527. });
  6528. var reject = once(function (reason) {
  6529. true && warn(
  6530. "Failed to resolve async component: " + (String(factory)) +
  6531. (reason ? ("\nReason: " + reason) : '')
  6532. );
  6533. if (isDef(factory.errorComp)) {
  6534. factory.error = true;
  6535. forceRender(true);
  6536. }
  6537. });
  6538. var res = factory(resolve, reject);
  6539. if (isObject(res)) {
  6540. if (isPromise(res)) {
  6541. // () => Promise
  6542. if (isUndef(factory.resolved)) {
  6543. res.then(resolve, reject);
  6544. }
  6545. } else if (isPromise(res.component)) {
  6546. res.component.then(resolve, reject);
  6547. if (isDef(res.error)) {
  6548. factory.errorComp = ensureCtor(res.error, baseCtor);
  6549. }
  6550. if (isDef(res.loading)) {
  6551. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  6552. if (res.delay === 0) {
  6553. factory.loading = true;
  6554. } else {
  6555. timerLoading = setTimeout(function () {
  6556. timerLoading = null;
  6557. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  6558. factory.loading = true;
  6559. forceRender(false);
  6560. }
  6561. }, res.delay || 200);
  6562. }
  6563. }
  6564. if (isDef(res.timeout)) {
  6565. timerTimeout = setTimeout(function () {
  6566. timerTimeout = null;
  6567. if (isUndef(factory.resolved)) {
  6568. reject(
  6569. true
  6570. ? ("timeout (" + (res.timeout) + "ms)")
  6571. : undefined
  6572. );
  6573. }
  6574. }, res.timeout);
  6575. }
  6576. }
  6577. }
  6578. sync = false;
  6579. // return in case resolved synchronously
  6580. return factory.loading
  6581. ? factory.loadingComp
  6582. : factory.resolved
  6583. }
  6584. }
  6585. /* */
  6586. function isAsyncPlaceholder (node) {
  6587. return node.isComment && node.asyncFactory
  6588. }
  6589. /* */
  6590. function getFirstComponentChild (children) {
  6591. if (Array.isArray(children)) {
  6592. for (var i = 0; i < children.length; i++) {
  6593. var c = children[i];
  6594. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  6595. return c
  6596. }
  6597. }
  6598. }
  6599. }
  6600. /* */
  6601. /* */
  6602. function initEvents (vm) {
  6603. vm._events = Object.create(null);
  6604. vm._hasHookEvent = false;
  6605. // init parent attached events
  6606. var listeners = vm.$options._parentListeners;
  6607. if (listeners) {
  6608. updateComponentListeners(vm, listeners);
  6609. }
  6610. }
  6611. var target;
  6612. function add (event, fn) {
  6613. target.$on(event, fn);
  6614. }
  6615. function remove$1 (event, fn) {
  6616. target.$off(event, fn);
  6617. }
  6618. function createOnceHandler (event, fn) {
  6619. var _target = target;
  6620. return function onceHandler () {
  6621. var res = fn.apply(null, arguments);
  6622. if (res !== null) {
  6623. _target.$off(event, onceHandler);
  6624. }
  6625. }
  6626. }
  6627. function updateComponentListeners (
  6628. vm,
  6629. listeners,
  6630. oldListeners
  6631. ) {
  6632. target = vm;
  6633. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  6634. target = undefined;
  6635. }
  6636. function eventsMixin (Vue) {
  6637. var hookRE = /^hook:/;
  6638. Vue.prototype.$on = function (event, fn) {
  6639. var vm = this;
  6640. if (Array.isArray(event)) {
  6641. for (var i = 0, l = event.length; i < l; i++) {
  6642. vm.$on(event[i], fn);
  6643. }
  6644. } else {
  6645. (vm._events[event] || (vm._events[event] = [])).push(fn);
  6646. // optimize hook:event cost by using a boolean flag marked at registration
  6647. // instead of a hash lookup
  6648. if (hookRE.test(event)) {
  6649. vm._hasHookEvent = true;
  6650. }
  6651. }
  6652. return vm
  6653. };
  6654. Vue.prototype.$once = function (event, fn) {
  6655. var vm = this;
  6656. function on () {
  6657. vm.$off(event, on);
  6658. fn.apply(vm, arguments);
  6659. }
  6660. on.fn = fn;
  6661. vm.$on(event, on);
  6662. return vm
  6663. };
  6664. Vue.prototype.$off = function (event, fn) {
  6665. var vm = this;
  6666. // all
  6667. if (!arguments.length) {
  6668. vm._events = Object.create(null);
  6669. return vm
  6670. }
  6671. // array of events
  6672. if (Array.isArray(event)) {
  6673. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  6674. vm.$off(event[i$1], fn);
  6675. }
  6676. return vm
  6677. }
  6678. // specific event
  6679. var cbs = vm._events[event];
  6680. if (!cbs) {
  6681. return vm
  6682. }
  6683. if (!fn) {
  6684. vm._events[event] = null;
  6685. return vm
  6686. }
  6687. // specific handler
  6688. var cb;
  6689. var i = cbs.length;
  6690. while (i--) {
  6691. cb = cbs[i];
  6692. if (cb === fn || cb.fn === fn) {
  6693. cbs.splice(i, 1);
  6694. break
  6695. }
  6696. }
  6697. return vm
  6698. };
  6699. Vue.prototype.$emit = function (event) {
  6700. var vm = this;
  6701. if (true) {
  6702. var lowerCaseEvent = event.toLowerCase();
  6703. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  6704. tip(
  6705. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  6706. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  6707. "Note that HTML attributes are case-insensitive and you cannot use " +
  6708. "v-on to listen to camelCase events when using in-DOM templates. " +
  6709. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  6710. );
  6711. }
  6712. }
  6713. var cbs = vm._events[event];
  6714. if (cbs) {
  6715. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  6716. var args = toArray(arguments, 1);
  6717. var info = "event handler for \"" + event + "\"";
  6718. for (var i = 0, l = cbs.length; i < l; i++) {
  6719. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  6720. }
  6721. }
  6722. return vm
  6723. };
  6724. }
  6725. /* */
  6726. var activeInstance = null;
  6727. var isUpdatingChildComponent = false;
  6728. function setActiveInstance(vm) {
  6729. var prevActiveInstance = activeInstance;
  6730. activeInstance = vm;
  6731. return function () {
  6732. activeInstance = prevActiveInstance;
  6733. }
  6734. }
  6735. function initLifecycle (vm) {
  6736. var options = vm.$options;
  6737. // locate first non-abstract parent
  6738. var parent = options.parent;
  6739. if (parent && !options.abstract) {
  6740. while (parent.$options.abstract && parent.$parent) {
  6741. parent = parent.$parent;
  6742. }
  6743. parent.$children.push(vm);
  6744. }
  6745. vm.$parent = parent;
  6746. vm.$root = parent ? parent.$root : vm;
  6747. vm.$children = [];
  6748. vm.$refs = {};
  6749. vm._watcher = null;
  6750. vm._inactive = null;
  6751. vm._directInactive = false;
  6752. vm._isMounted = false;
  6753. vm._isDestroyed = false;
  6754. vm._isBeingDestroyed = false;
  6755. }
  6756. function lifecycleMixin (Vue) {
  6757. Vue.prototype._update = function (vnode, hydrating) {
  6758. var vm = this;
  6759. var prevEl = vm.$el;
  6760. var prevVnode = vm._vnode;
  6761. var restoreActiveInstance = setActiveInstance(vm);
  6762. vm._vnode = vnode;
  6763. // Vue.prototype.__patch__ is injected in entry points
  6764. // based on the rendering backend used.
  6765. if (!prevVnode) {
  6766. // initial render
  6767. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  6768. } else {
  6769. // updates
  6770. vm.$el = vm.__patch__(prevVnode, vnode);
  6771. }
  6772. restoreActiveInstance();
  6773. // update __vue__ reference
  6774. if (prevEl) {
  6775. prevEl.__vue__ = null;
  6776. }
  6777. if (vm.$el) {
  6778. vm.$el.__vue__ = vm;
  6779. }
  6780. // if parent is an HOC, update its $el as well
  6781. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  6782. vm.$parent.$el = vm.$el;
  6783. }
  6784. // updated hook is called by the scheduler to ensure that children are
  6785. // updated in a parent's updated hook.
  6786. };
  6787. Vue.prototype.$forceUpdate = function () {
  6788. var vm = this;
  6789. if (vm._watcher) {
  6790. vm._watcher.update();
  6791. }
  6792. };
  6793. Vue.prototype.$destroy = function () {
  6794. var vm = this;
  6795. if (vm._isBeingDestroyed) {
  6796. return
  6797. }
  6798. callHook(vm, 'beforeDestroy');
  6799. vm._isBeingDestroyed = true;
  6800. // remove self from parent
  6801. var parent = vm.$parent;
  6802. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  6803. remove(parent.$children, vm);
  6804. }
  6805. // teardown watchers
  6806. if (vm._watcher) {
  6807. vm._watcher.teardown();
  6808. }
  6809. var i = vm._watchers.length;
  6810. while (i--) {
  6811. vm._watchers[i].teardown();
  6812. }
  6813. // remove reference from data ob
  6814. // frozen object may not have observer.
  6815. if (vm._data.__ob__) {
  6816. vm._data.__ob__.vmCount--;
  6817. }
  6818. // call the last hook...
  6819. vm._isDestroyed = true;
  6820. // invoke destroy hooks on current rendered tree
  6821. vm.__patch__(vm._vnode, null);
  6822. // fire destroyed hook
  6823. callHook(vm, 'destroyed');
  6824. // turn off all instance listeners.
  6825. vm.$off();
  6826. // remove __vue__ reference
  6827. if (vm.$el) {
  6828. vm.$el.__vue__ = null;
  6829. }
  6830. // release circular reference (#6759)
  6831. if (vm.$vnode) {
  6832. vm.$vnode.parent = null;
  6833. }
  6834. };
  6835. }
  6836. function updateChildComponent (
  6837. vm,
  6838. propsData,
  6839. listeners,
  6840. parentVnode,
  6841. renderChildren
  6842. ) {
  6843. if (true) {
  6844. isUpdatingChildComponent = true;
  6845. }
  6846. // determine whether component has slot children
  6847. // we need to do this before overwriting $options._renderChildren.
  6848. // check if there are dynamic scopedSlots (hand-written or compiled but with
  6849. // dynamic slot names). Static scoped slots compiled from template has the
  6850. // "$stable" marker.
  6851. var newScopedSlots = parentVnode.data.scopedSlots;
  6852. var oldScopedSlots = vm.$scopedSlots;
  6853. var hasDynamicScopedSlot = !!(
  6854. (newScopedSlots && !newScopedSlots.$stable) ||
  6855. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  6856. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  6857. );
  6858. // Any static slot children from the parent may have changed during parent's
  6859. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  6860. // update is necessary to ensure correctness.
  6861. var needsForceUpdate = !!(
  6862. renderChildren || // has new static slots
  6863. vm.$options._renderChildren || // has old static slots
  6864. hasDynamicScopedSlot
  6865. );
  6866. vm.$options._parentVnode = parentVnode;
  6867. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  6868. if (vm._vnode) { // update child tree's parent
  6869. vm._vnode.parent = parentVnode;
  6870. }
  6871. vm.$options._renderChildren = renderChildren;
  6872. // update $attrs and $listeners hash
  6873. // these are also reactive so they may trigger child update if the child
  6874. // used them during render
  6875. vm.$attrs = parentVnode.data.attrs || emptyObject;
  6876. vm.$listeners = listeners || emptyObject;
  6877. // update props
  6878. if (propsData && vm.$options.props) {
  6879. toggleObserving(false);
  6880. var props = vm._props;
  6881. var propKeys = vm.$options._propKeys || [];
  6882. for (var i = 0; i < propKeys.length; i++) {
  6883. var key = propKeys[i];
  6884. var propOptions = vm.$options.props; // wtf flow?
  6885. props[key] = validateProp(key, propOptions, propsData, vm);
  6886. }
  6887. toggleObserving(true);
  6888. // keep a copy of raw propsData
  6889. vm.$options.propsData = propsData;
  6890. }
  6891. // fixed by xxxxxx update properties(mp runtime)
  6892. vm._$updateProperties && vm._$updateProperties(vm);
  6893. // update listeners
  6894. listeners = listeners || emptyObject;
  6895. var oldListeners = vm.$options._parentListeners;
  6896. vm.$options._parentListeners = listeners;
  6897. updateComponentListeners(vm, listeners, oldListeners);
  6898. // resolve slots + force update if has children
  6899. if (needsForceUpdate) {
  6900. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  6901. vm.$forceUpdate();
  6902. }
  6903. if (true) {
  6904. isUpdatingChildComponent = false;
  6905. }
  6906. }
  6907. function isInInactiveTree (vm) {
  6908. while (vm && (vm = vm.$parent)) {
  6909. if (vm._inactive) { return true }
  6910. }
  6911. return false
  6912. }
  6913. function activateChildComponent (vm, direct) {
  6914. if (direct) {
  6915. vm._directInactive = false;
  6916. if (isInInactiveTree(vm)) {
  6917. return
  6918. }
  6919. } else if (vm._directInactive) {
  6920. return
  6921. }
  6922. if (vm._inactive || vm._inactive === null) {
  6923. vm._inactive = false;
  6924. for (var i = 0; i < vm.$children.length; i++) {
  6925. activateChildComponent(vm.$children[i]);
  6926. }
  6927. callHook(vm, 'activated');
  6928. }
  6929. }
  6930. function deactivateChildComponent (vm, direct) {
  6931. if (direct) {
  6932. vm._directInactive = true;
  6933. if (isInInactiveTree(vm)) {
  6934. return
  6935. }
  6936. }
  6937. if (!vm._inactive) {
  6938. vm._inactive = true;
  6939. for (var i = 0; i < vm.$children.length; i++) {
  6940. deactivateChildComponent(vm.$children[i]);
  6941. }
  6942. callHook(vm, 'deactivated');
  6943. }
  6944. }
  6945. function callHook (vm, hook) {
  6946. // #7573 disable dep collection when invoking lifecycle hooks
  6947. pushTarget();
  6948. var handlers = vm.$options[hook];
  6949. var info = hook + " hook";
  6950. if (handlers) {
  6951. for (var i = 0, j = handlers.length; i < j; i++) {
  6952. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  6953. }
  6954. }
  6955. if (vm._hasHookEvent) {
  6956. vm.$emit('hook:' + hook);
  6957. }
  6958. popTarget();
  6959. }
  6960. /* */
  6961. var MAX_UPDATE_COUNT = 100;
  6962. var queue = [];
  6963. var activatedChildren = [];
  6964. var has = {};
  6965. var circular = {};
  6966. var waiting = false;
  6967. var flushing = false;
  6968. var index = 0;
  6969. /**
  6970. * Reset the scheduler's state.
  6971. */
  6972. function resetSchedulerState () {
  6973. index = queue.length = activatedChildren.length = 0;
  6974. has = {};
  6975. if (true) {
  6976. circular = {};
  6977. }
  6978. waiting = flushing = false;
  6979. }
  6980. // Async edge case #6566 requires saving the timestamp when event listeners are
  6981. // attached. However, calling performance.now() has a perf overhead especially
  6982. // if the page has thousands of event listeners. Instead, we take a timestamp
  6983. // every time the scheduler flushes and use that for all event listeners
  6984. // attached during that flush.
  6985. var currentFlushTimestamp = 0;
  6986. // Async edge case fix requires storing an event listener's attach timestamp.
  6987. var getNow = Date.now;
  6988. // Determine what event timestamp the browser is using. Annoyingly, the
  6989. // timestamp can either be hi-res (relative to page load) or low-res
  6990. // (relative to UNIX epoch), so in order to compare time we have to use the
  6991. // same timestamp type when saving the flush timestamp.
  6992. // All IE versions use low-res event timestamps, and have problematic clock
  6993. // implementations (#9632)
  6994. if (inBrowser && !isIE) {
  6995. var performance = window.performance;
  6996. if (
  6997. performance &&
  6998. typeof performance.now === 'function' &&
  6999. getNow() > document.createEvent('Event').timeStamp
  7000. ) {
  7001. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7002. // smaller than it, it means the event is using a hi-res timestamp,
  7003. // and we need to use the hi-res version for event listener timestamps as
  7004. // well.
  7005. getNow = function () { return performance.now(); };
  7006. }
  7007. }
  7008. /**
  7009. * Flush both queues and run the watchers.
  7010. */
  7011. function flushSchedulerQueue () {
  7012. currentFlushTimestamp = getNow();
  7013. flushing = true;
  7014. var watcher, id;
  7015. // Sort queue before flush.
  7016. // This ensures that:
  7017. // 1. Components are updated from parent to child. (because parent is always
  7018. // created before the child)
  7019. // 2. A component's user watchers are run before its render watcher (because
  7020. // user watchers are created before the render watcher)
  7021. // 3. If a component is destroyed during a parent component's watcher run,
  7022. // its watchers can be skipped.
  7023. queue.sort(function (a, b) { return a.id - b.id; });
  7024. // do not cache length because more watchers might be pushed
  7025. // as we run existing watchers
  7026. for (index = 0; index < queue.length; index++) {
  7027. watcher = queue[index];
  7028. if (watcher.before) {
  7029. watcher.before();
  7030. }
  7031. id = watcher.id;
  7032. has[id] = null;
  7033. watcher.run();
  7034. // in dev build, check and stop circular updates.
  7035. if ( true && has[id] != null) {
  7036. circular[id] = (circular[id] || 0) + 1;
  7037. if (circular[id] > MAX_UPDATE_COUNT) {
  7038. warn(
  7039. 'You may have an infinite update loop ' + (
  7040. watcher.user
  7041. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7042. : "in a component render function."
  7043. ),
  7044. watcher.vm
  7045. );
  7046. break
  7047. }
  7048. }
  7049. }
  7050. // keep copies of post queues before resetting state
  7051. var activatedQueue = activatedChildren.slice();
  7052. var updatedQueue = queue.slice();
  7053. resetSchedulerState();
  7054. // call component updated and activated hooks
  7055. callActivatedHooks(activatedQueue);
  7056. callUpdatedHooks(updatedQueue);
  7057. // devtool hook
  7058. /* istanbul ignore if */
  7059. if (devtools && config.devtools) {
  7060. devtools.emit('flush');
  7061. }
  7062. }
  7063. function callUpdatedHooks (queue) {
  7064. var i = queue.length;
  7065. while (i--) {
  7066. var watcher = queue[i];
  7067. var vm = watcher.vm;
  7068. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7069. callHook(vm, 'updated');
  7070. }
  7071. }
  7072. }
  7073. /**
  7074. * Queue a kept-alive component that was activated during patch.
  7075. * The queue will be processed after the entire tree has been patched.
  7076. */
  7077. function queueActivatedComponent (vm) {
  7078. // setting _inactive to false here so that a render function can
  7079. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7080. vm._inactive = false;
  7081. activatedChildren.push(vm);
  7082. }
  7083. function callActivatedHooks (queue) {
  7084. for (var i = 0; i < queue.length; i++) {
  7085. queue[i]._inactive = true;
  7086. activateChildComponent(queue[i], true /* true */);
  7087. }
  7088. }
  7089. /**
  7090. * Push a watcher into the watcher queue.
  7091. * Jobs with duplicate IDs will be skipped unless it's
  7092. * pushed when the queue is being flushed.
  7093. */
  7094. function queueWatcher (watcher) {
  7095. var id = watcher.id;
  7096. if (has[id] == null) {
  7097. has[id] = true;
  7098. if (!flushing) {
  7099. queue.push(watcher);
  7100. } else {
  7101. // if already flushing, splice the watcher based on its id
  7102. // if already past its id, it will be run next immediately.
  7103. var i = queue.length - 1;
  7104. while (i > index && queue[i].id > watcher.id) {
  7105. i--;
  7106. }
  7107. queue.splice(i + 1, 0, watcher);
  7108. }
  7109. // queue the flush
  7110. if (!waiting) {
  7111. waiting = true;
  7112. if ( true && !config.async) {
  7113. flushSchedulerQueue();
  7114. return
  7115. }
  7116. nextTick(flushSchedulerQueue);
  7117. }
  7118. }
  7119. }
  7120. /* */
  7121. var uid$2 = 0;
  7122. /**
  7123. * A watcher parses an expression, collects dependencies,
  7124. * and fires callback when the expression value changes.
  7125. * This is used for both the $watch() api and directives.
  7126. */
  7127. var Watcher = function Watcher (
  7128. vm,
  7129. expOrFn,
  7130. cb,
  7131. options,
  7132. isRenderWatcher
  7133. ) {
  7134. this.vm = vm;
  7135. if (isRenderWatcher) {
  7136. vm._watcher = this;
  7137. }
  7138. vm._watchers.push(this);
  7139. // options
  7140. if (options) {
  7141. this.deep = !!options.deep;
  7142. this.user = !!options.user;
  7143. this.lazy = !!options.lazy;
  7144. this.sync = !!options.sync;
  7145. this.before = options.before;
  7146. } else {
  7147. this.deep = this.user = this.lazy = this.sync = false;
  7148. }
  7149. this.cb = cb;
  7150. this.id = ++uid$2; // uid for batching
  7151. this.active = true;
  7152. this.dirty = this.lazy; // for lazy watchers
  7153. this.deps = [];
  7154. this.newDeps = [];
  7155. this.depIds = new _Set();
  7156. this.newDepIds = new _Set();
  7157. this.expression = true
  7158. ? expOrFn.toString()
  7159. : undefined;
  7160. // parse expression for getter
  7161. if (typeof expOrFn === 'function') {
  7162. this.getter = expOrFn;
  7163. } else {
  7164. this.getter = parsePath(expOrFn);
  7165. if (!this.getter) {
  7166. this.getter = noop;
  7167. true && warn(
  7168. "Failed watching path: \"" + expOrFn + "\" " +
  7169. 'Watcher only accepts simple dot-delimited paths. ' +
  7170. 'For full control, use a function instead.',
  7171. vm
  7172. );
  7173. }
  7174. }
  7175. this.value = this.lazy
  7176. ? undefined
  7177. : this.get();
  7178. };
  7179. /**
  7180. * Evaluate the getter, and re-collect dependencies.
  7181. */
  7182. Watcher.prototype.get = function get () {
  7183. pushTarget(this);
  7184. var value;
  7185. var vm = this.vm;
  7186. try {
  7187. value = this.getter.call(vm, vm);
  7188. } catch (e) {
  7189. if (this.user) {
  7190. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7191. } else {
  7192. throw e
  7193. }
  7194. } finally {
  7195. // "touch" every property so they are all tracked as
  7196. // dependencies for deep watching
  7197. if (this.deep) {
  7198. traverse(value);
  7199. }
  7200. popTarget();
  7201. this.cleanupDeps();
  7202. }
  7203. return value
  7204. };
  7205. /**
  7206. * Add a dependency to this directive.
  7207. */
  7208. Watcher.prototype.addDep = function addDep (dep) {
  7209. var id = dep.id;
  7210. if (!this.newDepIds.has(id)) {
  7211. this.newDepIds.add(id);
  7212. this.newDeps.push(dep);
  7213. if (!this.depIds.has(id)) {
  7214. dep.addSub(this);
  7215. }
  7216. }
  7217. };
  7218. /**
  7219. * Clean up for dependency collection.
  7220. */
  7221. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7222. var i = this.deps.length;
  7223. while (i--) {
  7224. var dep = this.deps[i];
  7225. if (!this.newDepIds.has(dep.id)) {
  7226. dep.removeSub(this);
  7227. }
  7228. }
  7229. var tmp = this.depIds;
  7230. this.depIds = this.newDepIds;
  7231. this.newDepIds = tmp;
  7232. this.newDepIds.clear();
  7233. tmp = this.deps;
  7234. this.deps = this.newDeps;
  7235. this.newDeps = tmp;
  7236. this.newDeps.length = 0;
  7237. };
  7238. /**
  7239. * Subscriber interface.
  7240. * Will be called when a dependency changes.
  7241. */
  7242. Watcher.prototype.update = function update () {
  7243. /* istanbul ignore else */
  7244. if (this.lazy) {
  7245. this.dirty = true;
  7246. } else if (this.sync) {
  7247. this.run();
  7248. } else {
  7249. queueWatcher(this);
  7250. }
  7251. };
  7252. /**
  7253. * Scheduler job interface.
  7254. * Will be called by the scheduler.
  7255. */
  7256. Watcher.prototype.run = function run () {
  7257. if (this.active) {
  7258. var value = this.get();
  7259. if (
  7260. value !== this.value ||
  7261. // Deep watchers and watchers on Object/Arrays should fire even
  7262. // when the value is the same, because the value may
  7263. // have mutated.
  7264. isObject(value) ||
  7265. this.deep
  7266. ) {
  7267. // set new value
  7268. var oldValue = this.value;
  7269. this.value = value;
  7270. if (this.user) {
  7271. try {
  7272. this.cb.call(this.vm, value, oldValue);
  7273. } catch (e) {
  7274. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7275. }
  7276. } else {
  7277. this.cb.call(this.vm, value, oldValue);
  7278. }
  7279. }
  7280. }
  7281. };
  7282. /**
  7283. * Evaluate the value of the watcher.
  7284. * This only gets called for lazy watchers.
  7285. */
  7286. Watcher.prototype.evaluate = function evaluate () {
  7287. this.value = this.get();
  7288. this.dirty = false;
  7289. };
  7290. /**
  7291. * Depend on all deps collected by this watcher.
  7292. */
  7293. Watcher.prototype.depend = function depend () {
  7294. var i = this.deps.length;
  7295. while (i--) {
  7296. this.deps[i].depend();
  7297. }
  7298. };
  7299. /**
  7300. * Remove self from all dependencies' subscriber list.
  7301. */
  7302. Watcher.prototype.teardown = function teardown () {
  7303. if (this.active) {
  7304. // remove self from vm's watcher list
  7305. // this is a somewhat expensive operation so we skip it
  7306. // if the vm is being destroyed.
  7307. if (!this.vm._isBeingDestroyed) {
  7308. remove(this.vm._watchers, this);
  7309. }
  7310. var i = this.deps.length;
  7311. while (i--) {
  7312. this.deps[i].removeSub(this);
  7313. }
  7314. this.active = false;
  7315. }
  7316. };
  7317. /* */
  7318. var sharedPropertyDefinition = {
  7319. enumerable: true,
  7320. configurable: true,
  7321. get: noop,
  7322. set: noop
  7323. };
  7324. function proxy (target, sourceKey, key) {
  7325. sharedPropertyDefinition.get = function proxyGetter () {
  7326. return this[sourceKey][key]
  7327. };
  7328. sharedPropertyDefinition.set = function proxySetter (val) {
  7329. this[sourceKey][key] = val;
  7330. };
  7331. Object.defineProperty(target, key, sharedPropertyDefinition);
  7332. }
  7333. function initState (vm) {
  7334. vm._watchers = [];
  7335. var opts = vm.$options;
  7336. if (opts.props) { initProps(vm, opts.props); }
  7337. if (opts.methods) { initMethods(vm, opts.methods); }
  7338. if (opts.data) {
  7339. initData(vm);
  7340. } else {
  7341. observe(vm._data = {}, true /* asRootData */);
  7342. }
  7343. if (opts.computed) { initComputed(vm, opts.computed); }
  7344. if (opts.watch && opts.watch !== nativeWatch) {
  7345. initWatch(vm, opts.watch);
  7346. }
  7347. }
  7348. function initProps (vm, propsOptions) {
  7349. var propsData = vm.$options.propsData || {};
  7350. var props = vm._props = {};
  7351. // cache prop keys so that future props updates can iterate using Array
  7352. // instead of dynamic object key enumeration.
  7353. var keys = vm.$options._propKeys = [];
  7354. var isRoot = !vm.$parent;
  7355. // root instance props should be converted
  7356. if (!isRoot) {
  7357. toggleObserving(false);
  7358. }
  7359. var loop = function ( key ) {
  7360. keys.push(key);
  7361. var value = validateProp(key, propsOptions, propsData, vm);
  7362. /* istanbul ignore else */
  7363. if (true) {
  7364. var hyphenatedKey = hyphenate(key);
  7365. if (isReservedAttribute(hyphenatedKey) ||
  7366. config.isReservedAttr(hyphenatedKey)) {
  7367. warn(
  7368. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7369. vm
  7370. );
  7371. }
  7372. defineReactive$$1(props, key, value, function () {
  7373. if (!isRoot && !isUpdatingChildComponent) {
  7374. {
  7375. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7376. return
  7377. }
  7378. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7379. if(
  7380. key === 'value' &&
  7381. Array.isArray(vm.$options.behaviors) &&
  7382. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7383. ){
  7384. return
  7385. }
  7386. if(vm._getFormData){
  7387. return
  7388. }
  7389. var $parent = vm.$parent;
  7390. while($parent){
  7391. if($parent.__next_tick_pending){
  7392. return
  7393. }
  7394. $parent = $parent.$parent;
  7395. }
  7396. }
  7397. warn(
  7398. "Avoid mutating a prop directly since the value will be " +
  7399. "overwritten whenever the parent component re-renders. " +
  7400. "Instead, use a data or computed property based on the prop's " +
  7401. "value. Prop being mutated: \"" + key + "\"",
  7402. vm
  7403. );
  7404. }
  7405. });
  7406. } else {}
  7407. // static props are already proxied on the component's prototype
  7408. // during Vue.extend(). We only need to proxy props defined at
  7409. // instantiation here.
  7410. if (!(key in vm)) {
  7411. proxy(vm, "_props", key);
  7412. }
  7413. };
  7414. for (var key in propsOptions) loop( key );
  7415. toggleObserving(true);
  7416. }
  7417. function initData (vm) {
  7418. var data = vm.$options.data;
  7419. data = vm._data = typeof data === 'function'
  7420. ? getData(data, vm)
  7421. : data || {};
  7422. if (!isPlainObject(data)) {
  7423. data = {};
  7424. true && warn(
  7425. 'data functions should return an object:\n' +
  7426. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  7427. vm
  7428. );
  7429. }
  7430. // proxy data on instance
  7431. var keys = Object.keys(data);
  7432. var props = vm.$options.props;
  7433. var methods = vm.$options.methods;
  7434. var i = keys.length;
  7435. while (i--) {
  7436. var key = keys[i];
  7437. if (true) {
  7438. if (methods && hasOwn(methods, key)) {
  7439. warn(
  7440. ("Method \"" + key + "\" has already been defined as a data property."),
  7441. vm
  7442. );
  7443. }
  7444. }
  7445. if (props && hasOwn(props, key)) {
  7446. true && warn(
  7447. "The data property \"" + key + "\" is already declared as a prop. " +
  7448. "Use prop default value instead.",
  7449. vm
  7450. );
  7451. } else if (!isReserved(key)) {
  7452. proxy(vm, "_data", key);
  7453. }
  7454. }
  7455. // observe data
  7456. observe(data, true /* asRootData */);
  7457. }
  7458. function getData (data, vm) {
  7459. // #7573 disable dep collection when invoking data getters
  7460. pushTarget();
  7461. try {
  7462. return data.call(vm, vm)
  7463. } catch (e) {
  7464. handleError(e, vm, "data()");
  7465. return {}
  7466. } finally {
  7467. popTarget();
  7468. }
  7469. }
  7470. var computedWatcherOptions = { lazy: true };
  7471. function initComputed (vm, computed) {
  7472. // $flow-disable-line
  7473. var watchers = vm._computedWatchers = Object.create(null);
  7474. // computed properties are just getters during SSR
  7475. var isSSR = isServerRendering();
  7476. for (var key in computed) {
  7477. var userDef = computed[key];
  7478. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  7479. if ( true && getter == null) {
  7480. warn(
  7481. ("Getter is missing for computed property \"" + key + "\"."),
  7482. vm
  7483. );
  7484. }
  7485. if (!isSSR) {
  7486. // create internal watcher for the computed property.
  7487. watchers[key] = new Watcher(
  7488. vm,
  7489. getter || noop,
  7490. noop,
  7491. computedWatcherOptions
  7492. );
  7493. }
  7494. // component-defined computed properties are already defined on the
  7495. // component prototype. We only need to define computed properties defined
  7496. // at instantiation here.
  7497. if (!(key in vm)) {
  7498. defineComputed(vm, key, userDef);
  7499. } else if (true) {
  7500. if (key in vm.$data) {
  7501. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  7502. } else if (vm.$options.props && key in vm.$options.props) {
  7503. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  7504. }
  7505. }
  7506. }
  7507. }
  7508. function defineComputed (
  7509. target,
  7510. key,
  7511. userDef
  7512. ) {
  7513. var shouldCache = !isServerRendering();
  7514. if (typeof userDef === 'function') {
  7515. sharedPropertyDefinition.get = shouldCache
  7516. ? createComputedGetter(key)
  7517. : createGetterInvoker(userDef);
  7518. sharedPropertyDefinition.set = noop;
  7519. } else {
  7520. sharedPropertyDefinition.get = userDef.get
  7521. ? shouldCache && userDef.cache !== false
  7522. ? createComputedGetter(key)
  7523. : createGetterInvoker(userDef.get)
  7524. : noop;
  7525. sharedPropertyDefinition.set = userDef.set || noop;
  7526. }
  7527. if ( true &&
  7528. sharedPropertyDefinition.set === noop) {
  7529. sharedPropertyDefinition.set = function () {
  7530. warn(
  7531. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  7532. this
  7533. );
  7534. };
  7535. }
  7536. Object.defineProperty(target, key, sharedPropertyDefinition);
  7537. }
  7538. function createComputedGetter (key) {
  7539. return function computedGetter () {
  7540. var watcher = this._computedWatchers && this._computedWatchers[key];
  7541. if (watcher) {
  7542. if (watcher.dirty) {
  7543. watcher.evaluate();
  7544. }
  7545. if (Dep.SharedObject.target) {// fixed by xxxxxx
  7546. watcher.depend();
  7547. }
  7548. return watcher.value
  7549. }
  7550. }
  7551. }
  7552. function createGetterInvoker(fn) {
  7553. return function computedGetter () {
  7554. return fn.call(this, this)
  7555. }
  7556. }
  7557. function initMethods (vm, methods) {
  7558. var props = vm.$options.props;
  7559. for (var key in methods) {
  7560. if (true) {
  7561. if (typeof methods[key] !== 'function') {
  7562. warn(
  7563. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  7564. "Did you reference the function correctly?",
  7565. vm
  7566. );
  7567. }
  7568. if (props && hasOwn(props, key)) {
  7569. warn(
  7570. ("Method \"" + key + "\" has already been defined as a prop."),
  7571. vm
  7572. );
  7573. }
  7574. if ((key in vm) && isReserved(key)) {
  7575. warn(
  7576. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  7577. "Avoid defining component methods that start with _ or $."
  7578. );
  7579. }
  7580. }
  7581. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  7582. }
  7583. }
  7584. function initWatch (vm, watch) {
  7585. for (var key in watch) {
  7586. var handler = watch[key];
  7587. if (Array.isArray(handler)) {
  7588. for (var i = 0; i < handler.length; i++) {
  7589. createWatcher(vm, key, handler[i]);
  7590. }
  7591. } else {
  7592. createWatcher(vm, key, handler);
  7593. }
  7594. }
  7595. }
  7596. function createWatcher (
  7597. vm,
  7598. expOrFn,
  7599. handler,
  7600. options
  7601. ) {
  7602. if (isPlainObject(handler)) {
  7603. options = handler;
  7604. handler = handler.handler;
  7605. }
  7606. if (typeof handler === 'string') {
  7607. handler = vm[handler];
  7608. }
  7609. return vm.$watch(expOrFn, handler, options)
  7610. }
  7611. function stateMixin (Vue) {
  7612. // flow somehow has problems with directly declared definition object
  7613. // when using Object.defineProperty, so we have to procedurally build up
  7614. // the object here.
  7615. var dataDef = {};
  7616. dataDef.get = function () { return this._data };
  7617. var propsDef = {};
  7618. propsDef.get = function () { return this._props };
  7619. if (true) {
  7620. dataDef.set = function () {
  7621. warn(
  7622. 'Avoid replacing instance root $data. ' +
  7623. 'Use nested data properties instead.',
  7624. this
  7625. );
  7626. };
  7627. propsDef.set = function () {
  7628. warn("$props is readonly.", this);
  7629. };
  7630. }
  7631. Object.defineProperty(Vue.prototype, '$data', dataDef);
  7632. Object.defineProperty(Vue.prototype, '$props', propsDef);
  7633. Vue.prototype.$set = set;
  7634. Vue.prototype.$delete = del;
  7635. Vue.prototype.$watch = function (
  7636. expOrFn,
  7637. cb,
  7638. options
  7639. ) {
  7640. var vm = this;
  7641. if (isPlainObject(cb)) {
  7642. return createWatcher(vm, expOrFn, cb, options)
  7643. }
  7644. options = options || {};
  7645. options.user = true;
  7646. var watcher = new Watcher(vm, expOrFn, cb, options);
  7647. if (options.immediate) {
  7648. try {
  7649. cb.call(vm, watcher.value);
  7650. } catch (error) {
  7651. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  7652. }
  7653. }
  7654. return function unwatchFn () {
  7655. watcher.teardown();
  7656. }
  7657. };
  7658. }
  7659. /* */
  7660. var uid$3 = 0;
  7661. function initMixin (Vue) {
  7662. Vue.prototype._init = function (options) {
  7663. var vm = this;
  7664. // a uid
  7665. vm._uid = uid$3++;
  7666. var startTag, endTag;
  7667. /* istanbul ignore if */
  7668. if ( true && config.performance && mark) {
  7669. startTag = "vue-perf-start:" + (vm._uid);
  7670. endTag = "vue-perf-end:" + (vm._uid);
  7671. mark(startTag);
  7672. }
  7673. // a flag to avoid this being observed
  7674. vm._isVue = true;
  7675. // merge options
  7676. if (options && options._isComponent) {
  7677. // optimize internal component instantiation
  7678. // since dynamic options merging is pretty slow, and none of the
  7679. // internal component options needs special treatment.
  7680. initInternalComponent(vm, options);
  7681. } else {
  7682. vm.$options = mergeOptions(
  7683. resolveConstructorOptions(vm.constructor),
  7684. options || {},
  7685. vm
  7686. );
  7687. }
  7688. /* istanbul ignore else */
  7689. if (true) {
  7690. initProxy(vm);
  7691. } else {}
  7692. // expose real self
  7693. vm._self = vm;
  7694. initLifecycle(vm);
  7695. initEvents(vm);
  7696. initRender(vm);
  7697. callHook(vm, 'beforeCreate');
  7698. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  7699. initState(vm);
  7700. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  7701. !vm._$fallback && callHook(vm, 'created');
  7702. /* istanbul ignore if */
  7703. if ( true && config.performance && mark) {
  7704. vm._name = formatComponentName(vm, false);
  7705. mark(endTag);
  7706. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  7707. }
  7708. if (vm.$options.el) {
  7709. vm.$mount(vm.$options.el);
  7710. }
  7711. };
  7712. }
  7713. function initInternalComponent (vm, options) {
  7714. var opts = vm.$options = Object.create(vm.constructor.options);
  7715. // doing this because it's faster than dynamic enumeration.
  7716. var parentVnode = options._parentVnode;
  7717. opts.parent = options.parent;
  7718. opts._parentVnode = parentVnode;
  7719. var vnodeComponentOptions = parentVnode.componentOptions;
  7720. opts.propsData = vnodeComponentOptions.propsData;
  7721. opts._parentListeners = vnodeComponentOptions.listeners;
  7722. opts._renderChildren = vnodeComponentOptions.children;
  7723. opts._componentTag = vnodeComponentOptions.tag;
  7724. if (options.render) {
  7725. opts.render = options.render;
  7726. opts.staticRenderFns = options.staticRenderFns;
  7727. }
  7728. }
  7729. function resolveConstructorOptions (Ctor) {
  7730. var options = Ctor.options;
  7731. if (Ctor.super) {
  7732. var superOptions = resolveConstructorOptions(Ctor.super);
  7733. var cachedSuperOptions = Ctor.superOptions;
  7734. if (superOptions !== cachedSuperOptions) {
  7735. // super option changed,
  7736. // need to resolve new options.
  7737. Ctor.superOptions = superOptions;
  7738. // check if there are any late-modified/attached options (#4976)
  7739. var modifiedOptions = resolveModifiedOptions(Ctor);
  7740. // update base extend options
  7741. if (modifiedOptions) {
  7742. extend(Ctor.extendOptions, modifiedOptions);
  7743. }
  7744. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  7745. if (options.name) {
  7746. options.components[options.name] = Ctor;
  7747. }
  7748. }
  7749. }
  7750. return options
  7751. }
  7752. function resolveModifiedOptions (Ctor) {
  7753. var modified;
  7754. var latest = Ctor.options;
  7755. var sealed = Ctor.sealedOptions;
  7756. for (var key in latest) {
  7757. if (latest[key] !== sealed[key]) {
  7758. if (!modified) { modified = {}; }
  7759. modified[key] = latest[key];
  7760. }
  7761. }
  7762. return modified
  7763. }
  7764. function Vue (options) {
  7765. if ( true &&
  7766. !(this instanceof Vue)
  7767. ) {
  7768. warn('Vue is a constructor and should be called with the `new` keyword');
  7769. }
  7770. this._init(options);
  7771. }
  7772. initMixin(Vue);
  7773. stateMixin(Vue);
  7774. eventsMixin(Vue);
  7775. lifecycleMixin(Vue);
  7776. renderMixin(Vue);
  7777. /* */
  7778. function initUse (Vue) {
  7779. Vue.use = function (plugin) {
  7780. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  7781. if (installedPlugins.indexOf(plugin) > -1) {
  7782. return this
  7783. }
  7784. // additional parameters
  7785. var args = toArray(arguments, 1);
  7786. args.unshift(this);
  7787. if (typeof plugin.install === 'function') {
  7788. plugin.install.apply(plugin, args);
  7789. } else if (typeof plugin === 'function') {
  7790. plugin.apply(null, args);
  7791. }
  7792. installedPlugins.push(plugin);
  7793. return this
  7794. };
  7795. }
  7796. /* */
  7797. function initMixin$1 (Vue) {
  7798. Vue.mixin = function (mixin) {
  7799. this.options = mergeOptions(this.options, mixin);
  7800. return this
  7801. };
  7802. }
  7803. /* */
  7804. function initExtend (Vue) {
  7805. /**
  7806. * Each instance constructor, including Vue, has a unique
  7807. * cid. This enables us to create wrapped "child
  7808. * constructors" for prototypal inheritance and cache them.
  7809. */
  7810. Vue.cid = 0;
  7811. var cid = 1;
  7812. /**
  7813. * Class inheritance
  7814. */
  7815. Vue.extend = function (extendOptions) {
  7816. extendOptions = extendOptions || {};
  7817. var Super = this;
  7818. var SuperId = Super.cid;
  7819. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  7820. if (cachedCtors[SuperId]) {
  7821. return cachedCtors[SuperId]
  7822. }
  7823. var name = extendOptions.name || Super.options.name;
  7824. if ( true && name) {
  7825. validateComponentName(name);
  7826. }
  7827. var Sub = function VueComponent (options) {
  7828. this._init(options);
  7829. };
  7830. Sub.prototype = Object.create(Super.prototype);
  7831. Sub.prototype.constructor = Sub;
  7832. Sub.cid = cid++;
  7833. Sub.options = mergeOptions(
  7834. Super.options,
  7835. extendOptions
  7836. );
  7837. Sub['super'] = Super;
  7838. // For props and computed properties, we define the proxy getters on
  7839. // the Vue instances at extension time, on the extended prototype. This
  7840. // avoids Object.defineProperty calls for each instance created.
  7841. if (Sub.options.props) {
  7842. initProps$1(Sub);
  7843. }
  7844. if (Sub.options.computed) {
  7845. initComputed$1(Sub);
  7846. }
  7847. // allow further extension/mixin/plugin usage
  7848. Sub.extend = Super.extend;
  7849. Sub.mixin = Super.mixin;
  7850. Sub.use = Super.use;
  7851. // create asset registers, so extended classes
  7852. // can have their private assets too.
  7853. ASSET_TYPES.forEach(function (type) {
  7854. Sub[type] = Super[type];
  7855. });
  7856. // enable recursive self-lookup
  7857. if (name) {
  7858. Sub.options.components[name] = Sub;
  7859. }
  7860. // keep a reference to the super options at extension time.
  7861. // later at instantiation we can check if Super's options have
  7862. // been updated.
  7863. Sub.superOptions = Super.options;
  7864. Sub.extendOptions = extendOptions;
  7865. Sub.sealedOptions = extend({}, Sub.options);
  7866. // cache constructor
  7867. cachedCtors[SuperId] = Sub;
  7868. return Sub
  7869. };
  7870. }
  7871. function initProps$1 (Comp) {
  7872. var props = Comp.options.props;
  7873. for (var key in props) {
  7874. proxy(Comp.prototype, "_props", key);
  7875. }
  7876. }
  7877. function initComputed$1 (Comp) {
  7878. var computed = Comp.options.computed;
  7879. for (var key in computed) {
  7880. defineComputed(Comp.prototype, key, computed[key]);
  7881. }
  7882. }
  7883. /* */
  7884. function initAssetRegisters (Vue) {
  7885. /**
  7886. * Create asset registration methods.
  7887. */
  7888. ASSET_TYPES.forEach(function (type) {
  7889. Vue[type] = function (
  7890. id,
  7891. definition
  7892. ) {
  7893. if (!definition) {
  7894. return this.options[type + 's'][id]
  7895. } else {
  7896. /* istanbul ignore if */
  7897. if ( true && type === 'component') {
  7898. validateComponentName(id);
  7899. }
  7900. if (type === 'component' && isPlainObject(definition)) {
  7901. definition.name = definition.name || id;
  7902. definition = this.options._base.extend(definition);
  7903. }
  7904. if (type === 'directive' && typeof definition === 'function') {
  7905. definition = { bind: definition, update: definition };
  7906. }
  7907. this.options[type + 's'][id] = definition;
  7908. return definition
  7909. }
  7910. };
  7911. });
  7912. }
  7913. /* */
  7914. function getComponentName (opts) {
  7915. return opts && (opts.Ctor.options.name || opts.tag)
  7916. }
  7917. function matches (pattern, name) {
  7918. if (Array.isArray(pattern)) {
  7919. return pattern.indexOf(name) > -1
  7920. } else if (typeof pattern === 'string') {
  7921. return pattern.split(',').indexOf(name) > -1
  7922. } else if (isRegExp(pattern)) {
  7923. return pattern.test(name)
  7924. }
  7925. /* istanbul ignore next */
  7926. return false
  7927. }
  7928. function pruneCache (keepAliveInstance, filter) {
  7929. var cache = keepAliveInstance.cache;
  7930. var keys = keepAliveInstance.keys;
  7931. var _vnode = keepAliveInstance._vnode;
  7932. for (var key in cache) {
  7933. var cachedNode = cache[key];
  7934. if (cachedNode) {
  7935. var name = getComponentName(cachedNode.componentOptions);
  7936. if (name && !filter(name)) {
  7937. pruneCacheEntry(cache, key, keys, _vnode);
  7938. }
  7939. }
  7940. }
  7941. }
  7942. function pruneCacheEntry (
  7943. cache,
  7944. key,
  7945. keys,
  7946. current
  7947. ) {
  7948. var cached$$1 = cache[key];
  7949. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  7950. cached$$1.componentInstance.$destroy();
  7951. }
  7952. cache[key] = null;
  7953. remove(keys, key);
  7954. }
  7955. var patternTypes = [String, RegExp, Array];
  7956. var KeepAlive = {
  7957. name: 'keep-alive',
  7958. abstract: true,
  7959. props: {
  7960. include: patternTypes,
  7961. exclude: patternTypes,
  7962. max: [String, Number]
  7963. },
  7964. created: function created () {
  7965. this.cache = Object.create(null);
  7966. this.keys = [];
  7967. },
  7968. destroyed: function destroyed () {
  7969. for (var key in this.cache) {
  7970. pruneCacheEntry(this.cache, key, this.keys);
  7971. }
  7972. },
  7973. mounted: function mounted () {
  7974. var this$1 = this;
  7975. this.$watch('include', function (val) {
  7976. pruneCache(this$1, function (name) { return matches(val, name); });
  7977. });
  7978. this.$watch('exclude', function (val) {
  7979. pruneCache(this$1, function (name) { return !matches(val, name); });
  7980. });
  7981. },
  7982. render: function render () {
  7983. var slot = this.$slots.default;
  7984. var vnode = getFirstComponentChild(slot);
  7985. var componentOptions = vnode && vnode.componentOptions;
  7986. if (componentOptions) {
  7987. // check pattern
  7988. var name = getComponentName(componentOptions);
  7989. var ref = this;
  7990. var include = ref.include;
  7991. var exclude = ref.exclude;
  7992. if (
  7993. // not included
  7994. (include && (!name || !matches(include, name))) ||
  7995. // excluded
  7996. (exclude && name && matches(exclude, name))
  7997. ) {
  7998. return vnode
  7999. }
  8000. var ref$1 = this;
  8001. var cache = ref$1.cache;
  8002. var keys = ref$1.keys;
  8003. var key = vnode.key == null
  8004. // same constructor may get registered as different local components
  8005. // so cid alone is not enough (#3269)
  8006. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8007. : vnode.key;
  8008. if (cache[key]) {
  8009. vnode.componentInstance = cache[key].componentInstance;
  8010. // make current key freshest
  8011. remove(keys, key);
  8012. keys.push(key);
  8013. } else {
  8014. cache[key] = vnode;
  8015. keys.push(key);
  8016. // prune oldest entry
  8017. if (this.max && keys.length > parseInt(this.max)) {
  8018. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8019. }
  8020. }
  8021. vnode.data.keepAlive = true;
  8022. }
  8023. return vnode || (slot && slot[0])
  8024. }
  8025. };
  8026. var builtInComponents = {
  8027. KeepAlive: KeepAlive
  8028. };
  8029. /* */
  8030. function initGlobalAPI (Vue) {
  8031. // config
  8032. var configDef = {};
  8033. configDef.get = function () { return config; };
  8034. if (true) {
  8035. configDef.set = function () {
  8036. warn(
  8037. 'Do not replace the Vue.config object, set individual fields instead.'
  8038. );
  8039. };
  8040. }
  8041. Object.defineProperty(Vue, 'config', configDef);
  8042. // exposed util methods.
  8043. // NOTE: these are not considered part of the public API - avoid relying on
  8044. // them unless you are aware of the risk.
  8045. Vue.util = {
  8046. warn: warn,
  8047. extend: extend,
  8048. mergeOptions: mergeOptions,
  8049. defineReactive: defineReactive$$1
  8050. };
  8051. Vue.set = set;
  8052. Vue.delete = del;
  8053. Vue.nextTick = nextTick;
  8054. // 2.6 explicit observable API
  8055. Vue.observable = function (obj) {
  8056. observe(obj);
  8057. return obj
  8058. };
  8059. Vue.options = Object.create(null);
  8060. ASSET_TYPES.forEach(function (type) {
  8061. Vue.options[type + 's'] = Object.create(null);
  8062. });
  8063. // this is used to identify the "base" constructor to extend all plain-object
  8064. // components with in Weex's multi-instance scenarios.
  8065. Vue.options._base = Vue;
  8066. extend(Vue.options.components, builtInComponents);
  8067. initUse(Vue);
  8068. initMixin$1(Vue);
  8069. initExtend(Vue);
  8070. initAssetRegisters(Vue);
  8071. }
  8072. initGlobalAPI(Vue);
  8073. Object.defineProperty(Vue.prototype, '$isServer', {
  8074. get: isServerRendering
  8075. });
  8076. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8077. get: function get () {
  8078. /* istanbul ignore next */
  8079. return this.$vnode && this.$vnode.ssrContext
  8080. }
  8081. });
  8082. // expose FunctionalRenderContext for ssr runtime helper installation
  8083. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8084. value: FunctionalRenderContext
  8085. });
  8086. Vue.version = '2.6.11';
  8087. /**
  8088. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8089. */
  8090. var ARRAYTYPE = '[object Array]';
  8091. var OBJECTTYPE = '[object Object]';
  8092. var NULLTYPE = '[object Null]';
  8093. var UNDEFINEDTYPE = '[object Undefined]';
  8094. // const FUNCTIONTYPE = '[object Function]'
  8095. function diff(current, pre) {
  8096. var result = {};
  8097. syncKeys(current, pre);
  8098. _diff(current, pre, '', result);
  8099. return result
  8100. }
  8101. function syncKeys(current, pre) {
  8102. if (current === pre) { return }
  8103. var rootCurrentType = type(current);
  8104. var rootPreType = type(pre);
  8105. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8106. if(Object.keys(current).length >= Object.keys(pre).length){
  8107. for (var key in pre) {
  8108. var currentValue = current[key];
  8109. if (currentValue === undefined) {
  8110. current[key] = null;
  8111. } else {
  8112. syncKeys(currentValue, pre[key]);
  8113. }
  8114. }
  8115. }
  8116. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8117. if (current.length >= pre.length) {
  8118. pre.forEach(function (item, index) {
  8119. syncKeys(current[index], item);
  8120. });
  8121. }
  8122. }
  8123. }
  8124. function nullOrUndefined(currentType, preType) {
  8125. if(
  8126. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8127. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8128. ) {
  8129. return false
  8130. }
  8131. return true
  8132. }
  8133. function _diff(current, pre, path, result) {
  8134. if (current === pre) { return }
  8135. var rootCurrentType = type(current);
  8136. var rootPreType = type(pre);
  8137. if (rootCurrentType == OBJECTTYPE) {
  8138. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8139. setResult(result, path, current);
  8140. } else {
  8141. var loop = function ( key ) {
  8142. var currentValue = current[key];
  8143. var preValue = pre[key];
  8144. var currentType = type(currentValue);
  8145. var preType = type(preValue);
  8146. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8147. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8148. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8149. }
  8150. } else if (currentType == ARRAYTYPE) {
  8151. if (preType != ARRAYTYPE) {
  8152. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8153. } else {
  8154. if (currentValue.length < preValue.length) {
  8155. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8156. } else {
  8157. currentValue.forEach(function (item, index) {
  8158. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8159. });
  8160. }
  8161. }
  8162. } else if (currentType == OBJECTTYPE) {
  8163. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8164. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8165. } else {
  8166. for (var subKey in currentValue) {
  8167. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8168. }
  8169. }
  8170. }
  8171. };
  8172. for (var key in current) loop( key );
  8173. }
  8174. } else if (rootCurrentType == ARRAYTYPE) {
  8175. if (rootPreType != ARRAYTYPE) {
  8176. setResult(result, path, current);
  8177. } else {
  8178. if (current.length < pre.length) {
  8179. setResult(result, path, current);
  8180. } else {
  8181. current.forEach(function (item, index) {
  8182. _diff(item, pre[index], path + '[' + index + ']', result);
  8183. });
  8184. }
  8185. }
  8186. } else {
  8187. setResult(result, path, current);
  8188. }
  8189. }
  8190. function setResult(result, k, v) {
  8191. // if (type(v) != FUNCTIONTYPE) {
  8192. result[k] = v;
  8193. // }
  8194. }
  8195. function type(obj) {
  8196. return Object.prototype.toString.call(obj)
  8197. }
  8198. /* */
  8199. function flushCallbacks$1(vm) {
  8200. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8201. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8202. var mpInstance = vm.$scope;
  8203. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8204. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8205. }
  8206. var copies = vm.__next_tick_callbacks.slice(0);
  8207. vm.__next_tick_callbacks.length = 0;
  8208. for (var i = 0; i < copies.length; i++) {
  8209. copies[i]();
  8210. }
  8211. }
  8212. }
  8213. function hasRenderWatcher(vm) {
  8214. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8215. }
  8216. function nextTick$1(vm, cb) {
  8217. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8218. //2.nextTick 之前存在 render watcher
  8219. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8220. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  8221. var mpInstance = vm.$scope;
  8222. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8223. ']:nextVueTick');
  8224. }
  8225. return nextTick(cb, vm)
  8226. }else{
  8227. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  8228. var mpInstance$1 = vm.$scope;
  8229. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8230. ']:nextMPTick');
  8231. }
  8232. }
  8233. var _resolve;
  8234. if (!vm.__next_tick_callbacks) {
  8235. vm.__next_tick_callbacks = [];
  8236. }
  8237. vm.__next_tick_callbacks.push(function () {
  8238. if (cb) {
  8239. try {
  8240. cb.call(vm);
  8241. } catch (e) {
  8242. handleError(e, vm, 'nextTick');
  8243. }
  8244. } else if (_resolve) {
  8245. _resolve(vm);
  8246. }
  8247. });
  8248. // $flow-disable-line
  8249. if (!cb && typeof Promise !== 'undefined') {
  8250. return new Promise(function (resolve) {
  8251. _resolve = resolve;
  8252. })
  8253. }
  8254. }
  8255. /* */
  8256. function clearInstance(key, value) {
  8257. // 简易去除 Vue 和小程序组件实例
  8258. if (value) {
  8259. if (value._isVue || value.__v_isMPComponent) {
  8260. return {}
  8261. }
  8262. }
  8263. return value
  8264. }
  8265. function cloneWithData(vm) {
  8266. // 确保当前 vm 所有数据被同步
  8267. var ret = Object.create(null);
  8268. var dataKeys = [].concat(
  8269. Object.keys(vm._data || {}),
  8270. Object.keys(vm._computedWatchers || {}));
  8271. dataKeys.reduce(function(ret, key) {
  8272. ret[key] = vm[key];
  8273. return ret
  8274. }, ret);
  8275. // vue-composition-api
  8276. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8277. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8278. if (rawBindings) {
  8279. Object.keys(rawBindings).forEach(function (key) {
  8280. ret[key] = vm[key];
  8281. });
  8282. }
  8283. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8284. Object.assign(ret, vm.$mp.data || {});
  8285. if (
  8286. Array.isArray(vm.$options.behaviors) &&
  8287. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8288. ) { //form-field
  8289. ret['name'] = vm.name;
  8290. ret['value'] = vm.value;
  8291. }
  8292. return JSON.parse(JSON.stringify(ret, clearInstance))
  8293. }
  8294. var patch = function(oldVnode, vnode) {
  8295. var this$1 = this;
  8296. if (vnode === null) { //destroy
  8297. return
  8298. }
  8299. if (this.mpType === 'page' || this.mpType === 'component') {
  8300. var mpInstance = this.$scope;
  8301. var data = Object.create(null);
  8302. try {
  8303. data = cloneWithData(this);
  8304. } catch (err) {
  8305. console.error(err);
  8306. }
  8307. data.__webviewId__ = mpInstance.data.__webviewId__;
  8308. var mpData = Object.create(null);
  8309. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8310. mpData[key] = mpInstance.data[key];
  8311. });
  8312. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8313. if (Object.keys(diffData).length) {
  8314. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8315. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8316. ']差量更新',
  8317. JSON.stringify(diffData));
  8318. }
  8319. this.__next_tick_pending = true;
  8320. mpInstance.setData(diffData, function () {
  8321. this$1.__next_tick_pending = false;
  8322. flushCallbacks$1(this$1);
  8323. });
  8324. } else {
  8325. flushCallbacks$1(this);
  8326. }
  8327. }
  8328. };
  8329. /* */
  8330. function createEmptyRender() {
  8331. }
  8332. function mountComponent$1(
  8333. vm,
  8334. el,
  8335. hydrating
  8336. ) {
  8337. if (!vm.mpType) {//main.js 中的 new Vue
  8338. return vm
  8339. }
  8340. if (vm.mpType === 'app') {
  8341. vm.$options.render = createEmptyRender;
  8342. }
  8343. if (!vm.$options.render) {
  8344. vm.$options.render = createEmptyRender;
  8345. if (true) {
  8346. /* istanbul ignore if */
  8347. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8348. vm.$options.el || el) {
  8349. warn(
  8350. 'You are using the runtime-only build of Vue where the template ' +
  8351. 'compiler is not available. Either pre-compile the templates into ' +
  8352. 'render functions, or use the compiler-included build.',
  8353. vm
  8354. );
  8355. } else {
  8356. warn(
  8357. 'Failed to mount component: template or render function not defined.',
  8358. vm
  8359. );
  8360. }
  8361. }
  8362. }
  8363. !vm._$fallback && callHook(vm, 'beforeMount');
  8364. var updateComponent = function () {
  8365. vm._update(vm._render(), hydrating);
  8366. };
  8367. // we set this to vm._watcher inside the watcher's constructor
  8368. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8369. // component's mounted hook), which relies on vm._watcher being already defined
  8370. new Watcher(vm, updateComponent, noop, {
  8371. before: function before() {
  8372. if (vm._isMounted && !vm._isDestroyed) {
  8373. callHook(vm, 'beforeUpdate');
  8374. }
  8375. }
  8376. }, true /* isRenderWatcher */);
  8377. hydrating = false;
  8378. return vm
  8379. }
  8380. /* */
  8381. function renderClass (
  8382. staticClass,
  8383. dynamicClass
  8384. ) {
  8385. if (isDef(staticClass) || isDef(dynamicClass)) {
  8386. return concat(staticClass, stringifyClass(dynamicClass))
  8387. }
  8388. /* istanbul ignore next */
  8389. return ''
  8390. }
  8391. function concat (a, b) {
  8392. return a ? b ? (a + ' ' + b) : a : (b || '')
  8393. }
  8394. function stringifyClass (value) {
  8395. if (Array.isArray(value)) {
  8396. return stringifyArray(value)
  8397. }
  8398. if (isObject(value)) {
  8399. return stringifyObject(value)
  8400. }
  8401. if (typeof value === 'string') {
  8402. return value
  8403. }
  8404. /* istanbul ignore next */
  8405. return ''
  8406. }
  8407. function stringifyArray (value) {
  8408. var res = '';
  8409. var stringified;
  8410. for (var i = 0, l = value.length; i < l; i++) {
  8411. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  8412. if (res) { res += ' '; }
  8413. res += stringified;
  8414. }
  8415. }
  8416. return res
  8417. }
  8418. function stringifyObject (value) {
  8419. var res = '';
  8420. for (var key in value) {
  8421. if (value[key]) {
  8422. if (res) { res += ' '; }
  8423. res += key;
  8424. }
  8425. }
  8426. return res
  8427. }
  8428. /* */
  8429. var parseStyleText = cached(function (cssText) {
  8430. var res = {};
  8431. var listDelimiter = /;(?![^(]*\))/g;
  8432. var propertyDelimiter = /:(.+)/;
  8433. cssText.split(listDelimiter).forEach(function (item) {
  8434. if (item) {
  8435. var tmp = item.split(propertyDelimiter);
  8436. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  8437. }
  8438. });
  8439. return res
  8440. });
  8441. // normalize possible array / string values into Object
  8442. function normalizeStyleBinding (bindingStyle) {
  8443. if (Array.isArray(bindingStyle)) {
  8444. return toObject(bindingStyle)
  8445. }
  8446. if (typeof bindingStyle === 'string') {
  8447. return parseStyleText(bindingStyle)
  8448. }
  8449. return bindingStyle
  8450. }
  8451. /* */
  8452. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  8453. function getTarget(obj, path) {
  8454. var parts = path.split('.');
  8455. var key = parts[0];
  8456. if (key.indexOf('__$n') === 0) { //number index
  8457. key = parseInt(key.replace('__$n', ''));
  8458. }
  8459. if (parts.length === 1) {
  8460. return obj[key]
  8461. }
  8462. return getTarget(obj[key], parts.slice(1).join('.'))
  8463. }
  8464. function internalMixin(Vue) {
  8465. Vue.config.errorHandler = function(err, vm, info) {
  8466. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  8467. console.error(err);
  8468. /* eslint-disable no-undef */
  8469. var app = typeof getApp === 'function' && getApp();
  8470. if (app && app.onError) {
  8471. app.onError(err);
  8472. }
  8473. };
  8474. var oldEmit = Vue.prototype.$emit;
  8475. Vue.prototype.$emit = function(event) {
  8476. if (this.$scope && event) {
  8477. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  8478. if (triggerEvent) {
  8479. try {
  8480. triggerEvent.call(this.$scope, event, {
  8481. __args__: toArray(arguments, 1)
  8482. });
  8483. } catch (error) {
  8484. }
  8485. }
  8486. }
  8487. return oldEmit.apply(this, arguments)
  8488. };
  8489. Vue.prototype.$nextTick = function(fn) {
  8490. return nextTick$1(this, fn)
  8491. };
  8492. MP_METHODS.forEach(function (method) {
  8493. Vue.prototype[method] = function(args) {
  8494. if (this.$scope && this.$scope[method]) {
  8495. return this.$scope[method](args)
  8496. }
  8497. // mp-alipay
  8498. if (typeof my === 'undefined') {
  8499. return
  8500. }
  8501. if (method === 'createSelectorQuery') {
  8502. /* eslint-disable no-undef */
  8503. return my.createSelectorQuery(args)
  8504. } else if (method === 'createIntersectionObserver') {
  8505. /* eslint-disable no-undef */
  8506. return my.createIntersectionObserver(args)
  8507. }
  8508. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  8509. };
  8510. });
  8511. Vue.prototype.__init_provide = initProvide;
  8512. Vue.prototype.__init_injections = initInjections;
  8513. Vue.prototype.__call_hook = function(hook, args) {
  8514. var vm = this;
  8515. // #7573 disable dep collection when invoking lifecycle hooks
  8516. pushTarget();
  8517. var handlers = vm.$options[hook];
  8518. var info = hook + " hook";
  8519. var ret;
  8520. if (handlers) {
  8521. for (var i = 0, j = handlers.length; i < j; i++) {
  8522. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  8523. }
  8524. }
  8525. if (vm._hasHookEvent) {
  8526. vm.$emit('hook:' + hook, args);
  8527. }
  8528. popTarget();
  8529. return ret
  8530. };
  8531. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  8532. if (Array.isArray(modifiers)) {
  8533. if (modifiers.indexOf('trim') !== -1) {
  8534. value = value.trim();
  8535. }
  8536. if (modifiers.indexOf('number') !== -1) {
  8537. value = this._n(value);
  8538. }
  8539. }
  8540. if (!target) {
  8541. target = this;
  8542. }
  8543. // 解决动态属性添加
  8544. Vue.set(target, key, value);
  8545. };
  8546. Vue.prototype.__set_sync = function(target, key, value) {
  8547. if (!target) {
  8548. target = this;
  8549. }
  8550. // 解决动态属性添加
  8551. Vue.set(target, key, value);
  8552. };
  8553. Vue.prototype.__get_orig = function(item) {
  8554. if (isPlainObject(item)) {
  8555. return item['$orig'] || item
  8556. }
  8557. return item
  8558. };
  8559. Vue.prototype.__get_value = function(dataPath, target) {
  8560. return getTarget(target || this, dataPath)
  8561. };
  8562. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  8563. return renderClass(staticClass, dynamicClass)
  8564. };
  8565. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  8566. if (!dynamicStyle && !staticStyle) {
  8567. return ''
  8568. }
  8569. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  8570. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  8571. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  8572. };
  8573. Vue.prototype.__map = function(val, iteratee) {
  8574. //TODO 暂不考虑 string
  8575. var ret, i, l, keys, key;
  8576. if (Array.isArray(val)) {
  8577. ret = new Array(val.length);
  8578. for (i = 0, l = val.length; i < l; i++) {
  8579. ret[i] = iteratee(val[i], i);
  8580. }
  8581. return ret
  8582. } else if (isObject(val)) {
  8583. keys = Object.keys(val);
  8584. ret = Object.create(null);
  8585. for (i = 0, l = keys.length; i < l; i++) {
  8586. key = keys[i];
  8587. ret[key] = iteratee(val[key], key, i);
  8588. }
  8589. return ret
  8590. } else if (typeof val === 'number') {
  8591. ret = new Array(val);
  8592. for (i = 0, l = val; i < l; i++) {
  8593. // 第一个参数暂时仍和小程序一致
  8594. ret[i] = iteratee(i, i);
  8595. }
  8596. return ret
  8597. }
  8598. return []
  8599. };
  8600. }
  8601. /* */
  8602. var LIFECYCLE_HOOKS$1 = [
  8603. //App
  8604. 'onLaunch',
  8605. 'onShow',
  8606. 'onHide',
  8607. 'onUniNViewMessage',
  8608. 'onPageNotFound',
  8609. 'onThemeChange',
  8610. 'onError',
  8611. 'onUnhandledRejection',
  8612. //Page
  8613. 'onInit',
  8614. 'onLoad',
  8615. // 'onShow',
  8616. 'onReady',
  8617. // 'onHide',
  8618. 'onUnload',
  8619. 'onPullDownRefresh',
  8620. 'onReachBottom',
  8621. 'onTabItemTap',
  8622. 'onAddToFavorites',
  8623. 'onShareTimeline',
  8624. 'onShareAppMessage',
  8625. 'onResize',
  8626. 'onPageScroll',
  8627. 'onNavigationBarButtonTap',
  8628. 'onBackPress',
  8629. 'onNavigationBarSearchInputChanged',
  8630. 'onNavigationBarSearchInputConfirmed',
  8631. 'onNavigationBarSearchInputClicked',
  8632. 'onUploadDouyinVideo',
  8633. 'onNFCReadMessage',
  8634. //Component
  8635. // 'onReady', // 兼容旧版本,应该移除该事件
  8636. 'onPageShow',
  8637. 'onPageHide',
  8638. 'onPageResize'
  8639. ];
  8640. function lifecycleMixin$1(Vue) {
  8641. //fixed vue-class-component
  8642. var oldExtend = Vue.extend;
  8643. Vue.extend = function(extendOptions) {
  8644. extendOptions = extendOptions || {};
  8645. var methods = extendOptions.methods;
  8646. if (methods) {
  8647. Object.keys(methods).forEach(function (methodName) {
  8648. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  8649. extendOptions[methodName] = methods[methodName];
  8650. delete methods[methodName];
  8651. }
  8652. });
  8653. }
  8654. return oldExtend.call(this, extendOptions)
  8655. };
  8656. var strategies = Vue.config.optionMergeStrategies;
  8657. var mergeHook = strategies.created;
  8658. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  8659. strategies[hook] = mergeHook;
  8660. });
  8661. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  8662. }
  8663. /* */
  8664. // install platform patch function
  8665. Vue.prototype.__patch__ = patch;
  8666. // public mount method
  8667. Vue.prototype.$mount = function(
  8668. el ,
  8669. hydrating
  8670. ) {
  8671. return mountComponent$1(this, el, hydrating)
  8672. };
  8673. lifecycleMixin$1(Vue);
  8674. internalMixin(Vue);
  8675. /* */
  8676. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  8677. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  8678. /***/ }),
  8679. /***/ 26:
  8680. /*!*********************************************!*\
  8681. !*** E:/Desktop/zd_wechatApp(1)/pages.json ***!
  8682. \*********************************************/
  8683. /*! no static exports found */
  8684. /***/ (function(module, exports) {
  8685. /***/ }),
  8686. /***/ 270:
  8687. /*!****************************************************************!*\
  8688. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/emitter.js ***!
  8689. \****************************************************************/
  8690. /*! no static exports found */
  8691. /***/ (function(module, exports, __webpack_require__) {
  8692. "use strict";
  8693. Object.defineProperty(exports, "__esModule", {
  8694. value: true
  8695. });
  8696. exports.default = void 0;
  8697. /**
  8698. * 递归使用 call 方式this指向
  8699. * @param componentName // 需要找的组件的名称
  8700. * @param eventName // 事件名称
  8701. * @param params // 需要传递的参数
  8702. */
  8703. function _broadcast(componentName, eventName, params) {
  8704. // 循环子节点找到名称一样的子节点 否则 递归 当前子节点
  8705. this.$children.map(function (child) {
  8706. if (componentName === child.$options.name) {
  8707. child.$emit.apply(child, [eventName].concat(params));
  8708. } else {
  8709. _broadcast.apply(child, [componentName, eventName].concat(params));
  8710. }
  8711. });
  8712. }
  8713. var _default = {
  8714. methods: {
  8715. /**
  8716. * 派发 (向上查找) (一个)
  8717. * @param componentName // 需要找的组件的名称
  8718. * @param eventName // 事件名称
  8719. * @param params // 需要传递的参数
  8720. */
  8721. dispatch: function dispatch(componentName, eventName, params) {
  8722. var parent = this.$parent || this.$root; //$parent 找到最近的父节点 $root 根节点
  8723. var name = parent.$options.name; // 获取当前组件实例的name
  8724. // 如果当前有节点 && 当前没名称 且 当前名称等于需要传进来的名称的时候就去查找当前的节点
  8725. // 循环出当前名称的一样的组件实例
  8726. while (parent && (!name || name !== componentName)) {
  8727. parent = parent.$parent;
  8728. if (parent) {
  8729. name = parent.$options.name;
  8730. }
  8731. }
  8732. // 有节点表示当前找到了name一样的实例
  8733. if (parent) {
  8734. parent.$emit.apply(parent, [eventName].concat(params));
  8735. }
  8736. },
  8737. /**
  8738. * 广播 (向下查找) (广播多个)
  8739. * @param componentName // 需要找的组件的名称
  8740. * @param eventName // 事件名称
  8741. * @param params // 需要传递的参数
  8742. */
  8743. broadcast: function broadcast(componentName, eventName, params) {
  8744. _broadcast.call(this, componentName, eventName, params);
  8745. }
  8746. }
  8747. };
  8748. exports.default = _default;
  8749. /***/ }),
  8750. /***/ 299:
  8751. /*!************************************************************************!*\
  8752. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/async-validator.js ***!
  8753. \************************************************************************/
  8754. /*! no static exports found */
  8755. /***/ (function(module, exports, __webpack_require__) {
  8756. "use strict";
  8757. /* WEBPACK VAR INJECTION */(function(process) {
  8758. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  8759. Object.defineProperty(exports, "__esModule", {
  8760. value: true
  8761. });
  8762. exports.default = void 0;
  8763. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  8764. function _extends() {
  8765. _extends = Object.assign || function (target) {
  8766. for (var i = 1; i < arguments.length; i++) {
  8767. var source = arguments[i];
  8768. for (var key in source) {
  8769. if (Object.prototype.hasOwnProperty.call(source, key)) {
  8770. target[key] = source[key];
  8771. }
  8772. }
  8773. }
  8774. return target;
  8775. };
  8776. return _extends.apply(this, arguments);
  8777. }
  8778. /* eslint no-console:0 */
  8779. var formatRegExp = /%[sdj%]/g;
  8780. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  8781. if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  8782. warning = function warning(type, errors) {
  8783. if (typeof console !== 'undefined' && console.warn) {
  8784. if (errors.every(function (e) {
  8785. return typeof e === 'string';
  8786. })) {
  8787. console.warn(type, errors);
  8788. }
  8789. }
  8790. };
  8791. }
  8792. function convertFieldsError(errors) {
  8793. if (!errors || !errors.length) return null;
  8794. var fields = {};
  8795. errors.forEach(function (error) {
  8796. var field = error.field;
  8797. fields[field] = fields[field] || [];
  8798. fields[field].push(error);
  8799. });
  8800. return fields;
  8801. }
  8802. function format() {
  8803. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  8804. args[_key] = arguments[_key];
  8805. }
  8806. var i = 1;
  8807. var f = args[0];
  8808. var len = args.length;
  8809. if (typeof f === 'function') {
  8810. return f.apply(null, args.slice(1));
  8811. }
  8812. if (typeof f === 'string') {
  8813. var str = String(f).replace(formatRegExp, function (x) {
  8814. if (x === '%%') {
  8815. return '%';
  8816. }
  8817. if (i >= len) {
  8818. return x;
  8819. }
  8820. switch (x) {
  8821. case '%s':
  8822. return String(args[i++]);
  8823. case '%d':
  8824. return Number(args[i++]);
  8825. case '%j':
  8826. try {
  8827. return JSON.stringify(args[i++]);
  8828. } catch (_) {
  8829. return '[Circular]';
  8830. }
  8831. break;
  8832. default:
  8833. return x;
  8834. }
  8835. });
  8836. for (var arg = args[i]; i < len; arg = args[++i]) {
  8837. str += " " + arg;
  8838. }
  8839. return str;
  8840. }
  8841. return f;
  8842. }
  8843. function isNativeStringType(type) {
  8844. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  8845. }
  8846. function isEmptyValue(value, type) {
  8847. if (value === undefined || value === null) {
  8848. return true;
  8849. }
  8850. if (type === 'array' && Array.isArray(value) && !value.length) {
  8851. return true;
  8852. }
  8853. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  8854. return true;
  8855. }
  8856. return false;
  8857. }
  8858. function asyncParallelArray(arr, func, callback) {
  8859. var results = [];
  8860. var total = 0;
  8861. var arrLength = arr.length;
  8862. function count(errors) {
  8863. results.push.apply(results, errors);
  8864. total++;
  8865. if (total === arrLength) {
  8866. callback(results);
  8867. }
  8868. }
  8869. arr.forEach(function (a) {
  8870. func(a, count);
  8871. });
  8872. }
  8873. function asyncSerialArray(arr, func, callback) {
  8874. var index = 0;
  8875. var arrLength = arr.length;
  8876. function next(errors) {
  8877. if (errors && errors.length) {
  8878. callback(errors);
  8879. return;
  8880. }
  8881. var original = index;
  8882. index = index + 1;
  8883. if (original < arrLength) {
  8884. func(arr[original], next);
  8885. } else {
  8886. callback([]);
  8887. }
  8888. }
  8889. next([]);
  8890. }
  8891. function flattenObjArr(objArr) {
  8892. var ret = [];
  8893. Object.keys(objArr).forEach(function (k) {
  8894. ret.push.apply(ret, objArr[k]);
  8895. });
  8896. return ret;
  8897. }
  8898. function asyncMap(objArr, option, func, callback) {
  8899. if (option.first) {
  8900. var _pending = new Promise(function (resolve, reject) {
  8901. var next = function next(errors) {
  8902. callback(errors);
  8903. return errors.length ? reject({
  8904. errors: errors,
  8905. fields: convertFieldsError(errors)
  8906. }) : resolve();
  8907. };
  8908. var flattenArr = flattenObjArr(objArr);
  8909. asyncSerialArray(flattenArr, func, next);
  8910. });
  8911. _pending["catch"](function (e) {
  8912. return e;
  8913. });
  8914. return _pending;
  8915. }
  8916. var firstFields = option.firstFields || [];
  8917. if (firstFields === true) {
  8918. firstFields = Object.keys(objArr);
  8919. }
  8920. var objArrKeys = Object.keys(objArr);
  8921. var objArrLength = objArrKeys.length;
  8922. var total = 0;
  8923. var results = [];
  8924. var pending = new Promise(function (resolve, reject) {
  8925. var next = function next(errors) {
  8926. results.push.apply(results, errors);
  8927. total++;
  8928. if (total === objArrLength) {
  8929. callback(results);
  8930. return results.length ? reject({
  8931. errors: results,
  8932. fields: convertFieldsError(results)
  8933. }) : resolve();
  8934. }
  8935. };
  8936. if (!objArrKeys.length) {
  8937. callback(results);
  8938. resolve();
  8939. }
  8940. objArrKeys.forEach(function (key) {
  8941. var arr = objArr[key];
  8942. if (firstFields.indexOf(key) !== -1) {
  8943. asyncSerialArray(arr, func, next);
  8944. } else {
  8945. asyncParallelArray(arr, func, next);
  8946. }
  8947. });
  8948. });
  8949. pending["catch"](function (e) {
  8950. return e;
  8951. });
  8952. return pending;
  8953. }
  8954. function complementError(rule) {
  8955. return function (oe) {
  8956. if (oe && oe.message) {
  8957. oe.field = oe.field || rule.fullField;
  8958. return oe;
  8959. }
  8960. return {
  8961. message: typeof oe === 'function' ? oe() : oe,
  8962. field: oe.field || rule.fullField
  8963. };
  8964. };
  8965. }
  8966. function deepMerge(target, source) {
  8967. if (source) {
  8968. for (var s in source) {
  8969. if (source.hasOwnProperty(s)) {
  8970. var value = source[s];
  8971. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  8972. target[s] = _extends({}, target[s], {}, value);
  8973. } else {
  8974. target[s] = value;
  8975. }
  8976. }
  8977. }
  8978. }
  8979. return target;
  8980. }
  8981. /**
  8982. * Rule for validating required fields.
  8983. *
  8984. * @param rule The validation rule.
  8985. * @param value The value of the field on the source object.
  8986. * @param source The source object being validated.
  8987. * @param errors An array of errors that this rule may add
  8988. * validation errors to.
  8989. * @param options The validation options.
  8990. * @param options.messages The validation messages.
  8991. */
  8992. function required(rule, value, source, errors, options, type) {
  8993. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  8994. errors.push(format(options.messages.required, rule.fullField));
  8995. }
  8996. }
  8997. /**
  8998. * Rule for validating whitespace.
  8999. *
  9000. * @param rule The validation rule.
  9001. * @param value The value of the field on the source object.
  9002. * @param source The source object being validated.
  9003. * @param errors An array of errors that this rule may add
  9004. * validation errors to.
  9005. * @param options The validation options.
  9006. * @param options.messages The validation messages.
  9007. */
  9008. function whitespace(rule, value, source, errors, options) {
  9009. if (/^\s+$/.test(value) || value === '') {
  9010. errors.push(format(options.messages.whitespace, rule.fullField));
  9011. }
  9012. }
  9013. /* eslint max-len:0 */
  9014. var pattern = {
  9015. // http://emailregex.com/
  9016. 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,}))$/,
  9017. 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'),
  9018. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  9019. };
  9020. var types = {
  9021. integer: function integer(value) {
  9022. return types.number(value) && parseInt(value, 10) === value;
  9023. },
  9024. "float": function float(value) {
  9025. return types.number(value) && !types.integer(value);
  9026. },
  9027. array: function array(value) {
  9028. return Array.isArray(value);
  9029. },
  9030. regexp: function regexp(value) {
  9031. if (value instanceof RegExp) {
  9032. return true;
  9033. }
  9034. try {
  9035. return !!new RegExp(value);
  9036. } catch (e) {
  9037. return false;
  9038. }
  9039. },
  9040. date: function date(value) {
  9041. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  9042. },
  9043. number: function number(value) {
  9044. if (isNaN(value)) {
  9045. return false;
  9046. }
  9047. // 修改源码,将字符串数值先转为数值
  9048. return typeof +value === 'number';
  9049. },
  9050. object: function object(value) {
  9051. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  9052. },
  9053. method: function method(value) {
  9054. return typeof value === 'function';
  9055. },
  9056. email: function email(value) {
  9057. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  9058. },
  9059. url: function url(value) {
  9060. return typeof value === 'string' && !!value.match(pattern.url);
  9061. },
  9062. hex: function hex(value) {
  9063. return typeof value === 'string' && !!value.match(pattern.hex);
  9064. }
  9065. };
  9066. /**
  9067. * Rule for validating the type of a value.
  9068. *
  9069. * @param rule The validation rule.
  9070. * @param value The value of the field on the source object.
  9071. * @param source The source object being validated.
  9072. * @param errors An array of errors that this rule may add
  9073. * validation errors to.
  9074. * @param options The validation options.
  9075. * @param options.messages The validation messages.
  9076. */
  9077. function type(rule, value, source, errors, options) {
  9078. if (rule.required && value === undefined) {
  9079. required(rule, value, source, errors, options);
  9080. return;
  9081. }
  9082. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  9083. var ruleType = rule.type;
  9084. if (custom.indexOf(ruleType) > -1) {
  9085. if (!types[ruleType](value)) {
  9086. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  9087. } // straight typeof check
  9088. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  9089. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  9090. }
  9091. }
  9092. /**
  9093. * Rule for validating minimum and maximum allowed values.
  9094. *
  9095. * @param rule The validation rule.
  9096. * @param value The value of the field on the source object.
  9097. * @param source The source object being validated.
  9098. * @param errors An array of errors that this rule may add
  9099. * validation errors to.
  9100. * @param options The validation options.
  9101. * @param options.messages The validation messages.
  9102. */
  9103. function range(rule, value, source, errors, options) {
  9104. var len = typeof rule.len === 'number';
  9105. var min = typeof rule.min === 'number';
  9106. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  9107. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  9108. var val = value;
  9109. var key = null;
  9110. var num = typeof value === 'number';
  9111. var str = typeof value === 'string';
  9112. var arr = Array.isArray(value);
  9113. if (num) {
  9114. key = 'number';
  9115. } else if (str) {
  9116. key = 'string';
  9117. } else if (arr) {
  9118. key = 'array';
  9119. } // if the value is not of a supported type for range validation
  9120. // the validation rule rule should use the
  9121. // type property to also test for a particular type
  9122. if (!key) {
  9123. return false;
  9124. }
  9125. if (arr) {
  9126. val = value.length;
  9127. }
  9128. if (str) {
  9129. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".length !== 3
  9130. val = value.replace(spRegexp, '_').length;
  9131. }
  9132. if (len) {
  9133. if (val !== rule.len) {
  9134. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  9135. }
  9136. } else if (min && !max && val < rule.min) {
  9137. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  9138. } else if (max && !min && val > rule.max) {
  9139. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  9140. } else if (min && max && (val < rule.min || val > rule.max)) {
  9141. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  9142. }
  9143. }
  9144. var ENUM = 'enum';
  9145. /**
  9146. * Rule for validating a value exists in an enumerable list.
  9147. *
  9148. * @param rule The validation rule.
  9149. * @param value The value of the field on the source object.
  9150. * @param source The source object being validated.
  9151. * @param errors An array of errors that this rule may add
  9152. * validation errors to.
  9153. * @param options The validation options.
  9154. * @param options.messages The validation messages.
  9155. */
  9156. function enumerable(rule, value, source, errors, options) {
  9157. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  9158. if (rule[ENUM].indexOf(value) === -1) {
  9159. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  9160. }
  9161. }
  9162. /**
  9163. * Rule for validating a regular expression pattern.
  9164. *
  9165. * @param rule The validation rule.
  9166. * @param value The value of the field on the source object.
  9167. * @param source The source object being validated.
  9168. * @param errors An array of errors that this rule may add
  9169. * validation errors to.
  9170. * @param options The validation options.
  9171. * @param options.messages The validation messages.
  9172. */
  9173. function pattern$1(rule, value, source, errors, options) {
  9174. if (rule.pattern) {
  9175. if (rule.pattern instanceof RegExp) {
  9176. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  9177. // flag is accidentally set to `true`, which in a validation scenario
  9178. // is not necessary and the result might be misleading
  9179. rule.pattern.lastIndex = 0;
  9180. if (!rule.pattern.test(value)) {
  9181. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  9182. }
  9183. } else if (typeof rule.pattern === 'string') {
  9184. var _pattern = new RegExp(rule.pattern);
  9185. if (!_pattern.test(value)) {
  9186. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  9187. }
  9188. }
  9189. }
  9190. }
  9191. var rules = {
  9192. required: required,
  9193. whitespace: whitespace,
  9194. type: type,
  9195. range: range,
  9196. "enum": enumerable,
  9197. pattern: pattern$1
  9198. };
  9199. /**
  9200. * Performs validation for string types.
  9201. *
  9202. * @param rule The validation rule.
  9203. * @param value The value of the field on the source object.
  9204. * @param callback The callback function.
  9205. * @param source The source object being validated.
  9206. * @param options The validation options.
  9207. * @param options.messages The validation messages.
  9208. */
  9209. function string(rule, value, callback, source, options) {
  9210. var errors = [];
  9211. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9212. if (validate) {
  9213. if (isEmptyValue(value, 'string') && !rule.required) {
  9214. return callback();
  9215. }
  9216. rules.required(rule, value, source, errors, options, 'string');
  9217. if (!isEmptyValue(value, 'string')) {
  9218. rules.type(rule, value, source, errors, options);
  9219. rules.range(rule, value, source, errors, options);
  9220. rules.pattern(rule, value, source, errors, options);
  9221. if (rule.whitespace === true) {
  9222. rules.whitespace(rule, value, source, errors, options);
  9223. }
  9224. }
  9225. }
  9226. callback(errors);
  9227. }
  9228. /**
  9229. * Validates a function.
  9230. *
  9231. * @param rule The validation rule.
  9232. * @param value The value of the field on the source object.
  9233. * @param callback The callback function.
  9234. * @param source The source object being validated.
  9235. * @param options The validation options.
  9236. * @param options.messages The validation messages.
  9237. */
  9238. function method(rule, value, callback, source, options) {
  9239. var errors = [];
  9240. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9241. if (validate) {
  9242. if (isEmptyValue(value) && !rule.required) {
  9243. return callback();
  9244. }
  9245. rules.required(rule, value, source, errors, options);
  9246. if (value !== undefined) {
  9247. rules.type(rule, value, source, errors, options);
  9248. }
  9249. }
  9250. callback(errors);
  9251. }
  9252. /**
  9253. * Validates a number.
  9254. *
  9255. * @param rule The validation rule.
  9256. * @param value The value of the field on the source object.
  9257. * @param callback The callback function.
  9258. * @param source The source object being validated.
  9259. * @param options The validation options.
  9260. * @param options.messages The validation messages.
  9261. */
  9262. function number(rule, value, callback, source, options) {
  9263. var errors = [];
  9264. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9265. if (validate) {
  9266. if (value === '') {
  9267. value = undefined;
  9268. }
  9269. if (isEmptyValue(value) && !rule.required) {
  9270. return callback();
  9271. }
  9272. rules.required(rule, value, source, errors, options);
  9273. if (value !== undefined) {
  9274. rules.type(rule, value, source, errors, options);
  9275. rules.range(rule, value, source, errors, options);
  9276. }
  9277. }
  9278. callback(errors);
  9279. }
  9280. /**
  9281. * Validates a boolean.
  9282. *
  9283. * @param rule The validation rule.
  9284. * @param value The value of the field on the source object.
  9285. * @param callback The callback function.
  9286. * @param source The source object being validated.
  9287. * @param options The validation options.
  9288. * @param options.messages The validation messages.
  9289. */
  9290. function _boolean(rule, value, callback, source, options) {
  9291. var errors = [];
  9292. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9293. if (validate) {
  9294. if (isEmptyValue(value) && !rule.required) {
  9295. return callback();
  9296. }
  9297. rules.required(rule, value, source, errors, options);
  9298. if (value !== undefined) {
  9299. rules.type(rule, value, source, errors, options);
  9300. }
  9301. }
  9302. callback(errors);
  9303. }
  9304. /**
  9305. * Validates the regular expression type.
  9306. *
  9307. * @param rule The validation rule.
  9308. * @param value The value of the field on the source object.
  9309. * @param callback The callback function.
  9310. * @param source The source object being validated.
  9311. * @param options The validation options.
  9312. * @param options.messages The validation messages.
  9313. */
  9314. function regexp(rule, value, callback, source, options) {
  9315. var errors = [];
  9316. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9317. if (validate) {
  9318. if (isEmptyValue(value) && !rule.required) {
  9319. return callback();
  9320. }
  9321. rules.required(rule, value, source, errors, options);
  9322. if (!isEmptyValue(value)) {
  9323. rules.type(rule, value, source, errors, options);
  9324. }
  9325. }
  9326. callback(errors);
  9327. }
  9328. /**
  9329. * Validates a number is an integer.
  9330. *
  9331. * @param rule The validation rule.
  9332. * @param value The value of the field on the source object.
  9333. * @param callback The callback function.
  9334. * @param source The source object being validated.
  9335. * @param options The validation options.
  9336. * @param options.messages The validation messages.
  9337. */
  9338. function integer(rule, value, callback, source, options) {
  9339. var errors = [];
  9340. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9341. if (validate) {
  9342. if (isEmptyValue(value) && !rule.required) {
  9343. return callback();
  9344. }
  9345. rules.required(rule, value, source, errors, options);
  9346. if (value !== undefined) {
  9347. rules.type(rule, value, source, errors, options);
  9348. rules.range(rule, value, source, errors, options);
  9349. }
  9350. }
  9351. callback(errors);
  9352. }
  9353. /**
  9354. * Validates a number is a floating point number.
  9355. *
  9356. * @param rule The validation rule.
  9357. * @param value The value of the field on the source object.
  9358. * @param callback The callback function.
  9359. * @param source The source object being validated.
  9360. * @param options The validation options.
  9361. * @param options.messages The validation messages.
  9362. */
  9363. function floatFn(rule, value, callback, source, options) {
  9364. var errors = [];
  9365. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9366. if (validate) {
  9367. if (isEmptyValue(value) && !rule.required) {
  9368. return callback();
  9369. }
  9370. rules.required(rule, value, source, errors, options);
  9371. if (value !== undefined) {
  9372. rules.type(rule, value, source, errors, options);
  9373. rules.range(rule, value, source, errors, options);
  9374. }
  9375. }
  9376. callback(errors);
  9377. }
  9378. /**
  9379. * Validates an array.
  9380. *
  9381. * @param rule The validation rule.
  9382. * @param value The value of the field on the source object.
  9383. * @param callback The callback function.
  9384. * @param source The source object being validated.
  9385. * @param options The validation options.
  9386. * @param options.messages The validation messages.
  9387. */
  9388. function array(rule, value, callback, source, options) {
  9389. var errors = [];
  9390. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9391. if (validate) {
  9392. if (isEmptyValue(value, 'array') && !rule.required) {
  9393. return callback();
  9394. }
  9395. rules.required(rule, value, source, errors, options, 'array');
  9396. if (!isEmptyValue(value, 'array')) {
  9397. rules.type(rule, value, source, errors, options);
  9398. rules.range(rule, value, source, errors, options);
  9399. }
  9400. }
  9401. callback(errors);
  9402. }
  9403. /**
  9404. * Validates an object.
  9405. *
  9406. * @param rule The validation rule.
  9407. * @param value The value of the field on the source object.
  9408. * @param callback The callback function.
  9409. * @param source The source object being validated.
  9410. * @param options The validation options.
  9411. * @param options.messages The validation messages.
  9412. */
  9413. function object(rule, value, callback, source, options) {
  9414. var errors = [];
  9415. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9416. if (validate) {
  9417. if (isEmptyValue(value) && !rule.required) {
  9418. return callback();
  9419. }
  9420. rules.required(rule, value, source, errors, options);
  9421. if (value !== undefined) {
  9422. rules.type(rule, value, source, errors, options);
  9423. }
  9424. }
  9425. callback(errors);
  9426. }
  9427. var ENUM$1 = 'enum';
  9428. /**
  9429. * Validates an enumerable list.
  9430. *
  9431. * @param rule The validation rule.
  9432. * @param value The value of the field on the source object.
  9433. * @param callback The callback function.
  9434. * @param source The source object being validated.
  9435. * @param options The validation options.
  9436. * @param options.messages The validation messages.
  9437. */
  9438. function enumerable$1(rule, value, callback, source, options) {
  9439. var errors = [];
  9440. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9441. if (validate) {
  9442. if (isEmptyValue(value) && !rule.required) {
  9443. return callback();
  9444. }
  9445. rules.required(rule, value, source, errors, options);
  9446. if (value !== undefined) {
  9447. rules[ENUM$1](rule, value, source, errors, options);
  9448. }
  9449. }
  9450. callback(errors);
  9451. }
  9452. /**
  9453. * Validates a regular expression pattern.
  9454. *
  9455. * Performs validation when a rule only contains
  9456. * a pattern property but is not declared as a string type.
  9457. *
  9458. * @param rule The validation rule.
  9459. * @param value The value of the field on the source object.
  9460. * @param callback The callback function.
  9461. * @param source The source object being validated.
  9462. * @param options The validation options.
  9463. * @param options.messages The validation messages.
  9464. */
  9465. function pattern$2(rule, value, callback, source, options) {
  9466. var errors = [];
  9467. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9468. if (validate) {
  9469. if (isEmptyValue(value, 'string') && !rule.required) {
  9470. return callback();
  9471. }
  9472. rules.required(rule, value, source, errors, options);
  9473. if (!isEmptyValue(value, 'string')) {
  9474. rules.pattern(rule, value, source, errors, options);
  9475. }
  9476. }
  9477. callback(errors);
  9478. }
  9479. function date(rule, value, callback, source, options) {
  9480. var errors = [];
  9481. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9482. if (validate) {
  9483. if (isEmptyValue(value) && !rule.required) {
  9484. return callback();
  9485. }
  9486. rules.required(rule, value, source, errors, options);
  9487. if (!isEmptyValue(value)) {
  9488. var dateObject;
  9489. if (typeof value === 'number') {
  9490. dateObject = new Date(value);
  9491. } else {
  9492. dateObject = value;
  9493. }
  9494. rules.type(rule, dateObject, source, errors, options);
  9495. if (dateObject) {
  9496. rules.range(rule, dateObject.getTime(), source, errors, options);
  9497. }
  9498. }
  9499. }
  9500. callback(errors);
  9501. }
  9502. function required$1(rule, value, callback, source, options) {
  9503. var errors = [];
  9504. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  9505. rules.required(rule, value, source, errors, options, type);
  9506. callback(errors);
  9507. }
  9508. function type$1(rule, value, callback, source, options) {
  9509. var ruleType = rule.type;
  9510. var errors = [];
  9511. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9512. if (validate) {
  9513. if (isEmptyValue(value, ruleType) && !rule.required) {
  9514. return callback();
  9515. }
  9516. rules.required(rule, value, source, errors, options, ruleType);
  9517. if (!isEmptyValue(value, ruleType)) {
  9518. rules.type(rule, value, source, errors, options);
  9519. }
  9520. }
  9521. callback(errors);
  9522. }
  9523. /**
  9524. * Performs validation for any type.
  9525. *
  9526. * @param rule The validation rule.
  9527. * @param value The value of the field on the source object.
  9528. * @param callback The callback function.
  9529. * @param source The source object being validated.
  9530. * @param options The validation options.
  9531. * @param options.messages The validation messages.
  9532. */
  9533. function any(rule, value, callback, source, options) {
  9534. var errors = [];
  9535. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9536. if (validate) {
  9537. if (isEmptyValue(value) && !rule.required) {
  9538. return callback();
  9539. }
  9540. rules.required(rule, value, source, errors, options);
  9541. }
  9542. callback(errors);
  9543. }
  9544. var validators = {
  9545. string: string,
  9546. method: method,
  9547. number: number,
  9548. "boolean": _boolean,
  9549. regexp: regexp,
  9550. integer: integer,
  9551. "float": floatFn,
  9552. array: array,
  9553. object: object,
  9554. "enum": enumerable$1,
  9555. pattern: pattern$2,
  9556. date: date,
  9557. url: type$1,
  9558. hex: type$1,
  9559. email: type$1,
  9560. required: required$1,
  9561. any: any
  9562. };
  9563. function newMessages() {
  9564. return {
  9565. "default": 'Validation error on field %s',
  9566. required: '%s is required',
  9567. "enum": '%s must be one of %s',
  9568. whitespace: '%s cannot be empty',
  9569. date: {
  9570. format: '%s date %s is invalid for format %s',
  9571. parse: '%s date could not be parsed, %s is invalid ',
  9572. invalid: '%s date %s is invalid'
  9573. },
  9574. types: {
  9575. string: '%s is not a %s',
  9576. method: '%s is not a %s (function)',
  9577. array: '%s is not an %s',
  9578. object: '%s is not an %s',
  9579. number: '%s is not a %s',
  9580. date: '%s is not a %s',
  9581. "boolean": '%s is not a %s',
  9582. integer: '%s is not an %s',
  9583. "float": '%s is not a %s',
  9584. regexp: '%s is not a valid %s',
  9585. email: '%s is not a valid %s',
  9586. url: '%s is not a valid %s',
  9587. hex: '%s is not a valid %s'
  9588. },
  9589. string: {
  9590. len: '%s must be exactly %s characters',
  9591. min: '%s must be at least %s characters',
  9592. max: '%s cannot be longer than %s characters',
  9593. range: '%s must be between %s and %s characters'
  9594. },
  9595. number: {
  9596. len: '%s must equal %s',
  9597. min: '%s cannot be less than %s',
  9598. max: '%s cannot be greater than %s',
  9599. range: '%s must be between %s and %s'
  9600. },
  9601. array: {
  9602. len: '%s must be exactly %s in length',
  9603. min: '%s cannot be less than %s in length',
  9604. max: '%s cannot be greater than %s in length',
  9605. range: '%s must be between %s and %s in length'
  9606. },
  9607. pattern: {
  9608. mismatch: '%s value %s does not match pattern %s'
  9609. },
  9610. clone: function clone() {
  9611. var cloned = JSON.parse(JSON.stringify(this));
  9612. cloned.clone = this.clone;
  9613. return cloned;
  9614. }
  9615. };
  9616. }
  9617. var messages = newMessages();
  9618. /**
  9619. * Encapsulates a validation schema.
  9620. *
  9621. * @param descriptor An object declaring validation rules
  9622. * for this schema.
  9623. */
  9624. function Schema(descriptor) {
  9625. this.rules = null;
  9626. this._messages = messages;
  9627. this.define(descriptor);
  9628. }
  9629. Schema.prototype = {
  9630. messages: function messages(_messages) {
  9631. if (_messages) {
  9632. this._messages = deepMerge(newMessages(), _messages);
  9633. }
  9634. return this._messages;
  9635. },
  9636. define: function define(rules) {
  9637. if (!rules) {
  9638. throw new Error('Cannot configure a schema with no rules');
  9639. }
  9640. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  9641. throw new Error('Rules must be an object');
  9642. }
  9643. this.rules = {};
  9644. var z;
  9645. var item;
  9646. for (z in rules) {
  9647. if (rules.hasOwnProperty(z)) {
  9648. item = rules[z];
  9649. this.rules[z] = Array.isArray(item) ? item : [item];
  9650. }
  9651. }
  9652. },
  9653. validate: function validate(source_, o, oc) {
  9654. var _this = this;
  9655. if (o === void 0) {
  9656. o = {};
  9657. }
  9658. if (oc === void 0) {
  9659. oc = function oc() {};
  9660. }
  9661. var source = source_;
  9662. var options = o;
  9663. var callback = oc;
  9664. if (typeof options === 'function') {
  9665. callback = options;
  9666. options = {};
  9667. }
  9668. if (!this.rules || Object.keys(this.rules).length === 0) {
  9669. if (callback) {
  9670. callback();
  9671. }
  9672. return Promise.resolve();
  9673. }
  9674. function complete(results) {
  9675. var i;
  9676. var errors = [];
  9677. var fields = {};
  9678. function add(e) {
  9679. if (Array.isArray(e)) {
  9680. var _errors;
  9681. errors = (_errors = errors).concat.apply(_errors, e);
  9682. } else {
  9683. errors.push(e);
  9684. }
  9685. }
  9686. for (i = 0; i < results.length; i++) {
  9687. add(results[i]);
  9688. }
  9689. if (!errors.length) {
  9690. errors = null;
  9691. fields = null;
  9692. } else {
  9693. fields = convertFieldsError(errors);
  9694. }
  9695. callback(errors, fields);
  9696. }
  9697. if (options.messages) {
  9698. var messages$1 = this.messages();
  9699. if (messages$1 === messages) {
  9700. messages$1 = newMessages();
  9701. }
  9702. deepMerge(messages$1, options.messages);
  9703. options.messages = messages$1;
  9704. } else {
  9705. options.messages = this.messages();
  9706. }
  9707. var arr;
  9708. var value;
  9709. var series = {};
  9710. var keys = options.keys || Object.keys(this.rules);
  9711. keys.forEach(function (z) {
  9712. arr = _this.rules[z];
  9713. value = source[z];
  9714. arr.forEach(function (r) {
  9715. var rule = r;
  9716. if (typeof rule.transform === 'function') {
  9717. if (source === source_) {
  9718. source = _extends({}, source);
  9719. }
  9720. value = source[z] = rule.transform(value);
  9721. }
  9722. if (typeof rule === 'function') {
  9723. rule = {
  9724. validator: rule
  9725. };
  9726. } else {
  9727. rule = _extends({}, rule);
  9728. }
  9729. rule.validator = _this.getValidationMethod(rule);
  9730. rule.field = z;
  9731. rule.fullField = rule.fullField || z;
  9732. rule.type = _this.getType(rule);
  9733. if (!rule.validator) {
  9734. return;
  9735. }
  9736. series[z] = series[z] || [];
  9737. series[z].push({
  9738. rule: rule,
  9739. value: value,
  9740. source: source,
  9741. field: z
  9742. });
  9743. });
  9744. });
  9745. var errorFields = {};
  9746. return asyncMap(series, options, function (data, doIt) {
  9747. var rule = data.rule;
  9748. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  9749. deep = deep && (rule.required || !rule.required && data.value);
  9750. rule.field = data.field;
  9751. function addFullfield(key, schema) {
  9752. return _extends({}, schema, {
  9753. fullField: rule.fullField + "." + key
  9754. });
  9755. }
  9756. function cb(e) {
  9757. if (e === void 0) {
  9758. e = [];
  9759. }
  9760. var errors = e;
  9761. if (!Array.isArray(errors)) {
  9762. errors = [errors];
  9763. }
  9764. if (!options.suppressWarning && errors.length) {
  9765. Schema.warning('async-validator:', errors);
  9766. }
  9767. if (errors.length && rule.message) {
  9768. errors = [].concat(rule.message);
  9769. }
  9770. errors = errors.map(complementError(rule));
  9771. if (options.first && errors.length) {
  9772. errorFields[rule.field] = 1;
  9773. return doIt(errors);
  9774. }
  9775. if (!deep) {
  9776. doIt(errors);
  9777. } else {
  9778. // if rule is required but the target object
  9779. // does not exist fail at the rule level and don't
  9780. // go deeper
  9781. if (rule.required && !data.value) {
  9782. if (rule.message) {
  9783. errors = [].concat(rule.message).map(complementError(rule));
  9784. } else if (options.error) {
  9785. errors = [options.error(rule, format(options.messages.required, rule.field))];
  9786. } else {
  9787. errors = [];
  9788. }
  9789. return doIt(errors);
  9790. }
  9791. var fieldsSchema = {};
  9792. if (rule.defaultField) {
  9793. for (var k in data.value) {
  9794. if (data.value.hasOwnProperty(k)) {
  9795. fieldsSchema[k] = rule.defaultField;
  9796. }
  9797. }
  9798. }
  9799. fieldsSchema = _extends({}, fieldsSchema, {}, data.rule.fields);
  9800. for (var f in fieldsSchema) {
  9801. if (fieldsSchema.hasOwnProperty(f)) {
  9802. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  9803. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  9804. }
  9805. }
  9806. var schema = new Schema(fieldsSchema);
  9807. schema.messages(options.messages);
  9808. if (data.rule.options) {
  9809. data.rule.options.messages = options.messages;
  9810. data.rule.options.error = options.error;
  9811. }
  9812. schema.validate(data.value, data.rule.options || options, function (errs) {
  9813. var finalErrors = [];
  9814. if (errors && errors.length) {
  9815. finalErrors.push.apply(finalErrors, errors);
  9816. }
  9817. if (errs && errs.length) {
  9818. finalErrors.push.apply(finalErrors, errs);
  9819. }
  9820. doIt(finalErrors.length ? finalErrors : null);
  9821. });
  9822. }
  9823. }
  9824. var res;
  9825. if (rule.asyncValidator) {
  9826. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  9827. } else if (rule.validator) {
  9828. res = rule.validator(rule, data.value, cb, data.source, options);
  9829. if (res === true) {
  9830. cb();
  9831. } else if (res === false) {
  9832. cb(rule.message || rule.field + " fails");
  9833. } else if (res instanceof Array) {
  9834. cb(res);
  9835. } else if (res instanceof Error) {
  9836. cb(res.message);
  9837. }
  9838. }
  9839. if (res && res.then) {
  9840. res.then(function () {
  9841. return cb();
  9842. }, function (e) {
  9843. return cb(e);
  9844. });
  9845. }
  9846. }, function (results) {
  9847. complete(results);
  9848. });
  9849. },
  9850. getType: function getType(rule) {
  9851. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  9852. rule.type = 'pattern';
  9853. }
  9854. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  9855. throw new Error(format('Unknown rule type %s', rule.type));
  9856. }
  9857. return rule.type || 'string';
  9858. },
  9859. getValidationMethod: function getValidationMethod(rule) {
  9860. if (typeof rule.validator === 'function') {
  9861. return rule.validator;
  9862. }
  9863. var keys = Object.keys(rule);
  9864. var messageIndex = keys.indexOf('message');
  9865. if (messageIndex !== -1) {
  9866. keys.splice(messageIndex, 1);
  9867. }
  9868. if (keys.length === 1 && keys[0] === 'required') {
  9869. return validators.required;
  9870. }
  9871. return validators[this.getType(rule)] || false;
  9872. }
  9873. };
  9874. Schema.register = function register(type, validator) {
  9875. if (typeof validator !== 'function') {
  9876. throw new Error('Cannot register a validator by type, validator is not a function');
  9877. }
  9878. validators[type] = validator;
  9879. };
  9880. Schema.warning = warning;
  9881. Schema.messages = messages;
  9882. var _default = Schema;
  9883. exports.default = _default;
  9884. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 300)))
  9885. /***/ }),
  9886. /***/ 3:
  9887. /*!***********************************!*\
  9888. !*** (webpack)/buildin/global.js ***!
  9889. \***********************************/
  9890. /*! no static exports found */
  9891. /***/ (function(module, exports) {
  9892. var g;
  9893. // This works in non-strict mode
  9894. g = (function() {
  9895. return this;
  9896. })();
  9897. try {
  9898. // This works if eval is allowed (see CSP)
  9899. g = g || new Function("return this")();
  9900. } catch (e) {
  9901. // This works if the window reference is available
  9902. if (typeof window === "object") g = window;
  9903. }
  9904. // g can still be undefined, but nothing to do about it...
  9905. // We return undefined, instead of nothing here, so it's
  9906. // easier to handle this case. if(!global) { ...}
  9907. module.exports = g;
  9908. /***/ }),
  9909. /***/ 300:
  9910. /*!********************************************************!*\
  9911. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  9912. \********************************************************/
  9913. /*! no static exports found */
  9914. /***/ (function(module, exports, __webpack_require__) {
  9915. exports.nextTick = function nextTick(fn) {
  9916. var args = Array.prototype.slice.call(arguments);
  9917. args.shift();
  9918. setTimeout(function () {
  9919. fn.apply(null, args);
  9920. }, 0);
  9921. };
  9922. exports.platform = exports.arch =
  9923. exports.execPath = exports.title = 'browser';
  9924. exports.pid = 1;
  9925. exports.browser = true;
  9926. exports.env = {};
  9927. exports.argv = [];
  9928. exports.binding = function (name) {
  9929. throw new Error('No such module. (Possibly not yet loaded)')
  9930. };
  9931. (function () {
  9932. var cwd = '/';
  9933. var path;
  9934. exports.cwd = function () { return cwd };
  9935. exports.chdir = function (dir) {
  9936. if (!path) path = __webpack_require__(/*! path */ 301);
  9937. cwd = path.resolve(dir, cwd);
  9938. };
  9939. })();
  9940. exports.exit = exports.kill =
  9941. exports.umask = exports.dlopen =
  9942. exports.uptime = exports.memoryUsage =
  9943. exports.uvCounters = function() {};
  9944. exports.features = {};
  9945. /***/ }),
  9946. /***/ 301:
  9947. /*!***********************************************!*\
  9948. !*** ./node_modules/path-browserify/index.js ***!
  9949. \***********************************************/
  9950. /*! no static exports found */
  9951. /***/ (function(module, exports, __webpack_require__) {
  9952. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  9953. // backported and transplited with Babel, with backwards-compat fixes
  9954. // Copyright Joyent, Inc. and other Node contributors.
  9955. //
  9956. // Permission is hereby granted, free of charge, to any person obtaining a
  9957. // copy of this software and associated documentation files (the
  9958. // "Software"), to deal in the Software without restriction, including
  9959. // without limitation the rights to use, copy, modify, merge, publish,
  9960. // distribute, sublicense, and/or sell copies of the Software, and to permit
  9961. // persons to whom the Software is furnished to do so, subject to the
  9962. // following conditions:
  9963. //
  9964. // The above copyright notice and this permission notice shall be included
  9965. // in all copies or substantial portions of the Software.
  9966. //
  9967. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  9968. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  9969. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  9970. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  9971. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  9972. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  9973. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  9974. // resolves . and .. elements in a path array with directory names there
  9975. // must be no slashes, empty elements, or device names (c:\) in the array
  9976. // (so also no leading and trailing slashes - it does not distinguish
  9977. // relative and absolute paths)
  9978. function normalizeArray(parts, allowAboveRoot) {
  9979. // if the path tries to go above the root, `up` ends up > 0
  9980. var up = 0;
  9981. for (var i = parts.length - 1; i >= 0; i--) {
  9982. var last = parts[i];
  9983. if (last === '.') {
  9984. parts.splice(i, 1);
  9985. } else if (last === '..') {
  9986. parts.splice(i, 1);
  9987. up++;
  9988. } else if (up) {
  9989. parts.splice(i, 1);
  9990. up--;
  9991. }
  9992. }
  9993. // if the path is allowed to go above the root, restore leading ..s
  9994. if (allowAboveRoot) {
  9995. for (; up--; up) {
  9996. parts.unshift('..');
  9997. }
  9998. }
  9999. return parts;
  10000. }
  10001. // path.resolve([from ...], to)
  10002. // posix version
  10003. exports.resolve = function() {
  10004. var resolvedPath = '',
  10005. resolvedAbsolute = false;
  10006. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  10007. var path = (i >= 0) ? arguments[i] : process.cwd();
  10008. // Skip empty and invalid entries
  10009. if (typeof path !== 'string') {
  10010. throw new TypeError('Arguments to path.resolve must be strings');
  10011. } else if (!path) {
  10012. continue;
  10013. }
  10014. resolvedPath = path + '/' + resolvedPath;
  10015. resolvedAbsolute = path.charAt(0) === '/';
  10016. }
  10017. // At this point the path should be resolved to a full absolute path, but
  10018. // handle relative paths to be safe (might happen when process.cwd() fails)
  10019. // Normalize the path
  10020. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  10021. return !!p;
  10022. }), !resolvedAbsolute).join('/');
  10023. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  10024. };
  10025. // path.normalize(path)
  10026. // posix version
  10027. exports.normalize = function(path) {
  10028. var isAbsolute = exports.isAbsolute(path),
  10029. trailingSlash = substr(path, -1) === '/';
  10030. // Normalize the path
  10031. path = normalizeArray(filter(path.split('/'), function(p) {
  10032. return !!p;
  10033. }), !isAbsolute).join('/');
  10034. if (!path && !isAbsolute) {
  10035. path = '.';
  10036. }
  10037. if (path && trailingSlash) {
  10038. path += '/';
  10039. }
  10040. return (isAbsolute ? '/' : '') + path;
  10041. };
  10042. // posix version
  10043. exports.isAbsolute = function(path) {
  10044. return path.charAt(0) === '/';
  10045. };
  10046. // posix version
  10047. exports.join = function() {
  10048. var paths = Array.prototype.slice.call(arguments, 0);
  10049. return exports.normalize(filter(paths, function(p, index) {
  10050. if (typeof p !== 'string') {
  10051. throw new TypeError('Arguments to path.join must be strings');
  10052. }
  10053. return p;
  10054. }).join('/'));
  10055. };
  10056. // path.relative(from, to)
  10057. // posix version
  10058. exports.relative = function(from, to) {
  10059. from = exports.resolve(from).substr(1);
  10060. to = exports.resolve(to).substr(1);
  10061. function trim(arr) {
  10062. var start = 0;
  10063. for (; start < arr.length; start++) {
  10064. if (arr[start] !== '') break;
  10065. }
  10066. var end = arr.length - 1;
  10067. for (; end >= 0; end--) {
  10068. if (arr[end] !== '') break;
  10069. }
  10070. if (start > end) return [];
  10071. return arr.slice(start, end - start + 1);
  10072. }
  10073. var fromParts = trim(from.split('/'));
  10074. var toParts = trim(to.split('/'));
  10075. var length = Math.min(fromParts.length, toParts.length);
  10076. var samePartsLength = length;
  10077. for (var i = 0; i < length; i++) {
  10078. if (fromParts[i] !== toParts[i]) {
  10079. samePartsLength = i;
  10080. break;
  10081. }
  10082. }
  10083. var outputParts = [];
  10084. for (var i = samePartsLength; i < fromParts.length; i++) {
  10085. outputParts.push('..');
  10086. }
  10087. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  10088. return outputParts.join('/');
  10089. };
  10090. exports.sep = '/';
  10091. exports.delimiter = ':';
  10092. exports.dirname = function (path) {
  10093. if (typeof path !== 'string') path = path + '';
  10094. if (path.length === 0) return '.';
  10095. var code = path.charCodeAt(0);
  10096. var hasRoot = code === 47 /*/*/;
  10097. var end = -1;
  10098. var matchedSlash = true;
  10099. for (var i = path.length - 1; i >= 1; --i) {
  10100. code = path.charCodeAt(i);
  10101. if (code === 47 /*/*/) {
  10102. if (!matchedSlash) {
  10103. end = i;
  10104. break;
  10105. }
  10106. } else {
  10107. // We saw the first non-path separator
  10108. matchedSlash = false;
  10109. }
  10110. }
  10111. if (end === -1) return hasRoot ? '/' : '.';
  10112. if (hasRoot && end === 1) {
  10113. // return '//';
  10114. // Backwards-compat fix:
  10115. return '/';
  10116. }
  10117. return path.slice(0, end);
  10118. };
  10119. function basename(path) {
  10120. if (typeof path !== 'string') path = path + '';
  10121. var start = 0;
  10122. var end = -1;
  10123. var matchedSlash = true;
  10124. var i;
  10125. for (i = path.length - 1; i >= 0; --i) {
  10126. if (path.charCodeAt(i) === 47 /*/*/) {
  10127. // If we reached a path separator that was not part of a set of path
  10128. // separators at the end of the string, stop now
  10129. if (!matchedSlash) {
  10130. start = i + 1;
  10131. break;
  10132. }
  10133. } else if (end === -1) {
  10134. // We saw the first non-path separator, mark this as the end of our
  10135. // path component
  10136. matchedSlash = false;
  10137. end = i + 1;
  10138. }
  10139. }
  10140. if (end === -1) return '';
  10141. return path.slice(start, end);
  10142. }
  10143. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  10144. // in new Node.js versions, so only basename() above is backported here
  10145. exports.basename = function (path, ext) {
  10146. var f = basename(path);
  10147. if (ext && f.substr(-1 * ext.length) === ext) {
  10148. f = f.substr(0, f.length - ext.length);
  10149. }
  10150. return f;
  10151. };
  10152. exports.extname = function (path) {
  10153. if (typeof path !== 'string') path = path + '';
  10154. var startDot = -1;
  10155. var startPart = 0;
  10156. var end = -1;
  10157. var matchedSlash = true;
  10158. // Track the state of characters (if any) we see before our first dot and
  10159. // after any path separator we find
  10160. var preDotState = 0;
  10161. for (var i = path.length - 1; i >= 0; --i) {
  10162. var code = path.charCodeAt(i);
  10163. if (code === 47 /*/*/) {
  10164. // If we reached a path separator that was not part of a set of path
  10165. // separators at the end of the string, stop now
  10166. if (!matchedSlash) {
  10167. startPart = i + 1;
  10168. break;
  10169. }
  10170. continue;
  10171. }
  10172. if (end === -1) {
  10173. // We saw the first non-path separator, mark this as the end of our
  10174. // extension
  10175. matchedSlash = false;
  10176. end = i + 1;
  10177. }
  10178. if (code === 46 /*.*/) {
  10179. // If this is our first dot, mark it as the start of our extension
  10180. if (startDot === -1)
  10181. startDot = i;
  10182. else if (preDotState !== 1)
  10183. preDotState = 1;
  10184. } else if (startDot !== -1) {
  10185. // We saw a non-dot and non-path separator before our dot, so we should
  10186. // have a good chance at having a non-empty extension
  10187. preDotState = -1;
  10188. }
  10189. }
  10190. if (startDot === -1 || end === -1 ||
  10191. // We saw a non-dot character immediately before the dot
  10192. preDotState === 0 ||
  10193. // The (right-most) trimmed path component is exactly '..'
  10194. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  10195. return '';
  10196. }
  10197. return path.slice(startDot, end);
  10198. };
  10199. function filter (xs, f) {
  10200. if (xs.filter) return xs.filter(f);
  10201. var res = [];
  10202. for (var i = 0; i < xs.length; i++) {
  10203. if (f(xs[i], i, xs)) res.push(xs[i]);
  10204. }
  10205. return res;
  10206. }
  10207. // String.prototype.substr - negative index don't work in IE8
  10208. var substr = 'ab'.substr(-1) === 'b'
  10209. ? function (str, start, len) { return str.substr(start, len) }
  10210. : function (str, start, len) {
  10211. if (start < 0) start = str.length + start;
  10212. return str.substr(start, len);
  10213. }
  10214. ;
  10215. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 300)))
  10216. /***/ }),
  10217. /***/ 32:
  10218. /*!**********************************************************************************************************!*\
  10219. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  10220. \**********************************************************************************************************/
  10221. /*! exports provided: default */
  10222. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10223. "use strict";
  10224. __webpack_require__.r(__webpack_exports__);
  10225. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  10226. /* globals __VUE_SSR_CONTEXT__ */
  10227. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  10228. // This module is a runtime utility for cleaner component module output and will
  10229. // be included in the final webpack user bundle.
  10230. function normalizeComponent (
  10231. scriptExports,
  10232. render,
  10233. staticRenderFns,
  10234. functionalTemplate,
  10235. injectStyles,
  10236. scopeId,
  10237. moduleIdentifier, /* server only */
  10238. shadowMode, /* vue-cli only */
  10239. components, // fixed by xxxxxx auto components
  10240. renderjs // fixed by xxxxxx renderjs
  10241. ) {
  10242. // Vue.extend constructor export interop
  10243. var options = typeof scriptExports === 'function'
  10244. ? scriptExports.options
  10245. : scriptExports
  10246. // fixed by xxxxxx auto components
  10247. if (components) {
  10248. if (!options.components) {
  10249. options.components = {}
  10250. }
  10251. var hasOwn = Object.prototype.hasOwnProperty
  10252. for (var name in components) {
  10253. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  10254. options.components[name] = components[name]
  10255. }
  10256. }
  10257. }
  10258. // fixed by xxxxxx renderjs
  10259. if (renderjs) {
  10260. if(typeof renderjs.beforeCreate === 'function'){
  10261. renderjs.beforeCreate = [renderjs.beforeCreate]
  10262. }
  10263. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  10264. this[renderjs.__module] = this
  10265. });
  10266. (options.mixins || (options.mixins = [])).push(renderjs)
  10267. }
  10268. // render functions
  10269. if (render) {
  10270. options.render = render
  10271. options.staticRenderFns = staticRenderFns
  10272. options._compiled = true
  10273. }
  10274. // functional template
  10275. if (functionalTemplate) {
  10276. options.functional = true
  10277. }
  10278. // scopedId
  10279. if (scopeId) {
  10280. options._scopeId = 'data-v-' + scopeId
  10281. }
  10282. var hook
  10283. if (moduleIdentifier) { // server build
  10284. hook = function (context) {
  10285. // 2.3 injection
  10286. context =
  10287. context || // cached call
  10288. (this.$vnode && this.$vnode.ssrContext) || // stateful
  10289. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  10290. // 2.2 with runInNewContext: true
  10291. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  10292. context = __VUE_SSR_CONTEXT__
  10293. }
  10294. // inject component styles
  10295. if (injectStyles) {
  10296. injectStyles.call(this, context)
  10297. }
  10298. // register component module identifier for async chunk inferrence
  10299. if (context && context._registeredComponents) {
  10300. context._registeredComponents.add(moduleIdentifier)
  10301. }
  10302. }
  10303. // used by ssr in case component is cached and beforeCreate
  10304. // never gets called
  10305. options._ssrRegister = hook
  10306. } else if (injectStyles) {
  10307. hook = shadowMode
  10308. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  10309. : injectStyles
  10310. }
  10311. if (hook) {
  10312. if (options.functional) {
  10313. // for template-only hot-reload because in that case the render fn doesn't
  10314. // go through the normalizer
  10315. options._injectStyles = hook
  10316. // register for functioal component in vue file
  10317. var originalRender = options.render
  10318. options.render = function renderWithStyleInjection (h, context) {
  10319. hook.call(context)
  10320. return originalRender(h, context)
  10321. }
  10322. } else {
  10323. // inject component registration as beforeCreate hook
  10324. var existing = options.beforeCreate
  10325. options.beforeCreate = existing
  10326. ? [].concat(existing, hook)
  10327. : [hook]
  10328. }
  10329. }
  10330. return {
  10331. exports: scriptExports,
  10332. options: options
  10333. }
  10334. }
  10335. /***/ }),
  10336. /***/ 33:
  10337. /*!***********************************************!*\
  10338. !*** E:/Desktop/zd_wechatApp(1)/api/index.js ***!
  10339. \***********************************************/
  10340. /*! no static exports found */
  10341. /***/ (function(module, exports, __webpack_require__) {
  10342. "use strict";
  10343. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10344. Object.defineProperty(exports, "__esModule", {
  10345. value: true
  10346. });
  10347. exports.default = void 0;
  10348. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  10349. var _common = _interopRequireDefault(__webpack_require__(/*! ./common.js */ 34));
  10350. var _login = _interopRequireDefault(__webpack_require__(/*! ./login.js */ 37));
  10351. 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; }
  10352. 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; }
  10353. var service = _objectSpread(_objectSpread({}, _common.default), _login.default);
  10354. var _default = service;
  10355. exports.default = _default;
  10356. /***/ }),
  10357. /***/ 34:
  10358. /*!************************************************!*\
  10359. !*** E:/Desktop/zd_wechatApp(1)/api/common.js ***!
  10360. \************************************************/
  10361. /*! no static exports found */
  10362. /***/ (function(module, exports, __webpack_require__) {
  10363. "use strict";
  10364. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10365. Object.defineProperty(exports, "__esModule", {
  10366. value: true
  10367. });
  10368. exports.default = void 0;
  10369. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  10370. var _request = _interopRequireDefault(__webpack_require__(/*! ../common/request.js */ 35));
  10371. var _getDistrict$getUnit$;
  10372. var _default = (_getDistrict$getUnit$ = {
  10373. //选择行政区
  10374. getDistrict: function getDistrict(data) {
  10375. return _request.default.requestFn("/system/dict/data/type/district", data);
  10376. },
  10377. // //选择小区
  10378. // getArea(data) {
  10379. // return utils.requestEn(`/mobile/area/getArea`, data)
  10380. // },
  10381. //选择单元
  10382. getUnit: function getUnit(data) {
  10383. return _request.default.requestEn("/mobile/unit/getUnit", data);
  10384. },
  10385. //选择楼宇
  10386. getBuilding: function getBuilding(data) {
  10387. return _request.default.requestEn("/mobile/building/getBuilding", data);
  10388. },
  10389. //选择房屋(门牌)
  10390. getHouse: function getHouse(data) {
  10391. return _request.default.requestEn("/mobile/house/getHouse", data);
  10392. },
  10393. //公告列表
  10394. getNoticeList: function getNoticeList(data) {
  10395. return _request.default.requestEn("/mobile/notice/getNotice", data);
  10396. },
  10397. //关于我们
  10398. getAboutUs: function getAboutUs(data) {
  10399. return _request.default.requestEn("/mobile/aboutUs/getOne", data);
  10400. },
  10401. //服务说明
  10402. getExplain: function getExplain(data) {
  10403. return _request.default.requestEn("/mobile/explain/getOne", data);
  10404. },
  10405. //上门类型
  10406. getDic: function getDic(data) {
  10407. return _request.default.requestEn("/mobile/order/getDic", data);
  10408. },
  10409. //管子类别
  10410. getPipeType: function getPipeType(data) {
  10411. return _request.default.requestEn("/mobile/pipeType/getPipeType", data);
  10412. },
  10413. //管子长度
  10414. getPipeLength: function getPipeLength(data) {
  10415. return _request.default.requestEn("/mobile/pipeLength/getPipeLength", data);
  10416. },
  10417. //历史施工
  10418. getListAll: function getListAll(data) {
  10419. return _request.default.requestFn("/mobile/order/getListAll", data);
  10420. },
  10421. //历史施工(查看详情页)
  10422. getOrderPhoto: function getOrderPhoto(data) {
  10423. return _request.default.requestEn("/mobile/orderPhoto/getPhoto", data);
  10424. },
  10425. //提交数据
  10426. submitOrder: function submitOrder(data) {
  10427. return _request.default.requestFn("/mobile/order", data, 'POST');
  10428. },
  10429. //工程列表
  10430. getEngineList: function getEngineList(data) {
  10431. return _request.default.requestEn("/mobile/otherEngine/getList", data);
  10432. },
  10433. //查看非市政项目
  10434. getEngineDetail: function getEngineDetail(data) {
  10435. return _request.default.requestEn("/mobile/otherEngine/getById", data);
  10436. },
  10437. //查看非市政项目页 确认上传照片
  10438. updateEnginePhoto: function updateEnginePhoto(data) {
  10439. return _request.default.requestFn("/mobile/otherEngine", data, 'PUT');
  10440. },
  10441. //门牌验证
  10442. // getOrderForStatus(data){
  10443. // return utils.requestEn(`/mobile/order/getOrderForStatus`, data)
  10444. // },
  10445. //首页轮播图
  10446. getLunBo: function getLunBo(data) {
  10447. return _request.default.requestEn("/mobile/rotation/list", data);
  10448. },
  10449. //获取项目类型
  10450. getProjectType: function getProjectType(data) {
  10451. return _request.default.requestEn("/mobile/order/getDic", data);
  10452. },
  10453. //获取项目列表
  10454. getProjectList: function getProjectList(data) {
  10455. return _request.default.requestEn("/mobile/otherEngine/getList", data);
  10456. },
  10457. //自闭阀类型
  10458. getProject: function getProject(data) {
  10459. return _request.default.requestEn("/mobile/valve/getValveType", data);
  10460. },
  10461. //上传照片
  10462. getImage: function getImage(data) {
  10463. return _request.default.requestFn("/obs", data, 'POST');
  10464. },
  10465. //获取用户名
  10466. getUserName: function getUserName(data) {
  10467. return _request.default.requestFn("/mobile/user/getName", data);
  10468. },
  10469. //工程列表
  10470. getList: function getList(data) {
  10471. return _request.default.requestEn("/mobile/order/getList", data);
  10472. },
  10473. //小区合格率
  10474. getExamineArea: function getExamineArea(data) {
  10475. return _request.default.requestEn("/mobile/area/getExamineArea", data);
  10476. },
  10477. //列表
  10478. getOtherList: function getOtherList(data) {
  10479. return _request.default.requestEn("/mobile/order/getOtherList", data);
  10480. },
  10481. //职工合格率
  10482. getExamineWorker: function getExamineWorker(data) {
  10483. return _request.default.requestEn("/mobile/area/getExamineWorker", data);
  10484. },
  10485. //小区服务统计
  10486. getExamineServe: function getExamineServe(data) {
  10487. return _request.default.requestEn("/mobile/area/getExamineServe", data);
  10488. },
  10489. //管材类别统计
  10490. getExaminePipeType: function getExaminePipeType(data) {
  10491. return _request.default.requestEn("/mobile/area/getExaminePipeType", data);
  10492. },
  10493. //管材长度统计
  10494. getExaminePipeLength: function getExaminePipeLength(data) {
  10495. return _request.default.requestEn("/mobile/area/getExaminePipeLength", data);
  10496. },
  10497. //自闭阀类别统计
  10498. getExamineValveType: function getExamineValveType(data) {
  10499. return _request.default.requestEn("/mobile/area/getExamineValveType", data);
  10500. },
  10501. //小区汇总统计
  10502. getAreaSum: function getAreaSum(data) {
  10503. return _request.default.requestEn("/mobile/area/getAreaSum", data);
  10504. },
  10505. //获取职工
  10506. // getWorker(data) {
  10507. // return utils.requestEn(`/mobile/area/getWorker`, data)
  10508. // },
  10509. getById: function getById(data) {
  10510. return _request.default.requestEn("/mobile/order/getById", data);
  10511. },
  10512. getOrderList: function getOrderList(data) {
  10513. return _request.default.requestEn("/mobile/order/getList", data);
  10514. },
  10515. //修改
  10516. getUpdateOrder: function getUpdateOrder(data) {
  10517. return _request.default.requestFn("/mobile/order", data, 'PUT');
  10518. },
  10519. //选择门牌(安检,工程管理页)
  10520. getAllHouse: function getAllHouse(data) {
  10521. return _request.default.requestEn("/mobile/house/getAllHouse", data);
  10522. },
  10523. //选择门牌(安检,工程管理页)
  10524. getDictInfo: function getDictInfo(data) {
  10525. return _request.default.requestEn("/mobile/sysInfo/dict", data);
  10526. },
  10527. //选择门牌(安检,工程管理页)
  10528. getUnitList: function getUnitList(data) {
  10529. return _request.default.requestEn("/mobile/unit/getUnit", data);
  10530. },
  10531. getBuildingList: function getBuildingList(data) {
  10532. return _request.default.requestEn("/mobile/building/getBuilding", data);
  10533. },
  10534. getArea: function getArea(data) {
  10535. return _request.default.requestEn("/mobile/area/getArea", data);
  10536. },
  10537. getDictInfoList: function getDictInfoList(data) {
  10538. return _request.default.requestEn("/mobile/sysInfo/dictlist", data, 'POST');
  10539. },
  10540. setregulatorBox: function setregulatorBox(data) {
  10541. return _request.default.requestEn("/mobile/regulatorBox", data, 'POST');
  10542. },
  10543. setwarningPile: function setwarningPile(data) {
  10544. return _request.default.requestEn("/mobile/warningPile", data, 'Put');
  10545. },
  10546. getwarningPileList: function getwarningPileList(data) {
  10547. return _request.default.requestEn("/mobile/warningPile/getList", data);
  10548. },
  10549. getwarningPileInfo: function getwarningPileInfo(data) {
  10550. return _request.default.requestEn("/mobile/warningPile/".concat(data));
  10551. },
  10552. setcourtyardNetworkManagement: function setcourtyardNetworkManagement(data) {
  10553. return _request.default.requestEn("/mobile/courtyardNetworkManagement", data, 'POST');
  10554. },
  10555. setemergencyRepair: function setemergencyRepair(data) {
  10556. return _request.default.requestEn("/mobile/emergencyRepair", data, 'POST');
  10557. },
  10558. getOne: function getOne() {
  10559. return _request.default.requestEn("/mobile/explain/getOne");
  10560. },
  10561. getWorker: function getWorker(data) {
  10562. return _request.default.requestEn("/mobile/user/getWorker", data);
  10563. },
  10564. getSearch: function getSearch(data) {
  10565. return _request.default.requestEn("/mobile/sysInfo/search", data, 'POST');
  10566. },
  10567. //庭院网管控制器
  10568. getcourtyardNetworkManagement: function getcourtyardNetworkManagement(data) {
  10569. return _request.default.requestEn("/mobile/courtyardNetworkManagement/".concat(data));
  10570. },
  10571. saveroadSectionInspection: function saveroadSectionInspection(data) {
  10572. return _request.default.requestEn("/mobile/roadSectionInspection", data, 'POST');
  10573. },
  10574. getroadSectionInspection: function getroadSectionInspection(data) {
  10575. return _request.default.requestEn("/mobile/roadSectionInspection/".concat(data));
  10576. },
  10577. getroadSectionInspectionList: function getroadSectionInspectionList(data) {
  10578. return _request.default.requestEn("/mobile/roadSectionInspection/list", data);
  10579. },
  10580. //抢险维修控制器
  10581. getemergencyRepair: function getemergencyRepair(data) {
  10582. return _request.default.requestEn("/mobile/emergencyRepair/".concat(data));
  10583. },
  10584. //调压箱管理控制器
  10585. getregulatorBox: function getregulatorBox(data) {
  10586. return _request.default.requestEn("/mobile/regulatorBox/".concat(data));
  10587. },
  10588. //警示桩控制器
  10589. getwarningPile: function getwarningPile(data) {
  10590. return _request.default.requestEn("/mobile/warningPile/".concat(data));
  10591. },
  10592. patrolRecord: function patrolRecord(data) {
  10593. return _request.default.requestEn("/mobile/patrolRecord", data, 'POST');
  10594. },
  10595. //警示桩控制器
  10596. getpatrolRecord: function getpatrolRecord(data) {
  10597. return _request.default.requestEn("/mobile/patrolRecord/".concat(data));
  10598. },
  10599. getAdministrativeOffice: function getAdministrativeOffice(data) {
  10600. return _request.default.requestEn("/mobile/regulatorBox/getAdministrativeOffice", data);
  10601. },
  10602. getregulatorBoxList: function getregulatorBoxList(data) {
  10603. return _request.default.requestLo("/mobile/pressureRegulatingBox/list", data);
  10604. }
  10605. }, (0, _defineProperty2.default)(_getDistrict$getUnit$, "getregulatorBox", function getregulatorBox(data) {
  10606. return _request.default.requestEn("/mobile/pressureRegulatingBox/".concat(data));
  10607. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "getvalveWellPositionlist", function getvalveWellPositionlist(data) {
  10608. return _request.default.requestEn("/mobile/valveWellPosition/list", data);
  10609. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "setvalveWellPosition", function setvalveWellPosition(data) {
  10610. return _request.default.requestEn("/mobile/valveWellInspection", data, 'POST');
  10611. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "getvalveWellPosition", function getvalveWellPosition(data) {
  10612. return _request.default.requestEn("/mobile/valveWellInspection/".concat(data));
  10613. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "getvalveWellPositionList", function getvalveWellPositionList() {
  10614. return _request.default.requestEn("/mobile/valveWellInspection/list");
  10615. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "getFileList", function getFileList(data) {
  10616. return _request.default.requestEn("/mobile/cad/getAllFileByPostId/".concat(data));
  10617. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "savetransmissionStation", function savetransmissionStation(data) {
  10618. return _request.default.requestEn("/mobile/transmissionStation/", data, 'POST');
  10619. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "gettransmissionStation", function gettransmissionStation(data) {
  10620. return _request.default.requestEn("/mobile/transmissionStation/".concat(data));
  10621. }), (0, _defineProperty2.default)(_getDistrict$getUnit$, "gettransmissionStationList", function gettransmissionStationList(data) {
  10622. return _request.default.requestLo("/mobile/transmissionStation/list");
  10623. }), _getDistrict$getUnit$);
  10624. exports.default = _default;
  10625. /***/ }),
  10626. /***/ 35:
  10627. /*!****************************************************!*\
  10628. !*** E:/Desktop/zd_wechatApp(1)/common/request.js ***!
  10629. \****************************************************/
  10630. /*! no static exports found */
  10631. /***/ (function(module, exports, __webpack_require__) {
  10632. "use strict";
  10633. /* WEBPACK VAR INJECTION */(function(uni) {
  10634. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10635. Object.defineProperty(exports, "__esModule", {
  10636. value: true
  10637. });
  10638. exports.default = void 0;
  10639. var _http = _interopRequireDefault(__webpack_require__(/*! ./http.js */ 36));
  10640. var _default = {
  10641. // 请求方法
  10642. requestEn: function requestEn(url) {
  10643. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10644. var methods = arguments.length > 2 ? arguments[2] : undefined;
  10645. return new Promise(function (resolve, reject) {
  10646. // console.log(http.webUrl + url +'---'+ uni.getStorageSync('token'))
  10647. uni.request({
  10648. url: _http.default.webUrl + url,
  10649. method: methods ? methods : 'GET',
  10650. data: data,
  10651. success: function success(res) {
  10652. if (res.data.code === 200) {
  10653. resolve(res.data.data === undefined ? null : res.data.data);
  10654. } else if (res.data.code === 403 || res.data.code === 401) {
  10655. uni.showToast({
  10656. title: 'Token超时,请重新登录',
  10657. icon: 'none'
  10658. });
  10659. if (uni.getStorageSync('token')) {
  10660. uni.removeStorage({
  10661. key: 'token',
  10662. success: function success() {
  10663. uni.navigateTo({
  10664. url: '/pages/login/login'
  10665. });
  10666. }
  10667. });
  10668. } else {
  10669. uni.navigateTo({
  10670. url: '/pages/login/login'
  10671. });
  10672. }
  10673. } else {
  10674. uni.showToast({
  10675. title: res.data.msg ? res.data.msg : '系统异常',
  10676. icon: 'none'
  10677. });
  10678. }
  10679. },
  10680. fail: function fail() {
  10681. uni.showToast({
  10682. title: '网络异常',
  10683. icon: 'none'
  10684. });
  10685. }
  10686. });
  10687. });
  10688. },
  10689. // 请求方法
  10690. requestFn: function requestFn(url) {
  10691. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10692. var methods = arguments.length > 2 ? arguments[2] : undefined;
  10693. return new Promise(function (resolve, reject) {
  10694. console.log(_http.default.webUrl + url + '---' + uni.getStorageSync('token'));
  10695. uni.request({
  10696. url: _http.default.webUrl + url,
  10697. method: methods ? methods : 'GET',
  10698. data: data,
  10699. header: {
  10700. "MAuthorization": "wxBearer ".concat(uni.getStorageSync('token') ? uni.getStorageSync('token') : ''),
  10701. "userType": 'MOdBILE'
  10702. },
  10703. success: function success(res) {
  10704. console.log(res);
  10705. if (res.data.code === 200) {
  10706. resolve(res.data.data === undefined ? null : res.data.data);
  10707. } else if (res.data.code === 403 || res.data.code === 401) {
  10708. uni.showToast({
  10709. title: 'Token超时,请重新登录',
  10710. icon: 'none'
  10711. });
  10712. if (uni.getStorageSync('token')) {
  10713. uni.removeStorage({
  10714. key: 'token',
  10715. success: function success() {
  10716. uni.navigateTo({
  10717. url: '/pages/login/login'
  10718. });
  10719. }
  10720. });
  10721. } else {
  10722. uni.navigateTo({
  10723. url: '/pages/login/login'
  10724. });
  10725. }
  10726. } else {
  10727. uni.showToast({
  10728. title: res.data.msg ? res.data.msg : '系统异常',
  10729. icon: 'none'
  10730. });
  10731. }
  10732. },
  10733. fail: function fail() {
  10734. uni.showToast({
  10735. title: '网络异常',
  10736. icon: 'none'
  10737. });
  10738. }
  10739. });
  10740. });
  10741. },
  10742. requestLo: function requestLo(url) {
  10743. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10744. var methods = arguments.length > 2 ? arguments[2] : undefined;
  10745. return new Promise(function (resolve, reject) {
  10746. console.log(_http.default.webUrl + url);
  10747. uni.request({
  10748. url: _http.default.webUrl + url,
  10749. method: methods ? methods : 'GET',
  10750. data: data,
  10751. header: {
  10752. "userType": 'MOBILE'
  10753. },
  10754. success: function success(res) {
  10755. console.log(res);
  10756. if (res.data.code === 200) {
  10757. resolve(res.data === undefined ? null : res.data);
  10758. } else if (res.data.code === 403) {
  10759. uni.showToast({
  10760. title: res.data.msg ? res.data.msg : 'Token超时,请重新登录',
  10761. icon: 'none'
  10762. });
  10763. if (uni.getStorageSync('token')) {
  10764. uni.removeStorage({
  10765. key: 'token',
  10766. success: function success() {
  10767. uni.navigateTo({
  10768. url: '/pages/login/login'
  10769. });
  10770. }
  10771. });
  10772. } else {
  10773. uni.navigateTo({
  10774. url: '/pages/login/login'
  10775. });
  10776. }
  10777. } else {
  10778. uni.showToast({
  10779. title: res.data.msg ? res.data.msg : '系统异常',
  10780. icon: 'none'
  10781. });
  10782. }
  10783. },
  10784. fail: function fail() {
  10785. uni.showToast({
  10786. title: '网络异常',
  10787. icon: 'none'
  10788. });
  10789. }
  10790. });
  10791. });
  10792. }
  10793. };
  10794. exports.default = _default;
  10795. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10796. /***/ }),
  10797. /***/ 358:
  10798. /*!***********************************************************************************!*\
  10799. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
  10800. \***********************************************************************************/
  10801. /*! no static exports found */
  10802. /***/ (function(module, exports, __webpack_require__) {
  10803. /* WEBPACK VAR INJECTION */(function(uni) {/**
  10804. * html 解析器
  10805. * @tutorial https://github.com/jin-yufeng/Parser
  10806. * @version 20201029
  10807. * @author JinYufeng
  10808. * @listens MIT
  10809. */
  10810. var cfg = __webpack_require__(/*! ./config.js */ 359),
  10811. blankChar = cfg.blankChar,
  10812. CssHandler = __webpack_require__(/*! ./CssHandler.js */ 360),
  10813. windowWidth = uni.getSystemInfoSync().windowWidth;
  10814. var emoji;
  10815. function MpHtmlParser(data) {
  10816. var _this = this;
  10817. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10818. this.attrs = {};
  10819. this.CssHandler = new CssHandler(options.tagStyle, windowWidth);
  10820. this.data = data;
  10821. this.domain = options.domain;
  10822. this.DOM = [];
  10823. this.i = this.start = this.audioNum = this.imgNum = this.videoNum = 0;
  10824. options.prot = (this.domain || '').includes('://') ? this.domain.split('://')[0] : 'http';
  10825. this.options = options;
  10826. this.state = this.Text;
  10827. this.STACK = [];
  10828. // 工具函数
  10829. this.bubble = function () {
  10830. for (var i = _this.STACK.length, item; item = _this.STACK[--i];) {
  10831. if (cfg.richOnlyTags[item.name]) return false;
  10832. item.c = 1;
  10833. }
  10834. return true;
  10835. };
  10836. this.decode = function (val, amp) {
  10837. var i = -1,
  10838. j,
  10839. en;
  10840. while (1) {
  10841. if ((i = val.indexOf('&', i + 1)) == -1) break;
  10842. if ((j = val.indexOf(';', i + 2)) == -1) break;
  10843. if (val[i + 1] == '#') {
  10844. en = parseInt((val[i + 2] == 'x' ? '0' : '') + val.substring(i + 2, j));
  10845. if (!isNaN(en)) val = val.substr(0, i) + String.fromCharCode(en) + val.substr(j + 1);
  10846. } else {
  10847. en = val.substring(i + 1, j);
  10848. if (cfg.entities[en] || en == amp) val = val.substr(0, i) + (cfg.entities[en] || '&') + val.substr(j + 1);
  10849. }
  10850. }
  10851. return val;
  10852. };
  10853. this.getUrl = function (url) {
  10854. if (url[0] == '/') {
  10855. if (url[1] == '/') url = _this.options.prot + ':' + url;else if (_this.domain) url = _this.domain + url;
  10856. } else if (_this.domain && url.indexOf('data:') != 0 && !url.includes('://')) url = _this.domain + '/' + url;
  10857. return url;
  10858. };
  10859. this.isClose = function () {
  10860. return _this.data[_this.i] == '>' || _this.data[_this.i] == '/' && _this.data[_this.i + 1] == '>';
  10861. };
  10862. this.section = function () {
  10863. return _this.data.substring(_this.start, _this.i);
  10864. };
  10865. this.parent = function () {
  10866. return _this.STACK[_this.STACK.length - 1];
  10867. };
  10868. this.siblings = function () {
  10869. return _this.STACK.length ? _this.parent().children : _this.DOM;
  10870. };
  10871. }
  10872. MpHtmlParser.prototype.parse = function () {
  10873. if (emoji) this.data = emoji.parseEmoji(this.data);
  10874. for (var c; c = this.data[this.i]; this.i++) {
  10875. this.state(c);
  10876. }
  10877. if (this.state == this.Text) this.setText();
  10878. while (this.STACK.length) {
  10879. this.popNode(this.STACK.pop());
  10880. }
  10881. return this.DOM;
  10882. };
  10883. // 设置属性
  10884. MpHtmlParser.prototype.setAttr = function () {
  10885. var name = this.attrName.toLowerCase(),
  10886. val = this.attrVal;
  10887. if (cfg.boolAttrs[name]) this.attrs[name] = 'T';else if (val) {
  10888. if (name == 'src' || name == 'data-src' && !this.attrs.src) this.attrs.src = this.getUrl(this.decode(val, 'amp'));else if (name == 'href' || name == 'style') this.attrs[name] = this.decode(val, 'amp');else if (name.substr(0, 5) != 'data-') this.attrs[name] = val;
  10889. }
  10890. this.attrVal = '';
  10891. while (blankChar[this.data[this.i]]) {
  10892. this.i++;
  10893. }
  10894. if (this.isClose()) this.setNode();else {
  10895. this.start = this.i;
  10896. this.state = this.AttrName;
  10897. }
  10898. };
  10899. // 设置文本节点
  10900. MpHtmlParser.prototype.setText = function () {
  10901. var back,
  10902. text = this.section();
  10903. if (!text) return;
  10904. text = cfg.onText && cfg.onText(text, function () {
  10905. return back = true;
  10906. }) || text;
  10907. if (back) {
  10908. this.data = this.data.substr(0, this.start) + text + this.data.substr(this.i);
  10909. var j = this.start + text.length;
  10910. for (this.i = this.start; this.i < j; this.i++) {
  10911. this.state(this.data[this.i]);
  10912. }
  10913. return;
  10914. }
  10915. if (!this.pre) {
  10916. // 合并空白符
  10917. var flag,
  10918. tmp = [];
  10919. for (var i = text.length, c; c = text[--i];) {
  10920. if (!blankChar[c]) {
  10921. tmp.unshift(c);
  10922. if (!flag) flag = 1;
  10923. } else {
  10924. if (tmp[0] != ' ') tmp.unshift(' ');
  10925. if (c == '\n' && flag == void 0) flag = 0;
  10926. }
  10927. }
  10928. if (flag == 0) return;
  10929. text = tmp.join('');
  10930. }
  10931. this.siblings().push({
  10932. type: 'text',
  10933. text: this.decode(text)
  10934. });
  10935. };
  10936. // 设置元素节点
  10937. MpHtmlParser.prototype.setNode = function () {
  10938. var node = {
  10939. name: this.tagName.toLowerCase(),
  10940. attrs: this.attrs
  10941. },
  10942. close = cfg.selfClosingTags[node.name];
  10943. if (this.options.nodes.length) node.type = 'node';
  10944. this.attrs = {};
  10945. if (!cfg.ignoreTags[node.name]) {
  10946. // 处理属性
  10947. var attrs = node.attrs,
  10948. style = this.CssHandler.match(node.name, attrs, node) + (attrs.style || ''),
  10949. styleObj = {};
  10950. if (attrs.id) {
  10951. if (this.options.compress & 1) attrs.id = void 0;else if (this.options.useAnchor) this.bubble();
  10952. }
  10953. if (this.options.compress & 2 && attrs.class) attrs.class = void 0;
  10954. switch (node.name) {
  10955. case 'a':
  10956. case 'ad':
  10957. this.bubble();
  10958. break;
  10959. case 'font':
  10960. if (attrs.color) {
  10961. styleObj['color'] = attrs.color;
  10962. attrs.color = void 0;
  10963. }
  10964. if (attrs.face) {
  10965. styleObj['font-family'] = attrs.face;
  10966. attrs.face = void 0;
  10967. }
  10968. if (attrs.size) {
  10969. var size = parseInt(attrs.size);
  10970. if (size < 1) size = 1;else if (size > 7) size = 7;
  10971. var map = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'];
  10972. styleObj['font-size'] = map[size - 1];
  10973. attrs.size = void 0;
  10974. }
  10975. break;
  10976. case 'embed':
  10977. var src = node.attrs.src || '',
  10978. type = node.attrs.type || '';
  10979. if (type.includes('video') || src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8')) node.name = 'video';else if (type.includes('audio') || src.includes('.m4a') || src.includes('.wav') || src.includes('.mp3') || src.includes('.aac')) node.name = 'audio';else break;
  10980. if (node.attrs.autostart) node.attrs.autoplay = 'T';
  10981. node.attrs.controls = 'T';
  10982. case 'video':
  10983. case 'audio':
  10984. if (!attrs.id) attrs.id = node.name + ++this["".concat(node.name, "Num")];else this["".concat(node.name, "Num")]++;
  10985. if (node.name == 'video') {
  10986. if (this.videoNum > 3) node.lazyLoad = 1;
  10987. if (attrs.width) {
  10988. styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px');
  10989. attrs.width = void 0;
  10990. }
  10991. if (attrs.height) {
  10992. styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px');
  10993. attrs.height = void 0;
  10994. }
  10995. }
  10996. if (!attrs.controls && !attrs.autoplay) attrs.controls = 'T';
  10997. attrs.source = [];
  10998. if (attrs.src) {
  10999. attrs.source.push(attrs.src);
  11000. attrs.src = void 0;
  11001. }
  11002. this.bubble();
  11003. break;
  11004. case 'td':
  11005. case 'th':
  11006. if (attrs.colspan || attrs.rowspan) for (var k = this.STACK.length, item; item = this.STACK[--k];) {
  11007. if (item.name == 'table') {
  11008. item.flag = 1;
  11009. break;
  11010. }
  11011. }
  11012. }
  11013. if (attrs.align) {
  11014. if (node.name == 'table') {
  11015. if (attrs.align == 'center') styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';else styleObj['float'] = attrs.align;
  11016. } else styleObj['text-align'] = attrs.align;
  11017. attrs.align = void 0;
  11018. }
  11019. // 压缩 style
  11020. var styles = style.split(';');
  11021. style = '';
  11022. for (var i = 0, len = styles.length; i < len; i++) {
  11023. var info = styles[i].split(':');
  11024. if (info.length < 2) continue;
  11025. var _key = info[0].trim().toLowerCase(),
  11026. _value = info.slice(1).join(':').trim();
  11027. if (_value[0] == '-' || _value.includes('safe')) style += ";".concat(_key, ":").concat(_value);else if (!styleObj[_key] || _value.includes('import') || !styleObj[_key].includes('import')) styleObj[_key] = _value;
  11028. }
  11029. if (node.name == 'img') {
  11030. if (attrs.src && !attrs.ignore) {
  11031. if (this.bubble()) attrs.i = (this.imgNum++).toString();else attrs.ignore = 'T';
  11032. }
  11033. if (attrs.ignore) {
  11034. style += ';-webkit-touch-callout:none';
  11035. styleObj['max-width'] = '100%';
  11036. }
  11037. var width;
  11038. if (styleObj.width) width = styleObj.width;else if (attrs.width) width = attrs.width.includes('%') ? attrs.width : parseFloat(attrs.width) + 'px';
  11039. if (width) {
  11040. styleObj.width = width;
  11041. attrs.width = '100%';
  11042. if (parseInt(width) > windowWidth) {
  11043. styleObj.height = '';
  11044. if (attrs.height) attrs.height = void 0;
  11045. }
  11046. }
  11047. if (styleObj.height) {
  11048. attrs.height = styleObj.height;
  11049. styleObj.height = '';
  11050. } else if (attrs.height && !attrs.height.includes('%')) attrs.height = parseFloat(attrs.height) + 'px';
  11051. }
  11052. for (var key in styleObj) {
  11053. var value = styleObj[key];
  11054. if (!value) continue;
  11055. if (key.includes('flex') || key == 'order' || key == 'self-align') node.c = 1;
  11056. // 填充链接
  11057. if (value.includes('url')) {
  11058. var j = value.indexOf('(');
  11059. if (j++ != -1) {
  11060. while (value[j] == '"' || value[j] == "'" || blankChar[value[j]]) {
  11061. j++;
  11062. }
  11063. value = value.substr(0, j) + this.getUrl(value.substr(j));
  11064. }
  11065. }
  11066. // 转换 rpx
  11067. else if (value.includes('rpx')) value = value.replace(/[0-9.]+\s*rpx/g, function ($) {
  11068. return parseFloat($) * windowWidth / 750 + 'px';
  11069. });else if (key == 'white-space' && value.includes('pre') && !close) this.pre = node.pre = true;
  11070. style += ";".concat(key, ":").concat(value);
  11071. }
  11072. style = style.substr(1);
  11073. if (style) attrs.style = style;
  11074. if (!close) {
  11075. node.children = [];
  11076. if (node.name == 'pre' && cfg.highlight) {
  11077. this.remove(node);
  11078. this.pre = node.pre = true;
  11079. }
  11080. this.siblings().push(node);
  11081. this.STACK.push(node);
  11082. } else if (!cfg.filter || cfg.filter(node, this) != false) this.siblings().push(node);
  11083. } else {
  11084. if (!close) this.remove(node);else if (node.name == 'source') {
  11085. var parent = this.parent();
  11086. if (parent && (parent.name == 'video' || parent.name == 'audio') && node.attrs.src) parent.attrs.source.push(node.attrs.src);
  11087. } else if (node.name == 'base' && !this.domain) this.domain = node.attrs.href;
  11088. }
  11089. if (this.data[this.i] == '/') this.i++;
  11090. this.start = this.i + 1;
  11091. this.state = this.Text;
  11092. };
  11093. // 移除标签
  11094. MpHtmlParser.prototype.remove = function (node) {
  11095. var _this2 = this;
  11096. var name = node.name,
  11097. j = this.i;
  11098. // 处理 svg
  11099. var handleSvg = function handleSvg() {
  11100. var src = _this2.data.substring(j, _this2.i + 1);
  11101. node.attrs.xmlns = 'http://www.w3.org/2000/svg';
  11102. for (var key in node.attrs) {
  11103. if (key == 'viewbox') src = " viewBox=\"".concat(node.attrs.viewbox, "\"") + src;else if (key != 'style') src = " ".concat(key, "=\"").concat(node.attrs[key], "\"") + src;
  11104. }
  11105. src = '<svg' + src;
  11106. var parent = _this2.parent();
  11107. if (node.attrs.width == '100%' && parent && (parent.attrs.style || '').includes('inline')) parent.attrs.style = 'width:300px;max-width:100%;' + parent.attrs.style;
  11108. _this2.siblings().push({
  11109. name: 'img',
  11110. attrs: {
  11111. src: 'data:image/svg+xml;utf8,' + src.replace(/#/g, '%23'),
  11112. style: node.attrs.style,
  11113. ignore: 'T'
  11114. }
  11115. });
  11116. };
  11117. if (node.name == 'svg' && this.data[j] == '/') return handleSvg(this.i++);
  11118. while (1) {
  11119. if ((this.i = this.data.indexOf('</', this.i + 1)) == -1) {
  11120. if (name == 'pre' || name == 'svg') this.i = j;else this.i = this.data.length;
  11121. return;
  11122. }
  11123. this.start = this.i += 2;
  11124. while (!blankChar[this.data[this.i]] && !this.isClose()) {
  11125. this.i++;
  11126. }
  11127. if (this.section().toLowerCase() == name) {
  11128. // 代码块高亮
  11129. if (name == 'pre') {
  11130. this.data = this.data.substr(0, j + 1) + cfg.highlight(this.data.substring(j + 1, this.i - 5), node.attrs) + this.data.substr(this.i - 5);
  11131. return this.i = j;
  11132. } else if (name == 'style') this.CssHandler.getStyle(this.data.substring(j + 1, this.i - 7));else if (name == 'title') this.DOM.title = this.data.substring(j + 1, this.i - 7);
  11133. if ((this.i = this.data.indexOf('>', this.i)) == -1) this.i = this.data.length;
  11134. if (name == 'svg') handleSvg();
  11135. return;
  11136. }
  11137. }
  11138. };
  11139. // 节点出栈处理
  11140. MpHtmlParser.prototype.popNode = function (node) {
  11141. // 空白符处理
  11142. if (node.pre) {
  11143. node.pre = this.pre = void 0;
  11144. for (var i = this.STACK.length; i--;) {
  11145. if (this.STACK[i].pre) this.pre = true;
  11146. }
  11147. }
  11148. var siblings = this.siblings(),
  11149. len = siblings.length,
  11150. childs = node.children;
  11151. if (node.name == 'head' || cfg.filter && cfg.filter(node, this) == false) return siblings.pop();
  11152. var attrs = node.attrs;
  11153. // 替换一些标签名
  11154. if (cfg.blockTags[node.name]) node.name = 'div';else if (!cfg.trustTags[node.name]) node.name = 'span';
  11155. // 处理列表
  11156. if (node.c && (node.name == 'ul' || node.name == 'ol')) {
  11157. if ((node.attrs.style || '').includes('list-style:none')) {
  11158. for (var _i = 0, child; child = childs[_i++];) {
  11159. if (child.name == 'li') child.name = 'div';
  11160. }
  11161. } else if (node.name == 'ul') {
  11162. var floor = 1;
  11163. for (var _i2 = this.STACK.length; _i2--;) {
  11164. if (this.STACK[_i2].name == 'ul') floor++;
  11165. }
  11166. if (floor != 1) for (var _i3 = childs.length; _i3--;) {
  11167. childs[_i3].floor = floor;
  11168. }
  11169. } else {
  11170. for (var _i4 = 0, num = 1, _child; _child = childs[_i4++];) {
  11171. if (_child.name == 'li') {
  11172. _child.type = 'ol';
  11173. _child.num = function (num, type) {
  11174. if (type == 'a') return String.fromCharCode(97 + (num - 1) % 26);
  11175. if (type == 'A') return String.fromCharCode(65 + (num - 1) % 26);
  11176. if (type == 'i' || type == 'I') {
  11177. num = (num - 1) % 99 + 1;
  11178. var one = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX'],
  11179. ten = ['X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC'],
  11180. res = (ten[Math.floor(num / 10) - 1] || '') + (one[num % 10 - 1] || '');
  11181. if (type == 'i') return res.toLowerCase();
  11182. return res;
  11183. }
  11184. return num;
  11185. }(num++, attrs.type) + '.';
  11186. }
  11187. }
  11188. }
  11189. }
  11190. // 处理表格
  11191. if (node.name == 'table') {
  11192. var padding = parseFloat(attrs.cellpadding),
  11193. spacing = parseFloat(attrs.cellspacing),
  11194. border = parseFloat(attrs.border);
  11195. if (node.c) {
  11196. if (isNaN(padding)) padding = 2;
  11197. if (isNaN(spacing)) spacing = 2;
  11198. }
  11199. if (border) attrs.style = "border:".concat(border, "px solid gray;").concat(attrs.style || '');
  11200. if (node.flag && node.c) {
  11201. // 有 colspan 或 rowspan 且含有链接的表格转为 grid 布局实现
  11202. attrs.style = "".concat(attrs.style || '', ";").concat(spacing ? ";grid-gap:".concat(spacing, "px") : ';border-left:0;border-top:0');
  11203. var row = 1,
  11204. col = 1,
  11205. colNum,
  11206. trs = [],
  11207. children = [],
  11208. map = {};
  11209. (function f(ns) {
  11210. for (var i = 0; i < ns.length; i++) {
  11211. if (ns[i].name == 'tr') trs.push(ns[i]);else f(ns[i].children || []);
  11212. }
  11213. })(node.children);
  11214. for (var _i5 = 0; _i5 < trs.length; _i5++) {
  11215. for (var j = 0, td; td = trs[_i5].children[j]; j++) {
  11216. if (td.name == 'td' || td.name == 'th') {
  11217. while (map[row + '.' + col]) {
  11218. col++;
  11219. }
  11220. var cell = {
  11221. name: 'div',
  11222. c: 1,
  11223. attrs: {
  11224. style: (td.attrs.style || '') + (border ? ";border:".concat(border, "px solid gray") + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ";padding:".concat(padding, "px") : '')
  11225. },
  11226. children: td.children
  11227. };
  11228. if (td.attrs.colspan) {
  11229. cell.attrs.style += ';grid-column-start:' + col + ';grid-column-end:' + (col + parseInt(td.attrs.colspan));
  11230. if (!td.attrs.rowspan) cell.attrs.style += ';grid-row-start:' + row + ';grid-row-end:' + (row + 1);
  11231. col += parseInt(td.attrs.colspan) - 1;
  11232. }
  11233. if (td.attrs.rowspan) {
  11234. cell.attrs.style += ';grid-row-start:' + row + ';grid-row-end:' + (row + parseInt(td.attrs.rowspan));
  11235. if (!td.attrs.colspan) cell.attrs.style += ';grid-column-start:' + col + ';grid-column-end:' + (col + 1);
  11236. for (var k = 1; k < td.attrs.rowspan; k++) {
  11237. map[row + k + '.' + col] = 1;
  11238. }
  11239. }
  11240. children.push(cell);
  11241. col++;
  11242. }
  11243. }
  11244. if (!colNum) {
  11245. colNum = col - 1;
  11246. attrs.style += ";grid-template-columns:repeat(".concat(colNum, ",auto)");
  11247. }
  11248. col = 1;
  11249. row++;
  11250. }
  11251. node.children = children;
  11252. } else {
  11253. attrs.style = "border-spacing:".concat(spacing, "px;").concat(attrs.style || '');
  11254. if (border || padding) (function f(ns) {
  11255. for (var i = 0, n; n = ns[i]; i++) {
  11256. if (n.name == 'th' || n.name == 'td') {
  11257. if (border) n.attrs.style = "border:".concat(border, "px solid gray;").concat(n.attrs.style || '');
  11258. if (padding) n.attrs.style = "padding:".concat(padding, "px;").concat(n.attrs.style || '');
  11259. } else f(n.children || []);
  11260. }
  11261. })(childs);
  11262. }
  11263. if (this.options.autoscroll) {
  11264. var table = Object.assign({}, node);
  11265. node.name = 'div';
  11266. node.attrs = {
  11267. style: 'overflow:scroll'
  11268. };
  11269. node.children = [table];
  11270. }
  11271. }
  11272. this.CssHandler.pop && this.CssHandler.pop(node);
  11273. // 自动压缩
  11274. if (node.name == 'div' && !Object.keys(attrs).length && childs.length == 1 && childs[0].name == 'div') siblings[len - 1] = childs[0];
  11275. };
  11276. // 状态机
  11277. MpHtmlParser.prototype.Text = function (c) {
  11278. if (c == '<') {
  11279. var next = this.data[this.i + 1],
  11280. isLetter = function isLetter(c) {
  11281. return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
  11282. };
  11283. if (isLetter(next)) {
  11284. this.setText();
  11285. this.start = this.i + 1;
  11286. this.state = this.TagName;
  11287. } else if (next == '/') {
  11288. this.setText();
  11289. if (isLetter(this.data[++this.i + 1])) {
  11290. this.start = this.i + 1;
  11291. this.state = this.EndTag;
  11292. } else this.Comment();
  11293. } else if (next == '!' || next == '?') {
  11294. this.setText();
  11295. this.Comment();
  11296. }
  11297. }
  11298. };
  11299. MpHtmlParser.prototype.Comment = function () {
  11300. var key;
  11301. if (this.data.substring(this.i + 2, this.i + 4) == '--') key = '-->';else if (this.data.substring(this.i + 2, this.i + 9) == '[CDATA[') key = ']]>';else key = '>';
  11302. if ((this.i = this.data.indexOf(key, this.i + 2)) == -1) this.i = this.data.length;else this.i += key.length - 1;
  11303. this.start = this.i + 1;
  11304. this.state = this.Text;
  11305. };
  11306. MpHtmlParser.prototype.TagName = function (c) {
  11307. if (blankChar[c]) {
  11308. this.tagName = this.section();
  11309. while (blankChar[this.data[this.i]]) {
  11310. this.i++;
  11311. }
  11312. if (this.isClose()) this.setNode();else {
  11313. this.start = this.i;
  11314. this.state = this.AttrName;
  11315. }
  11316. } else if (this.isClose()) {
  11317. this.tagName = this.section();
  11318. this.setNode();
  11319. }
  11320. };
  11321. MpHtmlParser.prototype.AttrName = function (c) {
  11322. if (c == '=' || blankChar[c] || this.isClose()) {
  11323. this.attrName = this.section();
  11324. if (blankChar[c]) while (blankChar[this.data[++this.i]]) {
  11325. ;
  11326. }
  11327. if (this.data[this.i] == '=') {
  11328. while (blankChar[this.data[++this.i]]) {
  11329. ;
  11330. }
  11331. this.start = this.i--;
  11332. this.state = this.AttrValue;
  11333. } else this.setAttr();
  11334. }
  11335. };
  11336. MpHtmlParser.prototype.AttrValue = function (c) {
  11337. if (c == '"' || c == "'") {
  11338. this.start++;
  11339. if ((this.i = this.data.indexOf(c, this.i + 1)) == -1) return this.i = this.data.length;
  11340. this.attrVal = this.section();
  11341. this.i++;
  11342. } else {
  11343. for (; !blankChar[this.data[this.i]] && !this.isClose(); this.i++) {
  11344. ;
  11345. }
  11346. this.attrVal = this.section();
  11347. }
  11348. this.setAttr();
  11349. };
  11350. MpHtmlParser.prototype.EndTag = function (c) {
  11351. if (blankChar[c] || c == '>' || c == '/') {
  11352. var name = this.section().toLowerCase();
  11353. for (var i = this.STACK.length; i--;) {
  11354. if (this.STACK[i].name == name) break;
  11355. }
  11356. if (i != -1) {
  11357. var node;
  11358. while ((node = this.STACK.pop()).name != name) {
  11359. this.popNode(node);
  11360. }
  11361. this.popNode(node);
  11362. } else if (name == 'p' || name == 'br') this.siblings().push({
  11363. name: name,
  11364. attrs: {}
  11365. });
  11366. this.i = this.data.indexOf('>', this.i);
  11367. this.start = this.i + 1;
  11368. if (this.i == -1) this.i = this.data.length;else this.state = this.Text;
  11369. }
  11370. };
  11371. module.exports = MpHtmlParser;
  11372. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  11373. /***/ }),
  11374. /***/ 359:
  11375. /*!*****************************************************************************!*\
  11376. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/components/u-parse/libs/config.js ***!
  11377. \*****************************************************************************/
  11378. /*! no static exports found */
  11379. /***/ (function(module, exports, __webpack_require__) {
  11380. /* WEBPACK VAR INJECTION */(function(wx) {/* 配置文件 */
  11381. var cfg = {
  11382. // 出错占位图
  11383. errorImg: null,
  11384. // 过滤器函数
  11385. filter: null,
  11386. // 代码高亮函数
  11387. highlight: null,
  11388. // 文本处理函数
  11389. onText: null,
  11390. // 实体编码列表
  11391. entities: {
  11392. quot: '"',
  11393. apos: "'",
  11394. semi: ';',
  11395. nbsp: '\xA0',
  11396. ensp: "\u2002",
  11397. emsp: "\u2003",
  11398. ndash: '–',
  11399. mdash: '—',
  11400. middot: '·',
  11401. lsquo: '‘',
  11402. rsquo: '’',
  11403. ldquo: '“',
  11404. rdquo: '”',
  11405. bull: '•',
  11406. hellip: '…'
  11407. },
  11408. blankChar: makeMap(' ,\xA0,\t,\r,\n,\f'),
  11409. boolAttrs: makeMap('allowfullscreen,autoplay,autostart,controls,ignore,loop,muted'),
  11410. // 块级标签,将被转为 div
  11411. blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'),
  11412. // 将被移除的标签
  11413. ignoreTags: makeMap('area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr'),
  11414. // 只能被 rich-text 显示的标签
  11415. richOnlyTags: makeMap('a,colgroup,fieldset,legend'),
  11416. // 自闭合的标签
  11417. selfClosingTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'),
  11418. // 信任的标签
  11419. 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,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'),
  11420. // 默认的标签样式
  11421. userAgentStyles: {
  11422. address: 'font-style:italic',
  11423. big: 'display:inline;font-size:1.2em',
  11424. blockquote: 'background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px',
  11425. caption: 'display:table-caption;text-align:center',
  11426. center: 'text-align:center',
  11427. cite: 'font-style:italic',
  11428. dd: 'margin-left:40px',
  11429. mark: 'background-color:yellow',
  11430. pre: 'font-family:monospace;white-space:pre;overflow:scroll',
  11431. s: 'text-decoration:line-through',
  11432. small: 'display:inline;font-size:0.8em',
  11433. u: 'text-decoration:underline'
  11434. }
  11435. };
  11436. function makeMap(str) {
  11437. var map = Object.create(null),
  11438. list = str.split(',');
  11439. for (var i = list.length; i--;) {
  11440. map[list[i]] = true;
  11441. }
  11442. return map;
  11443. }
  11444. if (wx.canIUse('editor')) {
  11445. cfg.blockTags.pre = void 0;
  11446. cfg.ignoreTags.rp = true;
  11447. Object.assign(cfg.richOnlyTags, makeMap('bdi,bdo,caption,rt,ruby'));
  11448. Object.assign(cfg.trustTags, makeMap('bdi,bdo,caption,pre,rt,ruby'));
  11449. }
  11450. module.exports = cfg;
  11451. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  11452. /***/ }),
  11453. /***/ 36:
  11454. /*!*************************************************!*\
  11455. !*** E:/Desktop/zd_wechatApp(1)/common/http.js ***!
  11456. \*************************************************/
  11457. /*! no static exports found */
  11458. /***/ (function(module, exports, __webpack_require__) {
  11459. "use strict";
  11460. Object.defineProperty(exports, "__esModule", {
  11461. value: true
  11462. });
  11463. exports.default = void 0;
  11464. // 配置信息
  11465. var _default = {
  11466. // webUrl: 'http://127.0.0.1:8080',
  11467. webUrl: 'https://www.cczdsz.cn/prod-api/'
  11468. // webUrl: 'http://124.221.101.24:8082',
  11469. // webUrl: 'http://192.168.4.11:8080',
  11470. };
  11471. exports.default = _default;
  11472. /***/ }),
  11473. /***/ 360:
  11474. /*!*********************************************************************************!*\
  11475. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/components/u-parse/libs/CssHandler.js ***!
  11476. \*********************************************************************************/
  11477. /*! no static exports found */
  11478. /***/ (function(module, exports, __webpack_require__) {
  11479. var cfg = __webpack_require__(/*! ./config.js */ 359),
  11480. isLetter = function isLetter(c) {
  11481. return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
  11482. };
  11483. function CssHandler(tagStyle) {
  11484. var styles = Object.assign(Object.create(null), cfg.userAgentStyles);
  11485. for (var item in tagStyle) {
  11486. styles[item] = (styles[item] ? styles[item] + ';' : '') + tagStyle[item];
  11487. }
  11488. this.styles = styles;
  11489. }
  11490. CssHandler.prototype.getStyle = function (data) {
  11491. this.styles = new parser(data, this.styles).parse();
  11492. };
  11493. CssHandler.prototype.match = function (name, attrs) {
  11494. var tmp,
  11495. matched = (tmp = this.styles[name]) ? tmp + ';' : '';
  11496. if (attrs.class) {
  11497. var items = attrs.class.split(' ');
  11498. for (var i = 0, item; item = items[i]; i++) {
  11499. if (tmp = this.styles['.' + item]) matched += tmp + ';';
  11500. }
  11501. }
  11502. if (tmp = this.styles['#' + attrs.id]) matched += tmp + ';';
  11503. return matched;
  11504. };
  11505. module.exports = CssHandler;
  11506. function parser(data, init) {
  11507. this.data = data;
  11508. this.floor = 0;
  11509. this.i = 0;
  11510. this.list = [];
  11511. this.res = init;
  11512. this.state = this.Space;
  11513. }
  11514. parser.prototype.parse = function () {
  11515. for (var c; c = this.data[this.i]; this.i++) {
  11516. this.state(c);
  11517. }
  11518. return this.res;
  11519. };
  11520. parser.prototype.section = function () {
  11521. return this.data.substring(this.start, this.i);
  11522. };
  11523. // 状态机
  11524. parser.prototype.Space = function (c) {
  11525. if (c == '.' || c == '#' || isLetter(c)) {
  11526. this.start = this.i;
  11527. this.state = this.Name;
  11528. } else if (c == '/' && this.data[this.i + 1] == '*') this.Comment();else if (!cfg.blankChar[c] && c != ';') this.state = this.Ignore;
  11529. };
  11530. parser.prototype.Comment = function () {
  11531. this.i = this.data.indexOf('*/', this.i) + 1;
  11532. if (!this.i) this.i = this.data.length;
  11533. this.state = this.Space;
  11534. };
  11535. parser.prototype.Ignore = function (c) {
  11536. if (c == '{') this.floor++;else if (c == '}' && ! --this.floor) {
  11537. this.list = [];
  11538. this.state = this.Space;
  11539. }
  11540. };
  11541. parser.prototype.Name = function (c) {
  11542. if (cfg.blankChar[c]) {
  11543. this.list.push(this.section());
  11544. this.state = this.NameSpace;
  11545. } else if (c == '{') {
  11546. this.list.push(this.section());
  11547. this.Content();
  11548. } else if (c == ',') {
  11549. this.list.push(this.section());
  11550. this.Comma();
  11551. } else if (!isLetter(c) && (c < '0' || c > '9') && c != '-' && c != '_') this.state = this.Ignore;
  11552. };
  11553. parser.prototype.NameSpace = function (c) {
  11554. if (c == '{') this.Content();else if (c == ',') this.Comma();else if (!cfg.blankChar[c]) this.state = this.Ignore;
  11555. };
  11556. parser.prototype.Comma = function () {
  11557. while (cfg.blankChar[this.data[++this.i]]) {
  11558. ;
  11559. }
  11560. if (this.data[this.i] == '{') this.Content();else {
  11561. this.start = this.i--;
  11562. this.state = this.Name;
  11563. }
  11564. };
  11565. parser.prototype.Content = function () {
  11566. this.start = ++this.i;
  11567. if ((this.i = this.data.indexOf('}', this.i)) == -1) this.i = this.data.length;
  11568. var content = this.section();
  11569. for (var i = 0, item; item = this.list[i++];) {
  11570. if (this.res[item]) this.res[item] += ';' + content;else this.res[item] = content;
  11571. }
  11572. this.list = [];
  11573. this.state = this.Space;
  11574. };
  11575. /***/ }),
  11576. /***/ 368:
  11577. /*!***************************************************************!*\
  11578. !*** E:/Desktop/zd_wechatApp(1)/components/mp-html/parser.js ***!
  11579. \***************************************************************/
  11580. /*! no static exports found */
  11581. /***/ (function(module, exports, __webpack_require__) {
  11582. "use strict";
  11583. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  11584. Object.defineProperty(exports, "__esModule", {
  11585. value: true
  11586. });
  11587. exports.default = void 0;
  11588. /**
  11589. * @fileoverview html 解析器
  11590. */
  11591. // 配置
  11592. var config = {
  11593. // 信任的标签(保持标签名不变)
  11594. 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'),
  11595. // 块级标签(转为 div,其他的非信任标签转为 span)
  11596. blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'),
  11597. // 要移除的标签
  11598. ignoreTags: makeMap('area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr'),
  11599. // 自闭合的标签
  11600. voidTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'),
  11601. // html 实体
  11602. entities: {
  11603. lt: '<',
  11604. gt: '>',
  11605. quot: '"',
  11606. apos: "'",
  11607. ensp: "\u2002",
  11608. emsp: "\u2003",
  11609. nbsp: '\xA0',
  11610. semi: ';',
  11611. ndash: '–',
  11612. mdash: '—',
  11613. middot: '·',
  11614. lsquo: '‘',
  11615. rsquo: '’',
  11616. ldquo: '“',
  11617. rdquo: '”',
  11618. bull: '•',
  11619. hellip: '…',
  11620. larr: '←',
  11621. uarr: '↑',
  11622. rarr: '→',
  11623. darr: '↓'
  11624. },
  11625. // 默认的标签样式
  11626. tagStyle: {
  11627. address: 'font-style:italic',
  11628. big: 'display:inline;font-size:1.2em',
  11629. caption: 'display:table-caption;text-align:center',
  11630. center: 'text-align:center',
  11631. cite: 'font-style:italic',
  11632. dd: 'margin-left:40px',
  11633. mark: 'background-color:yellow',
  11634. pre: 'font-family:monospace;white-space:pre',
  11635. s: 'text-decoration:line-through',
  11636. small: 'display:inline;font-size:0.8em',
  11637. strike: 'text-decoration:line-through',
  11638. u: 'text-decoration:underline'
  11639. },
  11640. // svg 大小写对照表
  11641. svgDict: {
  11642. animatetransform: 'animateTransform',
  11643. lineargradient: 'linearGradient',
  11644. viewbox: 'viewBox',
  11645. attributename: 'attributeName',
  11646. repeatcount: 'repeatCount',
  11647. repeatdur: 'repeatDur'
  11648. }
  11649. };
  11650. var tagSelector = {};
  11651. var _uni$getSystemInfoSyn = uni.getSystemInfoSync(),
  11652. windowWidth = _uni$getSystemInfoSyn.windowWidth,
  11653. system = _uni$getSystemInfoSyn.system;
  11654. var blankChar = makeMap(' ,\r,\n,\t,\f');
  11655. var idIndex = 0;
  11656. /**
  11657. * @description 创建 map
  11658. * @param {String} str 逗号分隔
  11659. */
  11660. function makeMap(str) {
  11661. var map = Object.create(null);
  11662. var list = str.split(',');
  11663. for (var i = list.length; i--;) {
  11664. map[list[i]] = true;
  11665. }
  11666. return map;
  11667. }
  11668. /**
  11669. * @description 解码 html 实体
  11670. * @param {String} str 要解码的字符串
  11671. * @param {Boolean} amp 要不要解码 &amp;
  11672. * @returns {String} 解码后的字符串
  11673. */
  11674. function decodeEntity(str, amp) {
  11675. var i = str.indexOf('&');
  11676. while (i !== -1) {
  11677. var j = str.indexOf(';', i + 3);
  11678. var code = void 0;
  11679. if (j === -1) break;
  11680. if (str[i + 1] === '#') {
  11681. // &#123; 形式的实体
  11682. code = parseInt((str[i + 2] === 'x' ? '0' : '') + str.substring(i + 2, j));
  11683. if (!isNaN(code)) {
  11684. str = str.substr(0, i) + String.fromCharCode(code) + str.substr(j + 1);
  11685. }
  11686. } else {
  11687. // &nbsp; 形式的实体
  11688. code = str.substring(i + 1, j);
  11689. if (config.entities[code] || code === 'amp' && amp) {
  11690. str = str.substr(0, i) + (config.entities[code] || '&') + str.substr(j + 1);
  11691. }
  11692. }
  11693. i = str.indexOf('&', i + 1);
  11694. }
  11695. return str;
  11696. }
  11697. /**
  11698. * @description 合并多个块级标签,加快长内容渲染
  11699. * @param {Array} nodes 要合并的标签数组
  11700. */
  11701. function mergeNodes(nodes) {
  11702. var i = nodes.length - 1;
  11703. for (var j = i; j >= -1; j--) {
  11704. if (j === -1 || nodes[j].c || !nodes[j].name || nodes[j].name !== 'div' && nodes[j].name !== 'p' && nodes[j].name[0] !== 'h' || (nodes[j].attrs.style || '').includes('inline')) {
  11705. if (i - j >= 5) {
  11706. nodes.splice(j + 1, i - j, {
  11707. name: 'div',
  11708. attrs: {},
  11709. children: nodes.slice(j + 1, i + 1)
  11710. });
  11711. }
  11712. i = j - 1;
  11713. }
  11714. }
  11715. }
  11716. /**
  11717. * @description html 解析器
  11718. * @param {Object} vm 组件实例
  11719. */
  11720. function Parser(vm) {
  11721. this.options = vm || {};
  11722. this.tagStyle = Object.assign({}, config.tagStyle, this.options.tagStyle);
  11723. this.imgList = vm.imgList || [];
  11724. this.imgList._unloadimgs = 0;
  11725. this.plugins = vm.plugins || [];
  11726. this.attrs = Object.create(null);
  11727. this.stack = [];
  11728. this.nodes = [];
  11729. this.pre = (this.options.containerStyle || '').includes('white-space') && this.options.containerStyle.includes('pre') ? 2 : 0;
  11730. }
  11731. /**
  11732. * @description 执行解析
  11733. * @param {String} content 要解析的文本
  11734. */
  11735. Parser.prototype.parse = function (content) {
  11736. // 插件处理
  11737. for (var i = this.plugins.length; i--;) {
  11738. if (this.plugins[i].onUpdate) {
  11739. content = this.plugins[i].onUpdate(content, config) || content;
  11740. }
  11741. }
  11742. new Lexer(this).parse(content);
  11743. // 出栈未闭合的标签
  11744. while (this.stack.length) {
  11745. this.popNode();
  11746. }
  11747. if (this.nodes.length > 50) {
  11748. mergeNodes(this.nodes);
  11749. }
  11750. return this.nodes;
  11751. };
  11752. /**
  11753. * @description 将标签暴露出来(不被 rich-text 包含)
  11754. */
  11755. Parser.prototype.expose = function () {
  11756. for (var i = this.stack.length; i--;) {
  11757. var item = this.stack[i];
  11758. if (item.c || item.name === 'a' || item.name === 'video' || item.name === 'audio') return;
  11759. item.c = 1;
  11760. }
  11761. };
  11762. /**
  11763. * @description 处理插件
  11764. * @param {Object} node 要处理的标签
  11765. * @returns {Boolean} 是否要移除此标签
  11766. */
  11767. Parser.prototype.hook = function (node) {
  11768. for (var i = this.plugins.length; i--;) {
  11769. if (this.plugins[i].onParse && this.plugins[i].onParse(node, this) === false) {
  11770. return false;
  11771. }
  11772. }
  11773. return true;
  11774. };
  11775. /**
  11776. * @description 将链接拼接上主域名
  11777. * @param {String} url 需要拼接的链接
  11778. * @returns {String} 拼接后的链接
  11779. */
  11780. Parser.prototype.getUrl = function (url) {
  11781. var domain = this.options.domain;
  11782. if (url[0] === '/') {
  11783. if (url[1] === '/') {
  11784. // // 开头的补充协议名
  11785. url = (domain ? domain.split('://')[0] : 'http') + ':' + url;
  11786. } else if (domain) {
  11787. // 否则补充整个域名
  11788. url = domain + url;
  11789. }
  11790. } else if (!url.includes('data:') && !url.includes('://')) {
  11791. if (domain) {
  11792. url = domain + '/' + url;
  11793. }
  11794. }
  11795. return url;
  11796. };
  11797. /**
  11798. * @description 解析样式表
  11799. * @param {Object} node 标签
  11800. * @returns {Object}
  11801. */
  11802. Parser.prototype.parseStyle = function (node) {
  11803. var attrs = node.attrs;
  11804. var list = (this.tagStyle[node.name] || '').split(';').concat((attrs.style || '').split(';'));
  11805. var styleObj = {};
  11806. var tmp = '';
  11807. if (attrs.id && !this.xml) {
  11808. // 暴露锚点
  11809. if (this.options.useAnchor) {
  11810. this.expose();
  11811. } else if (node.name !== 'img' && node.name !== 'a' && node.name !== 'video' && node.name !== 'audio') {
  11812. attrs.id = undefined;
  11813. }
  11814. }
  11815. // 转换 width 和 height 属性
  11816. if (attrs.width) {
  11817. styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px');
  11818. attrs.width = undefined;
  11819. }
  11820. if (attrs.height) {
  11821. styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px');
  11822. attrs.height = undefined;
  11823. }
  11824. for (var i = 0, len = list.length; i < len; i++) {
  11825. var info = list[i].split(':');
  11826. if (info.length < 2) continue;
  11827. var key = info.shift().trim().toLowerCase();
  11828. var value = info.join(':').trim();
  11829. if (value[0] === '-' && value.lastIndexOf('-') > 0 || value.includes('safe')) {
  11830. // 兼容性的 css 不压缩
  11831. tmp += ";".concat(key, ":").concat(value);
  11832. } else if (!styleObj[key] || value.includes('import') || !styleObj[key].includes('import')) {
  11833. // 重复的样式进行覆盖
  11834. if (value.includes('url')) {
  11835. // 填充链接
  11836. var j = value.indexOf('(') + 1;
  11837. if (j) {
  11838. while (value[j] === '"' || value[j] === "'" || blankChar[value[j]]) {
  11839. j++;
  11840. }
  11841. value = value.substr(0, j) + this.getUrl(value.substr(j));
  11842. }
  11843. } else if (value.includes('rpx')) {
  11844. // 转换 rpx(rich-text 内部不支持 rpx)
  11845. value = value.replace(/[0-9.]+\s*rpx/g, function ($) {
  11846. return parseFloat($) * windowWidth / 750 + 'px';
  11847. });
  11848. }
  11849. styleObj[key] = value;
  11850. }
  11851. }
  11852. node.attrs.style = tmp;
  11853. return styleObj;
  11854. };
  11855. /**
  11856. * @description 解析到标签名
  11857. * @param {String} name 标签名
  11858. * @private
  11859. */
  11860. Parser.prototype.onTagName = function (name) {
  11861. this.tagName = this.xml ? name : name.toLowerCase();
  11862. if (this.tagName === 'svg') {
  11863. this.xml = (this.xml || 0) + 1; // svg 标签内大小写敏感
  11864. config.ignoreTags.style = undefined; // svg 标签内 style 可用
  11865. }
  11866. };
  11867. /**
  11868. * @description 解析到属性名
  11869. * @param {String} name 属性名
  11870. * @private
  11871. */
  11872. Parser.prototype.onAttrName = function (name) {
  11873. name = this.xml ? name : name.toLowerCase();
  11874. if (name.substr(0, 5) === 'data-') {
  11875. if (name === 'data-src' && !this.attrs.src) {
  11876. // data-src 自动转为 src
  11877. this.attrName = 'src';
  11878. } else if (this.tagName === 'img' || this.tagName === 'a') {
  11879. // a 和 img 标签保留 data- 的属性,可以在 imgtap 和 linktap 事件中使用
  11880. this.attrName = name;
  11881. } else {
  11882. // 剩余的移除以减小大小
  11883. this.attrName = undefined;
  11884. }
  11885. } else {
  11886. this.attrName = name;
  11887. this.attrs[name] = 'T'; // boolean 型属性缺省设置
  11888. }
  11889. };
  11890. /**
  11891. * @description 解析到属性值
  11892. * @param {String} val 属性值
  11893. * @private
  11894. */
  11895. Parser.prototype.onAttrVal = function (val) {
  11896. var name = this.attrName || '';
  11897. if (name === 'style' || name === 'href') {
  11898. // 部分属性进行实体解码
  11899. this.attrs[name] = decodeEntity(val, true);
  11900. } else if (name.includes('src')) {
  11901. // 拼接主域名
  11902. this.attrs[name] = this.getUrl(decodeEntity(val, true));
  11903. } else if (name) {
  11904. this.attrs[name] = val;
  11905. }
  11906. };
  11907. /**
  11908. * @description 解析到标签开始
  11909. * @param {Boolean} selfClose 是否有自闭合标识 />
  11910. * @private
  11911. */
  11912. Parser.prototype.onOpenTag = function (selfClose) {
  11913. // 拼装 node
  11914. var node = Object.create(null);
  11915. node.name = this.tagName;
  11916. node.attrs = this.attrs;
  11917. // 避免因为自动 diff 使得 type 被设置为 null 导致部分内容不显示
  11918. if (this.options.nodes.length) {
  11919. node.type = 'node';
  11920. }
  11921. this.attrs = Object.create(null);
  11922. var attrs = node.attrs;
  11923. var parent = this.stack[this.stack.length - 1];
  11924. var siblings = parent ? parent.children : this.nodes;
  11925. var close = this.xml ? selfClose : config.voidTags[node.name];
  11926. // 替换标签名选择器
  11927. if (tagSelector[node.name]) {
  11928. attrs.class = tagSelector[node.name] + (attrs.class ? ' ' + attrs.class : '');
  11929. }
  11930. // 转换 embed 标签
  11931. if (node.name === 'embed') {
  11932. var src = attrs.src || '';
  11933. // 按照后缀名和 type 将 embed 转为 video 或 audio
  11934. if (src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8') || (attrs.type || '').includes('video')) {
  11935. node.name = 'video';
  11936. } else if (src.includes('.mp3') || src.includes('.wav') || src.includes('.aac') || src.includes('.m4a') || (attrs.type || '').includes('audio')) {
  11937. node.name = 'audio';
  11938. }
  11939. if (attrs.autostart) {
  11940. attrs.autoplay = 'T';
  11941. }
  11942. attrs.controls = 'T';
  11943. }
  11944. // 处理音视频
  11945. if (node.name === 'video' || node.name === 'audio') {
  11946. // 设置 id 以便获取 context
  11947. if (node.name === 'video' && !attrs.id) {
  11948. attrs.id = 'v' + idIndex++;
  11949. }
  11950. // 没有设置 controls 也没有设置 autoplay 的自动设置 controls
  11951. if (!attrs.controls && !attrs.autoplay) {
  11952. attrs.controls = 'T';
  11953. }
  11954. // 用数组存储所有可用的 source
  11955. node.src = [];
  11956. if (attrs.src) {
  11957. node.src.push(attrs.src);
  11958. attrs.src = undefined;
  11959. }
  11960. this.expose();
  11961. }
  11962. // 处理自闭合标签
  11963. if (close) {
  11964. if (!this.hook(node) || config.ignoreTags[node.name]) {
  11965. // 通过 base 标签设置主域名
  11966. if (node.name === 'base' && !this.options.domain) {
  11967. this.options.domain = attrs.href;
  11968. } else if (node.name === 'source' && parent && (parent.name === 'video' || parent.name === 'audio') && attrs.src) {
  11969. // 设置 source 标签(仅父节点为 video 或 audio 时有效)
  11970. parent.src.push(attrs.src);
  11971. }
  11972. return;
  11973. }
  11974. // 解析 style
  11975. var styleObj = this.parseStyle(node);
  11976. // 处理图片
  11977. if (node.name === 'img') {
  11978. if (attrs.src) {
  11979. // 标记 webp
  11980. if (attrs.src.includes('webp')) {
  11981. node.webp = 'T';
  11982. }
  11983. // data url 图片如果没有设置 original-src 默认为不可预览的小图片
  11984. if (attrs.src.includes('data:') && !attrs['original-src']) {
  11985. attrs.ignore = 'T';
  11986. }
  11987. if (!attrs.ignore || node.webp || attrs.src.includes('cloud://')) {
  11988. for (var i = this.stack.length; i--;) {
  11989. var item = this.stack[i];
  11990. if (item.name === 'a') {
  11991. node.a = item.attrs;
  11992. }
  11993. if (item.name === 'table' && !node.webp && !attrs.src.includes('cloud://')) {
  11994. if (!styleObj.display || styleObj.display.includes('inline')) {
  11995. node.t = 'inline-block';
  11996. } else {
  11997. node.t = styleObj.display;
  11998. }
  11999. styleObj.display = undefined;
  12000. }
  12001. var style = item.attrs.style || '';
  12002. if (style.includes('flex:') && !style.includes('flex:0') && !style.includes('flex: 0') && (!styleObj.width || parseInt(styleObj.width) > 100)) {
  12003. styleObj.width = '100% !important';
  12004. styleObj.height = '';
  12005. for (var j = i + 1; j < this.stack.length; j++) {
  12006. this.stack[j].attrs.style = (this.stack[j].attrs.style || '').replace('inline-', '');
  12007. }
  12008. } else if (style.includes('flex') && styleObj.width === '100%') {
  12009. for (var _j = i + 1; _j < this.stack.length; _j++) {
  12010. var _style = this.stack[_j].attrs.style || '';
  12011. if (!_style.includes(';width') && !_style.includes(' width') && _style.indexOf('width') !== 0) {
  12012. styleObj.width = '';
  12013. break;
  12014. }
  12015. }
  12016. } else if (style.includes('inline-block')) {
  12017. if (styleObj.width && styleObj.width[styleObj.width.length - 1] === '%') {
  12018. item.attrs.style += ';max-width:' + styleObj.width;
  12019. styleObj.width = '';
  12020. } else {
  12021. item.attrs.style += ';max-width:100%';
  12022. }
  12023. }
  12024. item.c = 1;
  12025. }
  12026. attrs.i = this.imgList.length.toString();
  12027. var _src = attrs['original-src'] || attrs.src;
  12028. if (this.imgList.includes(_src)) {
  12029. // 如果有重复的链接则对域名进行随机大小写变换避免预览时错位
  12030. var _i = _src.indexOf('://');
  12031. if (_i !== -1) {
  12032. _i += 3;
  12033. var newSrc = _src.substr(0, _i);
  12034. for (; _i < _src.length; _i++) {
  12035. if (_src[_i] === '/') break;
  12036. newSrc += Math.random() > 0.5 ? _src[_i].toUpperCase() : _src[_i];
  12037. }
  12038. newSrc += _src.substr(_i);
  12039. _src = newSrc;
  12040. }
  12041. }
  12042. this.imgList.push(_src);
  12043. if (!node.t) {
  12044. this.imgList._unloadimgs += 1;
  12045. }
  12046. }
  12047. }
  12048. if (styleObj.display === 'inline') {
  12049. styleObj.display = '';
  12050. }
  12051. if (attrs.ignore) {
  12052. styleObj['max-width'] = styleObj['max-width'] || '100%';
  12053. attrs.style += ';-webkit-touch-callout:none';
  12054. }
  12055. // 设置的宽度超出屏幕,为避免变形,高度转为自动
  12056. if (parseInt(styleObj.width) > windowWidth) {
  12057. styleObj.height = undefined;
  12058. }
  12059. // 记录是否设置了宽高
  12060. if (!isNaN(parseInt(styleObj.width))) {
  12061. node.w = 'T';
  12062. }
  12063. if (!isNaN(parseInt(styleObj.height)) && (!styleObj.height.includes('%') || parent && (parent.attrs.style || '').includes('height'))) {
  12064. node.h = 'T';
  12065. }
  12066. } else if (node.name === 'svg') {
  12067. siblings.push(node);
  12068. this.stack.push(node);
  12069. this.popNode();
  12070. return;
  12071. }
  12072. for (var key in styleObj) {
  12073. if (styleObj[key]) {
  12074. attrs.style += ";".concat(key, ":").concat(styleObj[key].replace(' !important', ''));
  12075. }
  12076. }
  12077. attrs.style = attrs.style.substr(1) || undefined;
  12078. } else {
  12079. if ((node.name === 'pre' || (attrs.style || '').includes('white-space') && attrs.style.includes('pre')) && this.pre !== 2) {
  12080. this.pre = node.pre = 1;
  12081. }
  12082. node.children = [];
  12083. this.stack.push(node);
  12084. }
  12085. // 加入节点树
  12086. siblings.push(node);
  12087. };
  12088. /**
  12089. * @description 解析到标签结束
  12090. * @param {String} name 标签名
  12091. * @private
  12092. */
  12093. Parser.prototype.onCloseTag = function (name) {
  12094. // 依次出栈到匹配为止
  12095. name = this.xml ? name : name.toLowerCase();
  12096. var i;
  12097. for (i = this.stack.length; i--;) {
  12098. if (this.stack[i].name === name) break;
  12099. }
  12100. if (i !== -1) {
  12101. while (this.stack.length > i) {
  12102. this.popNode();
  12103. }
  12104. } else if (name === 'p' || name === 'br') {
  12105. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  12106. siblings.push({
  12107. name: name,
  12108. attrs: {
  12109. class: tagSelector[name] || '',
  12110. style: this.tagStyle[name] || ''
  12111. }
  12112. });
  12113. }
  12114. };
  12115. /**
  12116. * @description 处理标签出栈
  12117. * @private
  12118. */
  12119. Parser.prototype.popNode = function () {
  12120. var node = this.stack.pop();
  12121. var attrs = node.attrs;
  12122. var children = node.children;
  12123. var parent = this.stack[this.stack.length - 1];
  12124. var siblings = parent ? parent.children : this.nodes;
  12125. if (!this.hook(node) || config.ignoreTags[node.name]) {
  12126. // 获取标题
  12127. if (node.name === 'title' && children.length && children[0].type === 'text' && this.options.setTitle) {
  12128. uni.setNavigationBarTitle({
  12129. title: children[0].text
  12130. });
  12131. }
  12132. siblings.pop();
  12133. return;
  12134. }
  12135. if (node.pre && this.pre !== 2) {
  12136. // 是否合并空白符标识
  12137. this.pre = node.pre = undefined;
  12138. for (var i = this.stack.length; i--;) {
  12139. if (this.stack[i].pre) {
  12140. this.pre = 1;
  12141. }
  12142. }
  12143. }
  12144. var styleObj = {};
  12145. // 转换 svg
  12146. if (node.name === 'svg') {
  12147. if (this.xml > 1) {
  12148. // 多层 svg 嵌套
  12149. this.xml--;
  12150. return;
  12151. }
  12152. var src = '';
  12153. var style = attrs.style;
  12154. attrs.style = '';
  12155. attrs.xmlns = 'http://www.w3.org/2000/svg';
  12156. (function traversal(node) {
  12157. if (node.type === 'text') {
  12158. src += node.text;
  12159. return;
  12160. }
  12161. var name = config.svgDict[node.name] || node.name;
  12162. src += '<' + name;
  12163. for (var item in node.attrs) {
  12164. var val = node.attrs[item];
  12165. if (val) {
  12166. src += " ".concat(config.svgDict[item] || item, "=\"").concat(val, "\"");
  12167. }
  12168. }
  12169. if (!node.children) {
  12170. src += '/>';
  12171. } else {
  12172. src += '>';
  12173. for (var _i2 = 0; _i2 < node.children.length; _i2++) {
  12174. traversal(node.children[_i2]);
  12175. }
  12176. src += '</' + name + '>';
  12177. }
  12178. })(node);
  12179. node.name = 'img';
  12180. node.attrs = {
  12181. src: 'data:image/svg+xml;utf8,' + src.replace(/#/g, '%23'),
  12182. style: style,
  12183. ignore: 'T'
  12184. };
  12185. node.children = undefined;
  12186. this.xml = false;
  12187. config.ignoreTags.style = true;
  12188. return;
  12189. }
  12190. // 转换 align 属性
  12191. if (attrs.align) {
  12192. if (node.name === 'table') {
  12193. if (attrs.align === 'center') {
  12194. styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';
  12195. } else {
  12196. styleObj.float = attrs.align;
  12197. }
  12198. } else {
  12199. styleObj['text-align'] = attrs.align;
  12200. }
  12201. attrs.align = undefined;
  12202. }
  12203. // 转换 dir 属性
  12204. if (attrs.dir) {
  12205. styleObj.direction = attrs.dir;
  12206. attrs.dir = undefined;
  12207. }
  12208. // 转换 font 标签的属性
  12209. if (node.name === 'font') {
  12210. if (attrs.color) {
  12211. styleObj.color = attrs.color;
  12212. attrs.color = undefined;
  12213. }
  12214. if (attrs.face) {
  12215. styleObj['font-family'] = attrs.face;
  12216. attrs.face = undefined;
  12217. }
  12218. if (attrs.size) {
  12219. var size = parseInt(attrs.size);
  12220. if (!isNaN(size)) {
  12221. if (size < 1) {
  12222. size = 1;
  12223. } else if (size > 7) {
  12224. size = 7;
  12225. }
  12226. styleObj['font-size'] = ['x-small', 'small', 'medium', 'large', 'x-large', 'xx-large', 'xxx-large'][size - 1];
  12227. }
  12228. attrs.size = undefined;
  12229. }
  12230. }
  12231. // 一些编辑器的自带 class
  12232. if ((attrs.class || '').includes('align-center')) {
  12233. styleObj['text-align'] = 'center';
  12234. }
  12235. Object.assign(styleObj, this.parseStyle(node));
  12236. if (node.name !== 'table' && parseInt(styleObj.width) > windowWidth) {
  12237. styleObj['max-width'] = '100%';
  12238. styleObj['box-sizing'] = 'border-box';
  12239. }
  12240. if (config.blockTags[node.name]) {
  12241. node.name = 'div';
  12242. } else if (!config.trustTags[node.name] && !this.xml) {
  12243. // 未知标签转为 span,避免无法显示
  12244. node.name = 'span';
  12245. }
  12246. if (node.name === 'a' || node.name === 'ad') {
  12247. this.expose();
  12248. } else if (node.name === 'video') {
  12249. if ((styleObj.height || '').includes('auto')) {
  12250. styleObj.height = undefined;
  12251. }
  12252. } else if ((node.name === 'ul' || node.name === 'ol') && node.c) {
  12253. // 列表处理
  12254. var types = {
  12255. a: 'lower-alpha',
  12256. A: 'upper-alpha',
  12257. i: 'lower-roman',
  12258. I: 'upper-roman'
  12259. };
  12260. if (types[attrs.type]) {
  12261. attrs.style += ';list-style-type:' + types[attrs.type];
  12262. attrs.type = undefined;
  12263. }
  12264. for (var _i3 = children.length; _i3--;) {
  12265. if (children[_i3].name === 'li') {
  12266. children[_i3].c = 1;
  12267. }
  12268. }
  12269. } else if (node.name === 'table') {
  12270. // 表格处理
  12271. // cellpadding、cellspacing、border 这几个常用表格属性需要通过转换实现
  12272. var padding = parseFloat(attrs.cellpadding);
  12273. var spacing = parseFloat(attrs.cellspacing);
  12274. var border = parseFloat(attrs.border);
  12275. var bordercolor = styleObj['border-color'];
  12276. var borderstyle = styleObj['border-style'];
  12277. if (node.c) {
  12278. // padding 和 spacing 默认 2
  12279. if (isNaN(padding)) {
  12280. padding = 2;
  12281. }
  12282. if (isNaN(spacing)) {
  12283. spacing = 2;
  12284. }
  12285. }
  12286. if (border) {
  12287. attrs.style += ";border:".concat(border, "px ").concat(borderstyle || 'solid', " ").concat(bordercolor || 'gray');
  12288. }
  12289. if (node.flag && node.c) {
  12290. // 有 colspan 或 rowspan 且含有链接的表格通过 grid 布局实现
  12291. styleObj.display = 'grid';
  12292. if (spacing) {
  12293. styleObj['grid-gap'] = spacing + 'px';
  12294. styleObj.padding = spacing + 'px';
  12295. } else if (border) {
  12296. // 无间隔的情况下避免边框重叠
  12297. attrs.style += ';border-left:0;border-top:0';
  12298. }
  12299. var width = []; // 表格的列宽
  12300. var trList = []; // tr 列表
  12301. var cells = []; // 保存新的单元格
  12302. var map = {}; // 被合并单元格占用的格子
  12303. (function traversal(nodes) {
  12304. for (var _i4 = 0; _i4 < nodes.length; _i4++) {
  12305. if (nodes[_i4].name === 'tr') {
  12306. trList.push(nodes[_i4]);
  12307. } else {
  12308. traversal(nodes[_i4].children || []);
  12309. }
  12310. }
  12311. })(children);
  12312. for (var row = 1; row <= trList.length; row++) {
  12313. var col = 1;
  12314. for (var j = 0; j < trList[row - 1].children.length; j++) {
  12315. var td = trList[row - 1].children[j];
  12316. if (td.name === 'td' || td.name === 'th') {
  12317. // 这个格子被上面的单元格占用,则列号++
  12318. while (map[row + '.' + col]) {
  12319. col++;
  12320. }
  12321. var _style2 = td.attrs.style || '';
  12322. var start = _style2.indexOf('width') ? _style2.indexOf(';width') : 0;
  12323. // 提取出 td 的宽度
  12324. if (start !== -1) {
  12325. var end = _style2.indexOf(';', start + 6);
  12326. if (end === -1) {
  12327. end = _style2.length;
  12328. }
  12329. if (!td.attrs.colspan) {
  12330. width[col] = _style2.substring(start ? start + 7 : 6, end);
  12331. }
  12332. _style2 = _style2.substr(0, start) + _style2.substr(end);
  12333. }
  12334. // 设置竖直对齐
  12335. _style2 += ';display:flex';
  12336. start = _style2.indexOf('vertical-align');
  12337. if (start !== -1) {
  12338. var val = _style2.substr(start + 15, 10);
  12339. if (val.includes('middle')) {
  12340. _style2 += ';align-items:center';
  12341. } else if (val.includes('bottom')) {
  12342. _style2 += ';align-items:flex-end';
  12343. }
  12344. } else {
  12345. _style2 += ';align-items:center';
  12346. }
  12347. // 设置水平对齐
  12348. start = _style2.indexOf('text-align');
  12349. if (start !== -1) {
  12350. var _val = _style2.substr(start + 11, 10);
  12351. if (_val.includes('center')) {
  12352. _style2 += ';justify-content: center';
  12353. } else if (_val.includes('right')) {
  12354. _style2 += ';justify-content: right';
  12355. }
  12356. }
  12357. _style2 = (border ? ";border:".concat(border, "px ").concat(borderstyle || 'solid', " ").concat(bordercolor || 'gray') + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ";padding:".concat(padding, "px") : '') + ';' + _style2;
  12358. // 处理列合并
  12359. if (td.attrs.colspan) {
  12360. _style2 += ";grid-column-start:".concat(col, ";grid-column-end:").concat(col + parseInt(td.attrs.colspan));
  12361. if (!td.attrs.rowspan) {
  12362. _style2 += ";grid-row-start:".concat(row, ";grid-row-end:").concat(row + 1);
  12363. }
  12364. col += parseInt(td.attrs.colspan) - 1;
  12365. }
  12366. // 处理行合并
  12367. if (td.attrs.rowspan) {
  12368. _style2 += ";grid-row-start:".concat(row, ";grid-row-end:").concat(row + parseInt(td.attrs.rowspan));
  12369. if (!td.attrs.colspan) {
  12370. _style2 += ";grid-column-start:".concat(col, ";grid-column-end:").concat(col + 1);
  12371. }
  12372. // 记录下方单元格被占用
  12373. for (var rowspan = 1; rowspan < td.attrs.rowspan; rowspan++) {
  12374. for (var colspan = 0; colspan < (td.attrs.colspan || 1); colspan++) {
  12375. map[row + rowspan + '.' + (col - colspan)] = 1;
  12376. }
  12377. }
  12378. }
  12379. if (_style2) {
  12380. td.attrs.style = _style2;
  12381. }
  12382. cells.push(td);
  12383. col++;
  12384. }
  12385. }
  12386. if (row === 1) {
  12387. var temp = '';
  12388. for (var _i5 = 1; _i5 < col; _i5++) {
  12389. temp += (width[_i5] ? width[_i5] : 'auto') + ' ';
  12390. }
  12391. styleObj['grid-template-columns'] = temp;
  12392. }
  12393. }
  12394. node.children = cells;
  12395. } else {
  12396. // 没有使用合并单元格的表格通过 table 布局实现
  12397. if (node.c) {
  12398. styleObj.display = 'table';
  12399. }
  12400. if (!isNaN(spacing)) {
  12401. styleObj['border-spacing'] = spacing + 'px';
  12402. }
  12403. if (border || padding) {
  12404. // 遍历
  12405. (function traversal(nodes) {
  12406. for (var _i6 = 0; _i6 < nodes.length; _i6++) {
  12407. var _td = nodes[_i6];
  12408. if (_td.name === 'th' || _td.name === 'td') {
  12409. if (border) {
  12410. _td.attrs.style = "border:".concat(border, "px ").concat(borderstyle || 'solid', " ").concat(bordercolor || 'gray', ";").concat(_td.attrs.style || '');
  12411. }
  12412. if (padding) {
  12413. _td.attrs.style = "padding:".concat(padding, "px;").concat(_td.attrs.style || '');
  12414. }
  12415. } else if (_td.children) {
  12416. traversal(_td.children);
  12417. }
  12418. }
  12419. })(children);
  12420. }
  12421. }
  12422. // 给表格添加一个单独的横向滚动层
  12423. if (this.options.scrollTable && !(attrs.style || '').includes('inline')) {
  12424. var table = Object.assign({}, node);
  12425. node.name = 'div';
  12426. node.attrs = {
  12427. style: 'overflow:auto'
  12428. };
  12429. node.children = [table];
  12430. attrs = table.attrs;
  12431. }
  12432. } else if ((node.name === 'td' || node.name === 'th') && (attrs.colspan || attrs.rowspan)) {
  12433. for (var _i7 = this.stack.length; _i7--;) {
  12434. if (this.stack[_i7].name === 'table') {
  12435. this.stack[_i7].flag = 1; // 指示含有合并单元格
  12436. break;
  12437. }
  12438. }
  12439. } else if (node.name === 'ruby') {
  12440. // 转换 ruby
  12441. node.name = 'span';
  12442. for (var _i8 = 0; _i8 < children.length - 1; _i8++) {
  12443. if (children[_i8].type === 'text' && children[_i8 + 1].name === 'rt') {
  12444. children[_i8] = {
  12445. name: 'div',
  12446. attrs: {
  12447. style: 'display:inline-block;text-align:center'
  12448. },
  12449. children: [{
  12450. name: 'div',
  12451. attrs: {
  12452. style: 'font-size:50%;' + (children[_i8 + 1].attrs.style || '')
  12453. },
  12454. children: children[_i8 + 1].children
  12455. }, children[_i8]]
  12456. };
  12457. children.splice(_i8 + 1, 1);
  12458. }
  12459. }
  12460. } else if (node.c) {
  12461. (function traversal(node) {
  12462. node.c = 2;
  12463. for (var _i9 = node.children.length; _i9--;) {
  12464. var child = node.children[_i9];
  12465. if (!child.c || child.name === 'table') {
  12466. node.c = 1;
  12467. }
  12468. }
  12469. })(node);
  12470. }
  12471. if ((styleObj.display || '').includes('flex') && !node.c) {
  12472. for (var _i10 = children.length; _i10--;) {
  12473. var item = children[_i10];
  12474. if (item.f) {
  12475. item.attrs.style = (item.attrs.style || '') + item.f;
  12476. item.f = undefined;
  12477. }
  12478. }
  12479. }
  12480. // flex 布局时部分样式需要提取到 rich-text 外层
  12481. var flex = parent && ((parent.attrs.style || '').includes('flex') || (parent.attrs.style || '').includes('grid'))
  12482. // 检查基础库版本 virtualHost 是否可用
  12483. && !(node.c && wx.getNFCAdapter); // eslint-disable-line
  12484. if (flex) {
  12485. node.f = ';max-width:100%';
  12486. }
  12487. if (children.length >= 50 && node.c && !(styleObj.display || '').includes('flex')) {
  12488. mergeNodes(children);
  12489. }
  12490. for (var key in styleObj) {
  12491. if (styleObj[key]) {
  12492. var _val2 = ";".concat(key, ":").concat(styleObj[key].replace(' !important', ''));
  12493. if (flex && (key.includes('flex') && key !== 'flex-direction' || key === 'align-self' || key.includes('grid') || styleObj[key][0] === '-' || key.includes('width') && _val2.includes('%'))) {
  12494. node.f += _val2;
  12495. if (key === 'width') {
  12496. attrs.style += ';width:100%';
  12497. }
  12498. } else {
  12499. attrs.style += _val2;
  12500. }
  12501. }
  12502. }
  12503. attrs.style = attrs.style.substr(1) || undefined;
  12504. };
  12505. /**
  12506. * @description 解析到文本
  12507. * @param {String} text 文本内容
  12508. */
  12509. Parser.prototype.onText = function (text) {
  12510. if (!this.pre) {
  12511. // 合并空白符
  12512. var trim = '';
  12513. var flag;
  12514. for (var i = 0, len = text.length; i < len; i++) {
  12515. if (!blankChar[text[i]]) {
  12516. trim += text[i];
  12517. } else {
  12518. if (trim[trim.length - 1] !== ' ') {
  12519. trim += ' ';
  12520. }
  12521. if (text[i] === '\n' && !flag) {
  12522. flag = true;
  12523. }
  12524. }
  12525. }
  12526. // 去除含有换行符的空串
  12527. if (trim === ' ') {
  12528. if (flag) return;
  12529. }
  12530. text = trim;
  12531. }
  12532. var node = Object.create(null);
  12533. node.type = 'text';
  12534. node.text = decodeEntity(text);
  12535. if (this.hook(node)) {
  12536. if (this.options.selectable === 'force' && system.includes('iOS') && !uni.canIUse('rich-text.user-select')) {
  12537. this.expose();
  12538. }
  12539. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  12540. siblings.push(node);
  12541. }
  12542. };
  12543. /**
  12544. * @description html 词法分析器
  12545. * @param {Object} handler 高层处理器
  12546. */
  12547. function Lexer(handler) {
  12548. this.handler = handler;
  12549. }
  12550. /**
  12551. * @description 执行解析
  12552. * @param {String} content 要解析的文本
  12553. */
  12554. Lexer.prototype.parse = function (content) {
  12555. this.content = content || '';
  12556. this.i = 0; // 标记解析位置
  12557. this.start = 0; // 标记一个单词的开始位置
  12558. this.state = this.text; // 当前状态
  12559. for (var len = this.content.length; this.i !== -1 && this.i < len;) {
  12560. this.state();
  12561. }
  12562. };
  12563. /**
  12564. * @description 检查标签是否闭合
  12565. * @param {String} method 如果闭合要进行的操作
  12566. * @returns {Boolean} 是否闭合
  12567. * @private
  12568. */
  12569. Lexer.prototype.checkClose = function (method) {
  12570. var selfClose = this.content[this.i] === '/';
  12571. if (this.content[this.i] === '>' || selfClose && this.content[this.i + 1] === '>') {
  12572. if (method) {
  12573. this.handler[method](this.content.substring(this.start, this.i));
  12574. }
  12575. this.i += selfClose ? 2 : 1;
  12576. this.start = this.i;
  12577. this.handler.onOpenTag(selfClose);
  12578. if (this.handler.tagName === 'script') {
  12579. this.i = this.content.indexOf('</', this.i);
  12580. if (this.i !== -1) {
  12581. this.i += 2;
  12582. this.start = this.i;
  12583. }
  12584. this.state = this.endTag;
  12585. } else {
  12586. this.state = this.text;
  12587. }
  12588. return true;
  12589. }
  12590. return false;
  12591. };
  12592. /**
  12593. * @description 文本状态
  12594. * @private
  12595. */
  12596. Lexer.prototype.text = function () {
  12597. this.i = this.content.indexOf('<', this.i); // 查找最近的标签
  12598. if (this.i === -1) {
  12599. // 没有标签了
  12600. if (this.start < this.content.length) {
  12601. this.handler.onText(this.content.substring(this.start, this.content.length));
  12602. }
  12603. return;
  12604. }
  12605. var c = this.content[this.i + 1];
  12606. if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') {
  12607. // 标签开头
  12608. if (this.start !== this.i) {
  12609. this.handler.onText(this.content.substring(this.start, this.i));
  12610. }
  12611. this.start = ++this.i;
  12612. this.state = this.tagName;
  12613. } else if (c === '/' || c === '!' || c === '?') {
  12614. if (this.start !== this.i) {
  12615. this.handler.onText(this.content.substring(this.start, this.i));
  12616. }
  12617. var next = this.content[this.i + 2];
  12618. if (c === '/' && (next >= 'a' && next <= 'z' || next >= 'A' && next <= 'Z')) {
  12619. // 标签结尾
  12620. this.i += 2;
  12621. this.start = this.i;
  12622. this.state = this.endTag;
  12623. return;
  12624. }
  12625. // 处理注释
  12626. var end = '-->';
  12627. if (c !== '!' || this.content[this.i + 2] !== '-' || this.content[this.i + 3] !== '-') {
  12628. end = '>';
  12629. }
  12630. this.i = this.content.indexOf(end, this.i);
  12631. if (this.i !== -1) {
  12632. this.i += end.length;
  12633. this.start = this.i;
  12634. }
  12635. } else {
  12636. this.i++;
  12637. }
  12638. };
  12639. /**
  12640. * @description 标签名状态
  12641. * @private
  12642. */
  12643. Lexer.prototype.tagName = function () {
  12644. if (blankChar[this.content[this.i]]) {
  12645. // 解析到标签名
  12646. this.handler.onTagName(this.content.substring(this.start, this.i));
  12647. while (blankChar[this.content[++this.i]]) {
  12648. ;
  12649. }
  12650. if (this.i < this.content.length && !this.checkClose()) {
  12651. this.start = this.i;
  12652. this.state = this.attrName;
  12653. }
  12654. } else if (!this.checkClose('onTagName')) {
  12655. this.i++;
  12656. }
  12657. };
  12658. /**
  12659. * @description 属性名状态
  12660. * @private
  12661. */
  12662. Lexer.prototype.attrName = function () {
  12663. var c = this.content[this.i];
  12664. if (blankChar[c] || c === '=') {
  12665. // 解析到属性名
  12666. this.handler.onAttrName(this.content.substring(this.start, this.i));
  12667. var needVal = c === '=';
  12668. var len = this.content.length;
  12669. while (++this.i < len) {
  12670. c = this.content[this.i];
  12671. if (!blankChar[c]) {
  12672. if (this.checkClose()) return;
  12673. if (needVal) {
  12674. // 等号后遇到第一个非空字符
  12675. this.start = this.i;
  12676. this.state = this.attrVal;
  12677. return;
  12678. }
  12679. if (this.content[this.i] === '=') {
  12680. needVal = true;
  12681. } else {
  12682. this.start = this.i;
  12683. this.state = this.attrName;
  12684. return;
  12685. }
  12686. }
  12687. }
  12688. } else if (!this.checkClose('onAttrName')) {
  12689. this.i++;
  12690. }
  12691. };
  12692. /**
  12693. * @description 属性值状态
  12694. * @private
  12695. */
  12696. Lexer.prototype.attrVal = function () {
  12697. var c = this.content[this.i];
  12698. var len = this.content.length;
  12699. if (c === '"' || c === "'") {
  12700. // 有冒号的属性
  12701. this.start = ++this.i;
  12702. this.i = this.content.indexOf(c, this.i);
  12703. if (this.i === -1) return;
  12704. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  12705. } else {
  12706. // 没有冒号的属性
  12707. for (; this.i < len; this.i++) {
  12708. if (blankChar[this.content[this.i]]) {
  12709. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  12710. break;
  12711. } else if (this.checkClose('onAttrVal')) return;
  12712. }
  12713. }
  12714. while (blankChar[this.content[++this.i]]) {
  12715. ;
  12716. }
  12717. if (this.i < len && !this.checkClose()) {
  12718. this.start = this.i;
  12719. this.state = this.attrName;
  12720. }
  12721. };
  12722. /**
  12723. * @description 结束标签状态
  12724. * @returns {String} 结束的标签名
  12725. * @private
  12726. */
  12727. Lexer.prototype.endTag = function () {
  12728. var c = this.content[this.i];
  12729. if (blankChar[c] || c === '>' || c === '/') {
  12730. this.handler.onCloseTag(this.content.substring(this.start, this.i));
  12731. if (c !== '>') {
  12732. this.i = this.content.indexOf('>', this.i);
  12733. if (this.i === -1) return;
  12734. }
  12735. this.start = ++this.i;
  12736. this.state = this.text;
  12737. } else {
  12738. this.i++;
  12739. }
  12740. };
  12741. var _default = Parser;
  12742. exports.default = _default;
  12743. /* 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"]))
  12744. /***/ }),
  12745. /***/ 37:
  12746. /*!***********************************************!*\
  12747. !*** E:/Desktop/zd_wechatApp(1)/api/login.js ***!
  12748. \***********************************************/
  12749. /*! no static exports found */
  12750. /***/ (function(module, exports, __webpack_require__) {
  12751. "use strict";
  12752. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12753. Object.defineProperty(exports, "__esModule", {
  12754. value: true
  12755. });
  12756. exports.default = void 0;
  12757. var _request = _interopRequireDefault(__webpack_require__(/*! ../common/request.js */ 35));
  12758. var _default = {
  12759. // 登录
  12760. login: function login(data) {
  12761. return _request.default.requestEn('/mobile/user', data, 'POST');
  12762. }
  12763. };
  12764. exports.default = _default;
  12765. /***/ }),
  12766. /***/ 38:
  12767. /*!**************************************************!*\
  12768. !*** E:/Desktop/zd_wechatApp(1)/common/utils.js ***!
  12769. \**************************************************/
  12770. /*! no static exports found */
  12771. /***/ (function(module, exports, __webpack_require__) {
  12772. "use strict";
  12773. /* WEBPACK VAR INJECTION */(function(uni) {
  12774. Object.defineProperty(exports, "__esModule", {
  12775. value: true
  12776. });
  12777. exports.default = void 0;
  12778. var _default = {
  12779. // 页面提示信息函数
  12780. showPrompt: function showPrompt(msg) {
  12781. uni.showToast({
  12782. title: msg,
  12783. icon: 'none',
  12784. mask: true
  12785. });
  12786. },
  12787. // APP名称
  12788. appName: function appName() {
  12789. return "贞达市政工程";
  12790. },
  12791. formatRichText: function formatRichText(html) {
  12792. var newContent = html.replace(/<img[^>]*>/gi, function (match, capture) {
  12793. match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '');
  12794. match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
  12795. match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
  12796. return match;
  12797. });
  12798. newContent = newContent.replace(/style="[^"]+"/gi, function (match, capture) {
  12799. match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi, 'max-width:100%;');
  12800. return match;
  12801. });
  12802. newContent = newContent.replace(/<br[^>]*\/>/gi, '');
  12803. newContent = newContent.replace(/\<img/gi, '<img style="max-width:100%;height:auto;display:block;margin-top:0;margin-bottom:0;"');
  12804. return newContent;
  12805. },
  12806. getHeight: function getHeight(e) {
  12807. console.log(e);
  12808. },
  12809. changeTwoDecimal_f: function changeTwoDecimal_f(x) {
  12810. var f_x = parseFloat(x);
  12811. if (isNaN(f_x)) {
  12812. return 0;
  12813. }
  12814. var f_x = Math.round(x * 100) / 100;
  12815. var s_x = f_x.toString();
  12816. var pos_decimal = s_x.indexOf('.');
  12817. if (pos_decimal < 0) {
  12818. pos_decimal = s_x.length;
  12819. s_x += '.';
  12820. }
  12821. while (s_x.length <= pos_decimal + 2) {
  12822. s_x += '0';
  12823. }
  12824. return s_x;
  12825. },
  12826. // token过期
  12827. tokenOverdue: function tokenOverdue() {
  12828. uni.setStorage({
  12829. key: "jumpUrl",
  12830. data: ''
  12831. });
  12832. uni.setStorage({
  12833. key: "jumpType",
  12834. data: ''
  12835. });
  12836. uni.navigateTo({
  12837. url: "/pages/login/login"
  12838. });
  12839. },
  12840. checkLoginTo: function checkLoginTo(url, type) {
  12841. console.log(type);
  12842. var status = uni.getStorageSync('token');
  12843. console.log(status);
  12844. if (status) {
  12845. uni.navigateTo({
  12846. url: url
  12847. });
  12848. } else {
  12849. uni.showModal({
  12850. title: '',
  12851. content: '您未登录,是否登录?',
  12852. success: function success(res) {
  12853. if (res.confirm) {
  12854. uni.setStorage({
  12855. key: "jumpUrl",
  12856. data: url
  12857. });
  12858. uni.setStorage({
  12859. key: "jumpType",
  12860. data: type
  12861. });
  12862. uni.navigateTo({
  12863. url: "/pages/login/login"
  12864. });
  12865. }
  12866. }
  12867. });
  12868. }
  12869. },
  12870. // 拨打电话
  12871. toCall: function toCall(tel) {
  12872. if (!tel) {
  12873. this.showPrompt('暂无商家电话');
  12874. return;
  12875. }
  12876. uni.makePhoneCall({
  12877. phoneNumber: tel
  12878. });
  12879. },
  12880. toBack: function toBack() {
  12881. uni.navigateBack({
  12882. delta: 1
  12883. });
  12884. },
  12885. // 图片预览
  12886. previewImage: function previewImage(url) {
  12887. var urlList = [];
  12888. if (typeof url == 'string') {
  12889. urlList.push(url);
  12890. } else {
  12891. urlList = url;
  12892. }
  12893. uni.previewImage({
  12894. urls: urlList
  12895. });
  12896. },
  12897. // 登录成功后的跳转
  12898. loginSuccess: function loginSuccess() {
  12899. var type = uni.getStorageSync('jumpType');
  12900. // console.log(type)
  12901. if (type) {
  12902. var url = uni.getStorageSync('jumpUrl');
  12903. // console.log(url)
  12904. if (!url) {
  12905. uni.navigateBack({
  12906. delta: 1
  12907. });
  12908. return;
  12909. }
  12910. if (type == 'page') {
  12911. uni.redirectTo({
  12912. url: url
  12913. });
  12914. } else {
  12915. uni.switchTab({
  12916. url: url,
  12917. fail: function fail(error) {
  12918. console.log(error);
  12919. }
  12920. });
  12921. }
  12922. } else {
  12923. // uni.switchTab({
  12924. // url: "/pages/index/index"
  12925. // })
  12926. uni.navigateBack({
  12927. delta: 1
  12928. });
  12929. }
  12930. },
  12931. parseNumber: function parseNumber(num) {
  12932. return num < 10 ? "0" + num : num;
  12933. },
  12934. // 时间格式化基类
  12935. dateFormat: function dateFormat(date, formatStr) {
  12936. var dateObj = {},
  12937. rStr = /\{([^}]+)\}/,
  12938. mons = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'];
  12939. dateObj["Y"] = date.getFullYear();
  12940. dateObj["M"] = date.getMonth() + 1;
  12941. dateObj["MM"] = this.parseNumber(dateObj["M"]);
  12942. dateObj["Mon"] = mons[dateObj['M'] - 1];
  12943. dateObj["D"] = date.getDate();
  12944. dateObj["DD"] = this.parseNumber(dateObj["D"]);
  12945. dateObj["h"] = date.getHours();
  12946. dateObj["hh"] = this.parseNumber(dateObj["h"]);
  12947. // dateObj["t"] = dateObj["h"] > 12 ? dateObj["h"] - 12 : dateObj["h"];
  12948. dateObj["t"] = dateObj["h"];
  12949. dateObj["tt"] = this.parseNumber(dateObj["t"]);
  12950. // dateObj["A"] = dateObj["h"] > 12 ? '下午' : '上午';
  12951. dateObj["i"] = date.getMinutes();
  12952. dateObj["ii"] = this.parseNumber(dateObj["i"]);
  12953. dateObj["s"] = date.getSeconds();
  12954. dateObj["ss"] = this.parseNumber(dateObj["s"]);
  12955. while (rStr.test(formatStr)) {
  12956. formatStr = formatStr.replace(rStr, dateObj[RegExp.$1]);
  12957. }
  12958. return formatStr;
  12959. },
  12960. // 时间格式 年月日时分秒
  12961. gettime: function gettime(shorttime, type) {
  12962. shorttime = shorttime.toString().length < 13 ? shorttime * 1000 : shorttime;
  12963. var now = new Date().getTime();
  12964. var cha = (now - parseInt(shorttime)) / 1000;
  12965. // type: 格式化类型 1为年月日时分秒 2为年月日时分 3为年月日
  12966. if (type == 1) {
  12967. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD} {t}:{ii}:{ss}");
  12968. } else if (type == 2) {
  12969. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD} {t}:{ii}");
  12970. } else if (type == 3) {
  12971. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD}");
  12972. }
  12973. },
  12974. // 时间格式 年月日
  12975. getDate: function getDate(shorttime) {
  12976. shorttime = shorttime.toString().length < 13 ? shorttime * 1000 : shorttime;
  12977. var now = new Date().getTime();
  12978. var cha = (now - parseInt(shorttime)) / 1000;
  12979. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD}");
  12980. },
  12981. // 时间格式 月日
  12982. getDateMd: function getDateMd(shorttime) {
  12983. shorttime = shorttime.toString().length < 13 ? shorttime * 1000 : shorttime;
  12984. var now = new Date().getTime();
  12985. var cha = (now - parseInt(shorttime)) / 1000;
  12986. return this.dateFormat(new Date(shorttime), "{MM}-{DD}");
  12987. },
  12988. getSevenDate: function getSevenDate(num) {
  12989. var date1 = new Date();
  12990. //今天时间
  12991. var time1 = (date1.getMonth() + 1 < 10 ? '0' + (date1.getMonth() + 1).toString() : date1.getMonth() + 1) + "-" + (date1.getDate() < 10 ? '0' + date1.getDate().toString() : date1.getDate());
  12992. var date2 = new Date(date1);
  12993. date2.setDate(date1.getDate() + num);
  12994. //num是正数表示之后的时间,num负数表示之前的时间,0表示今天
  12995. var time2 = date2.getMonth() + 1 + "-" + date2.getDate();
  12996. return this.getdiffdate(time1, time2, num);
  12997. },
  12998. //获取两日期之间日期列表函数
  12999. getdiffdate: function getdiffdate(stime, etime, num) {
  13000. //初始化日期列表,数组
  13001. var diffdate = new Array();
  13002. var i = 0;
  13003. //开始日期小于等于结束日期,并循环
  13004. while (i <= num - 1) {
  13005. diffdate.push({
  13006. dateStr: stime,
  13007. weekStr: this.getWeek(new Date().getFullYear().toString() + "-" + stime)
  13008. });
  13009. //获取开始日期时间戳
  13010. var stime_ts = new Date(stime).getTime();
  13011. // console.log('当前日期:'+stime +'当前时间戳:'+stime_ts)
  13012. //增加一天时间戳后的日期
  13013. var next_date = stime_ts + 24 * 60 * 60 * 1000;
  13014. //拼接年月日,这里的月份会返回(0-11),所以要+1
  13015. var next_dates_y = new Date(next_date).getFullYear() + '-';
  13016. var next_dates_m = new Date(next_date).getMonth() + 1 < 10 ? '0' + (new Date(next_date).getMonth() + 1) + '-' : new Date(next_date).getMonth() + 1 + '-';
  13017. var next_dates_d = new Date(next_date).getDate() < 10 ? '0' + new Date(next_date).getDate() : new Date(next_date).getDate();
  13018. stime = next_dates_m + next_dates_d;
  13019. // 增加数组key
  13020. i++;
  13021. }
  13022. return diffdate;
  13023. },
  13024. // 根据日期转换星期
  13025. getWeek: function getWeek(dateString) {
  13026. var dateArray = dateString.split("-");
  13027. var date = new Date(dateArray[0], parseInt(dateArray[1] - 1), dateArray[2]);
  13028. return "周" + "日一二三四五六".charAt(date.getDay());
  13029. },
  13030. // 获取当前位置
  13031. getNowAddress: function getNowAddress() {
  13032. console.log(222);
  13033. return new Promise(function (resolve, reject) {
  13034. var mapkey = '';
  13035. mapkey = 'c827c04d1d74d8589ec826fce02a135a';
  13036. console.log(mapkey);
  13037. var amapPlugin = new amap.AMapWX({
  13038. key: mapkey
  13039. });
  13040. amapPlugin.getRegeo({
  13041. success: function success(res) {
  13042. resolve(res[0]);
  13043. },
  13044. fail: function fail(error) {
  13045. console.log(error);
  13046. uni.showToast({
  13047. mask: true,
  13048. icon: "none",
  13049. title: error
  13050. });
  13051. }
  13052. });
  13053. });
  13054. }
  13055. };
  13056. exports.default = _default;
  13057. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  13058. /***/ }),
  13059. /***/ 39:
  13060. /*!*******************************************************!*\
  13061. !*** E:/Desktop/zd_wechatApp(1)/common/lodash.min.js ***!
  13062. \*******************************************************/
  13063. /*! no static exports found */
  13064. /***/ (function(module, exports, __webpack_require__) {
  13065. /* WEBPACK VAR INJECTION */(function(global, module) {var __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  13066. /**
  13067. * @license
  13068. * Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
  13069. */
  13070. ;
  13071. (function () {
  13072. function n(n, t, r) {
  13073. switch (r.length) {
  13074. case 0:
  13075. return n.call(t);
  13076. case 1:
  13077. return n.call(t, r[0]);
  13078. case 2:
  13079. return n.call(t, r[0], r[1]);
  13080. case 3:
  13081. return n.call(t, r[0], r[1], r[2]);
  13082. }
  13083. return n.apply(t, r);
  13084. }
  13085. function t(n, t, r, e) {
  13086. for (var u = -1, i = null == n ? 0 : n.length; ++u < i;) {
  13087. var o = n[u];
  13088. t(e, o, r(o), n);
  13089. }
  13090. return e;
  13091. }
  13092. function r(n, t) {
  13093. for (var r = -1, e = null == n ? 0 : n.length; ++r < e && false !== t(n[r], r, n);) {
  13094. ;
  13095. }
  13096. return n;
  13097. }
  13098. function e(n, t) {
  13099. for (var r = null == n ? 0 : n.length; r-- && false !== t(n[r], r, n);) {
  13100. ;
  13101. }
  13102. return n;
  13103. }
  13104. function u(n, t) {
  13105. for (var r = -1, e = null == n ? 0 : n.length; ++r < e;) {
  13106. if (!t(n[r], r, n)) return false;
  13107. }
  13108. return true;
  13109. }
  13110. function i(n, t) {
  13111. for (var r = -1, e = null == n ? 0 : n.length, u = 0, i = []; ++r < e;) {
  13112. var o = n[r];
  13113. t(o, r, n) && (i[u++] = o);
  13114. }
  13115. return i;
  13116. }
  13117. function o(n, t) {
  13118. return !(null == n || !n.length) && -1 < v(n, t, 0);
  13119. }
  13120. function f(n, t, r) {
  13121. for (var e = -1, u = null == n ? 0 : n.length; ++e < u;) {
  13122. if (r(t, n[e])) return true;
  13123. }
  13124. return false;
  13125. }
  13126. function c(n, t) {
  13127. for (var r = -1, e = null == n ? 0 : n.length, u = Array(e); ++r < e;) {
  13128. u[r] = t(n[r], r, n);
  13129. }
  13130. return u;
  13131. }
  13132. function a(n, t) {
  13133. for (var r = -1, e = t.length, u = n.length; ++r < e;) {
  13134. n[u + r] = t[r];
  13135. }
  13136. return n;
  13137. }
  13138. function l(n, t, r, e) {
  13139. var u = -1,
  13140. i = null == n ? 0 : n.length;
  13141. for (e && i && (r = n[++u]); ++u < i;) {
  13142. r = t(r, n[u], u, n);
  13143. }
  13144. return r;
  13145. }
  13146. function s(n, t, r, e) {
  13147. var u = null == n ? 0 : n.length;
  13148. for (e && u && (r = n[--u]); u--;) {
  13149. r = t(r, n[u], u, n);
  13150. }
  13151. return r;
  13152. }
  13153. function h(n, t) {
  13154. for (var r = -1, e = null == n ? 0 : n.length; ++r < e;) {
  13155. if (t(n[r], r, n)) return true;
  13156. }
  13157. return false;
  13158. }
  13159. function p(n, t, r) {
  13160. var e;
  13161. return r(n, function (n, r, u) {
  13162. if (t(n, r, u)) return e = r, false;
  13163. }), e;
  13164. }
  13165. function _(n, t, r, e) {
  13166. var u = n.length;
  13167. for (r += e ? 1 : -1; e ? r-- : ++r < u;) {
  13168. if (t(n[r], r, n)) return r;
  13169. }
  13170. return -1;
  13171. }
  13172. function v(n, t, r) {
  13173. if (t === t) n: {
  13174. --r;
  13175. for (var e = n.length; ++r < e;) {
  13176. if (n[r] === t) {
  13177. n = r;
  13178. break n;
  13179. }
  13180. }
  13181. n = -1;
  13182. } else n = _(n, d, r);
  13183. return n;
  13184. }
  13185. function g(n, t, r, e) {
  13186. --r;
  13187. for (var u = n.length; ++r < u;) {
  13188. if (e(n[r], t)) return r;
  13189. }
  13190. return -1;
  13191. }
  13192. function d(n) {
  13193. return n !== n;
  13194. }
  13195. function y(n, t) {
  13196. var r = null == n ? 0 : n.length;
  13197. return r ? m(n, t) / r : F;
  13198. }
  13199. function b(n) {
  13200. return function (t) {
  13201. return null == t ? T : t[n];
  13202. };
  13203. }
  13204. function x(n) {
  13205. return function (t) {
  13206. return null == n ? T : n[t];
  13207. };
  13208. }
  13209. function j(n, t, r, e, u) {
  13210. return u(n, function (n, u, i) {
  13211. r = e ? (e = false, n) : t(r, n, u, i);
  13212. }), r;
  13213. }
  13214. function w(n, t) {
  13215. var r = n.length;
  13216. for (n.sort(t); r--;) {
  13217. n[r] = n[r].c;
  13218. }
  13219. return n;
  13220. }
  13221. function m(n, t) {
  13222. for (var r, e = -1, u = n.length; ++e < u;) {
  13223. var i = t(n[e]);
  13224. i !== T && (r = r === T ? i : r + i);
  13225. }
  13226. return r;
  13227. }
  13228. function A(n, t) {
  13229. for (var r = -1, e = Array(n); ++r < n;) {
  13230. e[r] = t(r);
  13231. }
  13232. return e;
  13233. }
  13234. function E(n, t) {
  13235. return c(t, function (t) {
  13236. return [t, n[t]];
  13237. });
  13238. }
  13239. function k(n) {
  13240. return function (t) {
  13241. return n(t);
  13242. };
  13243. }
  13244. function S(n, t) {
  13245. return c(t, function (t) {
  13246. return n[t];
  13247. });
  13248. }
  13249. function O(n, t) {
  13250. return n.has(t);
  13251. }
  13252. function I(n, t) {
  13253. for (var r = -1, e = n.length; ++r < e && -1 < v(t, n[r], 0);) {
  13254. ;
  13255. }
  13256. return r;
  13257. }
  13258. function R(n, t) {
  13259. for (var r = n.length; r-- && -1 < v(t, n[r], 0);) {
  13260. ;
  13261. }
  13262. return r;
  13263. }
  13264. function z(n) {
  13265. return "\\" + Un[n];
  13266. }
  13267. function W(n) {
  13268. var t = -1,
  13269. r = Array(n.size);
  13270. return n.forEach(function (n, e) {
  13271. r[++t] = [e, n];
  13272. }), r;
  13273. }
  13274. function B(n, t) {
  13275. return function (r) {
  13276. return n(t(r));
  13277. };
  13278. }
  13279. function L(n, t) {
  13280. for (var r = -1, e = n.length, u = 0, i = []; ++r < e;) {
  13281. var o = n[r];
  13282. o !== t && "__lodash_placeholder__" !== o || (n[r] = "__lodash_placeholder__", i[u++] = r);
  13283. }
  13284. return i;
  13285. }
  13286. function U(n) {
  13287. var t = -1,
  13288. r = Array(n.size);
  13289. return n.forEach(function (n) {
  13290. r[++t] = n;
  13291. }), r;
  13292. }
  13293. function C(n) {
  13294. var t = -1,
  13295. r = Array(n.size);
  13296. return n.forEach(function (n) {
  13297. r[++t] = [n, n];
  13298. }), r;
  13299. }
  13300. function D(n) {
  13301. if (Rn.test(n)) {
  13302. for (var t = On.lastIndex = 0; On.test(n);) {
  13303. ++t;
  13304. }
  13305. n = t;
  13306. } else n = Qn(n);
  13307. return n;
  13308. }
  13309. function M(n) {
  13310. return Rn.test(n) ? n.match(On) || [] : n.split("");
  13311. }
  13312. var T,
  13313. $ = 1 / 0,
  13314. F = NaN,
  13315. N = [["ary", 128], ["bind", 1], ["bindKey", 2], ["curry", 8], ["curryRight", 16], ["flip", 512], ["partial", 32], ["partialRight", 64], ["rearg", 256]],
  13316. P = /\b__p\+='';/g,
  13317. Z = /\b(__p\+=)''\+/g,
  13318. q = /(__e\(.*?\)|\b__t\))\+'';/g,
  13319. V = /&(?:amp|lt|gt|quot|#39);/g,
  13320. K = /[&<>"']/g,
  13321. G = RegExp(V.source),
  13322. H = RegExp(K.source),
  13323. J = /<%-([\s\S]+?)%>/g,
  13324. Y = /<%([\s\S]+?)%>/g,
  13325. Q = /<%=([\s\S]+?)%>/g,
  13326. X = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
  13327. nn = /^\w*$/,
  13328. tn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
  13329. rn = /[\\^$.*+?()[\]{}|]/g,
  13330. en = RegExp(rn.source),
  13331. un = /^\s+|\s+$/g,
  13332. on = /^\s+/,
  13333. fn = /\s+$/,
  13334. cn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
  13335. an = /\{\n\/\* \[wrapped with (.+)\] \*/,
  13336. ln = /,? & /,
  13337. sn = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
  13338. hn = /\\(\\)?/g,
  13339. pn = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
  13340. _n = /\w*$/,
  13341. vn = /^[-+]0x[0-9a-f]+$/i,
  13342. gn = /^0b[01]+$/i,
  13343. dn = /^\[object .+?Constructor\]$/,
  13344. yn = /^0o[0-7]+$/i,
  13345. bn = /^(?:0|[1-9]\d*)$/,
  13346. xn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
  13347. jn = /($^)/,
  13348. wn = /['\n\r\u2028\u2029\\]/g,
  13349. mn = "[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",
  13350. An = "(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])" + mn,
  13351. En = "(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])",
  13352. kn = RegExp("['\u2019]", "g"),
  13353. Sn = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g"),
  13354. On = RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|" + En + mn, "g"),
  13355. In = RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+", An].join("|"), "g"),
  13356. Rn = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),
  13357. zn = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
  13358. Wn = "Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),
  13359. Bn = {};
  13360. Bn["[object Float32Array]"] = Bn["[object Float64Array]"] = Bn["[object Int8Array]"] = Bn["[object Int16Array]"] = Bn["[object Int32Array]"] = Bn["[object Uint8Array]"] = Bn["[object Uint8ClampedArray]"] = Bn["[object Uint16Array]"] = Bn["[object Uint32Array]"] = true, Bn["[object Arguments]"] = Bn["[object Array]"] = Bn["[object ArrayBuffer]"] = Bn["[object Boolean]"] = Bn["[object DataView]"] = Bn["[object Date]"] = Bn["[object Error]"] = Bn["[object Function]"] = Bn["[object Map]"] = Bn["[object Number]"] = Bn["[object Object]"] = Bn["[object RegExp]"] = Bn["[object Set]"] = Bn["[object String]"] = Bn["[object WeakMap]"] = false;
  13361. var Ln = {};
  13362. Ln["[object Arguments]"] = Ln["[object Array]"] = Ln["[object ArrayBuffer]"] = Ln["[object DataView]"] = Ln["[object Boolean]"] = Ln["[object Date]"] = Ln["[object Float32Array]"] = Ln["[object Float64Array]"] = Ln["[object Int8Array]"] = Ln["[object Int16Array]"] = Ln["[object Int32Array]"] = Ln["[object Map]"] = Ln["[object Number]"] = Ln["[object Object]"] = Ln["[object RegExp]"] = Ln["[object Set]"] = Ln["[object String]"] = Ln["[object Symbol]"] = Ln["[object Uint8Array]"] = Ln["[object Uint8ClampedArray]"] = Ln["[object Uint16Array]"] = Ln["[object Uint32Array]"] = true, Ln["[object Error]"] = Ln["[object Function]"] = Ln["[object WeakMap]"] = false;
  13363. var Un = {
  13364. "\\": "\\",
  13365. "'": "'",
  13366. "\n": "n",
  13367. "\r": "r",
  13368. "\u2028": "u2028",
  13369. "\u2029": "u2029"
  13370. },
  13371. Cn = parseFloat,
  13372. Dn = parseInt,
  13373. Mn = (typeof global === "undefined" ? "undefined" : _typeof(global)) == "object" && global && global.Object === Object && global,
  13374. Tn = (typeof self === "undefined" ? "undefined" : _typeof(self)) == "object" && self && self.Object === Object && self,
  13375. $n = Mn || Tn || Function("return this")(),
  13376. Fn = ( false ? undefined : _typeof(exports)) == "object" && exports && !exports.nodeType && exports,
  13377. Nn = Fn && ( false ? undefined : _typeof(module)) == "object" && module && !module.nodeType && module,
  13378. Pn = Nn && Nn.exports === Fn,
  13379. Zn = Pn && Mn.process,
  13380. qn = function () {
  13381. try {
  13382. var n = Nn && Nn.f && Nn.f("util").types;
  13383. return n ? n : Zn && Zn.binding && Zn.binding("util");
  13384. } catch (n) {}
  13385. }(),
  13386. Vn = qn && qn.isArrayBuffer,
  13387. Kn = qn && qn.isDate,
  13388. Gn = qn && qn.isMap,
  13389. Hn = qn && qn.isRegExp,
  13390. Jn = qn && qn.isSet,
  13391. Yn = qn && qn.isTypedArray,
  13392. Qn = b("length"),
  13393. Xn = x({
  13394. "\xc0": "A",
  13395. "\xc1": "A",
  13396. "\xc2": "A",
  13397. "\xc3": "A",
  13398. "\xc4": "A",
  13399. "\xc5": "A",
  13400. "\xe0": "a",
  13401. "\xe1": "a",
  13402. "\xe2": "a",
  13403. "\xe3": "a",
  13404. "\xe4": "a",
  13405. "\xe5": "a",
  13406. "\xc7": "C",
  13407. "\xe7": "c",
  13408. "\xd0": "D",
  13409. "\xf0": "d",
  13410. "\xc8": "E",
  13411. "\xc9": "E",
  13412. "\xca": "E",
  13413. "\xcb": "E",
  13414. "\xe8": "e",
  13415. "\xe9": "e",
  13416. "\xea": "e",
  13417. "\xeb": "e",
  13418. "\xcc": "I",
  13419. "\xcd": "I",
  13420. "\xce": "I",
  13421. "\xcf": "I",
  13422. "\xec": "i",
  13423. "\xed": "i",
  13424. "\xee": "i",
  13425. "\xef": "i",
  13426. "\xd1": "N",
  13427. "\xf1": "n",
  13428. "\xd2": "O",
  13429. "\xd3": "O",
  13430. "\xd4": "O",
  13431. "\xd5": "O",
  13432. "\xd6": "O",
  13433. "\xd8": "O",
  13434. "\xf2": "o",
  13435. "\xf3": "o",
  13436. "\xf4": "o",
  13437. "\xf5": "o",
  13438. "\xf6": "o",
  13439. "\xf8": "o",
  13440. "\xd9": "U",
  13441. "\xda": "U",
  13442. "\xdb": "U",
  13443. "\xdc": "U",
  13444. "\xf9": "u",
  13445. "\xfa": "u",
  13446. "\xfb": "u",
  13447. "\xfc": "u",
  13448. "\xdd": "Y",
  13449. "\xfd": "y",
  13450. "\xff": "y",
  13451. "\xc6": "Ae",
  13452. "\xe6": "ae",
  13453. "\xde": "Th",
  13454. "\xfe": "th",
  13455. "\xdf": "ss",
  13456. "\u0100": "A",
  13457. "\u0102": "A",
  13458. "\u0104": "A",
  13459. "\u0101": "a",
  13460. "\u0103": "a",
  13461. "\u0105": "a",
  13462. "\u0106": "C",
  13463. "\u0108": "C",
  13464. "\u010A": "C",
  13465. "\u010C": "C",
  13466. "\u0107": "c",
  13467. "\u0109": "c",
  13468. "\u010B": "c",
  13469. "\u010D": "c",
  13470. "\u010E": "D",
  13471. "\u0110": "D",
  13472. "\u010F": "d",
  13473. "\u0111": "d",
  13474. "\u0112": "E",
  13475. "\u0114": "E",
  13476. "\u0116": "E",
  13477. "\u0118": "E",
  13478. "\u011A": "E",
  13479. "\u0113": "e",
  13480. "\u0115": "e",
  13481. "\u0117": "e",
  13482. "\u0119": "e",
  13483. "\u011B": "e",
  13484. "\u011C": "G",
  13485. "\u011E": "G",
  13486. "\u0120": "G",
  13487. "\u0122": "G",
  13488. "\u011D": "g",
  13489. "\u011F": "g",
  13490. "\u0121": "g",
  13491. "\u0123": "g",
  13492. "\u0124": "H",
  13493. "\u0126": "H",
  13494. "\u0125": "h",
  13495. "\u0127": "h",
  13496. "\u0128": "I",
  13497. "\u012A": "I",
  13498. "\u012C": "I",
  13499. "\u012E": "I",
  13500. "\u0130": "I",
  13501. "\u0129": "i",
  13502. "\u012B": "i",
  13503. "\u012D": "i",
  13504. "\u012F": "i",
  13505. "\u0131": "i",
  13506. "\u0134": "J",
  13507. "\u0135": "j",
  13508. "\u0136": "K",
  13509. "\u0137": "k",
  13510. "\u0138": "k",
  13511. "\u0139": "L",
  13512. "\u013B": "L",
  13513. "\u013D": "L",
  13514. "\u013F": "L",
  13515. "\u0141": "L",
  13516. "\u013A": "l",
  13517. "\u013C": "l",
  13518. "\u013E": "l",
  13519. "\u0140": "l",
  13520. "\u0142": "l",
  13521. "\u0143": "N",
  13522. "\u0145": "N",
  13523. "\u0147": "N",
  13524. "\u014A": "N",
  13525. "\u0144": "n",
  13526. "\u0146": "n",
  13527. "\u0148": "n",
  13528. "\u014B": "n",
  13529. "\u014C": "O",
  13530. "\u014E": "O",
  13531. "\u0150": "O",
  13532. "\u014D": "o",
  13533. "\u014F": "o",
  13534. "\u0151": "o",
  13535. "\u0154": "R",
  13536. "\u0156": "R",
  13537. "\u0158": "R",
  13538. "\u0155": "r",
  13539. "\u0157": "r",
  13540. "\u0159": "r",
  13541. "\u015A": "S",
  13542. "\u015C": "S",
  13543. "\u015E": "S",
  13544. "\u0160": "S",
  13545. "\u015B": "s",
  13546. "\u015D": "s",
  13547. "\u015F": "s",
  13548. "\u0161": "s",
  13549. "\u0162": "T",
  13550. "\u0164": "T",
  13551. "\u0166": "T",
  13552. "\u0163": "t",
  13553. "\u0165": "t",
  13554. "\u0167": "t",
  13555. "\u0168": "U",
  13556. "\u016A": "U",
  13557. "\u016C": "U",
  13558. "\u016E": "U",
  13559. "\u0170": "U",
  13560. "\u0172": "U",
  13561. "\u0169": "u",
  13562. "\u016B": "u",
  13563. "\u016D": "u",
  13564. "\u016F": "u",
  13565. "\u0171": "u",
  13566. "\u0173": "u",
  13567. "\u0174": "W",
  13568. "\u0175": "w",
  13569. "\u0176": "Y",
  13570. "\u0177": "y",
  13571. "\u0178": "Y",
  13572. "\u0179": "Z",
  13573. "\u017B": "Z",
  13574. "\u017D": "Z",
  13575. "\u017A": "z",
  13576. "\u017C": "z",
  13577. "\u017E": "z",
  13578. "\u0132": "IJ",
  13579. "\u0133": "ij",
  13580. "\u0152": "Oe",
  13581. "\u0153": "oe",
  13582. "\u0149": "'n",
  13583. "\u017F": "s"
  13584. }),
  13585. nt = x({
  13586. "&": "&amp;",
  13587. "<": "&lt;",
  13588. ">": "&gt;",
  13589. '"': "&quot;",
  13590. "'": "&#39;"
  13591. }),
  13592. tt = x({
  13593. "&amp;": "&",
  13594. "&lt;": "<",
  13595. "&gt;": ">",
  13596. "&quot;": '"',
  13597. "&#39;": "'"
  13598. }),
  13599. rt = function x(mn) {
  13600. function An(n) {
  13601. if (du(n) && !of(n) && !(n instanceof Un)) {
  13602. if (n instanceof On) return n;
  13603. if (ii.call(n, "__wrapped__")) return $e(n);
  13604. }
  13605. return new On(n);
  13606. }
  13607. function En() {}
  13608. function On(n, t) {
  13609. this.__wrapped__ = n, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = T;
  13610. }
  13611. function Un(n) {
  13612. this.__wrapped__ = n, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = false, this.__iteratees__ = [], this.__takeCount__ = 4294967295, this.__views__ = [];
  13613. }
  13614. function Mn(n) {
  13615. var t = -1,
  13616. r = null == n ? 0 : n.length;
  13617. for (this.clear(); ++t < r;) {
  13618. var e = n[t];
  13619. this.set(e[0], e[1]);
  13620. }
  13621. }
  13622. function Tn(n) {
  13623. var t = -1,
  13624. r = null == n ? 0 : n.length;
  13625. for (this.clear(); ++t < r;) {
  13626. var e = n[t];
  13627. this.set(e[0], e[1]);
  13628. }
  13629. }
  13630. function Fn(n) {
  13631. var t = -1,
  13632. r = null == n ? 0 : n.length;
  13633. for (this.clear(); ++t < r;) {
  13634. var e = n[t];
  13635. this.set(e[0], e[1]);
  13636. }
  13637. }
  13638. function Nn(n) {
  13639. var t = -1,
  13640. r = null == n ? 0 : n.length;
  13641. for (this.__data__ = new Fn(); ++t < r;) {
  13642. this.add(n[t]);
  13643. }
  13644. }
  13645. function Zn(n) {
  13646. this.size = (this.__data__ = new Tn(n)).size;
  13647. }
  13648. function qn(n, t) {
  13649. var r,
  13650. e = of(n),
  13651. u = !e && uf(n),
  13652. i = !e && !u && cf(n),
  13653. o = !e && !u && !i && pf(n),
  13654. u = (e = e || u || i || o) ? A(n.length, Xu) : [],
  13655. f = u.length;
  13656. for (r in n) {
  13657. !t && !ii.call(n, r) || e && ("length" == r || i && ("offset" == r || "parent" == r) || o && ("buffer" == r || "byteLength" == r || "byteOffset" == r) || Se(r, f)) || u.push(r);
  13658. }
  13659. return u;
  13660. }
  13661. function Qn(n) {
  13662. var t = n.length;
  13663. return t ? n[ir(0, t - 1)] : T;
  13664. }
  13665. function et(n, t) {
  13666. return Ce(Ur(n), pt(t, 0, n.length));
  13667. }
  13668. function ut(n) {
  13669. return Ce(Ur(n));
  13670. }
  13671. function it(n, t, r) {
  13672. (r === T || au(n[t], r)) && (r !== T || t in n) || st(n, t, r);
  13673. }
  13674. function ot(n, t, r) {
  13675. var e = n[t];
  13676. ii.call(n, t) && au(e, r) && (r !== T || t in n) || st(n, t, r);
  13677. }
  13678. function ft(n, t) {
  13679. for (var r = n.length; r--;) {
  13680. if (au(n[r][0], t)) return r;
  13681. }
  13682. return -1;
  13683. }
  13684. function ct(n, t, r, e) {
  13685. return eo(n, function (n, u, i) {
  13686. t(e, n, r(n), i);
  13687. }), e;
  13688. }
  13689. function at(n, t) {
  13690. return n && Cr(t, zu(t), n);
  13691. }
  13692. function lt(n, t) {
  13693. return n && Cr(t, Wu(t), n);
  13694. }
  13695. function st(n, t, r) {
  13696. "__proto__" == t && mi ? mi(n, t, {
  13697. configurable: true,
  13698. enumerable: true,
  13699. value: r,
  13700. writable: true
  13701. }) : n[t] = r;
  13702. }
  13703. function ht(n, t) {
  13704. for (var r = -1, e = t.length, u = Vu(e), i = null == n; ++r < e;) {
  13705. u[r] = i ? T : Iu(n, t[r]);
  13706. }
  13707. return u;
  13708. }
  13709. function pt(n, t, r) {
  13710. return n === n && (r !== T && (n = n <= r ? n : r), t !== T && (n = n >= t ? n : t)), n;
  13711. }
  13712. function _t(n, t, e, u, i, o) {
  13713. var f,
  13714. c = 1 & t,
  13715. a = 2 & t,
  13716. l = 4 & t;
  13717. if (e && (f = i ? e(n, u, i, o) : e(n)), f !== T) return f;
  13718. if (!gu(n)) return n;
  13719. if (u = of(n)) {
  13720. if (f = me(n), !c) return Ur(n, f);
  13721. } else {
  13722. var s = _o(n),
  13723. h = "[object Function]" == s || "[object GeneratorFunction]" == s;
  13724. if (cf(n)) return Ir(n, c);
  13725. if ("[object Object]" == s || "[object Arguments]" == s || h && !i) {
  13726. if (f = a || h ? {} : Ae(n), !c) return a ? Mr(n, lt(f, n)) : Dr(n, at(f, n));
  13727. } else {
  13728. if (!Ln[s]) return i ? n : {};
  13729. f = Ee(n, s, c);
  13730. }
  13731. }
  13732. if (o || (o = new Zn()), i = o.get(n)) return i;
  13733. if (o.set(n, f), hf(n)) return n.forEach(function (r) {
  13734. f.add(_t(r, t, e, r, n, o));
  13735. }), f;
  13736. if (lf(n)) return n.forEach(function (r, u) {
  13737. f.set(u, _t(r, t, e, u, n, o));
  13738. }), f;
  13739. var a = l ? a ? ve : _e : a ? Wu : zu,
  13740. p = u ? T : a(n);
  13741. return r(p || n, function (r, u) {
  13742. p && (u = r, r = n[u]), ot(f, u, _t(r, t, e, u, n, o));
  13743. }), f;
  13744. }
  13745. function vt(n) {
  13746. var t = zu(n);
  13747. return function (r) {
  13748. return gt(r, n, t);
  13749. };
  13750. }
  13751. function gt(n, t, r) {
  13752. var e = r.length;
  13753. if (null == n) return !e;
  13754. for (n = Yu(n); e--;) {
  13755. var u = r[e],
  13756. i = t[u],
  13757. o = n[u];
  13758. if (o === T && !(u in n) || !i(o)) return false;
  13759. }
  13760. return true;
  13761. }
  13762. function dt(n, t, r) {
  13763. if (typeof n != "function") throw new ni("Expected a function");
  13764. return yo(function () {
  13765. n.apply(T, r);
  13766. }, t);
  13767. }
  13768. function yt(n, t, r, e) {
  13769. var u = -1,
  13770. i = o,
  13771. a = true,
  13772. l = n.length,
  13773. s = [],
  13774. h = t.length;
  13775. if (!l) return s;
  13776. r && (t = c(t, k(r))), e ? (i = f, a = false) : 200 <= t.length && (i = O, a = false, t = new Nn(t));
  13777. n: for (; ++u < l;) {
  13778. var p = n[u],
  13779. _ = null == r ? p : r(p),
  13780. p = e || 0 !== p ? p : 0;
  13781. if (a && _ === _) {
  13782. for (var v = h; v--;) {
  13783. if (t[v] === _) continue n;
  13784. }
  13785. s.push(p);
  13786. } else i(t, _, e) || s.push(p);
  13787. }
  13788. return s;
  13789. }
  13790. function bt(n, t) {
  13791. var r = true;
  13792. return eo(n, function (n, e, u) {
  13793. return r = !!t(n, e, u);
  13794. }), r;
  13795. }
  13796. function xt(n, t, r) {
  13797. for (var e = -1, u = n.length; ++e < u;) {
  13798. var i = n[e],
  13799. o = t(i);
  13800. if (null != o && (f === T ? o === o && !ju(o) : r(o, f))) var f = o,
  13801. c = i;
  13802. }
  13803. return c;
  13804. }
  13805. function jt(n, t) {
  13806. var r = [];
  13807. return eo(n, function (n, e, u) {
  13808. t(n, e, u) && r.push(n);
  13809. }), r;
  13810. }
  13811. function wt(n, t, r, e, u) {
  13812. var i = -1,
  13813. o = n.length;
  13814. for (r || (r = ke), u || (u = []); ++i < o;) {
  13815. var f = n[i];
  13816. 0 < t && r(f) ? 1 < t ? wt(f, t - 1, r, e, u) : a(u, f) : e || (u[u.length] = f);
  13817. }
  13818. return u;
  13819. }
  13820. function mt(n, t) {
  13821. return n && io(n, t, zu);
  13822. }
  13823. function At(n, t) {
  13824. return n && oo(n, t, zu);
  13825. }
  13826. function Et(n, t) {
  13827. return i(t, function (t) {
  13828. return pu(n[t]);
  13829. });
  13830. }
  13831. function kt(n, t) {
  13832. t = Sr(t, n);
  13833. for (var r = 0, e = t.length; null != n && r < e;) {
  13834. n = n[De(t[r++])];
  13835. }
  13836. return r && r == e ? n : T;
  13837. }
  13838. function St(n, t, r) {
  13839. return t = t(n), of(n) ? t : a(t, r(n));
  13840. }
  13841. function Ot(n) {
  13842. if (null == n) n = n === T ? "[object Undefined]" : "[object Null]";else if (wi && wi in Yu(n)) {
  13843. var t = ii.call(n, wi),
  13844. r = n[wi];
  13845. try {
  13846. n[wi] = T;
  13847. var e = true;
  13848. } catch (n) {}
  13849. var u = ci.call(n);
  13850. e && (t ? n[wi] = r : delete n[wi]), n = u;
  13851. } else n = ci.call(n);
  13852. return n;
  13853. }
  13854. function It(n, t) {
  13855. return n > t;
  13856. }
  13857. function Rt(n, t) {
  13858. return null != n && ii.call(n, t);
  13859. }
  13860. function zt(n, t) {
  13861. return null != n && t in Yu(n);
  13862. }
  13863. function Wt(n, t, r) {
  13864. for (var e = r ? f : o, u = n[0].length, i = n.length, a = i, l = Vu(i), s = 1 / 0, h = []; a--;) {
  13865. var p = n[a];
  13866. a && t && (p = c(p, k(t))), s = Ui(p.length, s), l[a] = !r && (t || 120 <= u && 120 <= p.length) ? new Nn(a && p) : T;
  13867. }
  13868. var p = n[0],
  13869. _ = -1,
  13870. v = l[0];
  13871. n: for (; ++_ < u && h.length < s;) {
  13872. var g = p[_],
  13873. d = t ? t(g) : g,
  13874. g = r || 0 !== g ? g : 0;
  13875. if (v ? !O(v, d) : !e(h, d, r)) {
  13876. for (a = i; --a;) {
  13877. var y = l[a];
  13878. if (y ? !O(y, d) : !e(n[a], d, r)) continue n;
  13879. }
  13880. v && v.push(d), h.push(g);
  13881. }
  13882. }
  13883. return h;
  13884. }
  13885. function Bt(n, t, r) {
  13886. var e = {};
  13887. return mt(n, function (n, u, i) {
  13888. t(e, r(n), u, i);
  13889. }), e;
  13890. }
  13891. function Lt(t, r, e) {
  13892. return r = Sr(r, t), t = 2 > r.length ? t : kt(t, hr(r, 0, -1)), r = null == t ? t : t[De(qe(r))], null == r ? T : n(r, t, e);
  13893. }
  13894. function Ut(n) {
  13895. return du(n) && "[object Arguments]" == Ot(n);
  13896. }
  13897. function Ct(n) {
  13898. return du(n) && "[object ArrayBuffer]" == Ot(n);
  13899. }
  13900. function Dt(n) {
  13901. return du(n) && "[object Date]" == Ot(n);
  13902. }
  13903. function Mt(n, t, r, e, u) {
  13904. if (n === t) t = true;else if (null == n || null == t || !du(n) && !du(t)) t = n !== n && t !== t;else n: {
  13905. var i = of(n),
  13906. o = of(t),
  13907. f = i ? "[object Array]" : _o(n),
  13908. c = o ? "[object Array]" : _o(t),
  13909. f = "[object Arguments]" == f ? "[object Object]" : f,
  13910. c = "[object Arguments]" == c ? "[object Object]" : c,
  13911. a = "[object Object]" == f,
  13912. o = "[object Object]" == c;
  13913. if ((c = f == c) && cf(n)) {
  13914. if (!cf(t)) {
  13915. t = false;
  13916. break n;
  13917. }
  13918. i = true, a = false;
  13919. }
  13920. if (c && !a) u || (u = new Zn()), t = i || pf(n) ? se(n, t, r, e, Mt, u) : he(n, t, f, r, e, Mt, u);else {
  13921. if (!(1 & r) && (i = a && ii.call(n, "__wrapped__"), f = o && ii.call(t, "__wrapped__"), i || f)) {
  13922. n = i ? n.value() : n, t = f ? t.value() : t, u || (u = new Zn()), t = Mt(n, t, r, e, u);
  13923. break n;
  13924. }
  13925. if (c) {
  13926. t: if (u || (u = new Zn()), i = 1 & r, f = _e(n), o = f.length, c = _e(t).length, o == c || i) {
  13927. for (a = o; a--;) {
  13928. var l = f[a];
  13929. if (!(i ? l in t : ii.call(t, l))) {
  13930. t = false;
  13931. break t;
  13932. }
  13933. }
  13934. if ((c = u.get(n)) && u.get(t)) t = c == t;else {
  13935. c = true, u.set(n, t), u.set(t, n);
  13936. for (var s = i; ++a < o;) {
  13937. var l = f[a],
  13938. h = n[l],
  13939. p = t[l];
  13940. if (e) var _ = i ? e(p, h, l, t, n, u) : e(h, p, l, n, t, u);
  13941. if (_ === T ? h !== p && !Mt(h, p, r, e, u) : !_) {
  13942. c = false;
  13943. break;
  13944. }
  13945. s || (s = "constructor" == l);
  13946. }
  13947. c && !s && (r = n.constructor, e = t.constructor, r != e && "constructor" in n && "constructor" in t && !(typeof r == "function" && r instanceof r && typeof e == "function" && e instanceof e) && (c = false)), u.delete(n), u.delete(t), t = c;
  13948. }
  13949. } else t = false;
  13950. } else t = false;
  13951. }
  13952. }
  13953. return t;
  13954. }
  13955. function Tt(n) {
  13956. return du(n) && "[object Map]" == _o(n);
  13957. }
  13958. function $t(n, t, r, e) {
  13959. var u = r.length,
  13960. i = u,
  13961. o = !e;
  13962. if (null == n) return !i;
  13963. for (n = Yu(n); u--;) {
  13964. var f = r[u];
  13965. if (o && f[2] ? f[1] !== n[f[0]] : !(f[0] in n)) return false;
  13966. }
  13967. for (; ++u < i;) {
  13968. var f = r[u],
  13969. c = f[0],
  13970. a = n[c],
  13971. l = f[1];
  13972. if (o && f[2]) {
  13973. if (a === T && !(c in n)) return false;
  13974. } else {
  13975. if (f = new Zn(), e) var s = e(a, l, c, n, t, f);
  13976. if (s === T ? !Mt(l, a, 3, e, f) : !s) return false;
  13977. }
  13978. }
  13979. return true;
  13980. }
  13981. function Ft(n) {
  13982. return !(!gu(n) || fi && fi in n) && (pu(n) ? si : dn).test(Me(n));
  13983. }
  13984. function Nt(n) {
  13985. return du(n) && "[object RegExp]" == Ot(n);
  13986. }
  13987. function Pt(n) {
  13988. return du(n) && "[object Set]" == _o(n);
  13989. }
  13990. function Zt(n) {
  13991. return du(n) && vu(n.length) && !!Bn[Ot(n)];
  13992. }
  13993. function qt(n) {
  13994. return typeof n == "function" ? n : null == n ? Tu : _typeof(n) == "object" ? of(n) ? Jt(n[0], n[1]) : Ht(n) : Pu(n);
  13995. }
  13996. function Vt(n) {
  13997. if (!ze(n)) return Bi(n);
  13998. var t,
  13999. r = [];
  14000. for (t in Yu(n)) {
  14001. ii.call(n, t) && "constructor" != t && r.push(t);
  14002. }
  14003. return r;
  14004. }
  14005. function Kt(n, t) {
  14006. return n < t;
  14007. }
  14008. function Gt(n, t) {
  14009. var r = -1,
  14010. e = lu(n) ? Vu(n.length) : [];
  14011. return eo(n, function (n, u, i) {
  14012. e[++r] = t(n, u, i);
  14013. }), e;
  14014. }
  14015. function Ht(n) {
  14016. var t = xe(n);
  14017. return 1 == t.length && t[0][2] ? We(t[0][0], t[0][1]) : function (r) {
  14018. return r === n || $t(r, n, t);
  14019. };
  14020. }
  14021. function Jt(n, t) {
  14022. return Ie(n) && t === t && !gu(t) ? We(De(n), t) : function (r) {
  14023. var e = Iu(r, n);
  14024. return e === T && e === t ? Ru(r, n) : Mt(t, e, 3);
  14025. };
  14026. }
  14027. function Yt(n, t, r, e, u) {
  14028. n !== t && io(t, function (i, o) {
  14029. if (gu(i)) {
  14030. u || (u = new Zn());
  14031. var f = u,
  14032. c = "__proto__" == o ? T : n[o],
  14033. a = "__proto__" == o ? T : t[o],
  14034. l = f.get(a);
  14035. if (l) it(n, o, l);else {
  14036. var l = e ? e(c, a, o + "", n, t, f) : T,
  14037. s = l === T;
  14038. if (s) {
  14039. var h = of(a),
  14040. p = !h && cf(a),
  14041. _ = !h && !p && pf(a),
  14042. l = a;
  14043. h || p || _ ? of(c) ? l = c : su(c) ? l = Ur(c) : p ? (s = false, l = Ir(a, true)) : _ ? (s = false, l = zr(a, true)) : l = [] : bu(a) || uf(a) ? (l = c, uf(c) ? l = Su(c) : (!gu(c) || r && pu(c)) && (l = Ae(a))) : s = false;
  14044. }
  14045. s && (f.set(a, l), Yt(l, a, r, e, f), f.delete(a)), it(n, o, l);
  14046. }
  14047. } else f = e ? e("__proto__" == o ? T : n[o], i, o + "", n, t, u) : T, f === T && (f = i), it(n, o, f);
  14048. }, Wu);
  14049. }
  14050. function Qt(n, t) {
  14051. var r = n.length;
  14052. if (r) return t += 0 > t ? r : 0, Se(t, r) ? n[t] : T;
  14053. }
  14054. function Xt(n, t, r) {
  14055. var e = -1;
  14056. return t = c(t.length ? t : [Tu], k(ye())), n = Gt(n, function (n) {
  14057. return {
  14058. a: c(t, function (t) {
  14059. return t(n);
  14060. }),
  14061. b: ++e,
  14062. c: n
  14063. };
  14064. }), w(n, function (n, t) {
  14065. var e;
  14066. n: {
  14067. e = -1;
  14068. for (var u = n.a, i = t.a, o = u.length, f = r.length; ++e < o;) {
  14069. var c = Wr(u[e], i[e]);
  14070. if (c) {
  14071. e = e >= f ? c : c * ("desc" == r[e] ? -1 : 1);
  14072. break n;
  14073. }
  14074. }
  14075. e = n.b - t.b;
  14076. }
  14077. return e;
  14078. });
  14079. }
  14080. function nr(n, t) {
  14081. return tr(n, t, function (t, r) {
  14082. return Ru(n, r);
  14083. });
  14084. }
  14085. function tr(n, t, r) {
  14086. for (var e = -1, u = t.length, i = {}; ++e < u;) {
  14087. var o = t[e],
  14088. f = kt(n, o);
  14089. r(f, o) && lr(i, Sr(o, n), f);
  14090. }
  14091. return i;
  14092. }
  14093. function rr(n) {
  14094. return function (t) {
  14095. return kt(t, n);
  14096. };
  14097. }
  14098. function er(n, t, r, e) {
  14099. var u = e ? g : v,
  14100. i = -1,
  14101. o = t.length,
  14102. f = n;
  14103. for (n === t && (t = Ur(t)), r && (f = c(n, k(r))); ++i < o;) {
  14104. for (var a = 0, l = t[i], l = r ? r(l) : l; -1 < (a = u(f, l, a, e));) {
  14105. f !== n && bi.call(f, a, 1), bi.call(n, a, 1);
  14106. }
  14107. }
  14108. return n;
  14109. }
  14110. function ur(n, t) {
  14111. for (var r = n ? t.length : 0, e = r - 1; r--;) {
  14112. var u = t[r];
  14113. if (r == e || u !== i) {
  14114. var i = u;
  14115. Se(u) ? bi.call(n, u, 1) : xr(n, u);
  14116. }
  14117. }
  14118. }
  14119. function ir(n, t) {
  14120. return n + Oi(Mi() * (t - n + 1));
  14121. }
  14122. function or(n, t) {
  14123. var r = "";
  14124. if (!n || 1 > t || 9007199254740991 < t) return r;
  14125. do {
  14126. t % 2 && (r += n), (t = Oi(t / 2)) && (n += n);
  14127. } while (t);
  14128. return r;
  14129. }
  14130. function fr(n, t) {
  14131. return bo(Be(n, t, Tu), n + "");
  14132. }
  14133. function cr(n) {
  14134. return Qn(Lu(n));
  14135. }
  14136. function ar(n, t) {
  14137. var r = Lu(n);
  14138. return Ce(r, pt(t, 0, r.length));
  14139. }
  14140. function lr(n, t, r, e) {
  14141. if (!gu(n)) return n;
  14142. t = Sr(t, n);
  14143. for (var u = -1, i = t.length, o = i - 1, f = n; null != f && ++u < i;) {
  14144. var c = De(t[u]),
  14145. a = r;
  14146. if (u != o) {
  14147. var l = f[c],
  14148. a = e ? e(l, c, f) : T;
  14149. a === T && (a = gu(l) ? l : Se(t[u + 1]) ? [] : {});
  14150. }
  14151. ot(f, c, a), f = f[c];
  14152. }
  14153. return n;
  14154. }
  14155. function sr(n) {
  14156. return Ce(Lu(n));
  14157. }
  14158. function hr(n, t, r) {
  14159. var e = -1,
  14160. u = n.length;
  14161. for (0 > t && (t = -t > u ? 0 : u + t), r = r > u ? u : r, 0 > r && (r += u), u = t > r ? 0 : r - t >>> 0, t >>>= 0, r = Vu(u); ++e < u;) {
  14162. r[e] = n[e + t];
  14163. }
  14164. return r;
  14165. }
  14166. function pr(n, t) {
  14167. var r;
  14168. return eo(n, function (n, e, u) {
  14169. return r = t(n, e, u), !r;
  14170. }), !!r;
  14171. }
  14172. function _r(n, t, r) {
  14173. var e = 0,
  14174. u = null == n ? e : n.length;
  14175. if (typeof t == "number" && t === t && 2147483647 >= u) {
  14176. for (; e < u;) {
  14177. var i = e + u >>> 1,
  14178. o = n[i];
  14179. null !== o && !ju(o) && (r ? o <= t : o < t) ? e = i + 1 : u = i;
  14180. }
  14181. return u;
  14182. }
  14183. return vr(n, t, Tu, r);
  14184. }
  14185. function vr(n, t, r, e) {
  14186. t = r(t);
  14187. for (var u = 0, i = null == n ? 0 : n.length, o = t !== t, f = null === t, c = ju(t), a = t === T; u < i;) {
  14188. var l = Oi((u + i) / 2),
  14189. s = r(n[l]),
  14190. h = s !== T,
  14191. p = null === s,
  14192. _ = s === s,
  14193. v = ju(s);
  14194. (o ? e || _ : a ? _ && (e || h) : f ? _ && h && (e || !p) : c ? _ && h && !p && (e || !v) : p || v ? 0 : e ? s <= t : s < t) ? u = l + 1 : i = l;
  14195. }
  14196. return Ui(i, 4294967294);
  14197. }
  14198. function gr(n, t) {
  14199. for (var r = -1, e = n.length, u = 0, i = []; ++r < e;) {
  14200. var o = n[r],
  14201. f = t ? t(o) : o;
  14202. if (!r || !au(f, c)) {
  14203. var c = f;
  14204. i[u++] = 0 === o ? 0 : o;
  14205. }
  14206. }
  14207. return i;
  14208. }
  14209. function dr(n) {
  14210. return typeof n == "number" ? n : ju(n) ? F : +n;
  14211. }
  14212. function yr(n) {
  14213. if (typeof n == "string") return n;
  14214. if (of(n)) return c(n, yr) + "";
  14215. if (ju(n)) return to ? to.call(n) : "";
  14216. var t = n + "";
  14217. return "0" == t && 1 / n == -$ ? "-0" : t;
  14218. }
  14219. function br(n, t, r) {
  14220. var e = -1,
  14221. u = o,
  14222. i = n.length,
  14223. c = true,
  14224. a = [],
  14225. l = a;
  14226. if (r) c = false, u = f;else if (200 <= i) {
  14227. if (u = t ? null : lo(n)) return U(u);
  14228. c = false, u = O, l = new Nn();
  14229. } else l = t ? [] : a;
  14230. n: for (; ++e < i;) {
  14231. var s = n[e],
  14232. h = t ? t(s) : s,
  14233. s = r || 0 !== s ? s : 0;
  14234. if (c && h === h) {
  14235. for (var p = l.length; p--;) {
  14236. if (l[p] === h) continue n;
  14237. }
  14238. t && l.push(h), a.push(s);
  14239. } else u(l, h, r) || (l !== a && l.push(h), a.push(s));
  14240. }
  14241. return a;
  14242. }
  14243. function xr(n, t) {
  14244. return t = Sr(t, n), n = 2 > t.length ? n : kt(n, hr(t, 0, -1)), null == n || delete n[De(qe(t))];
  14245. }
  14246. function jr(n, t, r, e) {
  14247. for (var u = n.length, i = e ? u : -1; (e ? i-- : ++i < u) && t(n[i], i, n);) {
  14248. ;
  14249. }
  14250. return r ? hr(n, e ? 0 : i, e ? i + 1 : u) : hr(n, e ? i + 1 : 0, e ? u : i);
  14251. }
  14252. function wr(n, t) {
  14253. var r = n;
  14254. return r instanceof Un && (r = r.value()), l(t, function (n, t) {
  14255. return t.func.apply(t.thisArg, a([n], t.args));
  14256. }, r);
  14257. }
  14258. function mr(n, t, r) {
  14259. var e = n.length;
  14260. if (2 > e) return e ? br(n[0]) : [];
  14261. for (var u = -1, i = Vu(e); ++u < e;) {
  14262. for (var o = n[u], f = -1; ++f < e;) {
  14263. f != u && (i[u] = yt(i[u] || o, n[f], t, r));
  14264. }
  14265. }
  14266. return br(wt(i, 1), t, r);
  14267. }
  14268. function Ar(n, t, r) {
  14269. for (var e = -1, u = n.length, i = t.length, o = {}; ++e < u;) {
  14270. r(o, n[e], e < i ? t[e] : T);
  14271. }
  14272. return o;
  14273. }
  14274. function Er(n) {
  14275. return su(n) ? n : [];
  14276. }
  14277. function kr(n) {
  14278. return typeof n == "function" ? n : Tu;
  14279. }
  14280. function Sr(n, t) {
  14281. return of(n) ? n : Ie(n, t) ? [n] : xo(Ou(n));
  14282. }
  14283. function Or(n, t, r) {
  14284. var e = n.length;
  14285. return r = r === T ? e : r, !t && r >= e ? n : hr(n, t, r);
  14286. }
  14287. function Ir(n, t) {
  14288. if (t) return n.slice();
  14289. var r = n.length,
  14290. r = vi ? vi(r) : new n.constructor(r);
  14291. return n.copy(r), r;
  14292. }
  14293. function Rr(n) {
  14294. var t = new n.constructor(n.byteLength);
  14295. return new _i(t).set(new _i(n)), t;
  14296. }
  14297. function zr(n, t) {
  14298. return new n.constructor(t ? Rr(n.buffer) : n.buffer, n.byteOffset, n.length);
  14299. }
  14300. function Wr(n, t) {
  14301. if (n !== t) {
  14302. var r = n !== T,
  14303. e = null === n,
  14304. u = n === n,
  14305. i = ju(n),
  14306. o = t !== T,
  14307. f = null === t,
  14308. c = t === t,
  14309. a = ju(t);
  14310. if (!f && !a && !i && n > t || i && o && c && !f && !a || e && o && c || !r && c || !u) return 1;
  14311. if (!e && !i && !a && n < t || a && r && u && !e && !i || f && r && u || !o && u || !c) return -1;
  14312. }
  14313. return 0;
  14314. }
  14315. function Br(n, t, r, e) {
  14316. var u = -1,
  14317. i = n.length,
  14318. o = r.length,
  14319. f = -1,
  14320. c = t.length,
  14321. a = Li(i - o, 0),
  14322. l = Vu(c + a);
  14323. for (e = !e; ++f < c;) {
  14324. l[f] = t[f];
  14325. }
  14326. for (; ++u < o;) {
  14327. (e || u < i) && (l[r[u]] = n[u]);
  14328. }
  14329. for (; a--;) {
  14330. l[f++] = n[u++];
  14331. }
  14332. return l;
  14333. }
  14334. function Lr(n, t, r, e) {
  14335. var u = -1,
  14336. i = n.length,
  14337. o = -1,
  14338. f = r.length,
  14339. c = -1,
  14340. a = t.length,
  14341. l = Li(i - f, 0),
  14342. s = Vu(l + a);
  14343. for (e = !e; ++u < l;) {
  14344. s[u] = n[u];
  14345. }
  14346. for (l = u; ++c < a;) {
  14347. s[l + c] = t[c];
  14348. }
  14349. for (; ++o < f;) {
  14350. (e || u < i) && (s[l + r[o]] = n[u++]);
  14351. }
  14352. return s;
  14353. }
  14354. function Ur(n, t) {
  14355. var r = -1,
  14356. e = n.length;
  14357. for (t || (t = Vu(e)); ++r < e;) {
  14358. t[r] = n[r];
  14359. }
  14360. return t;
  14361. }
  14362. function Cr(n, t, r, e) {
  14363. var u = !r;
  14364. r || (r = {});
  14365. for (var i = -1, o = t.length; ++i < o;) {
  14366. var f = t[i],
  14367. c = e ? e(r[f], n[f], f, r, n) : T;
  14368. c === T && (c = n[f]), u ? st(r, f, c) : ot(r, f, c);
  14369. }
  14370. return r;
  14371. }
  14372. function Dr(n, t) {
  14373. return Cr(n, ho(n), t);
  14374. }
  14375. function Mr(n, t) {
  14376. return Cr(n, po(n), t);
  14377. }
  14378. function Tr(n, r) {
  14379. return function (e, u) {
  14380. var i = of(e) ? t : ct,
  14381. o = r ? r() : {};
  14382. return i(e, n, ye(u, 2), o);
  14383. };
  14384. }
  14385. function $r(n) {
  14386. return fr(function (t, r) {
  14387. var e = -1,
  14388. u = r.length,
  14389. i = 1 < u ? r[u - 1] : T,
  14390. o = 2 < u ? r[2] : T,
  14391. i = 3 < n.length && typeof i == "function" ? (u--, i) : T;
  14392. for (o && Oe(r[0], r[1], o) && (i = 3 > u ? T : i, u = 1), t = Yu(t); ++e < u;) {
  14393. (o = r[e]) && n(t, o, e, i);
  14394. }
  14395. return t;
  14396. });
  14397. }
  14398. function Fr(n, t) {
  14399. return function (r, e) {
  14400. if (null == r) return r;
  14401. if (!lu(r)) return n(r, e);
  14402. for (var u = r.length, i = t ? u : -1, o = Yu(r); (t ? i-- : ++i < u) && false !== e(o[i], i, o);) {
  14403. ;
  14404. }
  14405. return r;
  14406. };
  14407. }
  14408. function Nr(n) {
  14409. return function (t, r, e) {
  14410. var u = -1,
  14411. i = Yu(t);
  14412. e = e(t);
  14413. for (var o = e.length; o--;) {
  14414. var f = e[n ? o : ++u];
  14415. if (false === r(i[f], f, i)) break;
  14416. }
  14417. return t;
  14418. };
  14419. }
  14420. function Pr(n, t, r) {
  14421. function e() {
  14422. return (this && this !== $n && this instanceof e ? i : n).apply(u ? r : this, arguments);
  14423. }
  14424. var u = 1 & t,
  14425. i = Vr(n);
  14426. return e;
  14427. }
  14428. function Zr(n) {
  14429. return function (t) {
  14430. t = Ou(t);
  14431. var r = Rn.test(t) ? M(t) : T,
  14432. e = r ? r[0] : t.charAt(0);
  14433. return t = r ? Or(r, 1).join("") : t.slice(1), e[n]() + t;
  14434. };
  14435. }
  14436. function qr(n) {
  14437. return function (t) {
  14438. return l(Du(Cu(t).replace(kn, "")), n, "");
  14439. };
  14440. }
  14441. function Vr(n) {
  14442. return function () {
  14443. var t = arguments;
  14444. switch (t.length) {
  14445. case 0:
  14446. return new n();
  14447. case 1:
  14448. return new n(t[0]);
  14449. case 2:
  14450. return new n(t[0], t[1]);
  14451. case 3:
  14452. return new n(t[0], t[1], t[2]);
  14453. case 4:
  14454. return new n(t[0], t[1], t[2], t[3]);
  14455. case 5:
  14456. return new n(t[0], t[1], t[2], t[3], t[4]);
  14457. case 6:
  14458. return new n(t[0], t[1], t[2], t[3], t[4], t[5]);
  14459. case 7:
  14460. return new n(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
  14461. }
  14462. var r = ro(n.prototype),
  14463. t = n.apply(r, t);
  14464. return gu(t) ? t : r;
  14465. };
  14466. }
  14467. function Kr(t, r, e) {
  14468. function u() {
  14469. for (var o = arguments.length, f = Vu(o), c = o, a = de(u); c--;) {
  14470. f[c] = arguments[c];
  14471. }
  14472. return c = 3 > o && f[0] !== a && f[o - 1] !== a ? [] : L(f, a), o -= c.length, o < e ? ue(t, r, Jr, u.placeholder, T, f, c, T, T, e - o) : n(this && this !== $n && this instanceof u ? i : t, this, f);
  14473. }
  14474. var i = Vr(t);
  14475. return u;
  14476. }
  14477. function Gr(n) {
  14478. return function (t, r, e) {
  14479. var u = Yu(t);
  14480. if (!lu(t)) {
  14481. var i = ye(r, 3);
  14482. t = zu(t), r = function r(n) {
  14483. return i(u[n], n, u);
  14484. };
  14485. }
  14486. return r = n(t, r, e), -1 < r ? u[i ? t[r] : r] : T;
  14487. };
  14488. }
  14489. function Hr(n) {
  14490. return pe(function (t) {
  14491. var r = t.length,
  14492. e = r,
  14493. u = On.prototype.thru;
  14494. for (n && t.reverse(); e--;) {
  14495. var i = t[e];
  14496. if (typeof i != "function") throw new ni("Expected a function");
  14497. if (u && !o && "wrapper" == ge(i)) var o = new On([], true);
  14498. }
  14499. for (e = o ? e : r; ++e < r;) {
  14500. var i = t[e],
  14501. u = ge(i),
  14502. f = "wrapper" == u ? so(i) : T,
  14503. o = f && Re(f[0]) && 424 == f[1] && !f[4].length && 1 == f[9] ? o[ge(f[0])].apply(o, f[3]) : 1 == i.length && Re(i) ? o[u]() : o.thru(i);
  14504. }
  14505. return function () {
  14506. var n = arguments,
  14507. e = n[0];
  14508. if (o && 1 == n.length && of(e)) return o.plant(e).value();
  14509. for (var u = 0, n = r ? t[u].apply(this, n) : e; ++u < r;) {
  14510. n = t[u].call(this, n);
  14511. }
  14512. return n;
  14513. };
  14514. });
  14515. }
  14516. function Jr(n, t, r, e, u, i, o, f, c, a) {
  14517. function l() {
  14518. for (var d = arguments.length, y = Vu(d), b = d; b--;) {
  14519. y[b] = arguments[b];
  14520. }
  14521. if (_) {
  14522. var x,
  14523. j = de(l),
  14524. b = y.length;
  14525. for (x = 0; b--;) {
  14526. y[b] === j && ++x;
  14527. }
  14528. }
  14529. if (e && (y = Br(y, e, u, _)), i && (y = Lr(y, i, o, _)), d -= x, _ && d < a) return j = L(y, j), ue(n, t, Jr, l.placeholder, r, y, j, f, c, a - d);
  14530. if (j = h ? r : this, b = p ? j[n] : n, d = y.length, f) {
  14531. x = y.length;
  14532. for (var w = Ui(f.length, x), m = Ur(y); w--;) {
  14533. var A = f[w];
  14534. y[w] = Se(A, x) ? m[A] : T;
  14535. }
  14536. } else v && 1 < d && y.reverse();
  14537. return s && c < d && (y.length = c), this && this !== $n && this instanceof l && (b = g || Vr(b)), b.apply(j, y);
  14538. }
  14539. var s = 128 & t,
  14540. h = 1 & t,
  14541. p = 2 & t,
  14542. _ = 24 & t,
  14543. v = 512 & t,
  14544. g = p ? T : Vr(n);
  14545. return l;
  14546. }
  14547. function Yr(n, t) {
  14548. return function (r, e) {
  14549. return Bt(r, n, t(e));
  14550. };
  14551. }
  14552. function Qr(n, t) {
  14553. return function (r, e) {
  14554. var u;
  14555. if (r === T && e === T) return t;
  14556. if (r !== T && (u = r), e !== T) {
  14557. if (u === T) return e;
  14558. typeof r == "string" || typeof e == "string" ? (r = yr(r), e = yr(e)) : (r = dr(r), e = dr(e)), u = n(r, e);
  14559. }
  14560. return u;
  14561. };
  14562. }
  14563. function Xr(t) {
  14564. return pe(function (r) {
  14565. return r = c(r, k(ye())), fr(function (e) {
  14566. var u = this;
  14567. return t(r, function (t) {
  14568. return n(t, u, e);
  14569. });
  14570. });
  14571. });
  14572. }
  14573. function ne(n, t) {
  14574. t = t === T ? " " : yr(t);
  14575. var r = t.length;
  14576. return 2 > r ? r ? or(t, n) : t : (r = or(t, Si(n / D(t))), Rn.test(t) ? Or(M(r), 0, n).join("") : r.slice(0, n));
  14577. }
  14578. function te(t, r, e, u) {
  14579. function i() {
  14580. for (var r = -1, c = arguments.length, a = -1, l = u.length, s = Vu(l + c), h = this && this !== $n && this instanceof i ? f : t; ++a < l;) {
  14581. s[a] = u[a];
  14582. }
  14583. for (; c--;) {
  14584. s[a++] = arguments[++r];
  14585. }
  14586. return n(h, o ? e : this, s);
  14587. }
  14588. var o = 1 & r,
  14589. f = Vr(t);
  14590. return i;
  14591. }
  14592. function re(n) {
  14593. return function (t, r, e) {
  14594. e && typeof e != "number" && Oe(t, r, e) && (r = e = T), t = mu(t), r === T ? (r = t, t = 0) : r = mu(r), e = e === T ? t < r ? 1 : -1 : mu(e);
  14595. var u = -1;
  14596. r = Li(Si((r - t) / (e || 1)), 0);
  14597. for (var i = Vu(r); r--;) {
  14598. i[n ? r : ++u] = t, t += e;
  14599. }
  14600. return i;
  14601. };
  14602. }
  14603. function ee(n) {
  14604. return function (t, r) {
  14605. return typeof t == "string" && typeof r == "string" || (t = ku(t), r = ku(r)), n(t, r);
  14606. };
  14607. }
  14608. function ue(n, t, r, e, u, i, o, f, c, a) {
  14609. var l = 8 & t,
  14610. s = l ? o : T;
  14611. o = l ? T : o;
  14612. var h = l ? i : T;
  14613. return i = l ? T : i, t = (t | (l ? 32 : 64)) & ~(l ? 64 : 32), 4 & t || (t &= -4), u = [n, t, u, h, s, i, o, f, c, a], r = r.apply(T, u), Re(n) && go(r, u), r.placeholder = e, Le(r, n, t);
  14614. }
  14615. function ie(n) {
  14616. var t = Ju[n];
  14617. return function (n, r) {
  14618. if (n = ku(n), r = null == r ? 0 : Ui(Au(r), 292)) {
  14619. var e = (Ou(n) + "e").split("e"),
  14620. e = t(e[0] + "e" + (+e[1] + r)),
  14621. e = (Ou(e) + "e").split("e");
  14622. return +(e[0] + "e" + (+e[1] - r));
  14623. }
  14624. return t(n);
  14625. };
  14626. }
  14627. function oe(n) {
  14628. return function (t) {
  14629. var r = _o(t);
  14630. return "[object Map]" == r ? W(t) : "[object Set]" == r ? C(t) : E(t, n(t));
  14631. };
  14632. }
  14633. function fe(n, t, r, e, u, i, o, f) {
  14634. var c = 2 & t;
  14635. if (!c && typeof n != "function") throw new ni("Expected a function");
  14636. var a = e ? e.length : 0;
  14637. if (a || (t &= -97, e = u = T), o = o === T ? o : Li(Au(o), 0), f = f === T ? f : Au(f), a -= u ? u.length : 0, 64 & t) {
  14638. var l = e,
  14639. s = u;
  14640. e = u = T;
  14641. }
  14642. var h = c ? T : so(n);
  14643. return i = [n, t, r, e, u, l, s, i, o, f], h && (r = i[1], n = h[1], t = r | n, e = 128 == n && 8 == r || 128 == n && 256 == r && i[7].length <= h[8] || 384 == n && h[7].length <= h[8] && 8 == r, 131 > t || e) && (1 & n && (i[2] = h[2], t |= 1 & r ? 0 : 4), (r = h[3]) && (e = i[3], i[3] = e ? Br(e, r, h[4]) : r, i[4] = e ? L(i[3], "__lodash_placeholder__") : h[4]), (r = h[5]) && (e = i[5], i[5] = e ? Lr(e, r, h[6]) : r, i[6] = e ? L(i[5], "__lodash_placeholder__") : h[6]), (r = h[7]) && (i[7] = r), 128 & n && (i[8] = null == i[8] ? h[8] : Ui(i[8], h[8])), null == i[9] && (i[9] = h[9]), i[0] = h[0], i[1] = t), n = i[0], t = i[1], r = i[2], e = i[3], u = i[4], f = i[9] = i[9] === T ? c ? 0 : n.length : Li(i[9] - a, 0), !f && 24 & t && (t &= -25), Le((h ? fo : go)(t && 1 != t ? 8 == t || 16 == t ? Kr(n, t, f) : 32 != t && 33 != t || u.length ? Jr.apply(T, i) : te(n, t, r, e) : Pr(n, t, r), i), n, t);
  14644. }
  14645. function ce(n, t, r, e) {
  14646. return n === T || au(n, ri[r]) && !ii.call(e, r) ? t : n;
  14647. }
  14648. function ae(n, t, r, e, u, i) {
  14649. return gu(n) && gu(t) && (i.set(t, n), Yt(n, t, T, ae, i), i.delete(t)), n;
  14650. }
  14651. function le(n) {
  14652. return bu(n) ? T : n;
  14653. }
  14654. function se(n, t, r, e, u, i) {
  14655. var o = 1 & r,
  14656. f = n.length,
  14657. c = t.length;
  14658. if (f != c && !(o && c > f)) return false;
  14659. if ((c = i.get(n)) && i.get(t)) return c == t;
  14660. var c = -1,
  14661. a = true,
  14662. l = 2 & r ? new Nn() : T;
  14663. for (i.set(n, t), i.set(t, n); ++c < f;) {
  14664. var s = n[c],
  14665. p = t[c];
  14666. if (e) var _ = o ? e(p, s, c, t, n, i) : e(s, p, c, n, t, i);
  14667. if (_ !== T) {
  14668. if (_) continue;
  14669. a = false;
  14670. break;
  14671. }
  14672. if (l) {
  14673. if (!h(t, function (n, t) {
  14674. if (!O(l, t) && (s === n || u(s, n, r, e, i))) return l.push(t);
  14675. })) {
  14676. a = false;
  14677. break;
  14678. }
  14679. } else if (s !== p && !u(s, p, r, e, i)) {
  14680. a = false;
  14681. break;
  14682. }
  14683. }
  14684. return i.delete(n), i.delete(t), a;
  14685. }
  14686. function he(n, t, r, e, u, i, o) {
  14687. switch (r) {
  14688. case "[object DataView]":
  14689. if (n.byteLength != t.byteLength || n.byteOffset != t.byteOffset) break;
  14690. n = n.buffer, t = t.buffer;
  14691. case "[object ArrayBuffer]":
  14692. if (n.byteLength != t.byteLength || !i(new _i(n), new _i(t))) break;
  14693. return true;
  14694. case "[object Boolean]":
  14695. case "[object Date]":
  14696. case "[object Number]":
  14697. return au(+n, +t);
  14698. case "[object Error]":
  14699. return n.name == t.name && n.message == t.message;
  14700. case "[object RegExp]":
  14701. case "[object String]":
  14702. return n == t + "";
  14703. case "[object Map]":
  14704. var f = W;
  14705. case "[object Set]":
  14706. if (f || (f = U), n.size != t.size && !(1 & e)) break;
  14707. return (r = o.get(n)) ? r == t : (e |= 2, o.set(n, t), t = se(f(n), f(t), e, u, i, o), o.delete(n), t);
  14708. case "[object Symbol]":
  14709. if (no) return no.call(n) == no.call(t);
  14710. }
  14711. return false;
  14712. }
  14713. function pe(n) {
  14714. return bo(Be(n, T, Pe), n + "");
  14715. }
  14716. function _e(n) {
  14717. return St(n, zu, ho);
  14718. }
  14719. function ve(n) {
  14720. return St(n, Wu, po);
  14721. }
  14722. function ge(n) {
  14723. for (var t = n.name + "", r = Ki[t], e = ii.call(Ki, t) ? r.length : 0; e--;) {
  14724. var u = r[e],
  14725. i = u.func;
  14726. if (null == i || i == n) return u.name;
  14727. }
  14728. return t;
  14729. }
  14730. function de(n) {
  14731. return (ii.call(An, "placeholder") ? An : n).placeholder;
  14732. }
  14733. function ye() {
  14734. var n = An.iteratee || $u,
  14735. n = n === $u ? qt : n;
  14736. return arguments.length ? n(arguments[0], arguments[1]) : n;
  14737. }
  14738. function be(n, t) {
  14739. var r = n.__data__,
  14740. e = _typeof(t);
  14741. return ("string" == e || "number" == e || "symbol" == e || "boolean" == e ? "__proto__" !== t : null === t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
  14742. }
  14743. function xe(n) {
  14744. for (var t = zu(n), r = t.length; r--;) {
  14745. var e = t[r],
  14746. u = n[e];
  14747. t[r] = [e, u, u === u && !gu(u)];
  14748. }
  14749. return t;
  14750. }
  14751. function je(n, t) {
  14752. var r = null == n ? T : n[t];
  14753. return Ft(r) ? r : T;
  14754. }
  14755. function we(n, t, r) {
  14756. t = Sr(t, n);
  14757. for (var e = -1, u = t.length, i = false; ++e < u;) {
  14758. var o = De(t[e]);
  14759. if (!(i = null != n && r(n, o))) break;
  14760. n = n[o];
  14761. }
  14762. return i || ++e != u ? i : (u = null == n ? 0 : n.length, !!u && vu(u) && Se(o, u) && (of(n) || uf(n)));
  14763. }
  14764. function me(n) {
  14765. var t = n.length,
  14766. r = new n.constructor(t);
  14767. return t && "string" == typeof n[0] && ii.call(n, "index") && (r.index = n.index, r.input = n.input), r;
  14768. }
  14769. function Ae(n) {
  14770. return typeof n.constructor != "function" || ze(n) ? {} : ro(gi(n));
  14771. }
  14772. function Ee(n, t, r) {
  14773. var e = n.constructor;
  14774. switch (t) {
  14775. case "[object ArrayBuffer]":
  14776. return Rr(n);
  14777. case "[object Boolean]":
  14778. case "[object Date]":
  14779. return new e(+n);
  14780. case "[object DataView]":
  14781. return t = r ? Rr(n.buffer) : n.buffer, new n.constructor(t, n.byteOffset, n.byteLength);
  14782. case "[object Float32Array]":
  14783. case "[object Float64Array]":
  14784. case "[object Int8Array]":
  14785. case "[object Int16Array]":
  14786. case "[object Int32Array]":
  14787. case "[object Uint8Array]":
  14788. case "[object Uint8ClampedArray]":
  14789. case "[object Uint16Array]":
  14790. case "[object Uint32Array]":
  14791. return zr(n, r);
  14792. case "[object Map]":
  14793. return new e();
  14794. case "[object Number]":
  14795. case "[object String]":
  14796. return new e(n);
  14797. case "[object RegExp]":
  14798. return t = new n.constructor(n.source, _n.exec(n)), t.lastIndex = n.lastIndex, t;
  14799. case "[object Set]":
  14800. return new e();
  14801. case "[object Symbol]":
  14802. return no ? Yu(no.call(n)) : {};
  14803. }
  14804. }
  14805. function ke(n) {
  14806. return of(n) || uf(n) || !!(xi && n && n[xi]);
  14807. }
  14808. function Se(n, t) {
  14809. var r = _typeof(n);
  14810. return t = null == t ? 9007199254740991 : t, !!t && ("number" == r || "symbol" != r && bn.test(n)) && -1 < n && 0 == n % 1 && n < t;
  14811. }
  14812. function Oe(n, t, r) {
  14813. if (!gu(r)) return false;
  14814. var e = _typeof(t);
  14815. return !!("number" == e ? lu(r) && Se(t, r.length) : "string" == e && t in r) && au(r[t], n);
  14816. }
  14817. function Ie(n, t) {
  14818. if (of(n)) return false;
  14819. var r = _typeof(n);
  14820. return !("number" != r && "symbol" != r && "boolean" != r && null != n && !ju(n)) || nn.test(n) || !X.test(n) || null != t && n in Yu(t);
  14821. }
  14822. function Re(n) {
  14823. var t = ge(n),
  14824. r = An[t];
  14825. return typeof r == "function" && t in Un.prototype && (n === r || (t = so(r), !!t && n === t[0]));
  14826. }
  14827. function ze(n) {
  14828. var t = n && n.constructor;
  14829. return n === (typeof t == "function" && t.prototype || ri);
  14830. }
  14831. function We(n, t) {
  14832. return function (r) {
  14833. return null != r && r[n] === t && (t !== T || n in Yu(r));
  14834. };
  14835. }
  14836. function Be(t, r, e) {
  14837. return r = Li(r === T ? t.length - 1 : r, 0), function () {
  14838. for (var u = arguments, i = -1, o = Li(u.length - r, 0), f = Vu(o); ++i < o;) {
  14839. f[i] = u[r + i];
  14840. }
  14841. for (i = -1, o = Vu(r + 1); ++i < r;) {
  14842. o[i] = u[i];
  14843. }
  14844. return o[r] = e(f), n(t, this, o);
  14845. };
  14846. }
  14847. function Le(n, t, r) {
  14848. var e = t + "";
  14849. t = bo;
  14850. var u,
  14851. i = Te;
  14852. return u = (u = e.match(an)) ? u[1].split(ln) : [], r = i(u, r), (i = r.length) && (u = i - 1, r[u] = (1 < i ? "& " : "") + r[u], r = r.join(2 < i ? ", " : " "), e = e.replace(cn, "{\n/* [wrapped with " + r + "] */\n")), t(n, e);
  14853. }
  14854. function Ue(n) {
  14855. var t = 0,
  14856. r = 0;
  14857. return function () {
  14858. var e = Ci(),
  14859. u = 16 - (e - r);
  14860. if (r = e, 0 < u) {
  14861. if (800 <= ++t) return arguments[0];
  14862. } else t = 0;
  14863. return n.apply(T, arguments);
  14864. };
  14865. }
  14866. function Ce(n, t) {
  14867. var r = -1,
  14868. e = n.length,
  14869. u = e - 1;
  14870. for (t = t === T ? e : t; ++r < t;) {
  14871. var e = ir(r, u),
  14872. i = n[e];
  14873. n[e] = n[r], n[r] = i;
  14874. }
  14875. return n.length = t, n;
  14876. }
  14877. function De(n) {
  14878. if (typeof n == "string" || ju(n)) return n;
  14879. var t = n + "";
  14880. return "0" == t && 1 / n == -$ ? "-0" : t;
  14881. }
  14882. function Me(n) {
  14883. if (null != n) {
  14884. try {
  14885. return ui.call(n);
  14886. } catch (n) {}
  14887. return n + "";
  14888. }
  14889. return "";
  14890. }
  14891. function Te(n, t) {
  14892. return r(N, function (r) {
  14893. var e = "_." + r[0];
  14894. t & r[1] && !o(n, e) && n.push(e);
  14895. }), n.sort();
  14896. }
  14897. function $e(n) {
  14898. if (n instanceof Un) return n.clone();
  14899. var t = new On(n.__wrapped__, n.__chain__);
  14900. return t.__actions__ = Ur(n.__actions__), t.__index__ = n.__index__, t.__values__ = n.__values__, t;
  14901. }
  14902. function Fe(n, t, r) {
  14903. var e = null == n ? 0 : n.length;
  14904. return e ? (r = null == r ? 0 : Au(r), 0 > r && (r = Li(e + r, 0)), _(n, ye(t, 3), r)) : -1;
  14905. }
  14906. function Ne(n, t, r) {
  14907. var e = null == n ? 0 : n.length;
  14908. if (!e) return -1;
  14909. var u = e - 1;
  14910. return r !== T && (u = Au(r), u = 0 > r ? Li(e + u, 0) : Ui(u, e - 1)), _(n, ye(t, 3), u, true);
  14911. }
  14912. function Pe(n) {
  14913. return (null == n ? 0 : n.length) ? wt(n, 1) : [];
  14914. }
  14915. function Ze(n) {
  14916. return n && n.length ? n[0] : T;
  14917. }
  14918. function qe(n) {
  14919. var t = null == n ? 0 : n.length;
  14920. return t ? n[t - 1] : T;
  14921. }
  14922. function Ve(n, t) {
  14923. return n && n.length && t && t.length ? er(n, t) : n;
  14924. }
  14925. function Ke(n) {
  14926. return null == n ? n : Ti.call(n);
  14927. }
  14928. function Ge(n) {
  14929. if (!n || !n.length) return [];
  14930. var t = 0;
  14931. return n = i(n, function (n) {
  14932. if (su(n)) return t = Li(n.length, t), true;
  14933. }), A(t, function (t) {
  14934. return c(n, b(t));
  14935. });
  14936. }
  14937. function He(t, r) {
  14938. if (!t || !t.length) return [];
  14939. var e = Ge(t);
  14940. return null == r ? e : c(e, function (t) {
  14941. return n(r, T, t);
  14942. });
  14943. }
  14944. function Je(n) {
  14945. return n = An(n), n.__chain__ = true, n;
  14946. }
  14947. function Ye(n, t) {
  14948. return t(n);
  14949. }
  14950. function Qe() {
  14951. return this;
  14952. }
  14953. function Xe(n, t) {
  14954. return (of(n) ? r : eo)(n, ye(t, 3));
  14955. }
  14956. function nu(n, t) {
  14957. return (of(n) ? e : uo)(n, ye(t, 3));
  14958. }
  14959. function tu(n, t) {
  14960. return (of(n) ? c : Gt)(n, ye(t, 3));
  14961. }
  14962. function ru(n, t, r) {
  14963. return t = r ? T : t, t = n && null == t ? n.length : t, fe(n, 128, T, T, T, T, t);
  14964. }
  14965. function eu(n, t) {
  14966. var r;
  14967. if (typeof t != "function") throw new ni("Expected a function");
  14968. return n = Au(n), function () {
  14969. return 0 < --n && (r = t.apply(this, arguments)), 1 >= n && (t = T), r;
  14970. };
  14971. }
  14972. function uu(n, t, r) {
  14973. return t = r ? T : t, n = fe(n, 8, T, T, T, T, T, t), n.placeholder = uu.placeholder, n;
  14974. }
  14975. function iu(n, t, r) {
  14976. return t = r ? T : t, n = fe(n, 16, T, T, T, T, T, t), n.placeholder = iu.placeholder, n;
  14977. }
  14978. function ou(n, t, r) {
  14979. function e(t) {
  14980. var r = c,
  14981. e = a;
  14982. return c = a = T, _ = t, s = n.apply(e, r);
  14983. }
  14984. function u(n) {
  14985. var r = n - p;
  14986. return n -= _, p === T || r >= t || 0 > r || g && n >= l;
  14987. }
  14988. function i() {
  14989. var n = Ko();
  14990. if (u(n)) return o(n);
  14991. var r,
  14992. e = yo;
  14993. r = n - _, n = t - (n - p), r = g ? Ui(n, l - r) : n, h = e(i, r);
  14994. }
  14995. function o(n) {
  14996. return h = T, d && c ? e(n) : (c = a = T, s);
  14997. }
  14998. function f() {
  14999. var n = Ko(),
  15000. r = u(n);
  15001. if (c = arguments, a = this, p = n, r) {
  15002. if (h === T) return _ = n = p, h = yo(i, t), v ? e(n) : s;
  15003. if (g) return h = yo(i, t), e(p);
  15004. }
  15005. return h === T && (h = yo(i, t)), s;
  15006. }
  15007. var c,
  15008. a,
  15009. l,
  15010. s,
  15011. h,
  15012. p,
  15013. _ = 0,
  15014. v = false,
  15015. g = false,
  15016. d = true;
  15017. if (typeof n != "function") throw new ni("Expected a function");
  15018. return t = ku(t) || 0, gu(r) && (v = !!r.leading, l = (g = "maxWait" in r) ? Li(ku(r.maxWait) || 0, t) : l, d = "trailing" in r ? !!r.trailing : d), f.cancel = function () {
  15019. h !== T && ao(h), _ = 0, c = p = a = h = T;
  15020. }, f.flush = function () {
  15021. return h === T ? s : o(Ko());
  15022. }, f;
  15023. }
  15024. function fu(n, t) {
  15025. function r() {
  15026. var e = arguments,
  15027. u = t ? t.apply(this, e) : e[0],
  15028. i = r.cache;
  15029. return i.has(u) ? i.get(u) : (e = n.apply(this, e), r.cache = i.set(u, e) || i, e);
  15030. }
  15031. if (typeof n != "function" || null != t && typeof t != "function") throw new ni("Expected a function");
  15032. return r.cache = new (fu.Cache || Fn)(), r;
  15033. }
  15034. function cu(n) {
  15035. if (typeof n != "function") throw new ni("Expected a function");
  15036. return function () {
  15037. var t = arguments;
  15038. switch (t.length) {
  15039. case 0:
  15040. return !n.call(this);
  15041. case 1:
  15042. return !n.call(this, t[0]);
  15043. case 2:
  15044. return !n.call(this, t[0], t[1]);
  15045. case 3:
  15046. return !n.call(this, t[0], t[1], t[2]);
  15047. }
  15048. return !n.apply(this, t);
  15049. };
  15050. }
  15051. function au(n, t) {
  15052. return n === t || n !== n && t !== t;
  15053. }
  15054. function lu(n) {
  15055. return null != n && vu(n.length) && !pu(n);
  15056. }
  15057. function su(n) {
  15058. return du(n) && lu(n);
  15059. }
  15060. function hu(n) {
  15061. if (!du(n)) return false;
  15062. var t = Ot(n);
  15063. return "[object Error]" == t || "[object DOMException]" == t || typeof n.message == "string" && typeof n.name == "string" && !bu(n);
  15064. }
  15065. function pu(n) {
  15066. return !!gu(n) && (n = Ot(n), "[object Function]" == n || "[object GeneratorFunction]" == n || "[object AsyncFunction]" == n || "[object Proxy]" == n);
  15067. }
  15068. function _u(n) {
  15069. return typeof n == "number" && n == Au(n);
  15070. }
  15071. function vu(n) {
  15072. return typeof n == "number" && -1 < n && 0 == n % 1 && 9007199254740991 >= n;
  15073. }
  15074. function gu(n) {
  15075. var t = _typeof(n);
  15076. return null != n && ("object" == t || "function" == t);
  15077. }
  15078. function du(n) {
  15079. return null != n && _typeof(n) == "object";
  15080. }
  15081. function yu(n) {
  15082. return typeof n == "number" || du(n) && "[object Number]" == Ot(n);
  15083. }
  15084. function bu(n) {
  15085. return !(!du(n) || "[object Object]" != Ot(n)) && (n = gi(n), null === n || (n = ii.call(n, "constructor") && n.constructor, typeof n == "function" && n instanceof n && ui.call(n) == ai));
  15086. }
  15087. function xu(n) {
  15088. return typeof n == "string" || !of(n) && du(n) && "[object String]" == Ot(n);
  15089. }
  15090. function ju(n) {
  15091. return _typeof(n) == "symbol" || du(n) && "[object Symbol]" == Ot(n);
  15092. }
  15093. function wu(n) {
  15094. if (!n) return [];
  15095. if (lu(n)) return xu(n) ? M(n) : Ur(n);
  15096. if (ji && n[ji]) {
  15097. n = n[ji]();
  15098. for (var t, r = []; !(t = n.next()).done;) {
  15099. r.push(t.value);
  15100. }
  15101. return r;
  15102. }
  15103. return t = _o(n), ("[object Map]" == t ? W : "[object Set]" == t ? U : Lu)(n);
  15104. }
  15105. function mu(n) {
  15106. return n ? (n = ku(n), n === $ || n === -$ ? 1.7976931348623157e308 * (0 > n ? -1 : 1) : n === n ? n : 0) : 0 === n ? n : 0;
  15107. }
  15108. function Au(n) {
  15109. n = mu(n);
  15110. var t = n % 1;
  15111. return n === n ? t ? n - t : n : 0;
  15112. }
  15113. function Eu(n) {
  15114. return n ? pt(Au(n), 0, 4294967295) : 0;
  15115. }
  15116. function ku(n) {
  15117. if (typeof n == "number") return n;
  15118. if (ju(n)) return F;
  15119. if (gu(n) && (n = typeof n.valueOf == "function" ? n.valueOf() : n, n = gu(n) ? n + "" : n), typeof n != "string") return 0 === n ? n : +n;
  15120. n = n.replace(un, "");
  15121. var t = gn.test(n);
  15122. return t || yn.test(n) ? Dn(n.slice(2), t ? 2 : 8) : vn.test(n) ? F : +n;
  15123. }
  15124. function Su(n) {
  15125. return Cr(n, Wu(n));
  15126. }
  15127. function Ou(n) {
  15128. return null == n ? "" : yr(n);
  15129. }
  15130. function Iu(n, t, r) {
  15131. return n = null == n ? T : kt(n, t), n === T ? r : n;
  15132. }
  15133. function Ru(n, t) {
  15134. return null != n && we(n, t, zt);
  15135. }
  15136. function zu(n) {
  15137. return lu(n) ? qn(n) : Vt(n);
  15138. }
  15139. function Wu(n) {
  15140. if (lu(n)) n = qn(n, true);else if (gu(n)) {
  15141. var t,
  15142. r = ze(n),
  15143. e = [];
  15144. for (t in n) {
  15145. ("constructor" != t || !r && ii.call(n, t)) && e.push(t);
  15146. }
  15147. n = e;
  15148. } else {
  15149. if (t = [], null != n) for (r in Yu(n)) {
  15150. t.push(r);
  15151. }
  15152. n = t;
  15153. }
  15154. return n;
  15155. }
  15156. function Bu(n, t) {
  15157. if (null == n) return {};
  15158. var r = c(ve(n), function (n) {
  15159. return [n];
  15160. });
  15161. return t = ye(t), tr(n, r, function (n, r) {
  15162. return t(n, r[0]);
  15163. });
  15164. }
  15165. function Lu(n) {
  15166. return null == n ? [] : S(n, zu(n));
  15167. }
  15168. function Uu(n) {
  15169. return Tf(Ou(n).toLowerCase());
  15170. }
  15171. function Cu(n) {
  15172. return (n = Ou(n)) && n.replace(xn, Xn).replace(Sn, "");
  15173. }
  15174. function Du(n, t, r) {
  15175. return n = Ou(n), t = r ? T : t, t === T ? zn.test(n) ? n.match(In) || [] : n.match(sn) || [] : n.match(t) || [];
  15176. }
  15177. function Mu(n) {
  15178. return function () {
  15179. return n;
  15180. };
  15181. }
  15182. function Tu(n) {
  15183. return n;
  15184. }
  15185. function $u(n) {
  15186. return qt(typeof n == "function" ? n : _t(n, 1));
  15187. }
  15188. function Fu(n, t, e) {
  15189. var u = zu(t),
  15190. i = Et(t, u);
  15191. null != e || gu(t) && (i.length || !u.length) || (e = t, t = n, n = this, i = Et(t, zu(t)));
  15192. var o = !(gu(e) && "chain" in e && !e.chain),
  15193. f = pu(n);
  15194. return r(i, function (r) {
  15195. var e = t[r];
  15196. n[r] = e, f && (n.prototype[r] = function () {
  15197. var t = this.__chain__;
  15198. if (o || t) {
  15199. var r = n(this.__wrapped__);
  15200. return (r.__actions__ = Ur(this.__actions__)).push({
  15201. func: e,
  15202. args: arguments,
  15203. thisArg: n
  15204. }), r.__chain__ = t, r;
  15205. }
  15206. return e.apply(n, a([this.value()], arguments));
  15207. });
  15208. }), n;
  15209. }
  15210. function Nu() {}
  15211. function Pu(n) {
  15212. return Ie(n) ? b(De(n)) : rr(n);
  15213. }
  15214. function Zu() {
  15215. return [];
  15216. }
  15217. function qu() {
  15218. return false;
  15219. }
  15220. mn = null == mn ? $n : rt.defaults($n.Object(), mn, rt.pick($n, Wn));
  15221. var Vu = mn.Array,
  15222. Ku = mn.Date,
  15223. Gu = mn.Error,
  15224. Hu = mn.Function,
  15225. Ju = mn.Math,
  15226. Yu = mn.Object,
  15227. Qu = mn.RegExp,
  15228. Xu = mn.String,
  15229. ni = mn.TypeError,
  15230. ti = Vu.prototype,
  15231. ri = Yu.prototype,
  15232. ei = mn["__core-js_shared__"],
  15233. ui = Hu.prototype.toString,
  15234. ii = ri.hasOwnProperty,
  15235. oi = 0,
  15236. fi = function () {
  15237. var n = /[^.]+$/.exec(ei && ei.keys && ei.keys.IE_PROTO || "");
  15238. return n ? "Symbol(src)_1." + n : "";
  15239. }(),
  15240. ci = ri.toString,
  15241. ai = ui.call(Yu),
  15242. li = $n._,
  15243. si = Qu("^" + ui.call(ii).replace(rn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
  15244. hi = Pn ? mn.Buffer : T,
  15245. pi = mn.Symbol,
  15246. _i = mn.Uint8Array,
  15247. vi = hi ? hi.g : T,
  15248. gi = B(Yu.getPrototypeOf, Yu),
  15249. di = Yu.create,
  15250. yi = ri.propertyIsEnumerable,
  15251. bi = ti.splice,
  15252. xi = pi ? pi.isConcatSpreadable : T,
  15253. ji = pi ? pi.iterator : T,
  15254. wi = pi ? pi.toStringTag : T,
  15255. mi = function () {
  15256. try {
  15257. var n = je(Yu, "defineProperty");
  15258. return n({}, "", {}), n;
  15259. } catch (n) {}
  15260. }(),
  15261. Ai = mn.clearTimeout !== $n.clearTimeout && mn.clearTimeout,
  15262. Ei = Ku && Ku.now !== $n.Date.now && Ku.now,
  15263. ki = mn.setTimeout !== $n.setTimeout && mn.setTimeout,
  15264. Si = Ju.ceil,
  15265. Oi = Ju.floor,
  15266. Ii = Yu.getOwnPropertySymbols,
  15267. Ri = hi ? hi.isBuffer : T,
  15268. zi = mn.isFinite,
  15269. Wi = ti.join,
  15270. Bi = B(Yu.keys, Yu),
  15271. Li = Ju.max,
  15272. Ui = Ju.min,
  15273. Ci = Ku.now,
  15274. Di = mn.parseInt,
  15275. Mi = Ju.random,
  15276. Ti = ti.reverse,
  15277. $i = je(mn, "DataView"),
  15278. Fi = je(mn, "Map"),
  15279. Ni = je(mn, "Promise"),
  15280. Pi = je(mn, "Set"),
  15281. Zi = je(mn, "WeakMap"),
  15282. qi = je(Yu, "create"),
  15283. Vi = Zi && new Zi(),
  15284. Ki = {},
  15285. Gi = Me($i),
  15286. Hi = Me(Fi),
  15287. Ji = Me(Ni),
  15288. Yi = Me(Pi),
  15289. Qi = Me(Zi),
  15290. Xi = pi ? pi.prototype : T,
  15291. no = Xi ? Xi.valueOf : T,
  15292. to = Xi ? Xi.toString : T,
  15293. ro = function () {
  15294. function n() {}
  15295. return function (t) {
  15296. return gu(t) ? di ? di(t) : (n.prototype = t, t = new n(), n.prototype = T, t) : {};
  15297. };
  15298. }();
  15299. An.templateSettings = {
  15300. escape: J,
  15301. evaluate: Y,
  15302. interpolate: Q,
  15303. variable: "",
  15304. imports: {
  15305. _: An
  15306. }
  15307. }, An.prototype = En.prototype, An.prototype.constructor = An, On.prototype = ro(En.prototype), On.prototype.constructor = On, Un.prototype = ro(En.prototype), Un.prototype.constructor = Un, Mn.prototype.clear = function () {
  15308. this.__data__ = qi ? qi(null) : {}, this.size = 0;
  15309. }, Mn.prototype.delete = function (n) {
  15310. return n = this.has(n) && delete this.__data__[n], this.size -= n ? 1 : 0, n;
  15311. }, Mn.prototype.get = function (n) {
  15312. var t = this.__data__;
  15313. return qi ? (n = t[n], "__lodash_hash_undefined__" === n ? T : n) : ii.call(t, n) ? t[n] : T;
  15314. }, Mn.prototype.has = function (n) {
  15315. var t = this.__data__;
  15316. return qi ? t[n] !== T : ii.call(t, n);
  15317. }, Mn.prototype.set = function (n, t) {
  15318. var r = this.__data__;
  15319. return this.size += this.has(n) ? 0 : 1, r[n] = qi && t === T ? "__lodash_hash_undefined__" : t, this;
  15320. }, Tn.prototype.clear = function () {
  15321. this.__data__ = [], this.size = 0;
  15322. }, Tn.prototype.delete = function (n) {
  15323. var t = this.__data__;
  15324. return n = ft(t, n), !(0 > n) && (n == t.length - 1 ? t.pop() : bi.call(t, n, 1), --this.size, true);
  15325. }, Tn.prototype.get = function (n) {
  15326. var t = this.__data__;
  15327. return n = ft(t, n), 0 > n ? T : t[n][1];
  15328. }, Tn.prototype.has = function (n) {
  15329. return -1 < ft(this.__data__, n);
  15330. }, Tn.prototype.set = function (n, t) {
  15331. var r = this.__data__,
  15332. e = ft(r, n);
  15333. return 0 > e ? (++this.size, r.push([n, t])) : r[e][1] = t, this;
  15334. }, Fn.prototype.clear = function () {
  15335. this.size = 0, this.__data__ = {
  15336. hash: new Mn(),
  15337. map: new (Fi || Tn)(),
  15338. string: new Mn()
  15339. };
  15340. }, Fn.prototype.delete = function (n) {
  15341. return n = be(this, n).delete(n), this.size -= n ? 1 : 0, n;
  15342. }, Fn.prototype.get = function (n) {
  15343. return be(this, n).get(n);
  15344. }, Fn.prototype.has = function (n) {
  15345. return be(this, n).has(n);
  15346. }, Fn.prototype.set = function (n, t) {
  15347. var r = be(this, n),
  15348. e = r.size;
  15349. return r.set(n, t), this.size += r.size == e ? 0 : 1, this;
  15350. }, Nn.prototype.add = Nn.prototype.push = function (n) {
  15351. return this.__data__.set(n, "__lodash_hash_undefined__"), this;
  15352. }, Nn.prototype.has = function (n) {
  15353. return this.__data__.has(n);
  15354. }, Zn.prototype.clear = function () {
  15355. this.__data__ = new Tn(), this.size = 0;
  15356. }, Zn.prototype.delete = function (n) {
  15357. var t = this.__data__;
  15358. return n = t.delete(n), this.size = t.size, n;
  15359. }, Zn.prototype.get = function (n) {
  15360. return this.__data__.get(n);
  15361. }, Zn.prototype.has = function (n) {
  15362. return this.__data__.has(n);
  15363. }, Zn.prototype.set = function (n, t) {
  15364. var r = this.__data__;
  15365. if (r instanceof Tn) {
  15366. var e = r.__data__;
  15367. if (!Fi || 199 > e.length) return e.push([n, t]), this.size = ++r.size, this;
  15368. r = this.__data__ = new Fn(e);
  15369. }
  15370. return r.set(n, t), this.size = r.size, this;
  15371. };
  15372. var eo = Fr(mt),
  15373. uo = Fr(At, true),
  15374. io = Nr(),
  15375. oo = Nr(true),
  15376. fo = Vi ? function (n, t) {
  15377. return Vi.set(n, t), n;
  15378. } : Tu,
  15379. co = mi ? function (n, t) {
  15380. return mi(n, "toString", {
  15381. configurable: true,
  15382. enumerable: false,
  15383. value: Mu(t),
  15384. writable: true
  15385. });
  15386. } : Tu,
  15387. ao = Ai || function (n) {
  15388. return $n.clearTimeout(n);
  15389. },
  15390. lo = Pi && 1 / U(new Pi([, -0]))[1] == $ ? function (n) {
  15391. return new Pi(n);
  15392. } : Nu,
  15393. so = Vi ? function (n) {
  15394. return Vi.get(n);
  15395. } : Nu,
  15396. ho = Ii ? function (n) {
  15397. return null == n ? [] : (n = Yu(n), i(Ii(n), function (t) {
  15398. return yi.call(n, t);
  15399. }));
  15400. } : Zu,
  15401. po = Ii ? function (n) {
  15402. for (var t = []; n;) {
  15403. a(t, ho(n)), n = gi(n);
  15404. }
  15405. return t;
  15406. } : Zu,
  15407. _o = Ot;
  15408. ($i && "[object DataView]" != _o(new $i(new ArrayBuffer(1))) || Fi && "[object Map]" != _o(new Fi()) || Ni && "[object Promise]" != _o(Ni.resolve()) || Pi && "[object Set]" != _o(new Pi()) || Zi && "[object WeakMap]" != _o(new Zi())) && (_o = function _o(n) {
  15409. var t = Ot(n);
  15410. if (n = (n = "[object Object]" == t ? n.constructor : T) ? Me(n) : "") switch (n) {
  15411. case Gi:
  15412. return "[object DataView]";
  15413. case Hi:
  15414. return "[object Map]";
  15415. case Ji:
  15416. return "[object Promise]";
  15417. case Yi:
  15418. return "[object Set]";
  15419. case Qi:
  15420. return "[object WeakMap]";
  15421. }
  15422. return t;
  15423. });
  15424. var vo = ei ? pu : qu,
  15425. go = Ue(fo),
  15426. yo = ki || function (n, t) {
  15427. return $n.setTimeout(n, t);
  15428. },
  15429. bo = Ue(co),
  15430. xo = function (n) {
  15431. n = fu(n, function (n) {
  15432. return 500 === t.size && t.clear(), n;
  15433. });
  15434. var t = n.cache;
  15435. return n;
  15436. }(function (n) {
  15437. var t = [];
  15438. return 46 === n.charCodeAt(0) && t.push(""), n.replace(tn, function (n, r, e, u) {
  15439. t.push(e ? u.replace(hn, "$1") : r || n);
  15440. }), t;
  15441. }),
  15442. jo = fr(function (n, t) {
  15443. return su(n) ? yt(n, wt(t, 1, su, true)) : [];
  15444. }),
  15445. wo = fr(function (n, t) {
  15446. var r = qe(t);
  15447. return su(r) && (r = T), su(n) ? yt(n, wt(t, 1, su, true), ye(r, 2)) : [];
  15448. }),
  15449. mo = fr(function (n, t) {
  15450. var r = qe(t);
  15451. return su(r) && (r = T), su(n) ? yt(n, wt(t, 1, su, true), T, r) : [];
  15452. }),
  15453. Ao = fr(function (n) {
  15454. var t = c(n, Er);
  15455. return t.length && t[0] === n[0] ? Wt(t) : [];
  15456. }),
  15457. Eo = fr(function (n) {
  15458. var t = qe(n),
  15459. r = c(n, Er);
  15460. return t === qe(r) ? t = T : r.pop(), r.length && r[0] === n[0] ? Wt(r, ye(t, 2)) : [];
  15461. }),
  15462. ko = fr(function (n) {
  15463. var t = qe(n),
  15464. r = c(n, Er);
  15465. return (t = typeof t == "function" ? t : T) && r.pop(), r.length && r[0] === n[0] ? Wt(r, T, t) : [];
  15466. }),
  15467. So = fr(Ve),
  15468. Oo = pe(function (n, t) {
  15469. var r = null == n ? 0 : n.length,
  15470. e = ht(n, t);
  15471. return ur(n, c(t, function (n) {
  15472. return Se(n, r) ? +n : n;
  15473. }).sort(Wr)), e;
  15474. }),
  15475. Io = fr(function (n) {
  15476. return br(wt(n, 1, su, true));
  15477. }),
  15478. Ro = fr(function (n) {
  15479. var t = qe(n);
  15480. return su(t) && (t = T), br(wt(n, 1, su, true), ye(t, 2));
  15481. }),
  15482. zo = fr(function (n) {
  15483. var t = qe(n),
  15484. t = typeof t == "function" ? t : T;
  15485. return br(wt(n, 1, su, true), T, t);
  15486. }),
  15487. Wo = fr(function (n, t) {
  15488. return su(n) ? yt(n, t) : [];
  15489. }),
  15490. Bo = fr(function (n) {
  15491. return mr(i(n, su));
  15492. }),
  15493. Lo = fr(function (n) {
  15494. var t = qe(n);
  15495. return su(t) && (t = T), mr(i(n, su), ye(t, 2));
  15496. }),
  15497. Uo = fr(function (n) {
  15498. var t = qe(n),
  15499. t = typeof t == "function" ? t : T;
  15500. return mr(i(n, su), T, t);
  15501. }),
  15502. Co = fr(Ge),
  15503. Do = fr(function (n) {
  15504. var t = n.length,
  15505. t = 1 < t ? n[t - 1] : T,
  15506. t = typeof t == "function" ? (n.pop(), t) : T;
  15507. return He(n, t);
  15508. }),
  15509. Mo = pe(function (n) {
  15510. function t(t) {
  15511. return ht(t, n);
  15512. }
  15513. var r = n.length,
  15514. e = r ? n[0] : 0,
  15515. u = this.__wrapped__;
  15516. return !(1 < r || this.__actions__.length) && u instanceof Un && Se(e) ? (u = u.slice(e, +e + (r ? 1 : 0)), u.__actions__.push({
  15517. func: Ye,
  15518. args: [t],
  15519. thisArg: T
  15520. }), new On(u, this.__chain__).thru(function (n) {
  15521. return r && !n.length && n.push(T), n;
  15522. })) : this.thru(t);
  15523. }),
  15524. To = Tr(function (n, t, r) {
  15525. ii.call(n, r) ? ++n[r] : st(n, r, 1);
  15526. }),
  15527. $o = Gr(Fe),
  15528. Fo = Gr(Ne),
  15529. No = Tr(function (n, t, r) {
  15530. ii.call(n, r) ? n[r].push(t) : st(n, r, [t]);
  15531. }),
  15532. Po = fr(function (t, r, e) {
  15533. var u = -1,
  15534. i = typeof r == "function",
  15535. o = lu(t) ? Vu(t.length) : [];
  15536. return eo(t, function (t) {
  15537. o[++u] = i ? n(r, t, e) : Lt(t, r, e);
  15538. }), o;
  15539. }),
  15540. Zo = Tr(function (n, t, r) {
  15541. st(n, r, t);
  15542. }),
  15543. qo = Tr(function (n, t, r) {
  15544. n[r ? 0 : 1].push(t);
  15545. }, function () {
  15546. return [[], []];
  15547. }),
  15548. Vo = fr(function (n, t) {
  15549. if (null == n) return [];
  15550. var r = t.length;
  15551. return 1 < r && Oe(n, t[0], t[1]) ? t = [] : 2 < r && Oe(t[0], t[1], t[2]) && (t = [t[0]]), Xt(n, wt(t, 1), []);
  15552. }),
  15553. Ko = Ei || function () {
  15554. return $n.Date.now();
  15555. },
  15556. Go = fr(function (n, t, r) {
  15557. var e = 1;
  15558. if (r.length) var u = L(r, de(Go)),
  15559. e = 32 | e;
  15560. return fe(n, e, t, r, u);
  15561. }),
  15562. Ho = fr(function (n, t, r) {
  15563. var e = 3;
  15564. if (r.length) var u = L(r, de(Ho)),
  15565. e = 32 | e;
  15566. return fe(t, e, n, r, u);
  15567. }),
  15568. Jo = fr(function (n, t) {
  15569. return dt(n, 1, t);
  15570. }),
  15571. Yo = fr(function (n, t, r) {
  15572. return dt(n, ku(t) || 0, r);
  15573. });
  15574. fu.Cache = Fn;
  15575. var Qo = fr(function (t, r) {
  15576. r = 1 == r.length && of(r[0]) ? c(r[0], k(ye())) : c(wt(r, 1), k(ye()));
  15577. var e = r.length;
  15578. return fr(function (u) {
  15579. for (var i = -1, o = Ui(u.length, e); ++i < o;) {
  15580. u[i] = r[i].call(this, u[i]);
  15581. }
  15582. return n(t, this, u);
  15583. });
  15584. }),
  15585. Xo = fr(function (n, t) {
  15586. return fe(n, 32, T, t, L(t, de(Xo)));
  15587. }),
  15588. nf = fr(function (n, t) {
  15589. return fe(n, 64, T, t, L(t, de(nf)));
  15590. }),
  15591. tf = pe(function (n, t) {
  15592. return fe(n, 256, T, T, T, t);
  15593. }),
  15594. rf = ee(It),
  15595. ef = ee(function (n, t) {
  15596. return n >= t;
  15597. }),
  15598. uf = Ut(function () {
  15599. return arguments;
  15600. }()) ? Ut : function (n) {
  15601. return du(n) && ii.call(n, "callee") && !yi.call(n, "callee");
  15602. },
  15603. of = Vu.isArray,
  15604. ff = Vn ? k(Vn) : Ct,
  15605. cf = Ri || qu,
  15606. af = Kn ? k(Kn) : Dt,
  15607. lf = Gn ? k(Gn) : Tt,
  15608. sf = Hn ? k(Hn) : Nt,
  15609. hf = Jn ? k(Jn) : Pt,
  15610. pf = Yn ? k(Yn) : Zt,
  15611. _f = ee(Kt),
  15612. vf = ee(function (n, t) {
  15613. return n <= t;
  15614. }),
  15615. gf = $r(function (n, t) {
  15616. if (ze(t) || lu(t)) Cr(t, zu(t), n);else for (var r in t) {
  15617. ii.call(t, r) && ot(n, r, t[r]);
  15618. }
  15619. }),
  15620. df = $r(function (n, t) {
  15621. Cr(t, Wu(t), n);
  15622. }),
  15623. yf = $r(function (n, t, r, e) {
  15624. Cr(t, Wu(t), n, e);
  15625. }),
  15626. bf = $r(function (n, t, r, e) {
  15627. Cr(t, zu(t), n, e);
  15628. }),
  15629. xf = pe(ht),
  15630. jf = fr(function (n, t) {
  15631. n = Yu(n);
  15632. var r = -1,
  15633. e = t.length,
  15634. u = 2 < e ? t[2] : T;
  15635. for (u && Oe(t[0], t[1], u) && (e = 1); ++r < e;) {
  15636. for (var u = t[r], i = Wu(u), o = -1, f = i.length; ++o < f;) {
  15637. var c = i[o],
  15638. a = n[c];
  15639. (a === T || au(a, ri[c]) && !ii.call(n, c)) && (n[c] = u[c]);
  15640. }
  15641. }
  15642. return n;
  15643. }),
  15644. wf = fr(function (t) {
  15645. return t.push(T, ae), n(Sf, T, t);
  15646. }),
  15647. mf = Yr(function (n, t, r) {
  15648. null != t && typeof t.toString != "function" && (t = ci.call(t)), n[t] = r;
  15649. }, Mu(Tu)),
  15650. Af = Yr(function (n, t, r) {
  15651. null != t && typeof t.toString != "function" && (t = ci.call(t)), ii.call(n, t) ? n[t].push(r) : n[t] = [r];
  15652. }, ye),
  15653. Ef = fr(Lt),
  15654. kf = $r(function (n, t, r) {
  15655. Yt(n, t, r);
  15656. }),
  15657. Sf = $r(function (n, t, r, e) {
  15658. Yt(n, t, r, e);
  15659. }),
  15660. Of = pe(function (n, t) {
  15661. var r = {};
  15662. if (null == n) return r;
  15663. var e = false;
  15664. t = c(t, function (t) {
  15665. return t = Sr(t, n), e || (e = 1 < t.length), t;
  15666. }), Cr(n, ve(n), r), e && (r = _t(r, 7, le));
  15667. for (var u = t.length; u--;) {
  15668. xr(r, t[u]);
  15669. }
  15670. return r;
  15671. }),
  15672. If = pe(function (n, t) {
  15673. return null == n ? {} : nr(n, t);
  15674. }),
  15675. Rf = oe(zu),
  15676. zf = oe(Wu),
  15677. Wf = qr(function (n, t, r) {
  15678. return t = t.toLowerCase(), n + (r ? Uu(t) : t);
  15679. }),
  15680. Bf = qr(function (n, t, r) {
  15681. return n + (r ? "-" : "") + t.toLowerCase();
  15682. }),
  15683. Lf = qr(function (n, t, r) {
  15684. return n + (r ? " " : "") + t.toLowerCase();
  15685. }),
  15686. Uf = Zr("toLowerCase"),
  15687. Cf = qr(function (n, t, r) {
  15688. return n + (r ? "_" : "") + t.toLowerCase();
  15689. }),
  15690. Df = qr(function (n, t, r) {
  15691. return n + (r ? " " : "") + Tf(t);
  15692. }),
  15693. Mf = qr(function (n, t, r) {
  15694. return n + (r ? " " : "") + t.toUpperCase();
  15695. }),
  15696. Tf = Zr("toUpperCase"),
  15697. $f = fr(function (t, r) {
  15698. try {
  15699. return n(t, T, r);
  15700. } catch (n) {
  15701. return hu(n) ? n : new Gu(n);
  15702. }
  15703. }),
  15704. Ff = pe(function (n, t) {
  15705. return r(t, function (t) {
  15706. t = De(t), st(n, t, Go(n[t], n));
  15707. }), n;
  15708. }),
  15709. Nf = Hr(),
  15710. Pf = Hr(true),
  15711. Zf = fr(function (n, t) {
  15712. return function (r) {
  15713. return Lt(r, n, t);
  15714. };
  15715. }),
  15716. qf = fr(function (n, t) {
  15717. return function (r) {
  15718. return Lt(n, r, t);
  15719. };
  15720. }),
  15721. Vf = Xr(c),
  15722. Kf = Xr(u),
  15723. Gf = Xr(h),
  15724. Hf = re(),
  15725. Jf = re(true),
  15726. Yf = Qr(function (n, t) {
  15727. return n + t;
  15728. }, 0),
  15729. Qf = ie("ceil"),
  15730. Xf = Qr(function (n, t) {
  15731. return n / t;
  15732. }, 1),
  15733. nc = ie("floor"),
  15734. tc = Qr(function (n, t) {
  15735. return n * t;
  15736. }, 1),
  15737. rc = ie("round"),
  15738. ec = Qr(function (n, t) {
  15739. return n - t;
  15740. }, 0);
  15741. return An.after = function (n, t) {
  15742. if (typeof t != "function") throw new ni("Expected a function");
  15743. return n = Au(n), function () {
  15744. if (1 > --n) return t.apply(this, arguments);
  15745. };
  15746. }, An.ary = ru, An.assign = gf, An.assignIn = df, An.assignInWith = yf, An.assignWith = bf, An.at = xf, An.before = eu, An.bind = Go, An.bindAll = Ff, An.bindKey = Ho, An.castArray = function () {
  15747. if (!arguments.length) return [];
  15748. var n = arguments[0];
  15749. return of(n) ? n : [n];
  15750. }, An.chain = Je, An.chunk = function (n, t, r) {
  15751. if (t = (r ? Oe(n, t, r) : t === T) ? 1 : Li(Au(t), 0), r = null == n ? 0 : n.length, !r || 1 > t) return [];
  15752. for (var e = 0, u = 0, i = Vu(Si(r / t)); e < r;) {
  15753. i[u++] = hr(n, e, e += t);
  15754. }
  15755. return i;
  15756. }, An.compact = function (n) {
  15757. for (var t = -1, r = null == n ? 0 : n.length, e = 0, u = []; ++t < r;) {
  15758. var i = n[t];
  15759. i && (u[e++] = i);
  15760. }
  15761. return u;
  15762. }, An.concat = function () {
  15763. var n = arguments.length;
  15764. if (!n) return [];
  15765. for (var t = Vu(n - 1), r = arguments[0]; n--;) {
  15766. t[n - 1] = arguments[n];
  15767. }
  15768. return a(of(r) ? Ur(r) : [r], wt(t, 1));
  15769. }, An.cond = function (t) {
  15770. var r = null == t ? 0 : t.length,
  15771. e = ye();
  15772. return t = r ? c(t, function (n) {
  15773. if ("function" != typeof n[1]) throw new ni("Expected a function");
  15774. return [e(n[0]), n[1]];
  15775. }) : [], fr(function (e) {
  15776. for (var u = -1; ++u < r;) {
  15777. var i = t[u];
  15778. if (n(i[0], this, e)) return n(i[1], this, e);
  15779. }
  15780. });
  15781. }, An.conforms = function (n) {
  15782. return vt(_t(n, 1));
  15783. }, An.constant = Mu, An.countBy = To, An.create = function (n, t) {
  15784. var r = ro(n);
  15785. return null == t ? r : at(r, t);
  15786. }, An.curry = uu, An.curryRight = iu, An.debounce = ou, An.defaults = jf, An.defaultsDeep = wf, An.defer = Jo, An.delay = Yo, An.difference = jo, An.differenceBy = wo, An.differenceWith = mo, An.drop = function (n, t, r) {
  15787. var e = null == n ? 0 : n.length;
  15788. return e ? (t = r || t === T ? 1 : Au(t), hr(n, 0 > t ? 0 : t, e)) : [];
  15789. }, An.dropRight = function (n, t, r) {
  15790. var e = null == n ? 0 : n.length;
  15791. return e ? (t = r || t === T ? 1 : Au(t), t = e - t, hr(n, 0, 0 > t ? 0 : t)) : [];
  15792. }, An.dropRightWhile = function (n, t) {
  15793. return n && n.length ? jr(n, ye(t, 3), true, true) : [];
  15794. }, An.dropWhile = function (n, t) {
  15795. return n && n.length ? jr(n, ye(t, 3), true) : [];
  15796. }, An.fill = function (n, t, r, e) {
  15797. var u = null == n ? 0 : n.length;
  15798. if (!u) return [];
  15799. for (r && typeof r != "number" && Oe(n, t, r) && (r = 0, e = u), u = n.length, r = Au(r), 0 > r && (r = -r > u ? 0 : u + r), e = e === T || e > u ? u : Au(e), 0 > e && (e += u), e = r > e ? 0 : Eu(e); r < e;) {
  15800. n[r++] = t;
  15801. }
  15802. return n;
  15803. }, An.filter = function (n, t) {
  15804. return (of(n) ? i : jt)(n, ye(t, 3));
  15805. }, An.flatMap = function (n, t) {
  15806. return wt(tu(n, t), 1);
  15807. }, An.flatMapDeep = function (n, t) {
  15808. return wt(tu(n, t), $);
  15809. }, An.flatMapDepth = function (n, t, r) {
  15810. return r = r === T ? 1 : Au(r), wt(tu(n, t), r);
  15811. }, An.flatten = Pe, An.flattenDeep = function (n) {
  15812. return (null == n ? 0 : n.length) ? wt(n, $) : [];
  15813. }, An.flattenDepth = function (n, t) {
  15814. return null != n && n.length ? (t = t === T ? 1 : Au(t), wt(n, t)) : [];
  15815. }, An.flip = function (n) {
  15816. return fe(n, 512);
  15817. }, An.flow = Nf, An.flowRight = Pf, An.fromPairs = function (n) {
  15818. for (var t = -1, r = null == n ? 0 : n.length, e = {}; ++t < r;) {
  15819. var u = n[t];
  15820. e[u[0]] = u[1];
  15821. }
  15822. return e;
  15823. }, An.functions = function (n) {
  15824. return null == n ? [] : Et(n, zu(n));
  15825. }, An.functionsIn = function (n) {
  15826. return null == n ? [] : Et(n, Wu(n));
  15827. }, An.groupBy = No, An.initial = function (n) {
  15828. return (null == n ? 0 : n.length) ? hr(n, 0, -1) : [];
  15829. }, An.intersection = Ao, An.intersectionBy = Eo, An.intersectionWith = ko, An.invert = mf, An.invertBy = Af, An.invokeMap = Po, An.iteratee = $u, An.keyBy = Zo, An.keys = zu, An.keysIn = Wu, An.map = tu, An.mapKeys = function (n, t) {
  15830. var r = {};
  15831. return t = ye(t, 3), mt(n, function (n, e, u) {
  15832. st(r, t(n, e, u), n);
  15833. }), r;
  15834. }, An.mapValues = function (n, t) {
  15835. var r = {};
  15836. return t = ye(t, 3), mt(n, function (n, e, u) {
  15837. st(r, e, t(n, e, u));
  15838. }), r;
  15839. }, An.matches = function (n) {
  15840. return Ht(_t(n, 1));
  15841. }, An.matchesProperty = function (n, t) {
  15842. return Jt(n, _t(t, 1));
  15843. }, An.memoize = fu, An.merge = kf, An.mergeWith = Sf, An.method = Zf, An.methodOf = qf, An.mixin = Fu, An.negate = cu, An.nthArg = function (n) {
  15844. return n = Au(n), fr(function (t) {
  15845. return Qt(t, n);
  15846. });
  15847. }, An.omit = Of, An.omitBy = function (n, t) {
  15848. return Bu(n, cu(ye(t)));
  15849. }, An.once = function (n) {
  15850. return eu(2, n);
  15851. }, An.orderBy = function (n, t, r, e) {
  15852. return null == n ? [] : (of(t) || (t = null == t ? [] : [t]), r = e ? T : r, of(r) || (r = null == r ? [] : [r]), Xt(n, t, r));
  15853. }, An.over = Vf, An.overArgs = Qo, An.overEvery = Kf, An.overSome = Gf, An.partial = Xo, An.partialRight = nf, An.partition = qo, An.pick = If, An.pickBy = Bu, An.property = Pu, An.propertyOf = function (n) {
  15854. return function (t) {
  15855. return null == n ? T : kt(n, t);
  15856. };
  15857. }, An.pull = So, An.pullAll = Ve, An.pullAllBy = function (n, t, r) {
  15858. return n && n.length && t && t.length ? er(n, t, ye(r, 2)) : n;
  15859. }, An.pullAllWith = function (n, t, r) {
  15860. return n && n.length && t && t.length ? er(n, t, T, r) : n;
  15861. }, An.pullAt = Oo, An.range = Hf, An.rangeRight = Jf, An.rearg = tf, An.reject = function (n, t) {
  15862. return (of(n) ? i : jt)(n, cu(ye(t, 3)));
  15863. }, An.remove = function (n, t) {
  15864. var r = [];
  15865. if (!n || !n.length) return r;
  15866. var e = -1,
  15867. u = [],
  15868. i = n.length;
  15869. for (t = ye(t, 3); ++e < i;) {
  15870. var o = n[e];
  15871. t(o, e, n) && (r.push(o), u.push(e));
  15872. }
  15873. return ur(n, u), r;
  15874. }, An.rest = function (n, t) {
  15875. if (typeof n != "function") throw new ni("Expected a function");
  15876. return t = t === T ? t : Au(t), fr(n, t);
  15877. }, An.reverse = Ke, An.sampleSize = function (n, t, r) {
  15878. return t = (r ? Oe(n, t, r) : t === T) ? 1 : Au(t), (of(n) ? et : ar)(n, t);
  15879. }, An.set = function (n, t, r) {
  15880. return null == n ? n : lr(n, t, r);
  15881. }, An.setWith = function (n, t, r, e) {
  15882. return e = typeof e == "function" ? e : T, null == n ? n : lr(n, t, r, e);
  15883. }, An.shuffle = function (n) {
  15884. return (of(n) ? ut : sr)(n);
  15885. }, An.slice = function (n, t, r) {
  15886. var e = null == n ? 0 : n.length;
  15887. return e ? (r && typeof r != "number" && Oe(n, t, r) ? (t = 0, r = e) : (t = null == t ? 0 : Au(t), r = r === T ? e : Au(r)), hr(n, t, r)) : [];
  15888. }, An.sortBy = Vo, An.sortedUniq = function (n) {
  15889. return n && n.length ? gr(n) : [];
  15890. }, An.sortedUniqBy = function (n, t) {
  15891. return n && n.length ? gr(n, ye(t, 2)) : [];
  15892. }, An.split = function (n, t, r) {
  15893. return r && typeof r != "number" && Oe(n, t, r) && (t = r = T), r = r === T ? 4294967295 : r >>> 0, r ? (n = Ou(n)) && (typeof t == "string" || null != t && !sf(t)) && (t = yr(t), !t && Rn.test(n)) ? Or(M(n), 0, r) : n.split(t, r) : [];
  15894. }, An.spread = function (t, r) {
  15895. if (typeof t != "function") throw new ni("Expected a function");
  15896. return r = null == r ? 0 : Li(Au(r), 0), fr(function (e) {
  15897. var u = e[r];
  15898. return e = Or(e, 0, r), u && a(e, u), n(t, this, e);
  15899. });
  15900. }, An.tail = function (n) {
  15901. var t = null == n ? 0 : n.length;
  15902. return t ? hr(n, 1, t) : [];
  15903. }, An.take = function (n, t, r) {
  15904. return n && n.length ? (t = r || t === T ? 1 : Au(t), hr(n, 0, 0 > t ? 0 : t)) : [];
  15905. }, An.takeRight = function (n, t, r) {
  15906. var e = null == n ? 0 : n.length;
  15907. return e ? (t = r || t === T ? 1 : Au(t), t = e - t, hr(n, 0 > t ? 0 : t, e)) : [];
  15908. }, An.takeRightWhile = function (n, t) {
  15909. return n && n.length ? jr(n, ye(t, 3), false, true) : [];
  15910. }, An.takeWhile = function (n, t) {
  15911. return n && n.length ? jr(n, ye(t, 3)) : [];
  15912. }, An.tap = function (n, t) {
  15913. return t(n), n;
  15914. }, An.throttle = function (n, t, r) {
  15915. var e = true,
  15916. u = true;
  15917. if (typeof n != "function") throw new ni("Expected a function");
  15918. return gu(r) && (e = "leading" in r ? !!r.leading : e, u = "trailing" in r ? !!r.trailing : u), ou(n, t, {
  15919. leading: e,
  15920. maxWait: t,
  15921. trailing: u
  15922. });
  15923. }, An.thru = Ye, An.toArray = wu, An.toPairs = Rf, An.toPairsIn = zf, An.toPath = function (n) {
  15924. return of(n) ? c(n, De) : ju(n) ? [n] : Ur(xo(Ou(n)));
  15925. }, An.toPlainObject = Su, An.transform = function (n, t, e) {
  15926. var u = of(n),
  15927. i = u || cf(n) || pf(n);
  15928. if (t = ye(t, 4), null == e) {
  15929. var o = n && n.constructor;
  15930. e = i ? u ? new o() : [] : gu(n) && pu(o) ? ro(gi(n)) : {};
  15931. }
  15932. return (i ? r : mt)(n, function (n, r, u) {
  15933. return t(e, n, r, u);
  15934. }), e;
  15935. }, An.unary = function (n) {
  15936. return ru(n, 1);
  15937. }, An.union = Io, An.unionBy = Ro, An.unionWith = zo, An.uniq = function (n) {
  15938. return n && n.length ? br(n) : [];
  15939. }, An.uniqBy = function (n, t) {
  15940. return n && n.length ? br(n, ye(t, 2)) : [];
  15941. }, An.uniqWith = function (n, t) {
  15942. return t = typeof t == "function" ? t : T, n && n.length ? br(n, T, t) : [];
  15943. }, An.unset = function (n, t) {
  15944. return null == n || xr(n, t);
  15945. }, An.unzip = Ge, An.unzipWith = He, An.update = function (n, t, r) {
  15946. return null == n ? n : lr(n, t, kr(r)(kt(n, t)), void 0);
  15947. }, An.updateWith = function (n, t, r, e) {
  15948. return e = typeof e == "function" ? e : T, null != n && (n = lr(n, t, kr(r)(kt(n, t)), e)), n;
  15949. }, An.values = Lu, An.valuesIn = function (n) {
  15950. return null == n ? [] : S(n, Wu(n));
  15951. }, An.without = Wo, An.words = Du, An.wrap = function (n, t) {
  15952. return Xo(kr(t), n);
  15953. }, An.xor = Bo, An.xorBy = Lo, An.xorWith = Uo, An.zip = Co, An.zipObject = function (n, t) {
  15954. return Ar(n || [], t || [], ot);
  15955. }, An.zipObjectDeep = function (n, t) {
  15956. return Ar(n || [], t || [], lr);
  15957. }, An.zipWith = Do, An.entries = Rf, An.entriesIn = zf, An.extend = df, An.extendWith = yf, Fu(An, An), An.add = Yf, An.attempt = $f, An.camelCase = Wf, An.capitalize = Uu, An.ceil = Qf, An.clamp = function (n, t, r) {
  15958. return r === T && (r = t, t = T), r !== T && (r = ku(r), r = r === r ? r : 0), t !== T && (t = ku(t), t = t === t ? t : 0), pt(ku(n), t, r);
  15959. }, An.clone = function (n) {
  15960. return _t(n, 4);
  15961. }, An.cloneDeep = function (n) {
  15962. return _t(n, 5);
  15963. }, An.cloneDeepWith = function (n, t) {
  15964. return t = typeof t == "function" ? t : T, _t(n, 5, t);
  15965. }, An.cloneWith = function (n, t) {
  15966. return t = typeof t == "function" ? t : T, _t(n, 4, t);
  15967. }, An.conformsTo = function (n, t) {
  15968. return null == t || gt(n, t, zu(t));
  15969. }, An.deburr = Cu, An.defaultTo = function (n, t) {
  15970. return null == n || n !== n ? t : n;
  15971. }, An.divide = Xf, An.endsWith = function (n, t, r) {
  15972. n = Ou(n), t = yr(t);
  15973. var e = n.length,
  15974. e = r = r === T ? e : pt(Au(r), 0, e);
  15975. return r -= t.length, 0 <= r && n.slice(r, e) == t;
  15976. }, An.eq = au, An.escape = function (n) {
  15977. return (n = Ou(n)) && H.test(n) ? n.replace(K, nt) : n;
  15978. }, An.escapeRegExp = function (n) {
  15979. return (n = Ou(n)) && en.test(n) ? n.replace(rn, "\\$&") : n;
  15980. }, An.every = function (n, t, r) {
  15981. var e = of(n) ? u : bt;
  15982. return r && Oe(n, t, r) && (t = T), e(n, ye(t, 3));
  15983. }, An.find = $o, An.findIndex = Fe, An.findKey = function (n, t) {
  15984. return p(n, ye(t, 3), mt);
  15985. }, An.findLast = Fo, An.findLastIndex = Ne, An.findLastKey = function (n, t) {
  15986. return p(n, ye(t, 3), At);
  15987. }, An.floor = nc, An.forEach = Xe, An.forEachRight = nu, An.forIn = function (n, t) {
  15988. return null == n ? n : io(n, ye(t, 3), Wu);
  15989. }, An.forInRight = function (n, t) {
  15990. return null == n ? n : oo(n, ye(t, 3), Wu);
  15991. }, An.forOwn = function (n, t) {
  15992. return n && mt(n, ye(t, 3));
  15993. }, An.forOwnRight = function (n, t) {
  15994. return n && At(n, ye(t, 3));
  15995. }, An.get = Iu, An.gt = rf, An.gte = ef, An.has = function (n, t) {
  15996. return null != n && we(n, t, Rt);
  15997. }, An.hasIn = Ru, An.head = Ze, An.identity = Tu, An.includes = function (n, t, r, e) {
  15998. return n = lu(n) ? n : Lu(n), r = r && !e ? Au(r) : 0, e = n.length, 0 > r && (r = Li(e + r, 0)), xu(n) ? r <= e && -1 < n.indexOf(t, r) : !!e && -1 < v(n, t, r);
  15999. }, An.indexOf = function (n, t, r) {
  16000. var e = null == n ? 0 : n.length;
  16001. return e ? (r = null == r ? 0 : Au(r), 0 > r && (r = Li(e + r, 0)), v(n, t, r)) : -1;
  16002. }, An.inRange = function (n, t, r) {
  16003. return t = mu(t), r === T ? (r = t, t = 0) : r = mu(r), n = ku(n), n >= Ui(t, r) && n < Li(t, r);
  16004. }, An.invoke = Ef, An.isArguments = uf, An.isArray = of, An.isArrayBuffer = ff, An.isArrayLike = lu, An.isArrayLikeObject = su, An.isBoolean = function (n) {
  16005. return true === n || false === n || du(n) && "[object Boolean]" == Ot(n);
  16006. }, An.isBuffer = cf, An.isDate = af, An.isElement = function (n) {
  16007. return du(n) && 1 === n.nodeType && !bu(n);
  16008. }, An.isEmpty = function (n) {
  16009. if (null == n) return true;
  16010. if (lu(n) && (of(n) || typeof n == "string" || typeof n.splice == "function" || cf(n) || pf(n) || uf(n))) return !n.length;
  16011. var t = _o(n);
  16012. if ("[object Map]" == t || "[object Set]" == t) return !n.size;
  16013. if (ze(n)) return !Vt(n).length;
  16014. for (var r in n) {
  16015. if (ii.call(n, r)) return false;
  16016. }
  16017. return true;
  16018. }, An.isEqual = function (n, t) {
  16019. return Mt(n, t);
  16020. }, An.isEqualWith = function (n, t, r) {
  16021. var e = (r = typeof r == "function" ? r : T) ? r(n, t) : T;
  16022. return e === T ? Mt(n, t, T, r) : !!e;
  16023. }, An.isError = hu, An.isFinite = function (n) {
  16024. return typeof n == "number" && zi(n);
  16025. }, An.isFunction = pu, An.isInteger = _u, An.isLength = vu, An.isMap = lf, An.isMatch = function (n, t) {
  16026. return n === t || $t(n, t, xe(t));
  16027. }, An.isMatchWith = function (n, t, r) {
  16028. return r = typeof r == "function" ? r : T, $t(n, t, xe(t), r);
  16029. }, An.isNaN = function (n) {
  16030. return yu(n) && n != +n;
  16031. }, An.isNative = function (n) {
  16032. if (vo(n)) throw new Gu("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");
  16033. return Ft(n);
  16034. }, An.isNil = function (n) {
  16035. return null == n;
  16036. }, An.isNull = function (n) {
  16037. return null === n;
  16038. }, An.isNumber = yu, An.isObject = gu, An.isObjectLike = du, An.isPlainObject = bu, An.isRegExp = sf, An.isSafeInteger = function (n) {
  16039. return _u(n) && -9007199254740991 <= n && 9007199254740991 >= n;
  16040. }, An.isSet = hf, An.isString = xu, An.isSymbol = ju, An.isTypedArray = pf, An.isUndefined = function (n) {
  16041. return n === T;
  16042. }, An.isWeakMap = function (n) {
  16043. return du(n) && "[object WeakMap]" == _o(n);
  16044. }, An.isWeakSet = function (n) {
  16045. return du(n) && "[object WeakSet]" == Ot(n);
  16046. }, An.join = function (n, t) {
  16047. return null == n ? "" : Wi.call(n, t);
  16048. }, An.kebabCase = Bf, An.last = qe, An.lastIndexOf = function (n, t, r) {
  16049. var e = null == n ? 0 : n.length;
  16050. if (!e) return -1;
  16051. var u = e;
  16052. if (r !== T && (u = Au(r), u = 0 > u ? Li(e + u, 0) : Ui(u, e - 1)), t === t) {
  16053. for (r = u + 1; r-- && n[r] !== t;) {
  16054. ;
  16055. }
  16056. n = r;
  16057. } else n = _(n, d, u, true);
  16058. return n;
  16059. }, An.lowerCase = Lf, An.lowerFirst = Uf, An.lt = _f, An.lte = vf, An.max = function (n) {
  16060. return n && n.length ? xt(n, Tu, It) : T;
  16061. }, An.maxBy = function (n, t) {
  16062. return n && n.length ? xt(n, ye(t, 2), It) : T;
  16063. }, An.mean = function (n) {
  16064. return y(n, Tu);
  16065. }, An.meanBy = function (n, t) {
  16066. return y(n, ye(t, 2));
  16067. }, An.min = function (n) {
  16068. return n && n.length ? xt(n, Tu, Kt) : T;
  16069. }, An.minBy = function (n, t) {
  16070. return n && n.length ? xt(n, ye(t, 2), Kt) : T;
  16071. }, An.stubArray = Zu, An.stubFalse = qu, An.stubObject = function () {
  16072. return {};
  16073. }, An.stubString = function () {
  16074. return "";
  16075. }, An.stubTrue = function () {
  16076. return true;
  16077. }, An.multiply = tc, An.nth = function (n, t) {
  16078. return n && n.length ? Qt(n, Au(t)) : T;
  16079. }, An.noConflict = function () {
  16080. return $n._ === this && ($n._ = li), this;
  16081. }, An.noop = Nu, An.now = Ko, An.pad = function (n, t, r) {
  16082. n = Ou(n);
  16083. var e = (t = Au(t)) ? D(n) : 0;
  16084. return !t || e >= t ? n : (t = (t - e) / 2, ne(Oi(t), r) + n + ne(Si(t), r));
  16085. }, An.padEnd = function (n, t, r) {
  16086. n = Ou(n);
  16087. var e = (t = Au(t)) ? D(n) : 0;
  16088. return t && e < t ? n + ne(t - e, r) : n;
  16089. }, An.padStart = function (n, t, r) {
  16090. n = Ou(n);
  16091. var e = (t = Au(t)) ? D(n) : 0;
  16092. return t && e < t ? ne(t - e, r) + n : n;
  16093. }, An.parseInt = function (n, t, r) {
  16094. return r || null == t ? t = 0 : t && (t = +t), Di(Ou(n).replace(on, ""), t || 0);
  16095. }, An.random = function (n, t, r) {
  16096. if (r && typeof r != "boolean" && Oe(n, t, r) && (t = r = T), r === T && (typeof t == "boolean" ? (r = t, t = T) : typeof n == "boolean" && (r = n, n = T)), n === T && t === T ? (n = 0, t = 1) : (n = mu(n), t === T ? (t = n, n = 0) : t = mu(t)), n > t) {
  16097. var e = n;
  16098. n = t, t = e;
  16099. }
  16100. return r || n % 1 || t % 1 ? (r = Mi(), Ui(n + r * (t - n + Cn("1e-" + ((r + "").length - 1))), t)) : ir(n, t);
  16101. }, An.reduce = function (n, t, r) {
  16102. var e = of(n) ? l : j,
  16103. u = 3 > arguments.length;
  16104. return e(n, ye(t, 4), r, u, eo);
  16105. }, An.reduceRight = function (n, t, r) {
  16106. var e = of(n) ? s : j,
  16107. u = 3 > arguments.length;
  16108. return e(n, ye(t, 4), r, u, uo);
  16109. }, An.repeat = function (n, t, r) {
  16110. return t = (r ? Oe(n, t, r) : t === T) ? 1 : Au(t), or(Ou(n), t);
  16111. }, An.replace = function () {
  16112. var n = arguments,
  16113. t = Ou(n[0]);
  16114. return 3 > n.length ? t : t.replace(n[1], n[2]);
  16115. }, An.result = function (n, t, r) {
  16116. t = Sr(t, n);
  16117. var e = -1,
  16118. u = t.length;
  16119. for (u || (u = 1, n = T); ++e < u;) {
  16120. var i = null == n ? T : n[De(t[e])];
  16121. i === T && (e = u, i = r), n = pu(i) ? i.call(n) : i;
  16122. }
  16123. return n;
  16124. }, An.round = rc, An.runInContext = x, An.sample = function (n) {
  16125. return (of(n) ? Qn : cr)(n);
  16126. }, An.size = function (n) {
  16127. if (null == n) return 0;
  16128. if (lu(n)) return xu(n) ? D(n) : n.length;
  16129. var t = _o(n);
  16130. return "[object Map]" == t || "[object Set]" == t ? n.size : Vt(n).length;
  16131. }, An.snakeCase = Cf, An.some = function (n, t, r) {
  16132. var e = of(n) ? h : pr;
  16133. return r && Oe(n, t, r) && (t = T), e(n, ye(t, 3));
  16134. }, An.sortedIndex = function (n, t) {
  16135. return _r(n, t);
  16136. }, An.sortedIndexBy = function (n, t, r) {
  16137. return vr(n, t, ye(r, 2));
  16138. }, An.sortedIndexOf = function (n, t) {
  16139. var r = null == n ? 0 : n.length;
  16140. if (r) {
  16141. var e = _r(n, t);
  16142. if (e < r && au(n[e], t)) return e;
  16143. }
  16144. return -1;
  16145. }, An.sortedLastIndex = function (n, t) {
  16146. return _r(n, t, true);
  16147. }, An.sortedLastIndexBy = function (n, t, r) {
  16148. return vr(n, t, ye(r, 2), true);
  16149. }, An.sortedLastIndexOf = function (n, t) {
  16150. if (null == n ? 0 : n.length) {
  16151. var r = _r(n, t, true) - 1;
  16152. if (au(n[r], t)) return r;
  16153. }
  16154. return -1;
  16155. }, An.startCase = Df, An.startsWith = function (n, t, r) {
  16156. return n = Ou(n), r = null == r ? 0 : pt(Au(r), 0, n.length), t = yr(t), n.slice(r, r + t.length) == t;
  16157. }, An.subtract = ec, An.sum = function (n) {
  16158. return n && n.length ? m(n, Tu) : 0;
  16159. }, An.sumBy = function (n, t) {
  16160. return n && n.length ? m(n, ye(t, 2)) : 0;
  16161. }, An.template = function (n, t, r) {
  16162. var e = An.templateSettings;
  16163. r && Oe(n, t, r) && (t = T), n = Ou(n), t = yf({}, t, e, ce), r = yf({}, t.imports, e.imports, ce);
  16164. var u,
  16165. i,
  16166. o = zu(r),
  16167. f = S(r, o),
  16168. c = 0;
  16169. r = t.interpolate || jn;
  16170. var a = "__p+='";
  16171. r = Qu((t.escape || jn).source + "|" + r.source + "|" + (r === Q ? pn : jn).source + "|" + (t.evaluate || jn).source + "|$", "g");
  16172. var l = "sourceURL" in t ? "//# sourceURL=" + t.sourceURL + "\n" : "";
  16173. if (n.replace(r, function (t, r, e, o, f, l) {
  16174. return e || (e = o), a += n.slice(c, l).replace(wn, z), r && (u = true, a += "'+__e(" + r + ")+'"), f && (i = true, a += "';" + f + ";\n__p+='"), e && (a += "'+((__t=(" + e + "))==null?'':__t)+'"), c = l + t.length, t;
  16175. }), a += "';", (t = t.variable) || (a = "with(obj){" + a + "}"), a = (i ? a.replace(P, "") : a).replace(Z, "$1").replace(q, "$1;"), a = "function(" + (t || "obj") + "){" + (t ? "" : "obj||(obj={});") + "var __t,__p=''" + (u ? ",__e=_.escape" : "") + (i ? ",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}" : ";") + a + "return __p}", t = $f(function () {
  16176. return Hu(o, l + "return " + a).apply(T, f);
  16177. }), t.source = a, hu(t)) throw t;
  16178. return t;
  16179. }, An.times = function (n, t) {
  16180. if (n = Au(n), 1 > n || 9007199254740991 < n) return [];
  16181. var r = 4294967295,
  16182. e = Ui(n, 4294967295);
  16183. for (t = ye(t), n -= 4294967295, e = A(e, t); ++r < n;) {
  16184. t(r);
  16185. }
  16186. return e;
  16187. }, An.toFinite = mu, An.toInteger = Au, An.toLength = Eu, An.toLower = function (n) {
  16188. return Ou(n).toLowerCase();
  16189. }, An.toNumber = ku, An.toSafeInteger = function (n) {
  16190. return n ? pt(Au(n), -9007199254740991, 9007199254740991) : 0 === n ? n : 0;
  16191. }, An.toString = Ou, An.toUpper = function (n) {
  16192. return Ou(n).toUpperCase();
  16193. }, An.trim = function (n, t, r) {
  16194. return (n = Ou(n)) && (r || t === T) ? n.replace(un, "") : n && (t = yr(t)) ? (n = M(n), r = M(t), t = I(n, r), r = R(n, r) + 1, Or(n, t, r).join("")) : n;
  16195. }, An.trimEnd = function (n, t, r) {
  16196. return (n = Ou(n)) && (r || t === T) ? n.replace(fn, "") : n && (t = yr(t)) ? (n = M(n), t = R(n, M(t)) + 1, Or(n, 0, t).join("")) : n;
  16197. }, An.trimStart = function (n, t, r) {
  16198. return (n = Ou(n)) && (r || t === T) ? n.replace(on, "") : n && (t = yr(t)) ? (n = M(n), t = I(n, M(t)), Or(n, t).join("")) : n;
  16199. }, An.truncate = function (n, t) {
  16200. var r = 30,
  16201. e = "...";
  16202. if (gu(t)) var u = "separator" in t ? t.separator : u,
  16203. r = "length" in t ? Au(t.length) : r,
  16204. e = "omission" in t ? yr(t.omission) : e;
  16205. n = Ou(n);
  16206. var i = n.length;
  16207. if (Rn.test(n)) var o = M(n),
  16208. i = o.length;
  16209. if (r >= i) return n;
  16210. if (i = r - D(e), 1 > i) return e;
  16211. if (r = o ? Or(o, 0, i).join("") : n.slice(0, i), u === T) return r + e;
  16212. if (o && (i += r.length - i), sf(u)) {
  16213. if (n.slice(i).search(u)) {
  16214. var f = r;
  16215. for (u.global || (u = Qu(u.source, Ou(_n.exec(u)) + "g")), u.lastIndex = 0; o = u.exec(f);) {
  16216. var c = o.index;
  16217. }
  16218. r = r.slice(0, c === T ? i : c);
  16219. }
  16220. } else n.indexOf(yr(u), i) != i && (u = r.lastIndexOf(u), -1 < u && (r = r.slice(0, u)));
  16221. return r + e;
  16222. }, An.unescape = function (n) {
  16223. return (n = Ou(n)) && G.test(n) ? n.replace(V, tt) : n;
  16224. }, An.uniqueId = function (n) {
  16225. var t = ++oi;
  16226. return Ou(n) + t;
  16227. }, An.upperCase = Mf, An.upperFirst = Tf, An.each = Xe, An.eachRight = nu, An.first = Ze, Fu(An, function () {
  16228. var n = {};
  16229. return mt(An, function (t, r) {
  16230. ii.call(An.prototype, r) || (n[r] = t);
  16231. }), n;
  16232. }(), {
  16233. chain: false
  16234. }), An.VERSION = "4.17.10", r("bind bindKey curry curryRight partial partialRight".split(" "), function (n) {
  16235. An[n].placeholder = An;
  16236. }), r(["drop", "take"], function (n, t) {
  16237. Un.prototype[n] = function (r) {
  16238. r = r === T ? 1 : Li(Au(r), 0);
  16239. var e = this.__filtered__ && !t ? new Un(this) : this.clone();
  16240. return e.__filtered__ ? e.__takeCount__ = Ui(r, e.__takeCount__) : e.__views__.push({
  16241. size: Ui(r, 4294967295),
  16242. type: n + (0 > e.__dir__ ? "Right" : "")
  16243. }), e;
  16244. }, Un.prototype[n + "Right"] = function (t) {
  16245. return this.reverse()[n](t).reverse();
  16246. };
  16247. }), r(["filter", "map", "takeWhile"], function (n, t) {
  16248. var r = t + 1,
  16249. e = 1 == r || 3 == r;
  16250. Un.prototype[n] = function (n) {
  16251. var t = this.clone();
  16252. return t.__iteratees__.push({
  16253. iteratee: ye(n, 3),
  16254. type: r
  16255. }), t.__filtered__ = t.__filtered__ || e, t;
  16256. };
  16257. }), r(["head", "last"], function (n, t) {
  16258. var r = "take" + (t ? "Right" : "");
  16259. Un.prototype[n] = function () {
  16260. return this[r](1).value()[0];
  16261. };
  16262. }), r(["initial", "tail"], function (n, t) {
  16263. var r = "drop" + (t ? "" : "Right");
  16264. Un.prototype[n] = function () {
  16265. return this.__filtered__ ? new Un(this) : this[r](1);
  16266. };
  16267. }), Un.prototype.compact = function () {
  16268. return this.filter(Tu);
  16269. }, Un.prototype.find = function (n) {
  16270. return this.filter(n).head();
  16271. }, Un.prototype.findLast = function (n) {
  16272. return this.reverse().find(n);
  16273. }, Un.prototype.invokeMap = fr(function (n, t) {
  16274. return typeof n == "function" ? new Un(this) : this.map(function (r) {
  16275. return Lt(r, n, t);
  16276. });
  16277. }), Un.prototype.reject = function (n) {
  16278. return this.filter(cu(ye(n)));
  16279. }, Un.prototype.slice = function (n, t) {
  16280. n = Au(n);
  16281. var r = this;
  16282. return r.__filtered__ && (0 < n || 0 > t) ? new Un(r) : (0 > n ? r = r.takeRight(-n) : n && (r = r.drop(n)), t !== T && (t = Au(t), r = 0 > t ? r.dropRight(-t) : r.take(t - n)), r);
  16283. }, Un.prototype.takeRightWhile = function (n) {
  16284. return this.reverse().takeWhile(n).reverse();
  16285. }, Un.prototype.toArray = function () {
  16286. return this.take(4294967295);
  16287. }, mt(Un.prototype, function (n, t) {
  16288. var r = /^(?:filter|find|map|reject)|While$/.test(t),
  16289. e = /^(?:head|last)$/.test(t),
  16290. u = An[e ? "take" + ("last" == t ? "Right" : "") : t],
  16291. i = e || /^find/.test(t);
  16292. u && (An.prototype[t] = function () {
  16293. function t(n) {
  16294. return n = u.apply(An, a([n], f)), e && h ? n[0] : n;
  16295. }
  16296. var o = this.__wrapped__,
  16297. f = e ? [1] : arguments,
  16298. c = o instanceof Un,
  16299. l = f[0],
  16300. s = c || of(o);
  16301. s && r && typeof l == "function" && 1 != l.length && (c = s = false);
  16302. var h = this.__chain__,
  16303. p = !!this.__actions__.length,
  16304. l = i && !h,
  16305. c = c && !p;
  16306. return !i && s ? (o = c ? o : new Un(this), o = n.apply(o, f), o.__actions__.push({
  16307. func: Ye,
  16308. args: [t],
  16309. thisArg: T
  16310. }), new On(o, h)) : l && c ? n.apply(this, f) : (o = this.thru(t), l ? e ? o.value()[0] : o.value() : o);
  16311. });
  16312. }), r("pop push shift sort splice unshift".split(" "), function (n) {
  16313. var t = ti[n],
  16314. r = /^(?:push|sort|unshift)$/.test(n) ? "tap" : "thru",
  16315. e = /^(?:pop|shift)$/.test(n);
  16316. An.prototype[n] = function () {
  16317. var n = arguments;
  16318. if (e && !this.__chain__) {
  16319. var u = this.value();
  16320. return t.apply(of(u) ? u : [], n);
  16321. }
  16322. return this[r](function (r) {
  16323. return t.apply(of(r) ? r : [], n);
  16324. });
  16325. };
  16326. }), mt(Un.prototype, function (n, t) {
  16327. var r = An[t];
  16328. if (r) {
  16329. var e = r.name + "";
  16330. (Ki[e] || (Ki[e] = [])).push({
  16331. name: t,
  16332. func: r
  16333. });
  16334. }
  16335. }), Ki[Jr(T, 2).name] = [{
  16336. name: "wrapper",
  16337. func: T
  16338. }], Un.prototype.clone = function () {
  16339. var n = new Un(this.__wrapped__);
  16340. return n.__actions__ = Ur(this.__actions__), n.__dir__ = this.__dir__, n.__filtered__ = this.__filtered__, n.__iteratees__ = Ur(this.__iteratees__), n.__takeCount__ = this.__takeCount__, n.__views__ = Ur(this.__views__), n;
  16341. }, Un.prototype.reverse = function () {
  16342. if (this.__filtered__) {
  16343. var n = new Un(this);
  16344. n.__dir__ = -1, n.__filtered__ = true;
  16345. } else n = this.clone(), n.__dir__ *= -1;
  16346. return n;
  16347. }, Un.prototype.value = function () {
  16348. var n,
  16349. t = this.__wrapped__.value(),
  16350. r = this.__dir__,
  16351. e = of(t),
  16352. u = 0 > r,
  16353. i = e ? t.length : 0;
  16354. n = i;
  16355. for (var o = this.__views__, f = 0, c = -1, a = o.length; ++c < a;) {
  16356. var l = o[c],
  16357. s = l.size;
  16358. switch (l.type) {
  16359. case "drop":
  16360. f += s;
  16361. break;
  16362. case "dropRight":
  16363. n -= s;
  16364. break;
  16365. case "take":
  16366. n = Ui(n, f + s);
  16367. break;
  16368. case "takeRight":
  16369. f = Li(f, n - s);
  16370. }
  16371. }
  16372. if (n = {
  16373. start: f,
  16374. end: n
  16375. }, o = n.start, f = n.end, n = f - o, o = u ? f : o - 1, f = this.__iteratees__, c = f.length, a = 0, l = Ui(n, this.__takeCount__), !e || !u && i == n && l == n) return wr(t, this.__actions__);
  16376. e = [];
  16377. n: for (; n-- && a < l;) {
  16378. for (o += r, u = -1, i = t[o]; ++u < c;) {
  16379. var h = f[u],
  16380. s = h.type,
  16381. h = (0, h.iteratee)(i);
  16382. if (2 == s) i = h;else if (!h) {
  16383. if (1 == s) continue n;
  16384. break n;
  16385. }
  16386. }
  16387. e[a++] = i;
  16388. }
  16389. return e;
  16390. }, An.prototype.at = Mo, An.prototype.chain = function () {
  16391. return Je(this);
  16392. }, An.prototype.commit = function () {
  16393. return new On(this.value(), this.__chain__);
  16394. }, An.prototype.next = function () {
  16395. this.__values__ === T && (this.__values__ = wu(this.value()));
  16396. var n = this.__index__ >= this.__values__.length;
  16397. return {
  16398. done: n,
  16399. value: n ? T : this.__values__[this.__index__++]
  16400. };
  16401. }, An.prototype.plant = function (n) {
  16402. for (var t, r = this; r instanceof En;) {
  16403. var e = $e(r);
  16404. e.__index__ = 0, e.__values__ = T, t ? u.__wrapped__ = e : t = e;
  16405. var u = e,
  16406. r = r.__wrapped__;
  16407. }
  16408. return u.__wrapped__ = n, t;
  16409. }, An.prototype.reverse = function () {
  16410. var n = this.__wrapped__;
  16411. return n instanceof Un ? (this.__actions__.length && (n = new Un(this)), n = n.reverse(), n.__actions__.push({
  16412. func: Ye,
  16413. args: [Ke],
  16414. thisArg: T
  16415. }), new On(n, this.__chain__)) : this.thru(Ke);
  16416. }, An.prototype.toJSON = An.prototype.valueOf = An.prototype.value = function () {
  16417. return wr(this.__wrapped__, this.__actions__);
  16418. }, An.prototype.first = An.prototype.head, ji && (An.prototype[ji] = Qe), An;
  16419. }();
  16420. true && _typeof(__webpack_require__(/*! !webpack amd options */ 41)) == "object" && __webpack_require__(/*! !webpack amd options */ 41) ? ($n._ = rt, !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
  16421. return rt;
  16422. }).call(exports, __webpack_require__, exports, module),
  16423. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))) : Nn ? ((Nn.exports = rt)._ = rt, Fn._ = rt) : $n._ = rt;
  16424. }).call(this);
  16425. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! (webpack)/buildin/global.js */ 3), __webpack_require__(/*! (webpack)/buildin/module.js */ 40)(module)))
  16426. /***/ }),
  16427. /***/ 390:
  16428. /*!*****************************************************************!*\
  16429. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/province.js ***!
  16430. \*****************************************************************/
  16431. /*! no static exports found */
  16432. /***/ (function(module, exports, __webpack_require__) {
  16433. "use strict";
  16434. Object.defineProperty(exports, "__esModule", {
  16435. value: true
  16436. });
  16437. exports.default = void 0;
  16438. var provinceData = [{
  16439. "label": "北京市",
  16440. "value": "11"
  16441. }, {
  16442. "label": "天津市",
  16443. "value": "12"
  16444. }, {
  16445. "label": "河北省",
  16446. "value": "13"
  16447. }, {
  16448. "label": "山西省",
  16449. "value": "14"
  16450. }, {
  16451. "label": "内蒙古自治区",
  16452. "value": "15"
  16453. }, {
  16454. "label": "辽宁省",
  16455. "value": "21"
  16456. }, {
  16457. "label": "吉林省",
  16458. "value": "22"
  16459. }, {
  16460. "label": "黑龙江省",
  16461. "value": "23"
  16462. }, {
  16463. "label": "上海市",
  16464. "value": "31"
  16465. }, {
  16466. "label": "江苏省",
  16467. "value": "32"
  16468. }, {
  16469. "label": "浙江省",
  16470. "value": "33"
  16471. }, {
  16472. "label": "安徽省",
  16473. "value": "34"
  16474. }, {
  16475. "label": "福建省",
  16476. "value": "35"
  16477. }, {
  16478. "label": "江西省",
  16479. "value": "36"
  16480. }, {
  16481. "label": "山东省",
  16482. "value": "37"
  16483. }, {
  16484. "label": "河南省",
  16485. "value": "41"
  16486. }, {
  16487. "label": "湖北省",
  16488. "value": "42"
  16489. }, {
  16490. "label": "湖南省",
  16491. "value": "43"
  16492. }, {
  16493. "label": "广东省",
  16494. "value": "44"
  16495. }, {
  16496. "label": "广西壮族自治区",
  16497. "value": "45"
  16498. }, {
  16499. "label": "海南省",
  16500. "value": "46"
  16501. }, {
  16502. "label": "重庆市",
  16503. "value": "50"
  16504. }, {
  16505. "label": "四川省",
  16506. "value": "51"
  16507. }, {
  16508. "label": "贵州省",
  16509. "value": "52"
  16510. }, {
  16511. "label": "云南省",
  16512. "value": "53"
  16513. }, {
  16514. "label": "西藏自治区",
  16515. "value": "54"
  16516. }, {
  16517. "label": "陕西省",
  16518. "value": "61"
  16519. }, {
  16520. "label": "甘肃省",
  16521. "value": "62"
  16522. }, {
  16523. "label": "青海省",
  16524. "value": "63"
  16525. }, {
  16526. "label": "宁夏回族自治区",
  16527. "value": "64"
  16528. }, {
  16529. "label": "新疆维吾尔自治区",
  16530. "value": "65"
  16531. }, {
  16532. "label": "台湾",
  16533. "value": "66"
  16534. }, {
  16535. "label": "香港",
  16536. "value": "67"
  16537. }, {
  16538. "label": "澳门",
  16539. "value": "68"
  16540. }];
  16541. var _default = provinceData;
  16542. exports.default = _default;
  16543. /***/ }),
  16544. /***/ 391:
  16545. /*!*************************************************************!*\
  16546. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/city.js ***!
  16547. \*************************************************************/
  16548. /*! no static exports found */
  16549. /***/ (function(module, exports, __webpack_require__) {
  16550. "use strict";
  16551. Object.defineProperty(exports, "__esModule", {
  16552. value: true
  16553. });
  16554. exports.default = void 0;
  16555. var cityData = [[{
  16556. "label": "市辖区",
  16557. "value": "1101"
  16558. }], [{
  16559. "label": "市辖区",
  16560. "value": "1201"
  16561. }], [{
  16562. "label": "石家庄市",
  16563. "value": "1301"
  16564. }, {
  16565. "label": "唐山市",
  16566. "value": "1302"
  16567. }, {
  16568. "label": "秦皇岛市",
  16569. "value": "1303"
  16570. }, {
  16571. "label": "邯郸市",
  16572. "value": "1304"
  16573. }, {
  16574. "label": "邢台市",
  16575. "value": "1305"
  16576. }, {
  16577. "label": "保定市",
  16578. "value": "1306"
  16579. }, {
  16580. "label": "张家口市",
  16581. "value": "1307"
  16582. }, {
  16583. "label": "承德市",
  16584. "value": "1308"
  16585. }, {
  16586. "label": "沧州市",
  16587. "value": "1309"
  16588. }, {
  16589. "label": "廊坊市",
  16590. "value": "1310"
  16591. }, {
  16592. "label": "衡水市",
  16593. "value": "1311"
  16594. }], [{
  16595. "label": "太原市",
  16596. "value": "1401"
  16597. }, {
  16598. "label": "大同市",
  16599. "value": "1402"
  16600. }, {
  16601. "label": "阳泉市",
  16602. "value": "1403"
  16603. }, {
  16604. "label": "长治市",
  16605. "value": "1404"
  16606. }, {
  16607. "label": "晋城市",
  16608. "value": "1405"
  16609. }, {
  16610. "label": "朔州市",
  16611. "value": "1406"
  16612. }, {
  16613. "label": "晋中市",
  16614. "value": "1407"
  16615. }, {
  16616. "label": "运城市",
  16617. "value": "1408"
  16618. }, {
  16619. "label": "忻州市",
  16620. "value": "1409"
  16621. }, {
  16622. "label": "临汾市",
  16623. "value": "1410"
  16624. }, {
  16625. "label": "吕梁市",
  16626. "value": "1411"
  16627. }], [{
  16628. "label": "呼和浩特市",
  16629. "value": "1501"
  16630. }, {
  16631. "label": "包头市",
  16632. "value": "1502"
  16633. }, {
  16634. "label": "乌海市",
  16635. "value": "1503"
  16636. }, {
  16637. "label": "赤峰市",
  16638. "value": "1504"
  16639. }, {
  16640. "label": "通辽市",
  16641. "value": "1505"
  16642. }, {
  16643. "label": "鄂尔多斯市",
  16644. "value": "1506"
  16645. }, {
  16646. "label": "呼伦贝尔市",
  16647. "value": "1507"
  16648. }, {
  16649. "label": "巴彦淖尔市",
  16650. "value": "1508"
  16651. }, {
  16652. "label": "乌兰察布市",
  16653. "value": "1509"
  16654. }, {
  16655. "label": "兴安盟",
  16656. "value": "1522"
  16657. }, {
  16658. "label": "锡林郭勒盟",
  16659. "value": "1525"
  16660. }, {
  16661. "label": "阿拉善盟",
  16662. "value": "1529"
  16663. }], [{
  16664. "label": "沈阳市",
  16665. "value": "2101"
  16666. }, {
  16667. "label": "大连市",
  16668. "value": "2102"
  16669. }, {
  16670. "label": "鞍山市",
  16671. "value": "2103"
  16672. }, {
  16673. "label": "抚顺市",
  16674. "value": "2104"
  16675. }, {
  16676. "label": "本溪市",
  16677. "value": "2105"
  16678. }, {
  16679. "label": "丹东市",
  16680. "value": "2106"
  16681. }, {
  16682. "label": "锦州市",
  16683. "value": "2107"
  16684. }, {
  16685. "label": "营口市",
  16686. "value": "2108"
  16687. }, {
  16688. "label": "阜新市",
  16689. "value": "2109"
  16690. }, {
  16691. "label": "辽阳市",
  16692. "value": "2110"
  16693. }, {
  16694. "label": "盘锦市",
  16695. "value": "2111"
  16696. }, {
  16697. "label": "铁岭市",
  16698. "value": "2112"
  16699. }, {
  16700. "label": "朝阳市",
  16701. "value": "2113"
  16702. }, {
  16703. "label": "葫芦岛市",
  16704. "value": "2114"
  16705. }], [{
  16706. "label": "长春市",
  16707. "value": "2201"
  16708. }, {
  16709. "label": "吉林市",
  16710. "value": "2202"
  16711. }, {
  16712. "label": "四平市",
  16713. "value": "2203"
  16714. }, {
  16715. "label": "辽源市",
  16716. "value": "2204"
  16717. }, {
  16718. "label": "通化市",
  16719. "value": "2205"
  16720. }, {
  16721. "label": "白山市",
  16722. "value": "2206"
  16723. }, {
  16724. "label": "松原市",
  16725. "value": "2207"
  16726. }, {
  16727. "label": "白城市",
  16728. "value": "2208"
  16729. }, {
  16730. "label": "延边朝鲜族自治州",
  16731. "value": "2224"
  16732. }], [{
  16733. "label": "哈尔滨市",
  16734. "value": "2301"
  16735. }, {
  16736. "label": "齐齐哈尔市",
  16737. "value": "2302"
  16738. }, {
  16739. "label": "鸡西市",
  16740. "value": "2303"
  16741. }, {
  16742. "label": "鹤岗市",
  16743. "value": "2304"
  16744. }, {
  16745. "label": "双鸭山市",
  16746. "value": "2305"
  16747. }, {
  16748. "label": "大庆市",
  16749. "value": "2306"
  16750. }, {
  16751. "label": "伊春市",
  16752. "value": "2307"
  16753. }, {
  16754. "label": "佳木斯市",
  16755. "value": "2308"
  16756. }, {
  16757. "label": "七台河市",
  16758. "value": "2309"
  16759. }, {
  16760. "label": "牡丹江市",
  16761. "value": "2310"
  16762. }, {
  16763. "label": "黑河市",
  16764. "value": "2311"
  16765. }, {
  16766. "label": "绥化市",
  16767. "value": "2312"
  16768. }, {
  16769. "label": "大兴安岭地区",
  16770. "value": "2327"
  16771. }], [{
  16772. "label": "市辖区",
  16773. "value": "3101"
  16774. }], [{
  16775. "label": "南京市",
  16776. "value": "3201"
  16777. }, {
  16778. "label": "无锡市",
  16779. "value": "3202"
  16780. }, {
  16781. "label": "徐州市",
  16782. "value": "3203"
  16783. }, {
  16784. "label": "常州市",
  16785. "value": "3204"
  16786. }, {
  16787. "label": "苏州市",
  16788. "value": "3205"
  16789. }, {
  16790. "label": "南通市",
  16791. "value": "3206"
  16792. }, {
  16793. "label": "连云港市",
  16794. "value": "3207"
  16795. }, {
  16796. "label": "淮安市",
  16797. "value": "3208"
  16798. }, {
  16799. "label": "盐城市",
  16800. "value": "3209"
  16801. }, {
  16802. "label": "扬州市",
  16803. "value": "3210"
  16804. }, {
  16805. "label": "镇江市",
  16806. "value": "3211"
  16807. }, {
  16808. "label": "泰州市",
  16809. "value": "3212"
  16810. }, {
  16811. "label": "宿迁市",
  16812. "value": "3213"
  16813. }], [{
  16814. "label": "杭州市",
  16815. "value": "3301"
  16816. }, {
  16817. "label": "宁波市",
  16818. "value": "3302"
  16819. }, {
  16820. "label": "温州市",
  16821. "value": "3303"
  16822. }, {
  16823. "label": "嘉兴市",
  16824. "value": "3304"
  16825. }, {
  16826. "label": "湖州市",
  16827. "value": "3305"
  16828. }, {
  16829. "label": "绍兴市",
  16830. "value": "3306"
  16831. }, {
  16832. "label": "金华市",
  16833. "value": "3307"
  16834. }, {
  16835. "label": "衢州市",
  16836. "value": "3308"
  16837. }, {
  16838. "label": "舟山市",
  16839. "value": "3309"
  16840. }, {
  16841. "label": "台州市",
  16842. "value": "3310"
  16843. }, {
  16844. "label": "丽水市",
  16845. "value": "3311"
  16846. }], [{
  16847. "label": "合肥市",
  16848. "value": "3401"
  16849. }, {
  16850. "label": "芜湖市",
  16851. "value": "3402"
  16852. }, {
  16853. "label": "蚌埠市",
  16854. "value": "3403"
  16855. }, {
  16856. "label": "淮南市",
  16857. "value": "3404"
  16858. }, {
  16859. "label": "马鞍山市",
  16860. "value": "3405"
  16861. }, {
  16862. "label": "淮北市",
  16863. "value": "3406"
  16864. }, {
  16865. "label": "铜陵市",
  16866. "value": "3407"
  16867. }, {
  16868. "label": "安庆市",
  16869. "value": "3408"
  16870. }, {
  16871. "label": "黄山市",
  16872. "value": "3410"
  16873. }, {
  16874. "label": "滁州市",
  16875. "value": "3411"
  16876. }, {
  16877. "label": "阜阳市",
  16878. "value": "3412"
  16879. }, {
  16880. "label": "宿州市",
  16881. "value": "3413"
  16882. }, {
  16883. "label": "六安市",
  16884. "value": "3415"
  16885. }, {
  16886. "label": "亳州市",
  16887. "value": "3416"
  16888. }, {
  16889. "label": "池州市",
  16890. "value": "3417"
  16891. }, {
  16892. "label": "宣城市",
  16893. "value": "3418"
  16894. }], [{
  16895. "label": "福州市",
  16896. "value": "3501"
  16897. }, {
  16898. "label": "厦门市",
  16899. "value": "3502"
  16900. }, {
  16901. "label": "莆田市",
  16902. "value": "3503"
  16903. }, {
  16904. "label": "三明市",
  16905. "value": "3504"
  16906. }, {
  16907. "label": "泉州市",
  16908. "value": "3505"
  16909. }, {
  16910. "label": "漳州市",
  16911. "value": "3506"
  16912. }, {
  16913. "label": "南平市",
  16914. "value": "3507"
  16915. }, {
  16916. "label": "龙岩市",
  16917. "value": "3508"
  16918. }, {
  16919. "label": "宁德市",
  16920. "value": "3509"
  16921. }], [{
  16922. "label": "南昌市",
  16923. "value": "3601"
  16924. }, {
  16925. "label": "景德镇市",
  16926. "value": "3602"
  16927. }, {
  16928. "label": "萍乡市",
  16929. "value": "3603"
  16930. }, {
  16931. "label": "九江市",
  16932. "value": "3604"
  16933. }, {
  16934. "label": "新余市",
  16935. "value": "3605"
  16936. }, {
  16937. "label": "鹰潭市",
  16938. "value": "3606"
  16939. }, {
  16940. "label": "赣州市",
  16941. "value": "3607"
  16942. }, {
  16943. "label": "吉安市",
  16944. "value": "3608"
  16945. }, {
  16946. "label": "宜春市",
  16947. "value": "3609"
  16948. }, {
  16949. "label": "抚州市",
  16950. "value": "3610"
  16951. }, {
  16952. "label": "上饶市",
  16953. "value": "3611"
  16954. }], [{
  16955. "label": "济南市",
  16956. "value": "3701"
  16957. }, {
  16958. "label": "青岛市",
  16959. "value": "3702"
  16960. }, {
  16961. "label": "淄博市",
  16962. "value": "3703"
  16963. }, {
  16964. "label": "枣庄市",
  16965. "value": "3704"
  16966. }, {
  16967. "label": "东营市",
  16968. "value": "3705"
  16969. }, {
  16970. "label": "烟台市",
  16971. "value": "3706"
  16972. }, {
  16973. "label": "潍坊市",
  16974. "value": "3707"
  16975. }, {
  16976. "label": "济宁市",
  16977. "value": "3708"
  16978. }, {
  16979. "label": "泰安市",
  16980. "value": "3709"
  16981. }, {
  16982. "label": "威海市",
  16983. "value": "3710"
  16984. }, {
  16985. "label": "日照市",
  16986. "value": "3711"
  16987. }, {
  16988. "label": "莱芜市",
  16989. "value": "3712"
  16990. }, {
  16991. "label": "临沂市",
  16992. "value": "3713"
  16993. }, {
  16994. "label": "德州市",
  16995. "value": "3714"
  16996. }, {
  16997. "label": "聊城市",
  16998. "value": "3715"
  16999. }, {
  17000. "label": "滨州市",
  17001. "value": "3716"
  17002. }, {
  17003. "label": "菏泽市",
  17004. "value": "3717"
  17005. }], [{
  17006. "label": "郑州市",
  17007. "value": "4101"
  17008. }, {
  17009. "label": "开封市",
  17010. "value": "4102"
  17011. }, {
  17012. "label": "洛阳市",
  17013. "value": "4103"
  17014. }, {
  17015. "label": "平顶山市",
  17016. "value": "4104"
  17017. }, {
  17018. "label": "安阳市",
  17019. "value": "4105"
  17020. }, {
  17021. "label": "鹤壁市",
  17022. "value": "4106"
  17023. }, {
  17024. "label": "新乡市",
  17025. "value": "4107"
  17026. }, {
  17027. "label": "焦作市",
  17028. "value": "4108"
  17029. }, {
  17030. "label": "濮阳市",
  17031. "value": "4109"
  17032. }, {
  17033. "label": "许昌市",
  17034. "value": "4110"
  17035. }, {
  17036. "label": "漯河市",
  17037. "value": "4111"
  17038. }, {
  17039. "label": "三门峡市",
  17040. "value": "4112"
  17041. }, {
  17042. "label": "南阳市",
  17043. "value": "4113"
  17044. }, {
  17045. "label": "商丘市",
  17046. "value": "4114"
  17047. }, {
  17048. "label": "信阳市",
  17049. "value": "4115"
  17050. }, {
  17051. "label": "周口市",
  17052. "value": "4116"
  17053. }, {
  17054. "label": "驻马店市",
  17055. "value": "4117"
  17056. }, {
  17057. "label": "省直辖县级行政区划",
  17058. "value": "4190"
  17059. }], [{
  17060. "label": "武汉市",
  17061. "value": "4201"
  17062. }, {
  17063. "label": "黄石市",
  17064. "value": "4202"
  17065. }, {
  17066. "label": "十堰市",
  17067. "value": "4203"
  17068. }, {
  17069. "label": "宜昌市",
  17070. "value": "4205"
  17071. }, {
  17072. "label": "襄阳市",
  17073. "value": "4206"
  17074. }, {
  17075. "label": "鄂州市",
  17076. "value": "4207"
  17077. }, {
  17078. "label": "荆门市",
  17079. "value": "4208"
  17080. }, {
  17081. "label": "孝感市",
  17082. "value": "4209"
  17083. }, {
  17084. "label": "荆州市",
  17085. "value": "4210"
  17086. }, {
  17087. "label": "黄冈市",
  17088. "value": "4211"
  17089. }, {
  17090. "label": "咸宁市",
  17091. "value": "4212"
  17092. }, {
  17093. "label": "随州市",
  17094. "value": "4213"
  17095. }, {
  17096. "label": "恩施土家族苗族自治州",
  17097. "value": "4228"
  17098. }, {
  17099. "label": "省直辖县级行政区划",
  17100. "value": "4290"
  17101. }], [{
  17102. "label": "长沙市",
  17103. "value": "4301"
  17104. }, {
  17105. "label": "株洲市",
  17106. "value": "4302"
  17107. }, {
  17108. "label": "湘潭市",
  17109. "value": "4303"
  17110. }, {
  17111. "label": "衡阳市",
  17112. "value": "4304"
  17113. }, {
  17114. "label": "邵阳市",
  17115. "value": "4305"
  17116. }, {
  17117. "label": "岳阳市",
  17118. "value": "4306"
  17119. }, {
  17120. "label": "常德市",
  17121. "value": "4307"
  17122. }, {
  17123. "label": "张家界市",
  17124. "value": "4308"
  17125. }, {
  17126. "label": "益阳市",
  17127. "value": "4309"
  17128. }, {
  17129. "label": "郴州市",
  17130. "value": "4310"
  17131. }, {
  17132. "label": "永州市",
  17133. "value": "4311"
  17134. }, {
  17135. "label": "怀化市",
  17136. "value": "4312"
  17137. }, {
  17138. "label": "娄底市",
  17139. "value": "4313"
  17140. }, {
  17141. "label": "湘西土家族苗族自治州",
  17142. "value": "4331"
  17143. }], [{
  17144. "label": "广州市",
  17145. "value": "4401"
  17146. }, {
  17147. "label": "韶关市",
  17148. "value": "4402"
  17149. }, {
  17150. "label": "深圳市",
  17151. "value": "4403"
  17152. }, {
  17153. "label": "珠海市",
  17154. "value": "4404"
  17155. }, {
  17156. "label": "汕头市",
  17157. "value": "4405"
  17158. }, {
  17159. "label": "佛山市",
  17160. "value": "4406"
  17161. }, {
  17162. "label": "江门市",
  17163. "value": "4407"
  17164. }, {
  17165. "label": "湛江市",
  17166. "value": "4408"
  17167. }, {
  17168. "label": "茂名市",
  17169. "value": "4409"
  17170. }, {
  17171. "label": "肇庆市",
  17172. "value": "4412"
  17173. }, {
  17174. "label": "惠州市",
  17175. "value": "4413"
  17176. }, {
  17177. "label": "梅州市",
  17178. "value": "4414"
  17179. }, {
  17180. "label": "汕尾市",
  17181. "value": "4415"
  17182. }, {
  17183. "label": "河源市",
  17184. "value": "4416"
  17185. }, {
  17186. "label": "阳江市",
  17187. "value": "4417"
  17188. }, {
  17189. "label": "清远市",
  17190. "value": "4418"
  17191. }, {
  17192. "label": "东莞市",
  17193. "value": "4419"
  17194. }, {
  17195. "label": "中山市",
  17196. "value": "4420"
  17197. }, {
  17198. "label": "潮州市",
  17199. "value": "4451"
  17200. }, {
  17201. "label": "揭阳市",
  17202. "value": "4452"
  17203. }, {
  17204. "label": "云浮市",
  17205. "value": "4453"
  17206. }], [{
  17207. "label": "南宁市",
  17208. "value": "4501"
  17209. }, {
  17210. "label": "柳州市",
  17211. "value": "4502"
  17212. }, {
  17213. "label": "桂林市",
  17214. "value": "4503"
  17215. }, {
  17216. "label": "梧州市",
  17217. "value": "4504"
  17218. }, {
  17219. "label": "北海市",
  17220. "value": "4505"
  17221. }, {
  17222. "label": "防城港市",
  17223. "value": "4506"
  17224. }, {
  17225. "label": "钦州市",
  17226. "value": "4507"
  17227. }, {
  17228. "label": "贵港市",
  17229. "value": "4508"
  17230. }, {
  17231. "label": "玉林市",
  17232. "value": "4509"
  17233. }, {
  17234. "label": "百色市",
  17235. "value": "4510"
  17236. }, {
  17237. "label": "贺州市",
  17238. "value": "4511"
  17239. }, {
  17240. "label": "河池市",
  17241. "value": "4512"
  17242. }, {
  17243. "label": "来宾市",
  17244. "value": "4513"
  17245. }, {
  17246. "label": "崇左市",
  17247. "value": "4514"
  17248. }], [{
  17249. "label": "海口市",
  17250. "value": "4601"
  17251. }, {
  17252. "label": "三亚市",
  17253. "value": "4602"
  17254. }, {
  17255. "label": "三沙市",
  17256. "value": "4603"
  17257. }, {
  17258. "label": "儋州市",
  17259. "value": "4604"
  17260. }, {
  17261. "label": "省直辖县级行政区划",
  17262. "value": "4690"
  17263. }], [{
  17264. "label": "市辖区",
  17265. "value": "5001"
  17266. }, {
  17267. "label": "县",
  17268. "value": "5002"
  17269. }], [{
  17270. "label": "成都市",
  17271. "value": "5101"
  17272. }, {
  17273. "label": "自贡市",
  17274. "value": "5103"
  17275. }, {
  17276. "label": "攀枝花市",
  17277. "value": "5104"
  17278. }, {
  17279. "label": "泸州市",
  17280. "value": "5105"
  17281. }, {
  17282. "label": "德阳市",
  17283. "value": "5106"
  17284. }, {
  17285. "label": "绵阳市",
  17286. "value": "5107"
  17287. }, {
  17288. "label": "广元市",
  17289. "value": "5108"
  17290. }, {
  17291. "label": "遂宁市",
  17292. "value": "5109"
  17293. }, {
  17294. "label": "内江市",
  17295. "value": "5110"
  17296. }, {
  17297. "label": "乐山市",
  17298. "value": "5111"
  17299. }, {
  17300. "label": "南充市",
  17301. "value": "5113"
  17302. }, {
  17303. "label": "眉山市",
  17304. "value": "5114"
  17305. }, {
  17306. "label": "宜宾市",
  17307. "value": "5115"
  17308. }, {
  17309. "label": "广安市",
  17310. "value": "5116"
  17311. }, {
  17312. "label": "达州市",
  17313. "value": "5117"
  17314. }, {
  17315. "label": "雅安市",
  17316. "value": "5118"
  17317. }, {
  17318. "label": "巴中市",
  17319. "value": "5119"
  17320. }, {
  17321. "label": "资阳市",
  17322. "value": "5120"
  17323. }, {
  17324. "label": "阿坝藏族羌族自治州",
  17325. "value": "5132"
  17326. }, {
  17327. "label": "甘孜藏族自治州",
  17328. "value": "5133"
  17329. }, {
  17330. "label": "凉山彝族自治州",
  17331. "value": "5134"
  17332. }], [{
  17333. "label": "贵阳市",
  17334. "value": "5201"
  17335. }, {
  17336. "label": "六盘水市",
  17337. "value": "5202"
  17338. }, {
  17339. "label": "遵义市",
  17340. "value": "5203"
  17341. }, {
  17342. "label": "安顺市",
  17343. "value": "5204"
  17344. }, {
  17345. "label": "毕节市",
  17346. "value": "5205"
  17347. }, {
  17348. "label": "铜仁市",
  17349. "value": "5206"
  17350. }, {
  17351. "label": "黔西南布依族苗族自治州",
  17352. "value": "5223"
  17353. }, {
  17354. "label": "黔东南苗族侗族自治州",
  17355. "value": "5226"
  17356. }, {
  17357. "label": "黔南布依族苗族自治州",
  17358. "value": "5227"
  17359. }], [{
  17360. "label": "昆明市",
  17361. "value": "5301"
  17362. }, {
  17363. "label": "曲靖市",
  17364. "value": "5303"
  17365. }, {
  17366. "label": "玉溪市",
  17367. "value": "5304"
  17368. }, {
  17369. "label": "保山市",
  17370. "value": "5305"
  17371. }, {
  17372. "label": "昭通市",
  17373. "value": "5306"
  17374. }, {
  17375. "label": "丽江市",
  17376. "value": "5307"
  17377. }, {
  17378. "label": "普洱市",
  17379. "value": "5308"
  17380. }, {
  17381. "label": "临沧市",
  17382. "value": "5309"
  17383. }, {
  17384. "label": "楚雄彝族自治州",
  17385. "value": "5323"
  17386. }, {
  17387. "label": "红河哈尼族彝族自治州",
  17388. "value": "5325"
  17389. }, {
  17390. "label": "文山壮族苗族自治州",
  17391. "value": "5326"
  17392. }, {
  17393. "label": "西双版纳傣族自治州",
  17394. "value": "5328"
  17395. }, {
  17396. "label": "大理白族自治州",
  17397. "value": "5329"
  17398. }, {
  17399. "label": "德宏傣族景颇族自治州",
  17400. "value": "5331"
  17401. }, {
  17402. "label": "怒江傈僳族自治州",
  17403. "value": "5333"
  17404. }, {
  17405. "label": "迪庆藏族自治州",
  17406. "value": "5334"
  17407. }], [{
  17408. "label": "拉萨市",
  17409. "value": "5401"
  17410. }, {
  17411. "label": "日喀则市",
  17412. "value": "5402"
  17413. }, {
  17414. "label": "昌都市",
  17415. "value": "5403"
  17416. }, {
  17417. "label": "林芝市",
  17418. "value": "5404"
  17419. }, {
  17420. "label": "山南市",
  17421. "value": "5405"
  17422. }, {
  17423. "label": "那曲地区",
  17424. "value": "5424"
  17425. }, {
  17426. "label": "阿里地区",
  17427. "value": "5425"
  17428. }], [{
  17429. "label": "西安市",
  17430. "value": "6101"
  17431. }, {
  17432. "label": "铜川市",
  17433. "value": "6102"
  17434. }, {
  17435. "label": "宝鸡市",
  17436. "value": "6103"
  17437. }, {
  17438. "label": "咸阳市",
  17439. "value": "6104"
  17440. }, {
  17441. "label": "渭南市",
  17442. "value": "6105"
  17443. }, {
  17444. "label": "延安市",
  17445. "value": "6106"
  17446. }, {
  17447. "label": "汉中市",
  17448. "value": "6107"
  17449. }, {
  17450. "label": "榆林市",
  17451. "value": "6108"
  17452. }, {
  17453. "label": "安康市",
  17454. "value": "6109"
  17455. }, {
  17456. "label": "商洛市",
  17457. "value": "6110"
  17458. }], [{
  17459. "label": "兰州市",
  17460. "value": "6201"
  17461. }, {
  17462. "label": "嘉峪关市",
  17463. "value": "6202"
  17464. }, {
  17465. "label": "金昌市",
  17466. "value": "6203"
  17467. }, {
  17468. "label": "白银市",
  17469. "value": "6204"
  17470. }, {
  17471. "label": "天水市",
  17472. "value": "6205"
  17473. }, {
  17474. "label": "武威市",
  17475. "value": "6206"
  17476. }, {
  17477. "label": "张掖市",
  17478. "value": "6207"
  17479. }, {
  17480. "label": "平凉市",
  17481. "value": "6208"
  17482. }, {
  17483. "label": "酒泉市",
  17484. "value": "6209"
  17485. }, {
  17486. "label": "庆阳市",
  17487. "value": "6210"
  17488. }, {
  17489. "label": "定西市",
  17490. "value": "6211"
  17491. }, {
  17492. "label": "陇南市",
  17493. "value": "6212"
  17494. }, {
  17495. "label": "临夏回族自治州",
  17496. "value": "6229"
  17497. }, {
  17498. "label": "甘南藏族自治州",
  17499. "value": "6230"
  17500. }], [{
  17501. "label": "西宁市",
  17502. "value": "6301"
  17503. }, {
  17504. "label": "海东市",
  17505. "value": "6302"
  17506. }, {
  17507. "label": "海北藏族自治州",
  17508. "value": "6322"
  17509. }, {
  17510. "label": "黄南藏族自治州",
  17511. "value": "6323"
  17512. }, {
  17513. "label": "海南藏族自治州",
  17514. "value": "6325"
  17515. }, {
  17516. "label": "果洛藏族自治州",
  17517. "value": "6326"
  17518. }, {
  17519. "label": "玉树藏族自治州",
  17520. "value": "6327"
  17521. }, {
  17522. "label": "海西蒙古族藏族自治州",
  17523. "value": "6328"
  17524. }], [{
  17525. "label": "银川市",
  17526. "value": "6401"
  17527. }, {
  17528. "label": "石嘴山市",
  17529. "value": "6402"
  17530. }, {
  17531. "label": "吴忠市",
  17532. "value": "6403"
  17533. }, {
  17534. "label": "固原市",
  17535. "value": "6404"
  17536. }, {
  17537. "label": "中卫市",
  17538. "value": "6405"
  17539. }], [{
  17540. "label": "乌鲁木齐市",
  17541. "value": "6501"
  17542. }, {
  17543. "label": "克拉玛依市",
  17544. "value": "6502"
  17545. }, {
  17546. "label": "吐鲁番市",
  17547. "value": "6504"
  17548. }, {
  17549. "label": "哈密市",
  17550. "value": "6505"
  17551. }, {
  17552. "label": "昌吉回族自治州",
  17553. "value": "6523"
  17554. }, {
  17555. "label": "博尔塔拉蒙古自治州",
  17556. "value": "6527"
  17557. }, {
  17558. "label": "巴音郭楞蒙古自治州",
  17559. "value": "6528"
  17560. }, {
  17561. "label": "阿克苏地区",
  17562. "value": "6529"
  17563. }, {
  17564. "label": "克孜勒苏柯尔克孜自治州",
  17565. "value": "6530"
  17566. }, {
  17567. "label": "喀什地区",
  17568. "value": "6531"
  17569. }, {
  17570. "label": "和田地区",
  17571. "value": "6532"
  17572. }, {
  17573. "label": "伊犁哈萨克自治州",
  17574. "value": "6540"
  17575. }, {
  17576. "label": "塔城地区",
  17577. "value": "6542"
  17578. }, {
  17579. "label": "阿勒泰地区",
  17580. "value": "6543"
  17581. }, {
  17582. "label": "自治区直辖县级行政区划",
  17583. "value": "6590"
  17584. }], [{
  17585. "label": "台北",
  17586. "value": "6601"
  17587. }, {
  17588. "label": "高雄",
  17589. "value": "6602"
  17590. }, {
  17591. "label": "基隆",
  17592. "value": "6603"
  17593. }, {
  17594. "label": "台中",
  17595. "value": "6604"
  17596. }, {
  17597. "label": "台南",
  17598. "value": "6605"
  17599. }, {
  17600. "label": "新竹",
  17601. "value": "6606"
  17602. }, {
  17603. "label": "嘉义",
  17604. "value": "6607"
  17605. }, {
  17606. "label": "宜兰",
  17607. "value": "6608"
  17608. }, {
  17609. "label": "桃园",
  17610. "value": "6609"
  17611. }, {
  17612. "label": "苗栗",
  17613. "value": "6610"
  17614. }, {
  17615. "label": "彰化",
  17616. "value": "6611"
  17617. }, {
  17618. "label": "南投",
  17619. "value": "6612"
  17620. }, {
  17621. "label": "云林",
  17622. "value": "6613"
  17623. }, {
  17624. "label": "屏东",
  17625. "value": "6614"
  17626. }, {
  17627. "label": "台东",
  17628. "value": "6615"
  17629. }, {
  17630. "label": "花莲",
  17631. "value": "6616"
  17632. }, {
  17633. "label": "澎湖",
  17634. "value": "6617"
  17635. }], [{
  17636. "label": "香港岛",
  17637. "value": "6701"
  17638. }, {
  17639. "label": "九龙",
  17640. "value": "6702"
  17641. }, {
  17642. "label": "新界",
  17643. "value": "6703"
  17644. }], [{
  17645. "label": "澳门半岛",
  17646. "value": "6801"
  17647. }, {
  17648. "label": "氹仔岛",
  17649. "value": "6802"
  17650. }, {
  17651. "label": "路环岛",
  17652. "value": "6803"
  17653. }, {
  17654. "label": "路氹城",
  17655. "value": "6804"
  17656. }]];
  17657. var _default = cityData;
  17658. exports.default = _default;
  17659. /***/ }),
  17660. /***/ 392:
  17661. /*!*************************************************************!*\
  17662. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/area.js ***!
  17663. \*************************************************************/
  17664. /*! no static exports found */
  17665. /***/ (function(module, exports, __webpack_require__) {
  17666. "use strict";
  17667. Object.defineProperty(exports, "__esModule", {
  17668. value: true
  17669. });
  17670. exports.default = void 0;
  17671. var areaData = [[[{
  17672. "label": "东城区",
  17673. "value": "110101"
  17674. }, {
  17675. "label": "西城区",
  17676. "value": "110102"
  17677. }, {
  17678. "label": "朝阳区",
  17679. "value": "110105"
  17680. }, {
  17681. "label": "丰台区",
  17682. "value": "110106"
  17683. }, {
  17684. "label": "石景山区",
  17685. "value": "110107"
  17686. }, {
  17687. "label": "海淀区",
  17688. "value": "110108"
  17689. }, {
  17690. "label": "门头沟区",
  17691. "value": "110109"
  17692. }, {
  17693. "label": "房山区",
  17694. "value": "110111"
  17695. }, {
  17696. "label": "通州区",
  17697. "value": "110112"
  17698. }, {
  17699. "label": "顺义区",
  17700. "value": "110113"
  17701. }, {
  17702. "label": "昌平区",
  17703. "value": "110114"
  17704. }, {
  17705. "label": "大兴区",
  17706. "value": "110115"
  17707. }, {
  17708. "label": "怀柔区",
  17709. "value": "110116"
  17710. }, {
  17711. "label": "平谷区",
  17712. "value": "110117"
  17713. }, {
  17714. "label": "密云区",
  17715. "value": "110118"
  17716. }, {
  17717. "label": "延庆区",
  17718. "value": "110119"
  17719. }]], [[{
  17720. "label": "和平区",
  17721. "value": "120101"
  17722. }, {
  17723. "label": "河东区",
  17724. "value": "120102"
  17725. }, {
  17726. "label": "河西区",
  17727. "value": "120103"
  17728. }, {
  17729. "label": "南开区",
  17730. "value": "120104"
  17731. }, {
  17732. "label": "河北区",
  17733. "value": "120105"
  17734. }, {
  17735. "label": "红桥区",
  17736. "value": "120106"
  17737. }, {
  17738. "label": "东丽区",
  17739. "value": "120110"
  17740. }, {
  17741. "label": "西青区",
  17742. "value": "120111"
  17743. }, {
  17744. "label": "津南区",
  17745. "value": "120112"
  17746. }, {
  17747. "label": "北辰区",
  17748. "value": "120113"
  17749. }, {
  17750. "label": "武清区",
  17751. "value": "120114"
  17752. }, {
  17753. "label": "宝坻区",
  17754. "value": "120115"
  17755. }, {
  17756. "label": "滨海新区",
  17757. "value": "120116"
  17758. }, {
  17759. "label": "宁河区",
  17760. "value": "120117"
  17761. }, {
  17762. "label": "静海区",
  17763. "value": "120118"
  17764. }, {
  17765. "label": "蓟州区",
  17766. "value": "120119"
  17767. }]], [[{
  17768. "label": "长安区",
  17769. "value": "130102"
  17770. }, {
  17771. "label": "桥西区",
  17772. "value": "130104"
  17773. }, {
  17774. "label": "新华区",
  17775. "value": "130105"
  17776. }, {
  17777. "label": "井陉矿区",
  17778. "value": "130107"
  17779. }, {
  17780. "label": "裕华区",
  17781. "value": "130108"
  17782. }, {
  17783. "label": "藁城区",
  17784. "value": "130109"
  17785. }, {
  17786. "label": "鹿泉区",
  17787. "value": "130110"
  17788. }, {
  17789. "label": "栾城区",
  17790. "value": "130111"
  17791. }, {
  17792. "label": "井陉县",
  17793. "value": "130121"
  17794. }, {
  17795. "label": "正定县",
  17796. "value": "130123"
  17797. }, {
  17798. "label": "行唐县",
  17799. "value": "130125"
  17800. }, {
  17801. "label": "灵寿县",
  17802. "value": "130126"
  17803. }, {
  17804. "label": "高邑县",
  17805. "value": "130127"
  17806. }, {
  17807. "label": "深泽县",
  17808. "value": "130128"
  17809. }, {
  17810. "label": "赞皇县",
  17811. "value": "130129"
  17812. }, {
  17813. "label": "无极县",
  17814. "value": "130130"
  17815. }, {
  17816. "label": "平山县",
  17817. "value": "130131"
  17818. }, {
  17819. "label": "元氏县",
  17820. "value": "130132"
  17821. }, {
  17822. "label": "赵县",
  17823. "value": "130133"
  17824. }, {
  17825. "label": "石家庄高新技术产业开发区",
  17826. "value": "130171"
  17827. }, {
  17828. "label": "石家庄循环化工园区",
  17829. "value": "130172"
  17830. }, {
  17831. "label": "辛集市",
  17832. "value": "130181"
  17833. }, {
  17834. "label": "晋州市",
  17835. "value": "130183"
  17836. }, {
  17837. "label": "新乐市",
  17838. "value": "130184"
  17839. }], [{
  17840. "label": "路南区",
  17841. "value": "130202"
  17842. }, {
  17843. "label": "路北区",
  17844. "value": "130203"
  17845. }, {
  17846. "label": "古冶区",
  17847. "value": "130204"
  17848. }, {
  17849. "label": "开平区",
  17850. "value": "130205"
  17851. }, {
  17852. "label": "丰南区",
  17853. "value": "130207"
  17854. }, {
  17855. "label": "丰润区",
  17856. "value": "130208"
  17857. }, {
  17858. "label": "曹妃甸区",
  17859. "value": "130209"
  17860. }, {
  17861. "label": "滦县",
  17862. "value": "130223"
  17863. }, {
  17864. "label": "滦南县",
  17865. "value": "130224"
  17866. }, {
  17867. "label": "乐亭县",
  17868. "value": "130225"
  17869. }, {
  17870. "label": "迁西县",
  17871. "value": "130227"
  17872. }, {
  17873. "label": "玉田县",
  17874. "value": "130229"
  17875. }, {
  17876. "label": "唐山市芦台经济技术开发区",
  17877. "value": "130271"
  17878. }, {
  17879. "label": "唐山市汉沽管理区",
  17880. "value": "130272"
  17881. }, {
  17882. "label": "唐山高新技术产业开发区",
  17883. "value": "130273"
  17884. }, {
  17885. "label": "河北唐山海港经济开发区",
  17886. "value": "130274"
  17887. }, {
  17888. "label": "遵化市",
  17889. "value": "130281"
  17890. }, {
  17891. "label": "迁安市",
  17892. "value": "130283"
  17893. }], [{
  17894. "label": "海港区",
  17895. "value": "130302"
  17896. }, {
  17897. "label": "山海关区",
  17898. "value": "130303"
  17899. }, {
  17900. "label": "北戴河区",
  17901. "value": "130304"
  17902. }, {
  17903. "label": "抚宁区",
  17904. "value": "130306"
  17905. }, {
  17906. "label": "青龙满族自治县",
  17907. "value": "130321"
  17908. }, {
  17909. "label": "昌黎县",
  17910. "value": "130322"
  17911. }, {
  17912. "label": "卢龙县",
  17913. "value": "130324"
  17914. }, {
  17915. "label": "秦皇岛市经济技术开发区",
  17916. "value": "130371"
  17917. }, {
  17918. "label": "北戴河新区",
  17919. "value": "130372"
  17920. }], [{
  17921. "label": "邯山区",
  17922. "value": "130402"
  17923. }, {
  17924. "label": "丛台区",
  17925. "value": "130403"
  17926. }, {
  17927. "label": "复兴区",
  17928. "value": "130404"
  17929. }, {
  17930. "label": "峰峰矿区",
  17931. "value": "130406"
  17932. }, {
  17933. "label": "肥乡区",
  17934. "value": "130407"
  17935. }, {
  17936. "label": "永年区",
  17937. "value": "130408"
  17938. }, {
  17939. "label": "临漳县",
  17940. "value": "130423"
  17941. }, {
  17942. "label": "成安县",
  17943. "value": "130424"
  17944. }, {
  17945. "label": "大名县",
  17946. "value": "130425"
  17947. }, {
  17948. "label": "涉县",
  17949. "value": "130426"
  17950. }, {
  17951. "label": "磁县",
  17952. "value": "130427"
  17953. }, {
  17954. "label": "邱县",
  17955. "value": "130430"
  17956. }, {
  17957. "label": "鸡泽县",
  17958. "value": "130431"
  17959. }, {
  17960. "label": "广平县",
  17961. "value": "130432"
  17962. }, {
  17963. "label": "馆陶县",
  17964. "value": "130433"
  17965. }, {
  17966. "label": "魏县",
  17967. "value": "130434"
  17968. }, {
  17969. "label": "曲周县",
  17970. "value": "130435"
  17971. }, {
  17972. "label": "邯郸经济技术开发区",
  17973. "value": "130471"
  17974. }, {
  17975. "label": "邯郸冀南新区",
  17976. "value": "130473"
  17977. }, {
  17978. "label": "武安市",
  17979. "value": "130481"
  17980. }], [{
  17981. "label": "桥东区",
  17982. "value": "130502"
  17983. }, {
  17984. "label": "桥西区",
  17985. "value": "130503"
  17986. }, {
  17987. "label": "邢台县",
  17988. "value": "130521"
  17989. }, {
  17990. "label": "临城县",
  17991. "value": "130522"
  17992. }, {
  17993. "label": "内丘县",
  17994. "value": "130523"
  17995. }, {
  17996. "label": "柏乡县",
  17997. "value": "130524"
  17998. }, {
  17999. "label": "隆尧县",
  18000. "value": "130525"
  18001. }, {
  18002. "label": "任县",
  18003. "value": "130526"
  18004. }, {
  18005. "label": "南和县",
  18006. "value": "130527"
  18007. }, {
  18008. "label": "宁晋县",
  18009. "value": "130528"
  18010. }, {
  18011. "label": "巨鹿县",
  18012. "value": "130529"
  18013. }, {
  18014. "label": "新河县",
  18015. "value": "130530"
  18016. }, {
  18017. "label": "广宗县",
  18018. "value": "130531"
  18019. }, {
  18020. "label": "平乡县",
  18021. "value": "130532"
  18022. }, {
  18023. "label": "威县",
  18024. "value": "130533"
  18025. }, {
  18026. "label": "清河县",
  18027. "value": "130534"
  18028. }, {
  18029. "label": "临西县",
  18030. "value": "130535"
  18031. }, {
  18032. "label": "河北邢台经济开发区",
  18033. "value": "130571"
  18034. }, {
  18035. "label": "南宫市",
  18036. "value": "130581"
  18037. }, {
  18038. "label": "沙河市",
  18039. "value": "130582"
  18040. }], [{
  18041. "label": "竞秀区",
  18042. "value": "130602"
  18043. }, {
  18044. "label": "莲池区",
  18045. "value": "130606"
  18046. }, {
  18047. "label": "满城区",
  18048. "value": "130607"
  18049. }, {
  18050. "label": "清苑区",
  18051. "value": "130608"
  18052. }, {
  18053. "label": "徐水区",
  18054. "value": "130609"
  18055. }, {
  18056. "label": "涞水县",
  18057. "value": "130623"
  18058. }, {
  18059. "label": "阜平县",
  18060. "value": "130624"
  18061. }, {
  18062. "label": "定兴县",
  18063. "value": "130626"
  18064. }, {
  18065. "label": "唐县",
  18066. "value": "130627"
  18067. }, {
  18068. "label": "高阳县",
  18069. "value": "130628"
  18070. }, {
  18071. "label": "容城县",
  18072. "value": "130629"
  18073. }, {
  18074. "label": "涞源县",
  18075. "value": "130630"
  18076. }, {
  18077. "label": "望都县",
  18078. "value": "130631"
  18079. }, {
  18080. "label": "安新县",
  18081. "value": "130632"
  18082. }, {
  18083. "label": "易县",
  18084. "value": "130633"
  18085. }, {
  18086. "label": "曲阳县",
  18087. "value": "130634"
  18088. }, {
  18089. "label": "蠡县",
  18090. "value": "130635"
  18091. }, {
  18092. "label": "顺平县",
  18093. "value": "130636"
  18094. }, {
  18095. "label": "博野县",
  18096. "value": "130637"
  18097. }, {
  18098. "label": "雄县",
  18099. "value": "130638"
  18100. }, {
  18101. "label": "保定高新技术产业开发区",
  18102. "value": "130671"
  18103. }, {
  18104. "label": "保定白沟新城",
  18105. "value": "130672"
  18106. }, {
  18107. "label": "涿州市",
  18108. "value": "130681"
  18109. }, {
  18110. "label": "定州市",
  18111. "value": "130682"
  18112. }, {
  18113. "label": "安国市",
  18114. "value": "130683"
  18115. }, {
  18116. "label": "高碑店市",
  18117. "value": "130684"
  18118. }], [{
  18119. "label": "桥东区",
  18120. "value": "130702"
  18121. }, {
  18122. "label": "桥西区",
  18123. "value": "130703"
  18124. }, {
  18125. "label": "宣化区",
  18126. "value": "130705"
  18127. }, {
  18128. "label": "下花园区",
  18129. "value": "130706"
  18130. }, {
  18131. "label": "万全区",
  18132. "value": "130708"
  18133. }, {
  18134. "label": "崇礼区",
  18135. "value": "130709"
  18136. }, {
  18137. "label": "张北县",
  18138. "value": "130722"
  18139. }, {
  18140. "label": "康保县",
  18141. "value": "130723"
  18142. }, {
  18143. "label": "沽源县",
  18144. "value": "130724"
  18145. }, {
  18146. "label": "尚义县",
  18147. "value": "130725"
  18148. }, {
  18149. "label": "蔚县",
  18150. "value": "130726"
  18151. }, {
  18152. "label": "阳原县",
  18153. "value": "130727"
  18154. }, {
  18155. "label": "怀安县",
  18156. "value": "130728"
  18157. }, {
  18158. "label": "怀来县",
  18159. "value": "130730"
  18160. }, {
  18161. "label": "涿鹿县",
  18162. "value": "130731"
  18163. }, {
  18164. "label": "赤城县",
  18165. "value": "130732"
  18166. }, {
  18167. "label": "张家口市高新技术产业开发区",
  18168. "value": "130771"
  18169. }, {
  18170. "label": "张家口市察北管理区",
  18171. "value": "130772"
  18172. }, {
  18173. "label": "张家口市塞北管理区",
  18174. "value": "130773"
  18175. }], [{
  18176. "label": "双桥区",
  18177. "value": "130802"
  18178. }, {
  18179. "label": "双滦区",
  18180. "value": "130803"
  18181. }, {
  18182. "label": "鹰手营子矿区",
  18183. "value": "130804"
  18184. }, {
  18185. "label": "承德县",
  18186. "value": "130821"
  18187. }, {
  18188. "label": "兴隆县",
  18189. "value": "130822"
  18190. }, {
  18191. "label": "滦平县",
  18192. "value": "130824"
  18193. }, {
  18194. "label": "隆化县",
  18195. "value": "130825"
  18196. }, {
  18197. "label": "丰宁满族自治县",
  18198. "value": "130826"
  18199. }, {
  18200. "label": "宽城满族自治县",
  18201. "value": "130827"
  18202. }, {
  18203. "label": "围场满族蒙古族自治县",
  18204. "value": "130828"
  18205. }, {
  18206. "label": "承德高新技术产业开发区",
  18207. "value": "130871"
  18208. }, {
  18209. "label": "平泉市",
  18210. "value": "130881"
  18211. }], [{
  18212. "label": "新华区",
  18213. "value": "130902"
  18214. }, {
  18215. "label": "运河区",
  18216. "value": "130903"
  18217. }, {
  18218. "label": "沧县",
  18219. "value": "130921"
  18220. }, {
  18221. "label": "青县",
  18222. "value": "130922"
  18223. }, {
  18224. "label": "东光县",
  18225. "value": "130923"
  18226. }, {
  18227. "label": "海兴县",
  18228. "value": "130924"
  18229. }, {
  18230. "label": "盐山县",
  18231. "value": "130925"
  18232. }, {
  18233. "label": "肃宁县",
  18234. "value": "130926"
  18235. }, {
  18236. "label": "南皮县",
  18237. "value": "130927"
  18238. }, {
  18239. "label": "吴桥县",
  18240. "value": "130928"
  18241. }, {
  18242. "label": "献县",
  18243. "value": "130929"
  18244. }, {
  18245. "label": "孟村回族自治县",
  18246. "value": "130930"
  18247. }, {
  18248. "label": "河北沧州经济开发区",
  18249. "value": "130971"
  18250. }, {
  18251. "label": "沧州高新技术产业开发区",
  18252. "value": "130972"
  18253. }, {
  18254. "label": "沧州渤海新区",
  18255. "value": "130973"
  18256. }, {
  18257. "label": "泊头市",
  18258. "value": "130981"
  18259. }, {
  18260. "label": "任丘市",
  18261. "value": "130982"
  18262. }, {
  18263. "label": "黄骅市",
  18264. "value": "130983"
  18265. }, {
  18266. "label": "河间市",
  18267. "value": "130984"
  18268. }], [{
  18269. "label": "安次区",
  18270. "value": "131002"
  18271. }, {
  18272. "label": "广阳区",
  18273. "value": "131003"
  18274. }, {
  18275. "label": "固安县",
  18276. "value": "131022"
  18277. }, {
  18278. "label": "永清县",
  18279. "value": "131023"
  18280. }, {
  18281. "label": "香河县",
  18282. "value": "131024"
  18283. }, {
  18284. "label": "大城县",
  18285. "value": "131025"
  18286. }, {
  18287. "label": "文安县",
  18288. "value": "131026"
  18289. }, {
  18290. "label": "大厂回族自治县",
  18291. "value": "131028"
  18292. }, {
  18293. "label": "廊坊经济技术开发区",
  18294. "value": "131071"
  18295. }, {
  18296. "label": "霸州市",
  18297. "value": "131081"
  18298. }, {
  18299. "label": "三河市",
  18300. "value": "131082"
  18301. }], [{
  18302. "label": "桃城区",
  18303. "value": "131102"
  18304. }, {
  18305. "label": "冀州区",
  18306. "value": "131103"
  18307. }, {
  18308. "label": "枣强县",
  18309. "value": "131121"
  18310. }, {
  18311. "label": "武邑县",
  18312. "value": "131122"
  18313. }, {
  18314. "label": "武强县",
  18315. "value": "131123"
  18316. }, {
  18317. "label": "饶阳县",
  18318. "value": "131124"
  18319. }, {
  18320. "label": "安平县",
  18321. "value": "131125"
  18322. }, {
  18323. "label": "故城县",
  18324. "value": "131126"
  18325. }, {
  18326. "label": "景县",
  18327. "value": "131127"
  18328. }, {
  18329. "label": "阜城县",
  18330. "value": "131128"
  18331. }, {
  18332. "label": "河北衡水经济开发区",
  18333. "value": "131171"
  18334. }, {
  18335. "label": "衡水滨湖新区",
  18336. "value": "131172"
  18337. }, {
  18338. "label": "深州市",
  18339. "value": "131182"
  18340. }]], [[{
  18341. "label": "小店区",
  18342. "value": "140105"
  18343. }, {
  18344. "label": "迎泽区",
  18345. "value": "140106"
  18346. }, {
  18347. "label": "杏花岭区",
  18348. "value": "140107"
  18349. }, {
  18350. "label": "尖草坪区",
  18351. "value": "140108"
  18352. }, {
  18353. "label": "万柏林区",
  18354. "value": "140109"
  18355. }, {
  18356. "label": "晋源区",
  18357. "value": "140110"
  18358. }, {
  18359. "label": "清徐县",
  18360. "value": "140121"
  18361. }, {
  18362. "label": "阳曲县",
  18363. "value": "140122"
  18364. }, {
  18365. "label": "娄烦县",
  18366. "value": "140123"
  18367. }, {
  18368. "label": "山西转型综合改革示范区",
  18369. "value": "140171"
  18370. }, {
  18371. "label": "古交市",
  18372. "value": "140181"
  18373. }], [{
  18374. "label": "城区",
  18375. "value": "140202"
  18376. }, {
  18377. "label": "矿区",
  18378. "value": "140203"
  18379. }, {
  18380. "label": "南郊区",
  18381. "value": "140211"
  18382. }, {
  18383. "label": "新荣区",
  18384. "value": "140212"
  18385. }, {
  18386. "label": "阳高县",
  18387. "value": "140221"
  18388. }, {
  18389. "label": "天镇县",
  18390. "value": "140222"
  18391. }, {
  18392. "label": "广灵县",
  18393. "value": "140223"
  18394. }, {
  18395. "label": "灵丘县",
  18396. "value": "140224"
  18397. }, {
  18398. "label": "浑源县",
  18399. "value": "140225"
  18400. }, {
  18401. "label": "左云县",
  18402. "value": "140226"
  18403. }, {
  18404. "label": "大同县",
  18405. "value": "140227"
  18406. }, {
  18407. "label": "山西大同经济开发区",
  18408. "value": "140271"
  18409. }], [{
  18410. "label": "城区",
  18411. "value": "140302"
  18412. }, {
  18413. "label": "矿区",
  18414. "value": "140303"
  18415. }, {
  18416. "label": "郊区",
  18417. "value": "140311"
  18418. }, {
  18419. "label": "平定县",
  18420. "value": "140321"
  18421. }, {
  18422. "label": "盂县",
  18423. "value": "140322"
  18424. }, {
  18425. "label": "山西阳泉经济开发区",
  18426. "value": "140371"
  18427. }], [{
  18428. "label": "城区",
  18429. "value": "140402"
  18430. }, {
  18431. "label": "郊区",
  18432. "value": "140411"
  18433. }, {
  18434. "label": "长治县",
  18435. "value": "140421"
  18436. }, {
  18437. "label": "襄垣县",
  18438. "value": "140423"
  18439. }, {
  18440. "label": "屯留县",
  18441. "value": "140424"
  18442. }, {
  18443. "label": "平顺县",
  18444. "value": "140425"
  18445. }, {
  18446. "label": "黎城县",
  18447. "value": "140426"
  18448. }, {
  18449. "label": "壶关县",
  18450. "value": "140427"
  18451. }, {
  18452. "label": "长子县",
  18453. "value": "140428"
  18454. }, {
  18455. "label": "武乡县",
  18456. "value": "140429"
  18457. }, {
  18458. "label": "沁县",
  18459. "value": "140430"
  18460. }, {
  18461. "label": "沁源县",
  18462. "value": "140431"
  18463. }, {
  18464. "label": "山西长治高新技术产业园区",
  18465. "value": "140471"
  18466. }, {
  18467. "label": "潞城市",
  18468. "value": "140481"
  18469. }], [{
  18470. "label": "城区",
  18471. "value": "140502"
  18472. }, {
  18473. "label": "沁水县",
  18474. "value": "140521"
  18475. }, {
  18476. "label": "阳城县",
  18477. "value": "140522"
  18478. }, {
  18479. "label": "陵川县",
  18480. "value": "140524"
  18481. }, {
  18482. "label": "泽州县",
  18483. "value": "140525"
  18484. }, {
  18485. "label": "高平市",
  18486. "value": "140581"
  18487. }], [{
  18488. "label": "朔城区",
  18489. "value": "140602"
  18490. }, {
  18491. "label": "平鲁区",
  18492. "value": "140603"
  18493. }, {
  18494. "label": "山阴县",
  18495. "value": "140621"
  18496. }, {
  18497. "label": "应县",
  18498. "value": "140622"
  18499. }, {
  18500. "label": "右玉县",
  18501. "value": "140623"
  18502. }, {
  18503. "label": "怀仁县",
  18504. "value": "140624"
  18505. }, {
  18506. "label": "山西朔州经济开发区",
  18507. "value": "140671"
  18508. }], [{
  18509. "label": "榆次区",
  18510. "value": "140702"
  18511. }, {
  18512. "label": "榆社县",
  18513. "value": "140721"
  18514. }, {
  18515. "label": "左权县",
  18516. "value": "140722"
  18517. }, {
  18518. "label": "和顺县",
  18519. "value": "140723"
  18520. }, {
  18521. "label": "昔阳县",
  18522. "value": "140724"
  18523. }, {
  18524. "label": "寿阳县",
  18525. "value": "140725"
  18526. }, {
  18527. "label": "太谷县",
  18528. "value": "140726"
  18529. }, {
  18530. "label": "祁县",
  18531. "value": "140727"
  18532. }, {
  18533. "label": "平遥县",
  18534. "value": "140728"
  18535. }, {
  18536. "label": "灵石县",
  18537. "value": "140729"
  18538. }, {
  18539. "label": "介休市",
  18540. "value": "140781"
  18541. }], [{
  18542. "label": "盐湖区",
  18543. "value": "140802"
  18544. }, {
  18545. "label": "临猗县",
  18546. "value": "140821"
  18547. }, {
  18548. "label": "万荣县",
  18549. "value": "140822"
  18550. }, {
  18551. "label": "闻喜县",
  18552. "value": "140823"
  18553. }, {
  18554. "label": "稷山县",
  18555. "value": "140824"
  18556. }, {
  18557. "label": "新绛县",
  18558. "value": "140825"
  18559. }, {
  18560. "label": "绛县",
  18561. "value": "140826"
  18562. }, {
  18563. "label": "垣曲县",
  18564. "value": "140827"
  18565. }, {
  18566. "label": "夏县",
  18567. "value": "140828"
  18568. }, {
  18569. "label": "平陆县",
  18570. "value": "140829"
  18571. }, {
  18572. "label": "芮城县",
  18573. "value": "140830"
  18574. }, {
  18575. "label": "永济市",
  18576. "value": "140881"
  18577. }, {
  18578. "label": "河津市",
  18579. "value": "140882"
  18580. }], [{
  18581. "label": "忻府区",
  18582. "value": "140902"
  18583. }, {
  18584. "label": "定襄县",
  18585. "value": "140921"
  18586. }, {
  18587. "label": "五台县",
  18588. "value": "140922"
  18589. }, {
  18590. "label": "代县",
  18591. "value": "140923"
  18592. }, {
  18593. "label": "繁峙县",
  18594. "value": "140924"
  18595. }, {
  18596. "label": "宁武县",
  18597. "value": "140925"
  18598. }, {
  18599. "label": "静乐县",
  18600. "value": "140926"
  18601. }, {
  18602. "label": "神池县",
  18603. "value": "140927"
  18604. }, {
  18605. "label": "五寨县",
  18606. "value": "140928"
  18607. }, {
  18608. "label": "岢岚县",
  18609. "value": "140929"
  18610. }, {
  18611. "label": "河曲县",
  18612. "value": "140930"
  18613. }, {
  18614. "label": "保德县",
  18615. "value": "140931"
  18616. }, {
  18617. "label": "偏关县",
  18618. "value": "140932"
  18619. }, {
  18620. "label": "五台山风景名胜区",
  18621. "value": "140971"
  18622. }, {
  18623. "label": "原平市",
  18624. "value": "140981"
  18625. }], [{
  18626. "label": "尧都区",
  18627. "value": "141002"
  18628. }, {
  18629. "label": "曲沃县",
  18630. "value": "141021"
  18631. }, {
  18632. "label": "翼城县",
  18633. "value": "141022"
  18634. }, {
  18635. "label": "襄汾县",
  18636. "value": "141023"
  18637. }, {
  18638. "label": "洪洞县",
  18639. "value": "141024"
  18640. }, {
  18641. "label": "古县",
  18642. "value": "141025"
  18643. }, {
  18644. "label": "安泽县",
  18645. "value": "141026"
  18646. }, {
  18647. "label": "浮山县",
  18648. "value": "141027"
  18649. }, {
  18650. "label": "吉县",
  18651. "value": "141028"
  18652. }, {
  18653. "label": "乡宁县",
  18654. "value": "141029"
  18655. }, {
  18656. "label": "大宁县",
  18657. "value": "141030"
  18658. }, {
  18659. "label": "隰县",
  18660. "value": "141031"
  18661. }, {
  18662. "label": "永和县",
  18663. "value": "141032"
  18664. }, {
  18665. "label": "蒲县",
  18666. "value": "141033"
  18667. }, {
  18668. "label": "汾西县",
  18669. "value": "141034"
  18670. }, {
  18671. "label": "侯马市",
  18672. "value": "141081"
  18673. }, {
  18674. "label": "霍州市",
  18675. "value": "141082"
  18676. }], [{
  18677. "label": "离石区",
  18678. "value": "141102"
  18679. }, {
  18680. "label": "文水县",
  18681. "value": "141121"
  18682. }, {
  18683. "label": "交城县",
  18684. "value": "141122"
  18685. }, {
  18686. "label": "兴县",
  18687. "value": "141123"
  18688. }, {
  18689. "label": "临县",
  18690. "value": "141124"
  18691. }, {
  18692. "label": "柳林县",
  18693. "value": "141125"
  18694. }, {
  18695. "label": "石楼县",
  18696. "value": "141126"
  18697. }, {
  18698. "label": "岚县",
  18699. "value": "141127"
  18700. }, {
  18701. "label": "方山县",
  18702. "value": "141128"
  18703. }, {
  18704. "label": "中阳县",
  18705. "value": "141129"
  18706. }, {
  18707. "label": "交口县",
  18708. "value": "141130"
  18709. }, {
  18710. "label": "孝义市",
  18711. "value": "141181"
  18712. }, {
  18713. "label": "汾阳市",
  18714. "value": "141182"
  18715. }]], [[{
  18716. "label": "新城区",
  18717. "value": "150102"
  18718. }, {
  18719. "label": "回民区",
  18720. "value": "150103"
  18721. }, {
  18722. "label": "玉泉区",
  18723. "value": "150104"
  18724. }, {
  18725. "label": "赛罕区",
  18726. "value": "150105"
  18727. }, {
  18728. "label": "土默特左旗",
  18729. "value": "150121"
  18730. }, {
  18731. "label": "托克托县",
  18732. "value": "150122"
  18733. }, {
  18734. "label": "和林格尔县",
  18735. "value": "150123"
  18736. }, {
  18737. "label": "清水河县",
  18738. "value": "150124"
  18739. }, {
  18740. "label": "武川县",
  18741. "value": "150125"
  18742. }, {
  18743. "label": "呼和浩特金海工业园区",
  18744. "value": "150171"
  18745. }, {
  18746. "label": "呼和浩特经济技术开发区",
  18747. "value": "150172"
  18748. }], [{
  18749. "label": "东河区",
  18750. "value": "150202"
  18751. }, {
  18752. "label": "昆都仑区",
  18753. "value": "150203"
  18754. }, {
  18755. "label": "青山区",
  18756. "value": "150204"
  18757. }, {
  18758. "label": "石拐区",
  18759. "value": "150205"
  18760. }, {
  18761. "label": "白云鄂博矿区",
  18762. "value": "150206"
  18763. }, {
  18764. "label": "九原区",
  18765. "value": "150207"
  18766. }, {
  18767. "label": "土默特右旗",
  18768. "value": "150221"
  18769. }, {
  18770. "label": "固阳县",
  18771. "value": "150222"
  18772. }, {
  18773. "label": "达尔罕茂明安联合旗",
  18774. "value": "150223"
  18775. }, {
  18776. "label": "包头稀土高新技术产业开发区",
  18777. "value": "150271"
  18778. }], [{
  18779. "label": "海勃湾区",
  18780. "value": "150302"
  18781. }, {
  18782. "label": "海南区",
  18783. "value": "150303"
  18784. }, {
  18785. "label": "乌达区",
  18786. "value": "150304"
  18787. }], [{
  18788. "label": "红山区",
  18789. "value": "150402"
  18790. }, {
  18791. "label": "元宝山区",
  18792. "value": "150403"
  18793. }, {
  18794. "label": "松山区",
  18795. "value": "150404"
  18796. }, {
  18797. "label": "阿鲁科尔沁旗",
  18798. "value": "150421"
  18799. }, {
  18800. "label": "巴林左旗",
  18801. "value": "150422"
  18802. }, {
  18803. "label": "巴林右旗",
  18804. "value": "150423"
  18805. }, {
  18806. "label": "林西县",
  18807. "value": "150424"
  18808. }, {
  18809. "label": "克什克腾旗",
  18810. "value": "150425"
  18811. }, {
  18812. "label": "翁牛特旗",
  18813. "value": "150426"
  18814. }, {
  18815. "label": "喀喇沁旗",
  18816. "value": "150428"
  18817. }, {
  18818. "label": "宁城县",
  18819. "value": "150429"
  18820. }, {
  18821. "label": "敖汉旗",
  18822. "value": "150430"
  18823. }], [{
  18824. "label": "科尔沁区",
  18825. "value": "150502"
  18826. }, {
  18827. "label": "科尔沁左翼中旗",
  18828. "value": "150521"
  18829. }, {
  18830. "label": "科尔沁左翼后旗",
  18831. "value": "150522"
  18832. }, {
  18833. "label": "开鲁县",
  18834. "value": "150523"
  18835. }, {
  18836. "label": "库伦旗",
  18837. "value": "150524"
  18838. }, {
  18839. "label": "奈曼旗",
  18840. "value": "150525"
  18841. }, {
  18842. "label": "扎鲁特旗",
  18843. "value": "150526"
  18844. }, {
  18845. "label": "通辽经济技术开发区",
  18846. "value": "150571"
  18847. }, {
  18848. "label": "霍林郭勒市",
  18849. "value": "150581"
  18850. }], [{
  18851. "label": "东胜区",
  18852. "value": "150602"
  18853. }, {
  18854. "label": "康巴什区",
  18855. "value": "150603"
  18856. }, {
  18857. "label": "达拉特旗",
  18858. "value": "150621"
  18859. }, {
  18860. "label": "准格尔旗",
  18861. "value": "150622"
  18862. }, {
  18863. "label": "鄂托克前旗",
  18864. "value": "150623"
  18865. }, {
  18866. "label": "鄂托克旗",
  18867. "value": "150624"
  18868. }, {
  18869. "label": "杭锦旗",
  18870. "value": "150625"
  18871. }, {
  18872. "label": "乌审旗",
  18873. "value": "150626"
  18874. }, {
  18875. "label": "伊金霍洛旗",
  18876. "value": "150627"
  18877. }], [{
  18878. "label": "海拉尔区",
  18879. "value": "150702"
  18880. }, {
  18881. "label": "扎赉诺尔区",
  18882. "value": "150703"
  18883. }, {
  18884. "label": "阿荣旗",
  18885. "value": "150721"
  18886. }, {
  18887. "label": "莫力达瓦达斡尔族自治旗",
  18888. "value": "150722"
  18889. }, {
  18890. "label": "鄂伦春自治旗",
  18891. "value": "150723"
  18892. }, {
  18893. "label": "鄂温克族自治旗",
  18894. "value": "150724"
  18895. }, {
  18896. "label": "陈巴尔虎旗",
  18897. "value": "150725"
  18898. }, {
  18899. "label": "新巴尔虎左旗",
  18900. "value": "150726"
  18901. }, {
  18902. "label": "新巴尔虎右旗",
  18903. "value": "150727"
  18904. }, {
  18905. "label": "满洲里市",
  18906. "value": "150781"
  18907. }, {
  18908. "label": "牙克石市",
  18909. "value": "150782"
  18910. }, {
  18911. "label": "扎兰屯市",
  18912. "value": "150783"
  18913. }, {
  18914. "label": "额尔古纳市",
  18915. "value": "150784"
  18916. }, {
  18917. "label": "根河市",
  18918. "value": "150785"
  18919. }], [{
  18920. "label": "临河区",
  18921. "value": "150802"
  18922. }, {
  18923. "label": "五原县",
  18924. "value": "150821"
  18925. }, {
  18926. "label": "磴口县",
  18927. "value": "150822"
  18928. }, {
  18929. "label": "乌拉特前旗",
  18930. "value": "150823"
  18931. }, {
  18932. "label": "乌拉特中旗",
  18933. "value": "150824"
  18934. }, {
  18935. "label": "乌拉特后旗",
  18936. "value": "150825"
  18937. }, {
  18938. "label": "杭锦后旗",
  18939. "value": "150826"
  18940. }], [{
  18941. "label": "集宁区",
  18942. "value": "150902"
  18943. }, {
  18944. "label": "卓资县",
  18945. "value": "150921"
  18946. }, {
  18947. "label": "化德县",
  18948. "value": "150922"
  18949. }, {
  18950. "label": "商都县",
  18951. "value": "150923"
  18952. }, {
  18953. "label": "兴和县",
  18954. "value": "150924"
  18955. }, {
  18956. "label": "凉城县",
  18957. "value": "150925"
  18958. }, {
  18959. "label": "察哈尔右翼前旗",
  18960. "value": "150926"
  18961. }, {
  18962. "label": "察哈尔右翼中旗",
  18963. "value": "150927"
  18964. }, {
  18965. "label": "察哈尔右翼后旗",
  18966. "value": "150928"
  18967. }, {
  18968. "label": "四子王旗",
  18969. "value": "150929"
  18970. }, {
  18971. "label": "丰镇市",
  18972. "value": "150981"
  18973. }], [{
  18974. "label": "乌兰浩特市",
  18975. "value": "152201"
  18976. }, {
  18977. "label": "阿尔山市",
  18978. "value": "152202"
  18979. }, {
  18980. "label": "科尔沁右翼前旗",
  18981. "value": "152221"
  18982. }, {
  18983. "label": "科尔沁右翼中旗",
  18984. "value": "152222"
  18985. }, {
  18986. "label": "扎赉特旗",
  18987. "value": "152223"
  18988. }, {
  18989. "label": "突泉县",
  18990. "value": "152224"
  18991. }], [{
  18992. "label": "二连浩特市",
  18993. "value": "152501"
  18994. }, {
  18995. "label": "锡林浩特市",
  18996. "value": "152502"
  18997. }, {
  18998. "label": "阿巴嘎旗",
  18999. "value": "152522"
  19000. }, {
  19001. "label": "苏尼特左旗",
  19002. "value": "152523"
  19003. }, {
  19004. "label": "苏尼特右旗",
  19005. "value": "152524"
  19006. }, {
  19007. "label": "东乌珠穆沁旗",
  19008. "value": "152525"
  19009. }, {
  19010. "label": "西乌珠穆沁旗",
  19011. "value": "152526"
  19012. }, {
  19013. "label": "太仆寺旗",
  19014. "value": "152527"
  19015. }, {
  19016. "label": "镶黄旗",
  19017. "value": "152528"
  19018. }, {
  19019. "label": "正镶白旗",
  19020. "value": "152529"
  19021. }, {
  19022. "label": "正蓝旗",
  19023. "value": "152530"
  19024. }, {
  19025. "label": "多伦县",
  19026. "value": "152531"
  19027. }, {
  19028. "label": "乌拉盖管委会",
  19029. "value": "152571"
  19030. }], [{
  19031. "label": "阿拉善左旗",
  19032. "value": "152921"
  19033. }, {
  19034. "label": "阿拉善右旗",
  19035. "value": "152922"
  19036. }, {
  19037. "label": "额济纳旗",
  19038. "value": "152923"
  19039. }, {
  19040. "label": "内蒙古阿拉善经济开发区",
  19041. "value": "152971"
  19042. }]], [[{
  19043. "label": "和平区",
  19044. "value": "210102"
  19045. }, {
  19046. "label": "沈河区",
  19047. "value": "210103"
  19048. }, {
  19049. "label": "大东区",
  19050. "value": "210104"
  19051. }, {
  19052. "label": "皇姑区",
  19053. "value": "210105"
  19054. }, {
  19055. "label": "铁西区",
  19056. "value": "210106"
  19057. }, {
  19058. "label": "苏家屯区",
  19059. "value": "210111"
  19060. }, {
  19061. "label": "浑南区",
  19062. "value": "210112"
  19063. }, {
  19064. "label": "沈北新区",
  19065. "value": "210113"
  19066. }, {
  19067. "label": "于洪区",
  19068. "value": "210114"
  19069. }, {
  19070. "label": "辽中区",
  19071. "value": "210115"
  19072. }, {
  19073. "label": "康平县",
  19074. "value": "210123"
  19075. }, {
  19076. "label": "法库县",
  19077. "value": "210124"
  19078. }, {
  19079. "label": "新民市",
  19080. "value": "210181"
  19081. }], [{
  19082. "label": "中山区",
  19083. "value": "210202"
  19084. }, {
  19085. "label": "西岗区",
  19086. "value": "210203"
  19087. }, {
  19088. "label": "沙河口区",
  19089. "value": "210204"
  19090. }, {
  19091. "label": "甘井子区",
  19092. "value": "210211"
  19093. }, {
  19094. "label": "旅顺口区",
  19095. "value": "210212"
  19096. }, {
  19097. "label": "金州区",
  19098. "value": "210213"
  19099. }, {
  19100. "label": "普兰店区",
  19101. "value": "210214"
  19102. }, {
  19103. "label": "长海县",
  19104. "value": "210224"
  19105. }, {
  19106. "label": "瓦房店市",
  19107. "value": "210281"
  19108. }, {
  19109. "label": "庄河市",
  19110. "value": "210283"
  19111. }], [{
  19112. "label": "铁东区",
  19113. "value": "210302"
  19114. }, {
  19115. "label": "铁西区",
  19116. "value": "210303"
  19117. }, {
  19118. "label": "立山区",
  19119. "value": "210304"
  19120. }, {
  19121. "label": "千山区",
  19122. "value": "210311"
  19123. }, {
  19124. "label": "台安县",
  19125. "value": "210321"
  19126. }, {
  19127. "label": "岫岩满族自治县",
  19128. "value": "210323"
  19129. }, {
  19130. "label": "海城市",
  19131. "value": "210381"
  19132. }], [{
  19133. "label": "新抚区",
  19134. "value": "210402"
  19135. }, {
  19136. "label": "东洲区",
  19137. "value": "210403"
  19138. }, {
  19139. "label": "望花区",
  19140. "value": "210404"
  19141. }, {
  19142. "label": "顺城区",
  19143. "value": "210411"
  19144. }, {
  19145. "label": "抚顺县",
  19146. "value": "210421"
  19147. }, {
  19148. "label": "新宾满族自治县",
  19149. "value": "210422"
  19150. }, {
  19151. "label": "清原满族自治县",
  19152. "value": "210423"
  19153. }], [{
  19154. "label": "平山区",
  19155. "value": "210502"
  19156. }, {
  19157. "label": "溪湖区",
  19158. "value": "210503"
  19159. }, {
  19160. "label": "明山区",
  19161. "value": "210504"
  19162. }, {
  19163. "label": "南芬区",
  19164. "value": "210505"
  19165. }, {
  19166. "label": "本溪满族自治县",
  19167. "value": "210521"
  19168. }, {
  19169. "label": "桓仁满族自治县",
  19170. "value": "210522"
  19171. }], [{
  19172. "label": "元宝区",
  19173. "value": "210602"
  19174. }, {
  19175. "label": "振兴区",
  19176. "value": "210603"
  19177. }, {
  19178. "label": "振安区",
  19179. "value": "210604"
  19180. }, {
  19181. "label": "宽甸满族自治县",
  19182. "value": "210624"
  19183. }, {
  19184. "label": "东港市",
  19185. "value": "210681"
  19186. }, {
  19187. "label": "凤城市",
  19188. "value": "210682"
  19189. }], [{
  19190. "label": "古塔区",
  19191. "value": "210702"
  19192. }, {
  19193. "label": "凌河区",
  19194. "value": "210703"
  19195. }, {
  19196. "label": "太和区",
  19197. "value": "210711"
  19198. }, {
  19199. "label": "黑山县",
  19200. "value": "210726"
  19201. }, {
  19202. "label": "义县",
  19203. "value": "210727"
  19204. }, {
  19205. "label": "凌海市",
  19206. "value": "210781"
  19207. }, {
  19208. "label": "北镇市",
  19209. "value": "210782"
  19210. }], [{
  19211. "label": "站前区",
  19212. "value": "210802"
  19213. }, {
  19214. "label": "西市区",
  19215. "value": "210803"
  19216. }, {
  19217. "label": "鲅鱼圈区",
  19218. "value": "210804"
  19219. }, {
  19220. "label": "老边区",
  19221. "value": "210811"
  19222. }, {
  19223. "label": "盖州市",
  19224. "value": "210881"
  19225. }, {
  19226. "label": "大石桥市",
  19227. "value": "210882"
  19228. }], [{
  19229. "label": "海州区",
  19230. "value": "210902"
  19231. }, {
  19232. "label": "新邱区",
  19233. "value": "210903"
  19234. }, {
  19235. "label": "太平区",
  19236. "value": "210904"
  19237. }, {
  19238. "label": "清河门区",
  19239. "value": "210905"
  19240. }, {
  19241. "label": "细河区",
  19242. "value": "210911"
  19243. }, {
  19244. "label": "阜新蒙古族自治县",
  19245. "value": "210921"
  19246. }, {
  19247. "label": "彰武县",
  19248. "value": "210922"
  19249. }], [{
  19250. "label": "白塔区",
  19251. "value": "211002"
  19252. }, {
  19253. "label": "文圣区",
  19254. "value": "211003"
  19255. }, {
  19256. "label": "宏伟区",
  19257. "value": "211004"
  19258. }, {
  19259. "label": "弓长岭区",
  19260. "value": "211005"
  19261. }, {
  19262. "label": "太子河区",
  19263. "value": "211011"
  19264. }, {
  19265. "label": "辽阳县",
  19266. "value": "211021"
  19267. }, {
  19268. "label": "灯塔市",
  19269. "value": "211081"
  19270. }], [{
  19271. "label": "双台子区",
  19272. "value": "211102"
  19273. }, {
  19274. "label": "兴隆台区",
  19275. "value": "211103"
  19276. }, {
  19277. "label": "大洼区",
  19278. "value": "211104"
  19279. }, {
  19280. "label": "盘山县",
  19281. "value": "211122"
  19282. }], [{
  19283. "label": "银州区",
  19284. "value": "211202"
  19285. }, {
  19286. "label": "清河区",
  19287. "value": "211204"
  19288. }, {
  19289. "label": "铁岭县",
  19290. "value": "211221"
  19291. }, {
  19292. "label": "西丰县",
  19293. "value": "211223"
  19294. }, {
  19295. "label": "昌图县",
  19296. "value": "211224"
  19297. }, {
  19298. "label": "调兵山市",
  19299. "value": "211281"
  19300. }, {
  19301. "label": "开原市",
  19302. "value": "211282"
  19303. }], [{
  19304. "label": "双塔区",
  19305. "value": "211302"
  19306. }, {
  19307. "label": "龙城区",
  19308. "value": "211303"
  19309. }, {
  19310. "label": "朝阳县",
  19311. "value": "211321"
  19312. }, {
  19313. "label": "建平县",
  19314. "value": "211322"
  19315. }, {
  19316. "label": "喀喇沁左翼蒙古族自治县",
  19317. "value": "211324"
  19318. }, {
  19319. "label": "北票市",
  19320. "value": "211381"
  19321. }, {
  19322. "label": "凌源市",
  19323. "value": "211382"
  19324. }], [{
  19325. "label": "连山区",
  19326. "value": "211402"
  19327. }, {
  19328. "label": "龙港区",
  19329. "value": "211403"
  19330. }, {
  19331. "label": "南票区",
  19332. "value": "211404"
  19333. }, {
  19334. "label": "绥中县",
  19335. "value": "211421"
  19336. }, {
  19337. "label": "建昌县",
  19338. "value": "211422"
  19339. }, {
  19340. "label": "兴城市",
  19341. "value": "211481"
  19342. }]], [[{
  19343. "label": "南关区",
  19344. "value": "220102"
  19345. }, {
  19346. "label": "宽城区",
  19347. "value": "220103"
  19348. }, {
  19349. "label": "朝阳区",
  19350. "value": "220104"
  19351. }, {
  19352. "label": "二道区",
  19353. "value": "220105"
  19354. }, {
  19355. "label": "绿园区",
  19356. "value": "220106"
  19357. }, {
  19358. "label": "双阳区",
  19359. "value": "220112"
  19360. }, {
  19361. "label": "九台区",
  19362. "value": "220113"
  19363. }, {
  19364. "label": "农安县",
  19365. "value": "220122"
  19366. }, {
  19367. "label": "长春经济技术开发区",
  19368. "value": "220171"
  19369. }, {
  19370. "label": "长春净月高新技术产业开发区",
  19371. "value": "220172"
  19372. }, {
  19373. "label": "长春高新技术产业开发区",
  19374. "value": "220173"
  19375. }, {
  19376. "label": "长春汽车经济技术开发区",
  19377. "value": "220174"
  19378. }, {
  19379. "label": "榆树市",
  19380. "value": "220182"
  19381. }, {
  19382. "label": "德惠市",
  19383. "value": "220183"
  19384. }], [{
  19385. "label": "昌邑区",
  19386. "value": "220202"
  19387. }, {
  19388. "label": "龙潭区",
  19389. "value": "220203"
  19390. }, {
  19391. "label": "船营区",
  19392. "value": "220204"
  19393. }, {
  19394. "label": "丰满区",
  19395. "value": "220211"
  19396. }, {
  19397. "label": "永吉县",
  19398. "value": "220221"
  19399. }, {
  19400. "label": "吉林经济开发区",
  19401. "value": "220271"
  19402. }, {
  19403. "label": "吉林高新技术产业开发区",
  19404. "value": "220272"
  19405. }, {
  19406. "label": "吉林中国新加坡食品区",
  19407. "value": "220273"
  19408. }, {
  19409. "label": "蛟河市",
  19410. "value": "220281"
  19411. }, {
  19412. "label": "桦甸市",
  19413. "value": "220282"
  19414. }, {
  19415. "label": "舒兰市",
  19416. "value": "220283"
  19417. }, {
  19418. "label": "磐石市",
  19419. "value": "220284"
  19420. }], [{
  19421. "label": "铁西区",
  19422. "value": "220302"
  19423. }, {
  19424. "label": "铁东区",
  19425. "value": "220303"
  19426. }, {
  19427. "label": "梨树县",
  19428. "value": "220322"
  19429. }, {
  19430. "label": "伊通满族自治县",
  19431. "value": "220323"
  19432. }, {
  19433. "label": "公主岭市",
  19434. "value": "220381"
  19435. }, {
  19436. "label": "双辽市",
  19437. "value": "220382"
  19438. }], [{
  19439. "label": "龙山区",
  19440. "value": "220402"
  19441. }, {
  19442. "label": "西安区",
  19443. "value": "220403"
  19444. }, {
  19445. "label": "东丰县",
  19446. "value": "220421"
  19447. }, {
  19448. "label": "东辽县",
  19449. "value": "220422"
  19450. }], [{
  19451. "label": "东昌区",
  19452. "value": "220502"
  19453. }, {
  19454. "label": "二道江区",
  19455. "value": "220503"
  19456. }, {
  19457. "label": "通化县",
  19458. "value": "220521"
  19459. }, {
  19460. "label": "辉南县",
  19461. "value": "220523"
  19462. }, {
  19463. "label": "柳河县",
  19464. "value": "220524"
  19465. }, {
  19466. "label": "梅河口市",
  19467. "value": "220581"
  19468. }, {
  19469. "label": "集安市",
  19470. "value": "220582"
  19471. }], [{
  19472. "label": "浑江区",
  19473. "value": "220602"
  19474. }, {
  19475. "label": "江源区",
  19476. "value": "220605"
  19477. }, {
  19478. "label": "抚松县",
  19479. "value": "220621"
  19480. }, {
  19481. "label": "靖宇县",
  19482. "value": "220622"
  19483. }, {
  19484. "label": "长白朝鲜族自治县",
  19485. "value": "220623"
  19486. }, {
  19487. "label": "临江市",
  19488. "value": "220681"
  19489. }], [{
  19490. "label": "宁江区",
  19491. "value": "220702"
  19492. }, {
  19493. "label": "前郭尔罗斯蒙古族自治县",
  19494. "value": "220721"
  19495. }, {
  19496. "label": "长岭县",
  19497. "value": "220722"
  19498. }, {
  19499. "label": "乾安县",
  19500. "value": "220723"
  19501. }, {
  19502. "label": "吉林松原经济开发区",
  19503. "value": "220771"
  19504. }, {
  19505. "label": "扶余市",
  19506. "value": "220781"
  19507. }], [{
  19508. "label": "洮北区",
  19509. "value": "220802"
  19510. }, {
  19511. "label": "镇赉县",
  19512. "value": "220821"
  19513. }, {
  19514. "label": "通榆县",
  19515. "value": "220822"
  19516. }, {
  19517. "label": "吉林白城经济开发区",
  19518. "value": "220871"
  19519. }, {
  19520. "label": "洮南市",
  19521. "value": "220881"
  19522. }, {
  19523. "label": "大安市",
  19524. "value": "220882"
  19525. }], [{
  19526. "label": "延吉市",
  19527. "value": "222401"
  19528. }, {
  19529. "label": "图们市",
  19530. "value": "222402"
  19531. }, {
  19532. "label": "敦化市",
  19533. "value": "222403"
  19534. }, {
  19535. "label": "珲春市",
  19536. "value": "222404"
  19537. }, {
  19538. "label": "龙井市",
  19539. "value": "222405"
  19540. }, {
  19541. "label": "和龙市",
  19542. "value": "222406"
  19543. }, {
  19544. "label": "汪清县",
  19545. "value": "222424"
  19546. }, {
  19547. "label": "安图县",
  19548. "value": "222426"
  19549. }]], [[{
  19550. "label": "道里区",
  19551. "value": "230102"
  19552. }, {
  19553. "label": "南岗区",
  19554. "value": "230103"
  19555. }, {
  19556. "label": "道外区",
  19557. "value": "230104"
  19558. }, {
  19559. "label": "平房区",
  19560. "value": "230108"
  19561. }, {
  19562. "label": "松北区",
  19563. "value": "230109"
  19564. }, {
  19565. "label": "香坊区",
  19566. "value": "230110"
  19567. }, {
  19568. "label": "呼兰区",
  19569. "value": "230111"
  19570. }, {
  19571. "label": "阿城区",
  19572. "value": "230112"
  19573. }, {
  19574. "label": "双城区",
  19575. "value": "230113"
  19576. }, {
  19577. "label": "依兰县",
  19578. "value": "230123"
  19579. }, {
  19580. "label": "方正县",
  19581. "value": "230124"
  19582. }, {
  19583. "label": "宾县",
  19584. "value": "230125"
  19585. }, {
  19586. "label": "巴彦县",
  19587. "value": "230126"
  19588. }, {
  19589. "label": "木兰县",
  19590. "value": "230127"
  19591. }, {
  19592. "label": "通河县",
  19593. "value": "230128"
  19594. }, {
  19595. "label": "延寿县",
  19596. "value": "230129"
  19597. }, {
  19598. "label": "尚志市",
  19599. "value": "230183"
  19600. }, {
  19601. "label": "五常市",
  19602. "value": "230184"
  19603. }], [{
  19604. "label": "龙沙区",
  19605. "value": "230202"
  19606. }, {
  19607. "label": "建华区",
  19608. "value": "230203"
  19609. }, {
  19610. "label": "铁锋区",
  19611. "value": "230204"
  19612. }, {
  19613. "label": "昂昂溪区",
  19614. "value": "230205"
  19615. }, {
  19616. "label": "富拉尔基区",
  19617. "value": "230206"
  19618. }, {
  19619. "label": "碾子山区",
  19620. "value": "230207"
  19621. }, {
  19622. "label": "梅里斯达斡尔族区",
  19623. "value": "230208"
  19624. }, {
  19625. "label": "龙江县",
  19626. "value": "230221"
  19627. }, {
  19628. "label": "依安县",
  19629. "value": "230223"
  19630. }, {
  19631. "label": "泰来县",
  19632. "value": "230224"
  19633. }, {
  19634. "label": "甘南县",
  19635. "value": "230225"
  19636. }, {
  19637. "label": "富裕县",
  19638. "value": "230227"
  19639. }, {
  19640. "label": "克山县",
  19641. "value": "230229"
  19642. }, {
  19643. "label": "克东县",
  19644. "value": "230230"
  19645. }, {
  19646. "label": "拜泉县",
  19647. "value": "230231"
  19648. }, {
  19649. "label": "讷河市",
  19650. "value": "230281"
  19651. }], [{
  19652. "label": "鸡冠区",
  19653. "value": "230302"
  19654. }, {
  19655. "label": "恒山区",
  19656. "value": "230303"
  19657. }, {
  19658. "label": "滴道区",
  19659. "value": "230304"
  19660. }, {
  19661. "label": "梨树区",
  19662. "value": "230305"
  19663. }, {
  19664. "label": "城子河区",
  19665. "value": "230306"
  19666. }, {
  19667. "label": "麻山区",
  19668. "value": "230307"
  19669. }, {
  19670. "label": "鸡东县",
  19671. "value": "230321"
  19672. }, {
  19673. "label": "虎林市",
  19674. "value": "230381"
  19675. }, {
  19676. "label": "密山市",
  19677. "value": "230382"
  19678. }], [{
  19679. "label": "向阳区",
  19680. "value": "230402"
  19681. }, {
  19682. "label": "工农区",
  19683. "value": "230403"
  19684. }, {
  19685. "label": "南山区",
  19686. "value": "230404"
  19687. }, {
  19688. "label": "兴安区",
  19689. "value": "230405"
  19690. }, {
  19691. "label": "东山区",
  19692. "value": "230406"
  19693. }, {
  19694. "label": "兴山区",
  19695. "value": "230407"
  19696. }, {
  19697. "label": "萝北县",
  19698. "value": "230421"
  19699. }, {
  19700. "label": "绥滨县",
  19701. "value": "230422"
  19702. }], [{
  19703. "label": "尖山区",
  19704. "value": "230502"
  19705. }, {
  19706. "label": "岭东区",
  19707. "value": "230503"
  19708. }, {
  19709. "label": "四方台区",
  19710. "value": "230505"
  19711. }, {
  19712. "label": "宝山区",
  19713. "value": "230506"
  19714. }, {
  19715. "label": "集贤县",
  19716. "value": "230521"
  19717. }, {
  19718. "label": "友谊县",
  19719. "value": "230522"
  19720. }, {
  19721. "label": "宝清县",
  19722. "value": "230523"
  19723. }, {
  19724. "label": "饶河县",
  19725. "value": "230524"
  19726. }], [{
  19727. "label": "萨尔图区",
  19728. "value": "230602"
  19729. }, {
  19730. "label": "龙凤区",
  19731. "value": "230603"
  19732. }, {
  19733. "label": "让胡路区",
  19734. "value": "230604"
  19735. }, {
  19736. "label": "红岗区",
  19737. "value": "230605"
  19738. }, {
  19739. "label": "大同区",
  19740. "value": "230606"
  19741. }, {
  19742. "label": "肇州县",
  19743. "value": "230621"
  19744. }, {
  19745. "label": "肇源县",
  19746. "value": "230622"
  19747. }, {
  19748. "label": "林甸县",
  19749. "value": "230623"
  19750. }, {
  19751. "label": "杜尔伯特蒙古族自治县",
  19752. "value": "230624"
  19753. }, {
  19754. "label": "大庆高新技术产业开发区",
  19755. "value": "230671"
  19756. }], [{
  19757. "label": "伊春区",
  19758. "value": "230702"
  19759. }, {
  19760. "label": "南岔区",
  19761. "value": "230703"
  19762. }, {
  19763. "label": "友好区",
  19764. "value": "230704"
  19765. }, {
  19766. "label": "西林区",
  19767. "value": "230705"
  19768. }, {
  19769. "label": "翠峦区",
  19770. "value": "230706"
  19771. }, {
  19772. "label": "新青区",
  19773. "value": "230707"
  19774. }, {
  19775. "label": "美溪区",
  19776. "value": "230708"
  19777. }, {
  19778. "label": "金山屯区",
  19779. "value": "230709"
  19780. }, {
  19781. "label": "五营区",
  19782. "value": "230710"
  19783. }, {
  19784. "label": "乌马河区",
  19785. "value": "230711"
  19786. }, {
  19787. "label": "汤旺河区",
  19788. "value": "230712"
  19789. }, {
  19790. "label": "带岭区",
  19791. "value": "230713"
  19792. }, {
  19793. "label": "乌伊岭区",
  19794. "value": "230714"
  19795. }, {
  19796. "label": "红星区",
  19797. "value": "230715"
  19798. }, {
  19799. "label": "上甘岭区",
  19800. "value": "230716"
  19801. }, {
  19802. "label": "嘉荫县",
  19803. "value": "230722"
  19804. }, {
  19805. "label": "铁力市",
  19806. "value": "230781"
  19807. }], [{
  19808. "label": "向阳区",
  19809. "value": "230803"
  19810. }, {
  19811. "label": "前进区",
  19812. "value": "230804"
  19813. }, {
  19814. "label": "东风区",
  19815. "value": "230805"
  19816. }, {
  19817. "label": "郊区",
  19818. "value": "230811"
  19819. }, {
  19820. "label": "桦南县",
  19821. "value": "230822"
  19822. }, {
  19823. "label": "桦川县",
  19824. "value": "230826"
  19825. }, {
  19826. "label": "汤原县",
  19827. "value": "230828"
  19828. }, {
  19829. "label": "同江市",
  19830. "value": "230881"
  19831. }, {
  19832. "label": "富锦市",
  19833. "value": "230882"
  19834. }, {
  19835. "label": "抚远市",
  19836. "value": "230883"
  19837. }], [{
  19838. "label": "新兴区",
  19839. "value": "230902"
  19840. }, {
  19841. "label": "桃山区",
  19842. "value": "230903"
  19843. }, {
  19844. "label": "茄子河区",
  19845. "value": "230904"
  19846. }, {
  19847. "label": "勃利县",
  19848. "value": "230921"
  19849. }], [{
  19850. "label": "东安区",
  19851. "value": "231002"
  19852. }, {
  19853. "label": "阳明区",
  19854. "value": "231003"
  19855. }, {
  19856. "label": "爱民区",
  19857. "value": "231004"
  19858. }, {
  19859. "label": "西安区",
  19860. "value": "231005"
  19861. }, {
  19862. "label": "林口县",
  19863. "value": "231025"
  19864. }, {
  19865. "label": "牡丹江经济技术开发区",
  19866. "value": "231071"
  19867. }, {
  19868. "label": "绥芬河市",
  19869. "value": "231081"
  19870. }, {
  19871. "label": "海林市",
  19872. "value": "231083"
  19873. }, {
  19874. "label": "宁安市",
  19875. "value": "231084"
  19876. }, {
  19877. "label": "穆棱市",
  19878. "value": "231085"
  19879. }, {
  19880. "label": "东宁市",
  19881. "value": "231086"
  19882. }], [{
  19883. "label": "爱辉区",
  19884. "value": "231102"
  19885. }, {
  19886. "label": "嫩江县",
  19887. "value": "231121"
  19888. }, {
  19889. "label": "逊克县",
  19890. "value": "231123"
  19891. }, {
  19892. "label": "孙吴县",
  19893. "value": "231124"
  19894. }, {
  19895. "label": "北安市",
  19896. "value": "231181"
  19897. }, {
  19898. "label": "五大连池市",
  19899. "value": "231182"
  19900. }], [{
  19901. "label": "北林区",
  19902. "value": "231202"
  19903. }, {
  19904. "label": "望奎县",
  19905. "value": "231221"
  19906. }, {
  19907. "label": "兰西县",
  19908. "value": "231222"
  19909. }, {
  19910. "label": "青冈县",
  19911. "value": "231223"
  19912. }, {
  19913. "label": "庆安县",
  19914. "value": "231224"
  19915. }, {
  19916. "label": "明水县",
  19917. "value": "231225"
  19918. }, {
  19919. "label": "绥棱县",
  19920. "value": "231226"
  19921. }, {
  19922. "label": "安达市",
  19923. "value": "231281"
  19924. }, {
  19925. "label": "肇东市",
  19926. "value": "231282"
  19927. }, {
  19928. "label": "海伦市",
  19929. "value": "231283"
  19930. }], [{
  19931. "label": "加格达奇区",
  19932. "value": "232701"
  19933. }, {
  19934. "label": "松岭区",
  19935. "value": "232702"
  19936. }, {
  19937. "label": "新林区",
  19938. "value": "232703"
  19939. }, {
  19940. "label": "呼中区",
  19941. "value": "232704"
  19942. }, {
  19943. "label": "呼玛县",
  19944. "value": "232721"
  19945. }, {
  19946. "label": "塔河县",
  19947. "value": "232722"
  19948. }, {
  19949. "label": "漠河县",
  19950. "value": "232723"
  19951. }]], [[{
  19952. "label": "黄浦区",
  19953. "value": "310101"
  19954. }, {
  19955. "label": "徐汇区",
  19956. "value": "310104"
  19957. }, {
  19958. "label": "长宁区",
  19959. "value": "310105"
  19960. }, {
  19961. "label": "静安区",
  19962. "value": "310106"
  19963. }, {
  19964. "label": "普陀区",
  19965. "value": "310107"
  19966. }, {
  19967. "label": "虹口区",
  19968. "value": "310109"
  19969. }, {
  19970. "label": "杨浦区",
  19971. "value": "310110"
  19972. }, {
  19973. "label": "闵行区",
  19974. "value": "310112"
  19975. }, {
  19976. "label": "宝山区",
  19977. "value": "310113"
  19978. }, {
  19979. "label": "嘉定区",
  19980. "value": "310114"
  19981. }, {
  19982. "label": "浦东新区",
  19983. "value": "310115"
  19984. }, {
  19985. "label": "金山区",
  19986. "value": "310116"
  19987. }, {
  19988. "label": "松江区",
  19989. "value": "310117"
  19990. }, {
  19991. "label": "青浦区",
  19992. "value": "310118"
  19993. }, {
  19994. "label": "奉贤区",
  19995. "value": "310120"
  19996. }, {
  19997. "label": "崇明区",
  19998. "value": "310151"
  19999. }]], [[{
  20000. "label": "玄武区",
  20001. "value": "320102"
  20002. }, {
  20003. "label": "秦淮区",
  20004. "value": "320104"
  20005. }, {
  20006. "label": "建邺区",
  20007. "value": "320105"
  20008. }, {
  20009. "label": "鼓楼区",
  20010. "value": "320106"
  20011. }, {
  20012. "label": "浦口区",
  20013. "value": "320111"
  20014. }, {
  20015. "label": "栖霞区",
  20016. "value": "320113"
  20017. }, {
  20018. "label": "雨花台区",
  20019. "value": "320114"
  20020. }, {
  20021. "label": "江宁区",
  20022. "value": "320115"
  20023. }, {
  20024. "label": "六合区",
  20025. "value": "320116"
  20026. }, {
  20027. "label": "溧水区",
  20028. "value": "320117"
  20029. }, {
  20030. "label": "高淳区",
  20031. "value": "320118"
  20032. }], [{
  20033. "label": "锡山区",
  20034. "value": "320205"
  20035. }, {
  20036. "label": "惠山区",
  20037. "value": "320206"
  20038. }, {
  20039. "label": "滨湖区",
  20040. "value": "320211"
  20041. }, {
  20042. "label": "梁溪区",
  20043. "value": "320213"
  20044. }, {
  20045. "label": "新吴区",
  20046. "value": "320214"
  20047. }, {
  20048. "label": "江阴市",
  20049. "value": "320281"
  20050. }, {
  20051. "label": "宜兴市",
  20052. "value": "320282"
  20053. }], [{
  20054. "label": "鼓楼区",
  20055. "value": "320302"
  20056. }, {
  20057. "label": "云龙区",
  20058. "value": "320303"
  20059. }, {
  20060. "label": "贾汪区",
  20061. "value": "320305"
  20062. }, {
  20063. "label": "泉山区",
  20064. "value": "320311"
  20065. }, {
  20066. "label": "铜山区",
  20067. "value": "320312"
  20068. }, {
  20069. "label": "丰县",
  20070. "value": "320321"
  20071. }, {
  20072. "label": "沛县",
  20073. "value": "320322"
  20074. }, {
  20075. "label": "睢宁县",
  20076. "value": "320324"
  20077. }, {
  20078. "label": "徐州经济技术开发区",
  20079. "value": "320371"
  20080. }, {
  20081. "label": "新沂市",
  20082. "value": "320381"
  20083. }, {
  20084. "label": "邳州市",
  20085. "value": "320382"
  20086. }], [{
  20087. "label": "天宁区",
  20088. "value": "320402"
  20089. }, {
  20090. "label": "钟楼区",
  20091. "value": "320404"
  20092. }, {
  20093. "label": "新北区",
  20094. "value": "320411"
  20095. }, {
  20096. "label": "武进区",
  20097. "value": "320412"
  20098. }, {
  20099. "label": "金坛区",
  20100. "value": "320413"
  20101. }, {
  20102. "label": "溧阳市",
  20103. "value": "320481"
  20104. }], [{
  20105. "label": "虎丘区",
  20106. "value": "320505"
  20107. }, {
  20108. "label": "吴中区",
  20109. "value": "320506"
  20110. }, {
  20111. "label": "相城区",
  20112. "value": "320507"
  20113. }, {
  20114. "label": "姑苏区",
  20115. "value": "320508"
  20116. }, {
  20117. "label": "吴江区",
  20118. "value": "320509"
  20119. }, {
  20120. "label": "苏州工业园区",
  20121. "value": "320571"
  20122. }, {
  20123. "label": "常熟市",
  20124. "value": "320581"
  20125. }, {
  20126. "label": "张家港市",
  20127. "value": "320582"
  20128. }, {
  20129. "label": "昆山市",
  20130. "value": "320583"
  20131. }, {
  20132. "label": "太仓市",
  20133. "value": "320585"
  20134. }], [{
  20135. "label": "崇川区",
  20136. "value": "320602"
  20137. }, {
  20138. "label": "港闸区",
  20139. "value": "320611"
  20140. }, {
  20141. "label": "通州区",
  20142. "value": "320612"
  20143. }, {
  20144. "label": "海安县",
  20145. "value": "320621"
  20146. }, {
  20147. "label": "如东县",
  20148. "value": "320623"
  20149. }, {
  20150. "label": "南通经济技术开发区",
  20151. "value": "320671"
  20152. }, {
  20153. "label": "启东市",
  20154. "value": "320681"
  20155. }, {
  20156. "label": "如皋市",
  20157. "value": "320682"
  20158. }, {
  20159. "label": "海门市",
  20160. "value": "320684"
  20161. }], [{
  20162. "label": "连云区",
  20163. "value": "320703"
  20164. }, {
  20165. "label": "海州区",
  20166. "value": "320706"
  20167. }, {
  20168. "label": "赣榆区",
  20169. "value": "320707"
  20170. }, {
  20171. "label": "东海县",
  20172. "value": "320722"
  20173. }, {
  20174. "label": "灌云县",
  20175. "value": "320723"
  20176. }, {
  20177. "label": "灌南县",
  20178. "value": "320724"
  20179. }, {
  20180. "label": "连云港经济技术开发区",
  20181. "value": "320771"
  20182. }, {
  20183. "label": "连云港高新技术产业开发区",
  20184. "value": "320772"
  20185. }], [{
  20186. "label": "淮安区",
  20187. "value": "320803"
  20188. }, {
  20189. "label": "淮阴区",
  20190. "value": "320804"
  20191. }, {
  20192. "label": "清江浦区",
  20193. "value": "320812"
  20194. }, {
  20195. "label": "洪泽区",
  20196. "value": "320813"
  20197. }, {
  20198. "label": "涟水县",
  20199. "value": "320826"
  20200. }, {
  20201. "label": "盱眙县",
  20202. "value": "320830"
  20203. }, {
  20204. "label": "金湖县",
  20205. "value": "320831"
  20206. }, {
  20207. "label": "淮安经济技术开发区",
  20208. "value": "320871"
  20209. }], [{
  20210. "label": "亭湖区",
  20211. "value": "320902"
  20212. }, {
  20213. "label": "盐都区",
  20214. "value": "320903"
  20215. }, {
  20216. "label": "大丰区",
  20217. "value": "320904"
  20218. }, {
  20219. "label": "响水县",
  20220. "value": "320921"
  20221. }, {
  20222. "label": "滨海县",
  20223. "value": "320922"
  20224. }, {
  20225. "label": "阜宁县",
  20226. "value": "320923"
  20227. }, {
  20228. "label": "射阳县",
  20229. "value": "320924"
  20230. }, {
  20231. "label": "建湖县",
  20232. "value": "320925"
  20233. }, {
  20234. "label": "盐城经济技术开发区",
  20235. "value": "320971"
  20236. }, {
  20237. "label": "东台市",
  20238. "value": "320981"
  20239. }], [{
  20240. "label": "广陵区",
  20241. "value": "321002"
  20242. }, {
  20243. "label": "邗江区",
  20244. "value": "321003"
  20245. }, {
  20246. "label": "江都区",
  20247. "value": "321012"
  20248. }, {
  20249. "label": "宝应县",
  20250. "value": "321023"
  20251. }, {
  20252. "label": "扬州经济技术开发区",
  20253. "value": "321071"
  20254. }, {
  20255. "label": "仪征市",
  20256. "value": "321081"
  20257. }, {
  20258. "label": "高邮市",
  20259. "value": "321084"
  20260. }], [{
  20261. "label": "京口区",
  20262. "value": "321102"
  20263. }, {
  20264. "label": "润州区",
  20265. "value": "321111"
  20266. }, {
  20267. "label": "丹徒区",
  20268. "value": "321112"
  20269. }, {
  20270. "label": "镇江新区",
  20271. "value": "321171"
  20272. }, {
  20273. "label": "丹阳市",
  20274. "value": "321181"
  20275. }, {
  20276. "label": "扬中市",
  20277. "value": "321182"
  20278. }, {
  20279. "label": "句容市",
  20280. "value": "321183"
  20281. }], [{
  20282. "label": "海陵区",
  20283. "value": "321202"
  20284. }, {
  20285. "label": "高港区",
  20286. "value": "321203"
  20287. }, {
  20288. "label": "姜堰区",
  20289. "value": "321204"
  20290. }, {
  20291. "label": "泰州医药高新技术产业开发区",
  20292. "value": "321271"
  20293. }, {
  20294. "label": "兴化市",
  20295. "value": "321281"
  20296. }, {
  20297. "label": "靖江市",
  20298. "value": "321282"
  20299. }, {
  20300. "label": "泰兴市",
  20301. "value": "321283"
  20302. }], [{
  20303. "label": "宿城区",
  20304. "value": "321302"
  20305. }, {
  20306. "label": "宿豫区",
  20307. "value": "321311"
  20308. }, {
  20309. "label": "沭阳县",
  20310. "value": "321322"
  20311. }, {
  20312. "label": "泗阳县",
  20313. "value": "321323"
  20314. }, {
  20315. "label": "泗洪县",
  20316. "value": "321324"
  20317. }, {
  20318. "label": "宿迁经济技术开发区",
  20319. "value": "321371"
  20320. }]], [[{
  20321. "label": "上城区",
  20322. "value": "330102"
  20323. }, {
  20324. "label": "下城区",
  20325. "value": "330103"
  20326. }, {
  20327. "label": "江干区",
  20328. "value": "330104"
  20329. }, {
  20330. "label": "拱墅区",
  20331. "value": "330105"
  20332. }, {
  20333. "label": "西湖区",
  20334. "value": "330106"
  20335. }, {
  20336. "label": "滨江区",
  20337. "value": "330108"
  20338. }, {
  20339. "label": "萧山区",
  20340. "value": "330109"
  20341. }, {
  20342. "label": "余杭区",
  20343. "value": "330110"
  20344. }, {
  20345. "label": "富阳区",
  20346. "value": "330111"
  20347. }, {
  20348. "label": "临安区",
  20349. "value": "330112"
  20350. }, {
  20351. "label": "桐庐县",
  20352. "value": "330122"
  20353. }, {
  20354. "label": "淳安县",
  20355. "value": "330127"
  20356. }, {
  20357. "label": "建德市",
  20358. "value": "330182"
  20359. }], [{
  20360. "label": "海曙区",
  20361. "value": "330203"
  20362. }, {
  20363. "label": "江北区",
  20364. "value": "330205"
  20365. }, {
  20366. "label": "北仑区",
  20367. "value": "330206"
  20368. }, {
  20369. "label": "镇海区",
  20370. "value": "330211"
  20371. }, {
  20372. "label": "鄞州区",
  20373. "value": "330212"
  20374. }, {
  20375. "label": "奉化区",
  20376. "value": "330213"
  20377. }, {
  20378. "label": "象山县",
  20379. "value": "330225"
  20380. }, {
  20381. "label": "宁海县",
  20382. "value": "330226"
  20383. }, {
  20384. "label": "余姚市",
  20385. "value": "330281"
  20386. }, {
  20387. "label": "慈溪市",
  20388. "value": "330282"
  20389. }], [{
  20390. "label": "鹿城区",
  20391. "value": "330302"
  20392. }, {
  20393. "label": "龙湾区",
  20394. "value": "330303"
  20395. }, {
  20396. "label": "瓯海区",
  20397. "value": "330304"
  20398. }, {
  20399. "label": "洞头区",
  20400. "value": "330305"
  20401. }, {
  20402. "label": "永嘉县",
  20403. "value": "330324"
  20404. }, {
  20405. "label": "平阳县",
  20406. "value": "330326"
  20407. }, {
  20408. "label": "苍南县",
  20409. "value": "330327"
  20410. }, {
  20411. "label": "文成县",
  20412. "value": "330328"
  20413. }, {
  20414. "label": "泰顺县",
  20415. "value": "330329"
  20416. }, {
  20417. "label": "温州经济技术开发区",
  20418. "value": "330371"
  20419. }, {
  20420. "label": "瑞安市",
  20421. "value": "330381"
  20422. }, {
  20423. "label": "乐清市",
  20424. "value": "330382"
  20425. }], [{
  20426. "label": "南湖区",
  20427. "value": "330402"
  20428. }, {
  20429. "label": "秀洲区",
  20430. "value": "330411"
  20431. }, {
  20432. "label": "嘉善县",
  20433. "value": "330421"
  20434. }, {
  20435. "label": "海盐县",
  20436. "value": "330424"
  20437. }, {
  20438. "label": "海宁市",
  20439. "value": "330481"
  20440. }, {
  20441. "label": "平湖市",
  20442. "value": "330482"
  20443. }, {
  20444. "label": "桐乡市",
  20445. "value": "330483"
  20446. }], [{
  20447. "label": "吴兴区",
  20448. "value": "330502"
  20449. }, {
  20450. "label": "南浔区",
  20451. "value": "330503"
  20452. }, {
  20453. "label": "德清县",
  20454. "value": "330521"
  20455. }, {
  20456. "label": "长兴县",
  20457. "value": "330522"
  20458. }, {
  20459. "label": "安吉县",
  20460. "value": "330523"
  20461. }], [{
  20462. "label": "越城区",
  20463. "value": "330602"
  20464. }, {
  20465. "label": "柯桥区",
  20466. "value": "330603"
  20467. }, {
  20468. "label": "上虞区",
  20469. "value": "330604"
  20470. }, {
  20471. "label": "新昌县",
  20472. "value": "330624"
  20473. }, {
  20474. "label": "诸暨市",
  20475. "value": "330681"
  20476. }, {
  20477. "label": "嵊州市",
  20478. "value": "330683"
  20479. }], [{
  20480. "label": "婺城区",
  20481. "value": "330702"
  20482. }, {
  20483. "label": "金东区",
  20484. "value": "330703"
  20485. }, {
  20486. "label": "武义县",
  20487. "value": "330723"
  20488. }, {
  20489. "label": "浦江县",
  20490. "value": "330726"
  20491. }, {
  20492. "label": "磐安县",
  20493. "value": "330727"
  20494. }, {
  20495. "label": "兰溪市",
  20496. "value": "330781"
  20497. }, {
  20498. "label": "义乌市",
  20499. "value": "330782"
  20500. }, {
  20501. "label": "东阳市",
  20502. "value": "330783"
  20503. }, {
  20504. "label": "永康市",
  20505. "value": "330784"
  20506. }], [{
  20507. "label": "柯城区",
  20508. "value": "330802"
  20509. }, {
  20510. "label": "衢江区",
  20511. "value": "330803"
  20512. }, {
  20513. "label": "常山县",
  20514. "value": "330822"
  20515. }, {
  20516. "label": "开化县",
  20517. "value": "330824"
  20518. }, {
  20519. "label": "龙游县",
  20520. "value": "330825"
  20521. }, {
  20522. "label": "江山市",
  20523. "value": "330881"
  20524. }], [{
  20525. "label": "定海区",
  20526. "value": "330902"
  20527. }, {
  20528. "label": "普陀区",
  20529. "value": "330903"
  20530. }, {
  20531. "label": "岱山县",
  20532. "value": "330921"
  20533. }, {
  20534. "label": "嵊泗县",
  20535. "value": "330922"
  20536. }], [{
  20537. "label": "椒江区",
  20538. "value": "331002"
  20539. }, {
  20540. "label": "黄岩区",
  20541. "value": "331003"
  20542. }, {
  20543. "label": "路桥区",
  20544. "value": "331004"
  20545. }, {
  20546. "label": "三门县",
  20547. "value": "331022"
  20548. }, {
  20549. "label": "天台县",
  20550. "value": "331023"
  20551. }, {
  20552. "label": "仙居县",
  20553. "value": "331024"
  20554. }, {
  20555. "label": "温岭市",
  20556. "value": "331081"
  20557. }, {
  20558. "label": "临海市",
  20559. "value": "331082"
  20560. }, {
  20561. "label": "玉环市",
  20562. "value": "331083"
  20563. }], [{
  20564. "label": "莲都区",
  20565. "value": "331102"
  20566. }, {
  20567. "label": "青田县",
  20568. "value": "331121"
  20569. }, {
  20570. "label": "缙云县",
  20571. "value": "331122"
  20572. }, {
  20573. "label": "遂昌县",
  20574. "value": "331123"
  20575. }, {
  20576. "label": "松阳县",
  20577. "value": "331124"
  20578. }, {
  20579. "label": "云和县",
  20580. "value": "331125"
  20581. }, {
  20582. "label": "庆元县",
  20583. "value": "331126"
  20584. }, {
  20585. "label": "景宁畲族自治县",
  20586. "value": "331127"
  20587. }, {
  20588. "label": "龙泉市",
  20589. "value": "331181"
  20590. }]], [[{
  20591. "label": "瑶海区",
  20592. "value": "340102"
  20593. }, {
  20594. "label": "庐阳区",
  20595. "value": "340103"
  20596. }, {
  20597. "label": "蜀山区",
  20598. "value": "340104"
  20599. }, {
  20600. "label": "包河区",
  20601. "value": "340111"
  20602. }, {
  20603. "label": "长丰县",
  20604. "value": "340121"
  20605. }, {
  20606. "label": "肥东县",
  20607. "value": "340122"
  20608. }, {
  20609. "label": "肥西县",
  20610. "value": "340123"
  20611. }, {
  20612. "label": "庐江县",
  20613. "value": "340124"
  20614. }, {
  20615. "label": "合肥高新技术产业开发区",
  20616. "value": "340171"
  20617. }, {
  20618. "label": "合肥经济技术开发区",
  20619. "value": "340172"
  20620. }, {
  20621. "label": "合肥新站高新技术产业开发区",
  20622. "value": "340173"
  20623. }, {
  20624. "label": "巢湖市",
  20625. "value": "340181"
  20626. }], [{
  20627. "label": "镜湖区",
  20628. "value": "340202"
  20629. }, {
  20630. "label": "弋江区",
  20631. "value": "340203"
  20632. }, {
  20633. "label": "鸠江区",
  20634. "value": "340207"
  20635. }, {
  20636. "label": "三山区",
  20637. "value": "340208"
  20638. }, {
  20639. "label": "芜湖县",
  20640. "value": "340221"
  20641. }, {
  20642. "label": "繁昌县",
  20643. "value": "340222"
  20644. }, {
  20645. "label": "南陵县",
  20646. "value": "340223"
  20647. }, {
  20648. "label": "无为县",
  20649. "value": "340225"
  20650. }, {
  20651. "label": "芜湖经济技术开发区",
  20652. "value": "340271"
  20653. }, {
  20654. "label": "安徽芜湖长江大桥经济开发区",
  20655. "value": "340272"
  20656. }], [{
  20657. "label": "龙子湖区",
  20658. "value": "340302"
  20659. }, {
  20660. "label": "蚌山区",
  20661. "value": "340303"
  20662. }, {
  20663. "label": "禹会区",
  20664. "value": "340304"
  20665. }, {
  20666. "label": "淮上区",
  20667. "value": "340311"
  20668. }, {
  20669. "label": "怀远县",
  20670. "value": "340321"
  20671. }, {
  20672. "label": "五河县",
  20673. "value": "340322"
  20674. }, {
  20675. "label": "固镇县",
  20676. "value": "340323"
  20677. }, {
  20678. "label": "蚌埠市高新技术开发区",
  20679. "value": "340371"
  20680. }, {
  20681. "label": "蚌埠市经济开发区",
  20682. "value": "340372"
  20683. }], [{
  20684. "label": "大通区",
  20685. "value": "340402"
  20686. }, {
  20687. "label": "田家庵区",
  20688. "value": "340403"
  20689. }, {
  20690. "label": "谢家集区",
  20691. "value": "340404"
  20692. }, {
  20693. "label": "八公山区",
  20694. "value": "340405"
  20695. }, {
  20696. "label": "潘集区",
  20697. "value": "340406"
  20698. }, {
  20699. "label": "凤台县",
  20700. "value": "340421"
  20701. }, {
  20702. "label": "寿县",
  20703. "value": "340422"
  20704. }], [{
  20705. "label": "花山区",
  20706. "value": "340503"
  20707. }, {
  20708. "label": "雨山区",
  20709. "value": "340504"
  20710. }, {
  20711. "label": "博望区",
  20712. "value": "340506"
  20713. }, {
  20714. "label": "当涂县",
  20715. "value": "340521"
  20716. }, {
  20717. "label": "含山县",
  20718. "value": "340522"
  20719. }, {
  20720. "label": "和县",
  20721. "value": "340523"
  20722. }], [{
  20723. "label": "杜集区",
  20724. "value": "340602"
  20725. }, {
  20726. "label": "相山区",
  20727. "value": "340603"
  20728. }, {
  20729. "label": "烈山区",
  20730. "value": "340604"
  20731. }, {
  20732. "label": "濉溪县",
  20733. "value": "340621"
  20734. }], [{
  20735. "label": "铜官区",
  20736. "value": "340705"
  20737. }, {
  20738. "label": "义安区",
  20739. "value": "340706"
  20740. }, {
  20741. "label": "郊区",
  20742. "value": "340711"
  20743. }, {
  20744. "label": "枞阳县",
  20745. "value": "340722"
  20746. }], [{
  20747. "label": "迎江区",
  20748. "value": "340802"
  20749. }, {
  20750. "label": "大观区",
  20751. "value": "340803"
  20752. }, {
  20753. "label": "宜秀区",
  20754. "value": "340811"
  20755. }, {
  20756. "label": "怀宁县",
  20757. "value": "340822"
  20758. }, {
  20759. "label": "潜山县",
  20760. "value": "340824"
  20761. }, {
  20762. "label": "太湖县",
  20763. "value": "340825"
  20764. }, {
  20765. "label": "宿松县",
  20766. "value": "340826"
  20767. }, {
  20768. "label": "望江县",
  20769. "value": "340827"
  20770. }, {
  20771. "label": "岳西县",
  20772. "value": "340828"
  20773. }, {
  20774. "label": "安徽安庆经济开发区",
  20775. "value": "340871"
  20776. }, {
  20777. "label": "桐城市",
  20778. "value": "340881"
  20779. }], [{
  20780. "label": "屯溪区",
  20781. "value": "341002"
  20782. }, {
  20783. "label": "黄山区",
  20784. "value": "341003"
  20785. }, {
  20786. "label": "徽州区",
  20787. "value": "341004"
  20788. }, {
  20789. "label": "歙县",
  20790. "value": "341021"
  20791. }, {
  20792. "label": "休宁县",
  20793. "value": "341022"
  20794. }, {
  20795. "label": "黟县",
  20796. "value": "341023"
  20797. }, {
  20798. "label": "祁门县",
  20799. "value": "341024"
  20800. }], [{
  20801. "label": "琅琊区",
  20802. "value": "341102"
  20803. }, {
  20804. "label": "南谯区",
  20805. "value": "341103"
  20806. }, {
  20807. "label": "来安县",
  20808. "value": "341122"
  20809. }, {
  20810. "label": "全椒县",
  20811. "value": "341124"
  20812. }, {
  20813. "label": "定远县",
  20814. "value": "341125"
  20815. }, {
  20816. "label": "凤阳县",
  20817. "value": "341126"
  20818. }, {
  20819. "label": "苏滁现代产业园",
  20820. "value": "341171"
  20821. }, {
  20822. "label": "滁州经济技术开发区",
  20823. "value": "341172"
  20824. }, {
  20825. "label": "天长市",
  20826. "value": "341181"
  20827. }, {
  20828. "label": "明光市",
  20829. "value": "341182"
  20830. }], [{
  20831. "label": "颍州区",
  20832. "value": "341202"
  20833. }, {
  20834. "label": "颍东区",
  20835. "value": "341203"
  20836. }, {
  20837. "label": "颍泉区",
  20838. "value": "341204"
  20839. }, {
  20840. "label": "临泉县",
  20841. "value": "341221"
  20842. }, {
  20843. "label": "太和县",
  20844. "value": "341222"
  20845. }, {
  20846. "label": "阜南县",
  20847. "value": "341225"
  20848. }, {
  20849. "label": "颍上县",
  20850. "value": "341226"
  20851. }, {
  20852. "label": "阜阳合肥现代产业园区",
  20853. "value": "341271"
  20854. }, {
  20855. "label": "阜阳经济技术开发区",
  20856. "value": "341272"
  20857. }, {
  20858. "label": "界首市",
  20859. "value": "341282"
  20860. }], [{
  20861. "label": "埇桥区",
  20862. "value": "341302"
  20863. }, {
  20864. "label": "砀山县",
  20865. "value": "341321"
  20866. }, {
  20867. "label": "萧县",
  20868. "value": "341322"
  20869. }, {
  20870. "label": "灵璧县",
  20871. "value": "341323"
  20872. }, {
  20873. "label": "泗县",
  20874. "value": "341324"
  20875. }, {
  20876. "label": "宿州马鞍山现代产业园区",
  20877. "value": "341371"
  20878. }, {
  20879. "label": "宿州经济技术开发区",
  20880. "value": "341372"
  20881. }], [{
  20882. "label": "金安区",
  20883. "value": "341502"
  20884. }, {
  20885. "label": "裕安区",
  20886. "value": "341503"
  20887. }, {
  20888. "label": "叶集区",
  20889. "value": "341504"
  20890. }, {
  20891. "label": "霍邱县",
  20892. "value": "341522"
  20893. }, {
  20894. "label": "舒城县",
  20895. "value": "341523"
  20896. }, {
  20897. "label": "金寨县",
  20898. "value": "341524"
  20899. }, {
  20900. "label": "霍山县",
  20901. "value": "341525"
  20902. }], [{
  20903. "label": "谯城区",
  20904. "value": "341602"
  20905. }, {
  20906. "label": "涡阳县",
  20907. "value": "341621"
  20908. }, {
  20909. "label": "蒙城县",
  20910. "value": "341622"
  20911. }, {
  20912. "label": "利辛县",
  20913. "value": "341623"
  20914. }], [{
  20915. "label": "贵池区",
  20916. "value": "341702"
  20917. }, {
  20918. "label": "东至县",
  20919. "value": "341721"
  20920. }, {
  20921. "label": "石台县",
  20922. "value": "341722"
  20923. }, {
  20924. "label": "青阳县",
  20925. "value": "341723"
  20926. }], [{
  20927. "label": "宣州区",
  20928. "value": "341802"
  20929. }, {
  20930. "label": "郎溪县",
  20931. "value": "341821"
  20932. }, {
  20933. "label": "广德县",
  20934. "value": "341822"
  20935. }, {
  20936. "label": "泾县",
  20937. "value": "341823"
  20938. }, {
  20939. "label": "绩溪县",
  20940. "value": "341824"
  20941. }, {
  20942. "label": "旌德县",
  20943. "value": "341825"
  20944. }, {
  20945. "label": "宣城市经济开发区",
  20946. "value": "341871"
  20947. }, {
  20948. "label": "宁国市",
  20949. "value": "341881"
  20950. }]], [[{
  20951. "label": "鼓楼区",
  20952. "value": "350102"
  20953. }, {
  20954. "label": "台江区",
  20955. "value": "350103"
  20956. }, {
  20957. "label": "仓山区",
  20958. "value": "350104"
  20959. }, {
  20960. "label": "马尾区",
  20961. "value": "350105"
  20962. }, {
  20963. "label": "晋安区",
  20964. "value": "350111"
  20965. }, {
  20966. "label": "闽侯县",
  20967. "value": "350121"
  20968. }, {
  20969. "label": "连江县",
  20970. "value": "350122"
  20971. }, {
  20972. "label": "罗源县",
  20973. "value": "350123"
  20974. }, {
  20975. "label": "闽清县",
  20976. "value": "350124"
  20977. }, {
  20978. "label": "永泰县",
  20979. "value": "350125"
  20980. }, {
  20981. "label": "平潭县",
  20982. "value": "350128"
  20983. }, {
  20984. "label": "福清市",
  20985. "value": "350181"
  20986. }, {
  20987. "label": "长乐市",
  20988. "value": "350182"
  20989. }], [{
  20990. "label": "思明区",
  20991. "value": "350203"
  20992. }, {
  20993. "label": "海沧区",
  20994. "value": "350205"
  20995. }, {
  20996. "label": "湖里区",
  20997. "value": "350206"
  20998. }, {
  20999. "label": "集美区",
  21000. "value": "350211"
  21001. }, {
  21002. "label": "同安区",
  21003. "value": "350212"
  21004. }, {
  21005. "label": "翔安区",
  21006. "value": "350213"
  21007. }], [{
  21008. "label": "城厢区",
  21009. "value": "350302"
  21010. }, {
  21011. "label": "涵江区",
  21012. "value": "350303"
  21013. }, {
  21014. "label": "荔城区",
  21015. "value": "350304"
  21016. }, {
  21017. "label": "秀屿区",
  21018. "value": "350305"
  21019. }, {
  21020. "label": "仙游县",
  21021. "value": "350322"
  21022. }], [{
  21023. "label": "梅列区",
  21024. "value": "350402"
  21025. }, {
  21026. "label": "三元区",
  21027. "value": "350403"
  21028. }, {
  21029. "label": "明溪县",
  21030. "value": "350421"
  21031. }, {
  21032. "label": "清流县",
  21033. "value": "350423"
  21034. }, {
  21035. "label": "宁化县",
  21036. "value": "350424"
  21037. }, {
  21038. "label": "大田县",
  21039. "value": "350425"
  21040. }, {
  21041. "label": "尤溪县",
  21042. "value": "350426"
  21043. }, {
  21044. "label": "沙县",
  21045. "value": "350427"
  21046. }, {
  21047. "label": "将乐县",
  21048. "value": "350428"
  21049. }, {
  21050. "label": "泰宁县",
  21051. "value": "350429"
  21052. }, {
  21053. "label": "建宁县",
  21054. "value": "350430"
  21055. }, {
  21056. "label": "永安市",
  21057. "value": "350481"
  21058. }], [{
  21059. "label": "鲤城区",
  21060. "value": "350502"
  21061. }, {
  21062. "label": "丰泽区",
  21063. "value": "350503"
  21064. }, {
  21065. "label": "洛江区",
  21066. "value": "350504"
  21067. }, {
  21068. "label": "泉港区",
  21069. "value": "350505"
  21070. }, {
  21071. "label": "惠安县",
  21072. "value": "350521"
  21073. }, {
  21074. "label": "安溪县",
  21075. "value": "350524"
  21076. }, {
  21077. "label": "永春县",
  21078. "value": "350525"
  21079. }, {
  21080. "label": "德化县",
  21081. "value": "350526"
  21082. }, {
  21083. "label": "金门县",
  21084. "value": "350527"
  21085. }, {
  21086. "label": "石狮市",
  21087. "value": "350581"
  21088. }, {
  21089. "label": "晋江市",
  21090. "value": "350582"
  21091. }, {
  21092. "label": "南安市",
  21093. "value": "350583"
  21094. }], [{
  21095. "label": "芗城区",
  21096. "value": "350602"
  21097. }, {
  21098. "label": "龙文区",
  21099. "value": "350603"
  21100. }, {
  21101. "label": "云霄县",
  21102. "value": "350622"
  21103. }, {
  21104. "label": "漳浦县",
  21105. "value": "350623"
  21106. }, {
  21107. "label": "诏安县",
  21108. "value": "350624"
  21109. }, {
  21110. "label": "长泰县",
  21111. "value": "350625"
  21112. }, {
  21113. "label": "东山县",
  21114. "value": "350626"
  21115. }, {
  21116. "label": "南靖县",
  21117. "value": "350627"
  21118. }, {
  21119. "label": "平和县",
  21120. "value": "350628"
  21121. }, {
  21122. "label": "华安县",
  21123. "value": "350629"
  21124. }, {
  21125. "label": "龙海市",
  21126. "value": "350681"
  21127. }], [{
  21128. "label": "延平区",
  21129. "value": "350702"
  21130. }, {
  21131. "label": "建阳区",
  21132. "value": "350703"
  21133. }, {
  21134. "label": "顺昌县",
  21135. "value": "350721"
  21136. }, {
  21137. "label": "浦城县",
  21138. "value": "350722"
  21139. }, {
  21140. "label": "光泽县",
  21141. "value": "350723"
  21142. }, {
  21143. "label": "松溪县",
  21144. "value": "350724"
  21145. }, {
  21146. "label": "政和县",
  21147. "value": "350725"
  21148. }, {
  21149. "label": "邵武市",
  21150. "value": "350781"
  21151. }, {
  21152. "label": "武夷山市",
  21153. "value": "350782"
  21154. }, {
  21155. "label": "建瓯市",
  21156. "value": "350783"
  21157. }], [{
  21158. "label": "新罗区",
  21159. "value": "350802"
  21160. }, {
  21161. "label": "永定区",
  21162. "value": "350803"
  21163. }, {
  21164. "label": "长汀县",
  21165. "value": "350821"
  21166. }, {
  21167. "label": "上杭县",
  21168. "value": "350823"
  21169. }, {
  21170. "label": "武平县",
  21171. "value": "350824"
  21172. }, {
  21173. "label": "连城县",
  21174. "value": "350825"
  21175. }, {
  21176. "label": "漳平市",
  21177. "value": "350881"
  21178. }], [{
  21179. "label": "蕉城区",
  21180. "value": "350902"
  21181. }, {
  21182. "label": "霞浦县",
  21183. "value": "350921"
  21184. }, {
  21185. "label": "古田县",
  21186. "value": "350922"
  21187. }, {
  21188. "label": "屏南县",
  21189. "value": "350923"
  21190. }, {
  21191. "label": "寿宁县",
  21192. "value": "350924"
  21193. }, {
  21194. "label": "周宁县",
  21195. "value": "350925"
  21196. }, {
  21197. "label": "柘荣县",
  21198. "value": "350926"
  21199. }, {
  21200. "label": "福安市",
  21201. "value": "350981"
  21202. }, {
  21203. "label": "福鼎市",
  21204. "value": "350982"
  21205. }]], [[{
  21206. "label": "东湖区",
  21207. "value": "360102"
  21208. }, {
  21209. "label": "西湖区",
  21210. "value": "360103"
  21211. }, {
  21212. "label": "青云谱区",
  21213. "value": "360104"
  21214. }, {
  21215. "label": "湾里区",
  21216. "value": "360105"
  21217. }, {
  21218. "label": "青山湖区",
  21219. "value": "360111"
  21220. }, {
  21221. "label": "新建区",
  21222. "value": "360112"
  21223. }, {
  21224. "label": "南昌县",
  21225. "value": "360121"
  21226. }, {
  21227. "label": "安义县",
  21228. "value": "360123"
  21229. }, {
  21230. "label": "进贤县",
  21231. "value": "360124"
  21232. }], [{
  21233. "label": "昌江区",
  21234. "value": "360202"
  21235. }, {
  21236. "label": "珠山区",
  21237. "value": "360203"
  21238. }, {
  21239. "label": "浮梁县",
  21240. "value": "360222"
  21241. }, {
  21242. "label": "乐平市",
  21243. "value": "360281"
  21244. }], [{
  21245. "label": "安源区",
  21246. "value": "360302"
  21247. }, {
  21248. "label": "湘东区",
  21249. "value": "360313"
  21250. }, {
  21251. "label": "莲花县",
  21252. "value": "360321"
  21253. }, {
  21254. "label": "上栗县",
  21255. "value": "360322"
  21256. }, {
  21257. "label": "芦溪县",
  21258. "value": "360323"
  21259. }], [{
  21260. "label": "濂溪区",
  21261. "value": "360402"
  21262. }, {
  21263. "label": "浔阳区",
  21264. "value": "360403"
  21265. }, {
  21266. "label": "柴桑区",
  21267. "value": "360404"
  21268. }, {
  21269. "label": "武宁县",
  21270. "value": "360423"
  21271. }, {
  21272. "label": "修水县",
  21273. "value": "360424"
  21274. }, {
  21275. "label": "永修县",
  21276. "value": "360425"
  21277. }, {
  21278. "label": "德安县",
  21279. "value": "360426"
  21280. }, {
  21281. "label": "都昌县",
  21282. "value": "360428"
  21283. }, {
  21284. "label": "湖口县",
  21285. "value": "360429"
  21286. }, {
  21287. "label": "彭泽县",
  21288. "value": "360430"
  21289. }, {
  21290. "label": "瑞昌市",
  21291. "value": "360481"
  21292. }, {
  21293. "label": "共青城市",
  21294. "value": "360482"
  21295. }, {
  21296. "label": "庐山市",
  21297. "value": "360483"
  21298. }], [{
  21299. "label": "渝水区",
  21300. "value": "360502"
  21301. }, {
  21302. "label": "分宜县",
  21303. "value": "360521"
  21304. }], [{
  21305. "label": "月湖区",
  21306. "value": "360602"
  21307. }, {
  21308. "label": "余江县",
  21309. "value": "360622"
  21310. }, {
  21311. "label": "贵溪市",
  21312. "value": "360681"
  21313. }], [{
  21314. "label": "章贡区",
  21315. "value": "360702"
  21316. }, {
  21317. "label": "南康区",
  21318. "value": "360703"
  21319. }, {
  21320. "label": "赣县区",
  21321. "value": "360704"
  21322. }, {
  21323. "label": "信丰县",
  21324. "value": "360722"
  21325. }, {
  21326. "label": "大余县",
  21327. "value": "360723"
  21328. }, {
  21329. "label": "上犹县",
  21330. "value": "360724"
  21331. }, {
  21332. "label": "崇义县",
  21333. "value": "360725"
  21334. }, {
  21335. "label": "安远县",
  21336. "value": "360726"
  21337. }, {
  21338. "label": "龙南县",
  21339. "value": "360727"
  21340. }, {
  21341. "label": "定南县",
  21342. "value": "360728"
  21343. }, {
  21344. "label": "全南县",
  21345. "value": "360729"
  21346. }, {
  21347. "label": "宁都县",
  21348. "value": "360730"
  21349. }, {
  21350. "label": "于都县",
  21351. "value": "360731"
  21352. }, {
  21353. "label": "兴国县",
  21354. "value": "360732"
  21355. }, {
  21356. "label": "会昌县",
  21357. "value": "360733"
  21358. }, {
  21359. "label": "寻乌县",
  21360. "value": "360734"
  21361. }, {
  21362. "label": "石城县",
  21363. "value": "360735"
  21364. }, {
  21365. "label": "瑞金市",
  21366. "value": "360781"
  21367. }], [{
  21368. "label": "吉州区",
  21369. "value": "360802"
  21370. }, {
  21371. "label": "青原区",
  21372. "value": "360803"
  21373. }, {
  21374. "label": "吉安县",
  21375. "value": "360821"
  21376. }, {
  21377. "label": "吉水县",
  21378. "value": "360822"
  21379. }, {
  21380. "label": "峡江县",
  21381. "value": "360823"
  21382. }, {
  21383. "label": "新干县",
  21384. "value": "360824"
  21385. }, {
  21386. "label": "永丰县",
  21387. "value": "360825"
  21388. }, {
  21389. "label": "泰和县",
  21390. "value": "360826"
  21391. }, {
  21392. "label": "遂川县",
  21393. "value": "360827"
  21394. }, {
  21395. "label": "万安县",
  21396. "value": "360828"
  21397. }, {
  21398. "label": "安福县",
  21399. "value": "360829"
  21400. }, {
  21401. "label": "永新县",
  21402. "value": "360830"
  21403. }, {
  21404. "label": "井冈山市",
  21405. "value": "360881"
  21406. }], [{
  21407. "label": "袁州区",
  21408. "value": "360902"
  21409. }, {
  21410. "label": "奉新县",
  21411. "value": "360921"
  21412. }, {
  21413. "label": "万载县",
  21414. "value": "360922"
  21415. }, {
  21416. "label": "上高县",
  21417. "value": "360923"
  21418. }, {
  21419. "label": "宜丰县",
  21420. "value": "360924"
  21421. }, {
  21422. "label": "靖安县",
  21423. "value": "360925"
  21424. }, {
  21425. "label": "铜鼓县",
  21426. "value": "360926"
  21427. }, {
  21428. "label": "丰城市",
  21429. "value": "360981"
  21430. }, {
  21431. "label": "樟树市",
  21432. "value": "360982"
  21433. }, {
  21434. "label": "高安市",
  21435. "value": "360983"
  21436. }], [{
  21437. "label": "临川区",
  21438. "value": "361002"
  21439. }, {
  21440. "label": "东乡区",
  21441. "value": "361003"
  21442. }, {
  21443. "label": "南城县",
  21444. "value": "361021"
  21445. }, {
  21446. "label": "黎川县",
  21447. "value": "361022"
  21448. }, {
  21449. "label": "南丰县",
  21450. "value": "361023"
  21451. }, {
  21452. "label": "崇仁县",
  21453. "value": "361024"
  21454. }, {
  21455. "label": "乐安县",
  21456. "value": "361025"
  21457. }, {
  21458. "label": "宜黄县",
  21459. "value": "361026"
  21460. }, {
  21461. "label": "金溪县",
  21462. "value": "361027"
  21463. }, {
  21464. "label": "资溪县",
  21465. "value": "361028"
  21466. }, {
  21467. "label": "广昌县",
  21468. "value": "361030"
  21469. }], [{
  21470. "label": "信州区",
  21471. "value": "361102"
  21472. }, {
  21473. "label": "广丰区",
  21474. "value": "361103"
  21475. }, {
  21476. "label": "上饶县",
  21477. "value": "361121"
  21478. }, {
  21479. "label": "玉山县",
  21480. "value": "361123"
  21481. }, {
  21482. "label": "铅山县",
  21483. "value": "361124"
  21484. }, {
  21485. "label": "横峰县",
  21486. "value": "361125"
  21487. }, {
  21488. "label": "弋阳县",
  21489. "value": "361126"
  21490. }, {
  21491. "label": "余干县",
  21492. "value": "361127"
  21493. }, {
  21494. "label": "鄱阳县",
  21495. "value": "361128"
  21496. }, {
  21497. "label": "万年县",
  21498. "value": "361129"
  21499. }, {
  21500. "label": "婺源县",
  21501. "value": "361130"
  21502. }, {
  21503. "label": "德兴市",
  21504. "value": "361181"
  21505. }]], [[{
  21506. "label": "历下区",
  21507. "value": "370102"
  21508. }, {
  21509. "label": "市中区",
  21510. "value": "370103"
  21511. }, {
  21512. "label": "槐荫区",
  21513. "value": "370104"
  21514. }, {
  21515. "label": "天桥区",
  21516. "value": "370105"
  21517. }, {
  21518. "label": "历城区",
  21519. "value": "370112"
  21520. }, {
  21521. "label": "长清区",
  21522. "value": "370113"
  21523. }, {
  21524. "label": "章丘区",
  21525. "value": "370114"
  21526. }, {
  21527. "label": "平阴县",
  21528. "value": "370124"
  21529. }, {
  21530. "label": "济阳县",
  21531. "value": "370125"
  21532. }, {
  21533. "label": "商河县",
  21534. "value": "370126"
  21535. }, {
  21536. "label": "济南高新技术产业开发区",
  21537. "value": "370171"
  21538. }], [{
  21539. "label": "市南区",
  21540. "value": "370202"
  21541. }, {
  21542. "label": "市北区",
  21543. "value": "370203"
  21544. }, {
  21545. "label": "黄岛区",
  21546. "value": "370211"
  21547. }, {
  21548. "label": "崂山区",
  21549. "value": "370212"
  21550. }, {
  21551. "label": "李沧区",
  21552. "value": "370213"
  21553. }, {
  21554. "label": "城阳区",
  21555. "value": "370214"
  21556. }, {
  21557. "label": "即墨区",
  21558. "value": "370215"
  21559. }, {
  21560. "label": "青岛高新技术产业开发区",
  21561. "value": "370271"
  21562. }, {
  21563. "label": "胶州市",
  21564. "value": "370281"
  21565. }, {
  21566. "label": "平度市",
  21567. "value": "370283"
  21568. }, {
  21569. "label": "莱西市",
  21570. "value": "370285"
  21571. }], [{
  21572. "label": "淄川区",
  21573. "value": "370302"
  21574. }, {
  21575. "label": "张店区",
  21576. "value": "370303"
  21577. }, {
  21578. "label": "博山区",
  21579. "value": "370304"
  21580. }, {
  21581. "label": "临淄区",
  21582. "value": "370305"
  21583. }, {
  21584. "label": "周村区",
  21585. "value": "370306"
  21586. }, {
  21587. "label": "桓台县",
  21588. "value": "370321"
  21589. }, {
  21590. "label": "高青县",
  21591. "value": "370322"
  21592. }, {
  21593. "label": "沂源县",
  21594. "value": "370323"
  21595. }], [{
  21596. "label": "市中区",
  21597. "value": "370402"
  21598. }, {
  21599. "label": "薛城区",
  21600. "value": "370403"
  21601. }, {
  21602. "label": "峄城区",
  21603. "value": "370404"
  21604. }, {
  21605. "label": "台儿庄区",
  21606. "value": "370405"
  21607. }, {
  21608. "label": "山亭区",
  21609. "value": "370406"
  21610. }, {
  21611. "label": "滕州市",
  21612. "value": "370481"
  21613. }], [{
  21614. "label": "东营区",
  21615. "value": "370502"
  21616. }, {
  21617. "label": "河口区",
  21618. "value": "370503"
  21619. }, {
  21620. "label": "垦利区",
  21621. "value": "370505"
  21622. }, {
  21623. "label": "利津县",
  21624. "value": "370522"
  21625. }, {
  21626. "label": "广饶县",
  21627. "value": "370523"
  21628. }, {
  21629. "label": "东营经济技术开发区",
  21630. "value": "370571"
  21631. }, {
  21632. "label": "东营港经济开发区",
  21633. "value": "370572"
  21634. }], [{
  21635. "label": "芝罘区",
  21636. "value": "370602"
  21637. }, {
  21638. "label": "福山区",
  21639. "value": "370611"
  21640. }, {
  21641. "label": "牟平区",
  21642. "value": "370612"
  21643. }, {
  21644. "label": "莱山区",
  21645. "value": "370613"
  21646. }, {
  21647. "label": "长岛县",
  21648. "value": "370634"
  21649. }, {
  21650. "label": "烟台高新技术产业开发区",
  21651. "value": "370671"
  21652. }, {
  21653. "label": "烟台经济技术开发区",
  21654. "value": "370672"
  21655. }, {
  21656. "label": "龙口市",
  21657. "value": "370681"
  21658. }, {
  21659. "label": "莱阳市",
  21660. "value": "370682"
  21661. }, {
  21662. "label": "莱州市",
  21663. "value": "370683"
  21664. }, {
  21665. "label": "蓬莱市",
  21666. "value": "370684"
  21667. }, {
  21668. "label": "招远市",
  21669. "value": "370685"
  21670. }, {
  21671. "label": "栖霞市",
  21672. "value": "370686"
  21673. }, {
  21674. "label": "海阳市",
  21675. "value": "370687"
  21676. }], [{
  21677. "label": "潍城区",
  21678. "value": "370702"
  21679. }, {
  21680. "label": "寒亭区",
  21681. "value": "370703"
  21682. }, {
  21683. "label": "坊子区",
  21684. "value": "370704"
  21685. }, {
  21686. "label": "奎文区",
  21687. "value": "370705"
  21688. }, {
  21689. "label": "临朐县",
  21690. "value": "370724"
  21691. }, {
  21692. "label": "昌乐县",
  21693. "value": "370725"
  21694. }, {
  21695. "label": "潍坊滨海经济技术开发区",
  21696. "value": "370772"
  21697. }, {
  21698. "label": "青州市",
  21699. "value": "370781"
  21700. }, {
  21701. "label": "诸城市",
  21702. "value": "370782"
  21703. }, {
  21704. "label": "寿光市",
  21705. "value": "370783"
  21706. }, {
  21707. "label": "安丘市",
  21708. "value": "370784"
  21709. }, {
  21710. "label": "高密市",
  21711. "value": "370785"
  21712. }, {
  21713. "label": "昌邑市",
  21714. "value": "370786"
  21715. }], [{
  21716. "label": "任城区",
  21717. "value": "370811"
  21718. }, {
  21719. "label": "兖州区",
  21720. "value": "370812"
  21721. }, {
  21722. "label": "微山县",
  21723. "value": "370826"
  21724. }, {
  21725. "label": "鱼台县",
  21726. "value": "370827"
  21727. }, {
  21728. "label": "金乡县",
  21729. "value": "370828"
  21730. }, {
  21731. "label": "嘉祥县",
  21732. "value": "370829"
  21733. }, {
  21734. "label": "汶上县",
  21735. "value": "370830"
  21736. }, {
  21737. "label": "泗水县",
  21738. "value": "370831"
  21739. }, {
  21740. "label": "梁山县",
  21741. "value": "370832"
  21742. }, {
  21743. "label": "济宁高新技术产业开发区",
  21744. "value": "370871"
  21745. }, {
  21746. "label": "曲阜市",
  21747. "value": "370881"
  21748. }, {
  21749. "label": "邹城市",
  21750. "value": "370883"
  21751. }], [{
  21752. "label": "泰山区",
  21753. "value": "370902"
  21754. }, {
  21755. "label": "岱岳区",
  21756. "value": "370911"
  21757. }, {
  21758. "label": "宁阳县",
  21759. "value": "370921"
  21760. }, {
  21761. "label": "东平县",
  21762. "value": "370923"
  21763. }, {
  21764. "label": "新泰市",
  21765. "value": "370982"
  21766. }, {
  21767. "label": "肥城市",
  21768. "value": "370983"
  21769. }], [{
  21770. "label": "环翠区",
  21771. "value": "371002"
  21772. }, {
  21773. "label": "文登区",
  21774. "value": "371003"
  21775. }, {
  21776. "label": "威海火炬高技术产业开发区",
  21777. "value": "371071"
  21778. }, {
  21779. "label": "威海经济技术开发区",
  21780. "value": "371072"
  21781. }, {
  21782. "label": "威海临港经济技术开发区",
  21783. "value": "371073"
  21784. }, {
  21785. "label": "荣成市",
  21786. "value": "371082"
  21787. }, {
  21788. "label": "乳山市",
  21789. "value": "371083"
  21790. }], [{
  21791. "label": "东港区",
  21792. "value": "371102"
  21793. }, {
  21794. "label": "岚山区",
  21795. "value": "371103"
  21796. }, {
  21797. "label": "五莲县",
  21798. "value": "371121"
  21799. }, {
  21800. "label": "莒县",
  21801. "value": "371122"
  21802. }, {
  21803. "label": "日照经济技术开发区",
  21804. "value": "371171"
  21805. }, {
  21806. "label": "日照国际海洋城",
  21807. "value": "371172"
  21808. }], [{
  21809. "label": "莱城区",
  21810. "value": "371202"
  21811. }, {
  21812. "label": "钢城区",
  21813. "value": "371203"
  21814. }], [{
  21815. "label": "兰山区",
  21816. "value": "371302"
  21817. }, {
  21818. "label": "罗庄区",
  21819. "value": "371311"
  21820. }, {
  21821. "label": "河东区",
  21822. "value": "371312"
  21823. }, {
  21824. "label": "沂南县",
  21825. "value": "371321"
  21826. }, {
  21827. "label": "郯城县",
  21828. "value": "371322"
  21829. }, {
  21830. "label": "沂水县",
  21831. "value": "371323"
  21832. }, {
  21833. "label": "兰陵县",
  21834. "value": "371324"
  21835. }, {
  21836. "label": "费县",
  21837. "value": "371325"
  21838. }, {
  21839. "label": "平邑县",
  21840. "value": "371326"
  21841. }, {
  21842. "label": "莒南县",
  21843. "value": "371327"
  21844. }, {
  21845. "label": "蒙阴县",
  21846. "value": "371328"
  21847. }, {
  21848. "label": "临沭县",
  21849. "value": "371329"
  21850. }, {
  21851. "label": "临沂高新技术产业开发区",
  21852. "value": "371371"
  21853. }, {
  21854. "label": "临沂经济技术开发区",
  21855. "value": "371372"
  21856. }, {
  21857. "label": "临沂临港经济开发区",
  21858. "value": "371373"
  21859. }], [{
  21860. "label": "德城区",
  21861. "value": "371402"
  21862. }, {
  21863. "label": "陵城区",
  21864. "value": "371403"
  21865. }, {
  21866. "label": "宁津县",
  21867. "value": "371422"
  21868. }, {
  21869. "label": "庆云县",
  21870. "value": "371423"
  21871. }, {
  21872. "label": "临邑县",
  21873. "value": "371424"
  21874. }, {
  21875. "label": "齐河县",
  21876. "value": "371425"
  21877. }, {
  21878. "label": "平原县",
  21879. "value": "371426"
  21880. }, {
  21881. "label": "夏津县",
  21882. "value": "371427"
  21883. }, {
  21884. "label": "武城县",
  21885. "value": "371428"
  21886. }, {
  21887. "label": "德州经济技术开发区",
  21888. "value": "371471"
  21889. }, {
  21890. "label": "德州运河经济开发区",
  21891. "value": "371472"
  21892. }, {
  21893. "label": "乐陵市",
  21894. "value": "371481"
  21895. }, {
  21896. "label": "禹城市",
  21897. "value": "371482"
  21898. }], [{
  21899. "label": "东昌府区",
  21900. "value": "371502"
  21901. }, {
  21902. "label": "阳谷县",
  21903. "value": "371521"
  21904. }, {
  21905. "label": "莘县",
  21906. "value": "371522"
  21907. }, {
  21908. "label": "茌平县",
  21909. "value": "371523"
  21910. }, {
  21911. "label": "东阿县",
  21912. "value": "371524"
  21913. }, {
  21914. "label": "冠县",
  21915. "value": "371525"
  21916. }, {
  21917. "label": "高唐县",
  21918. "value": "371526"
  21919. }, {
  21920. "label": "临清市",
  21921. "value": "371581"
  21922. }], [{
  21923. "label": "滨城区",
  21924. "value": "371602"
  21925. }, {
  21926. "label": "沾化区",
  21927. "value": "371603"
  21928. }, {
  21929. "label": "惠民县",
  21930. "value": "371621"
  21931. }, {
  21932. "label": "阳信县",
  21933. "value": "371622"
  21934. }, {
  21935. "label": "无棣县",
  21936. "value": "371623"
  21937. }, {
  21938. "label": "博兴县",
  21939. "value": "371625"
  21940. }, {
  21941. "label": "邹平县",
  21942. "value": "371626"
  21943. }], [{
  21944. "label": "牡丹区",
  21945. "value": "371702"
  21946. }, {
  21947. "label": "定陶区",
  21948. "value": "371703"
  21949. }, {
  21950. "label": "曹县",
  21951. "value": "371721"
  21952. }, {
  21953. "label": "单县",
  21954. "value": "371722"
  21955. }, {
  21956. "label": "成武县",
  21957. "value": "371723"
  21958. }, {
  21959. "label": "巨野县",
  21960. "value": "371724"
  21961. }, {
  21962. "label": "郓城县",
  21963. "value": "371725"
  21964. }, {
  21965. "label": "鄄城县",
  21966. "value": "371726"
  21967. }, {
  21968. "label": "东明县",
  21969. "value": "371728"
  21970. }, {
  21971. "label": "菏泽经济技术开发区",
  21972. "value": "371771"
  21973. }, {
  21974. "label": "菏泽高新技术开发区",
  21975. "value": "371772"
  21976. }]], [[{
  21977. "label": "中原区",
  21978. "value": "410102"
  21979. }, {
  21980. "label": "二七区",
  21981. "value": "410103"
  21982. }, {
  21983. "label": "管城回族区",
  21984. "value": "410104"
  21985. }, {
  21986. "label": "金水区",
  21987. "value": "410105"
  21988. }, {
  21989. "label": "上街区",
  21990. "value": "410106"
  21991. }, {
  21992. "label": "惠济区",
  21993. "value": "410108"
  21994. }, {
  21995. "label": "中牟县",
  21996. "value": "410122"
  21997. }, {
  21998. "label": "郑州经济技术开发区",
  21999. "value": "410171"
  22000. }, {
  22001. "label": "郑州高新技术产业开发区",
  22002. "value": "410172"
  22003. }, {
  22004. "label": "郑州航空港经济综合实验区",
  22005. "value": "410173"
  22006. }, {
  22007. "label": "巩义市",
  22008. "value": "410181"
  22009. }, {
  22010. "label": "荥阳市",
  22011. "value": "410182"
  22012. }, {
  22013. "label": "新密市",
  22014. "value": "410183"
  22015. }, {
  22016. "label": "新郑市",
  22017. "value": "410184"
  22018. }, {
  22019. "label": "登封市",
  22020. "value": "410185"
  22021. }], [{
  22022. "label": "龙亭区",
  22023. "value": "410202"
  22024. }, {
  22025. "label": "顺河回族区",
  22026. "value": "410203"
  22027. }, {
  22028. "label": "鼓楼区",
  22029. "value": "410204"
  22030. }, {
  22031. "label": "禹王台区",
  22032. "value": "410205"
  22033. }, {
  22034. "label": "祥符区",
  22035. "value": "410212"
  22036. }, {
  22037. "label": "杞县",
  22038. "value": "410221"
  22039. }, {
  22040. "label": "通许县",
  22041. "value": "410222"
  22042. }, {
  22043. "label": "尉氏县",
  22044. "value": "410223"
  22045. }, {
  22046. "label": "兰考县",
  22047. "value": "410225"
  22048. }], [{
  22049. "label": "老城区",
  22050. "value": "410302"
  22051. }, {
  22052. "label": "西工区",
  22053. "value": "410303"
  22054. }, {
  22055. "label": "瀍河回族区",
  22056. "value": "410304"
  22057. }, {
  22058. "label": "涧西区",
  22059. "value": "410305"
  22060. }, {
  22061. "label": "吉利区",
  22062. "value": "410306"
  22063. }, {
  22064. "label": "洛龙区",
  22065. "value": "410311"
  22066. }, {
  22067. "label": "孟津县",
  22068. "value": "410322"
  22069. }, {
  22070. "label": "新安县",
  22071. "value": "410323"
  22072. }, {
  22073. "label": "栾川县",
  22074. "value": "410324"
  22075. }, {
  22076. "label": "嵩县",
  22077. "value": "410325"
  22078. }, {
  22079. "label": "汝阳县",
  22080. "value": "410326"
  22081. }, {
  22082. "label": "宜阳县",
  22083. "value": "410327"
  22084. }, {
  22085. "label": "洛宁县",
  22086. "value": "410328"
  22087. }, {
  22088. "label": "伊川县",
  22089. "value": "410329"
  22090. }, {
  22091. "label": "洛阳高新技术产业开发区",
  22092. "value": "410371"
  22093. }, {
  22094. "label": "偃师市",
  22095. "value": "410381"
  22096. }], [{
  22097. "label": "新华区",
  22098. "value": "410402"
  22099. }, {
  22100. "label": "卫东区",
  22101. "value": "410403"
  22102. }, {
  22103. "label": "石龙区",
  22104. "value": "410404"
  22105. }, {
  22106. "label": "湛河区",
  22107. "value": "410411"
  22108. }, {
  22109. "label": "宝丰县",
  22110. "value": "410421"
  22111. }, {
  22112. "label": "叶县",
  22113. "value": "410422"
  22114. }, {
  22115. "label": "鲁山县",
  22116. "value": "410423"
  22117. }, {
  22118. "label": "郏县",
  22119. "value": "410425"
  22120. }, {
  22121. "label": "平顶山高新技术产业开发区",
  22122. "value": "410471"
  22123. }, {
  22124. "label": "平顶山市新城区",
  22125. "value": "410472"
  22126. }, {
  22127. "label": "舞钢市",
  22128. "value": "410481"
  22129. }, {
  22130. "label": "汝州市",
  22131. "value": "410482"
  22132. }], [{
  22133. "label": "文峰区",
  22134. "value": "410502"
  22135. }, {
  22136. "label": "北关区",
  22137. "value": "410503"
  22138. }, {
  22139. "label": "殷都区",
  22140. "value": "410505"
  22141. }, {
  22142. "label": "龙安区",
  22143. "value": "410506"
  22144. }, {
  22145. "label": "安阳县",
  22146. "value": "410522"
  22147. }, {
  22148. "label": "汤阴县",
  22149. "value": "410523"
  22150. }, {
  22151. "label": "滑县",
  22152. "value": "410526"
  22153. }, {
  22154. "label": "内黄县",
  22155. "value": "410527"
  22156. }, {
  22157. "label": "安阳高新技术产业开发区",
  22158. "value": "410571"
  22159. }, {
  22160. "label": "林州市",
  22161. "value": "410581"
  22162. }], [{
  22163. "label": "鹤山区",
  22164. "value": "410602"
  22165. }, {
  22166. "label": "山城区",
  22167. "value": "410603"
  22168. }, {
  22169. "label": "淇滨区",
  22170. "value": "410611"
  22171. }, {
  22172. "label": "浚县",
  22173. "value": "410621"
  22174. }, {
  22175. "label": "淇县",
  22176. "value": "410622"
  22177. }, {
  22178. "label": "鹤壁经济技术开发区",
  22179. "value": "410671"
  22180. }], [{
  22181. "label": "红旗区",
  22182. "value": "410702"
  22183. }, {
  22184. "label": "卫滨区",
  22185. "value": "410703"
  22186. }, {
  22187. "label": "凤泉区",
  22188. "value": "410704"
  22189. }, {
  22190. "label": "牧野区",
  22191. "value": "410711"
  22192. }, {
  22193. "label": "新乡县",
  22194. "value": "410721"
  22195. }, {
  22196. "label": "获嘉县",
  22197. "value": "410724"
  22198. }, {
  22199. "label": "原阳县",
  22200. "value": "410725"
  22201. }, {
  22202. "label": "延津县",
  22203. "value": "410726"
  22204. }, {
  22205. "label": "封丘县",
  22206. "value": "410727"
  22207. }, {
  22208. "label": "长垣县",
  22209. "value": "410728"
  22210. }, {
  22211. "label": "新乡高新技术产业开发区",
  22212. "value": "410771"
  22213. }, {
  22214. "label": "新乡经济技术开发区",
  22215. "value": "410772"
  22216. }, {
  22217. "label": "新乡市平原城乡一体化示范区",
  22218. "value": "410773"
  22219. }, {
  22220. "label": "卫辉市",
  22221. "value": "410781"
  22222. }, {
  22223. "label": "辉县市",
  22224. "value": "410782"
  22225. }], [{
  22226. "label": "解放区",
  22227. "value": "410802"
  22228. }, {
  22229. "label": "中站区",
  22230. "value": "410803"
  22231. }, {
  22232. "label": "马村区",
  22233. "value": "410804"
  22234. }, {
  22235. "label": "山阳区",
  22236. "value": "410811"
  22237. }, {
  22238. "label": "修武县",
  22239. "value": "410821"
  22240. }, {
  22241. "label": "博爱县",
  22242. "value": "410822"
  22243. }, {
  22244. "label": "武陟县",
  22245. "value": "410823"
  22246. }, {
  22247. "label": "温县",
  22248. "value": "410825"
  22249. }, {
  22250. "label": "焦作城乡一体化示范区",
  22251. "value": "410871"
  22252. }, {
  22253. "label": "沁阳市",
  22254. "value": "410882"
  22255. }, {
  22256. "label": "孟州市",
  22257. "value": "410883"
  22258. }], [{
  22259. "label": "华龙区",
  22260. "value": "410902"
  22261. }, {
  22262. "label": "清丰县",
  22263. "value": "410922"
  22264. }, {
  22265. "label": "南乐县",
  22266. "value": "410923"
  22267. }, {
  22268. "label": "范县",
  22269. "value": "410926"
  22270. }, {
  22271. "label": "台前县",
  22272. "value": "410927"
  22273. }, {
  22274. "label": "濮阳县",
  22275. "value": "410928"
  22276. }, {
  22277. "label": "河南濮阳工业园区",
  22278. "value": "410971"
  22279. }, {
  22280. "label": "濮阳经济技术开发区",
  22281. "value": "410972"
  22282. }], [{
  22283. "label": "魏都区",
  22284. "value": "411002"
  22285. }, {
  22286. "label": "建安区",
  22287. "value": "411003"
  22288. }, {
  22289. "label": "鄢陵县",
  22290. "value": "411024"
  22291. }, {
  22292. "label": "襄城县",
  22293. "value": "411025"
  22294. }, {
  22295. "label": "许昌经济技术开发区",
  22296. "value": "411071"
  22297. }, {
  22298. "label": "禹州市",
  22299. "value": "411081"
  22300. }, {
  22301. "label": "长葛市",
  22302. "value": "411082"
  22303. }], [{
  22304. "label": "源汇区",
  22305. "value": "411102"
  22306. }, {
  22307. "label": "郾城区",
  22308. "value": "411103"
  22309. }, {
  22310. "label": "召陵区",
  22311. "value": "411104"
  22312. }, {
  22313. "label": "舞阳县",
  22314. "value": "411121"
  22315. }, {
  22316. "label": "临颍县",
  22317. "value": "411122"
  22318. }, {
  22319. "label": "漯河经济技术开发区",
  22320. "value": "411171"
  22321. }], [{
  22322. "label": "湖滨区",
  22323. "value": "411202"
  22324. }, {
  22325. "label": "陕州区",
  22326. "value": "411203"
  22327. }, {
  22328. "label": "渑池县",
  22329. "value": "411221"
  22330. }, {
  22331. "label": "卢氏县",
  22332. "value": "411224"
  22333. }, {
  22334. "label": "河南三门峡经济开发区",
  22335. "value": "411271"
  22336. }, {
  22337. "label": "义马市",
  22338. "value": "411281"
  22339. }, {
  22340. "label": "灵宝市",
  22341. "value": "411282"
  22342. }], [{
  22343. "label": "宛城区",
  22344. "value": "411302"
  22345. }, {
  22346. "label": "卧龙区",
  22347. "value": "411303"
  22348. }, {
  22349. "label": "南召县",
  22350. "value": "411321"
  22351. }, {
  22352. "label": "方城县",
  22353. "value": "411322"
  22354. }, {
  22355. "label": "西峡县",
  22356. "value": "411323"
  22357. }, {
  22358. "label": "镇平县",
  22359. "value": "411324"
  22360. }, {
  22361. "label": "内乡县",
  22362. "value": "411325"
  22363. }, {
  22364. "label": "淅川县",
  22365. "value": "411326"
  22366. }, {
  22367. "label": "社旗县",
  22368. "value": "411327"
  22369. }, {
  22370. "label": "唐河县",
  22371. "value": "411328"
  22372. }, {
  22373. "label": "新野县",
  22374. "value": "411329"
  22375. }, {
  22376. "label": "桐柏县",
  22377. "value": "411330"
  22378. }, {
  22379. "label": "南阳高新技术产业开发区",
  22380. "value": "411371"
  22381. }, {
  22382. "label": "南阳市城乡一体化示范区",
  22383. "value": "411372"
  22384. }, {
  22385. "label": "邓州市",
  22386. "value": "411381"
  22387. }], [{
  22388. "label": "梁园区",
  22389. "value": "411402"
  22390. }, {
  22391. "label": "睢阳区",
  22392. "value": "411403"
  22393. }, {
  22394. "label": "民权县",
  22395. "value": "411421"
  22396. }, {
  22397. "label": "睢县",
  22398. "value": "411422"
  22399. }, {
  22400. "label": "宁陵县",
  22401. "value": "411423"
  22402. }, {
  22403. "label": "柘城县",
  22404. "value": "411424"
  22405. }, {
  22406. "label": "虞城县",
  22407. "value": "411425"
  22408. }, {
  22409. "label": "夏邑县",
  22410. "value": "411426"
  22411. }, {
  22412. "label": "豫东综合物流产业聚集区",
  22413. "value": "411471"
  22414. }, {
  22415. "label": "河南商丘经济开发区",
  22416. "value": "411472"
  22417. }, {
  22418. "label": "永城市",
  22419. "value": "411481"
  22420. }], [{
  22421. "label": "浉河区",
  22422. "value": "411502"
  22423. }, {
  22424. "label": "平桥区",
  22425. "value": "411503"
  22426. }, {
  22427. "label": "罗山县",
  22428. "value": "411521"
  22429. }, {
  22430. "label": "光山县",
  22431. "value": "411522"
  22432. }, {
  22433. "label": "新县",
  22434. "value": "411523"
  22435. }, {
  22436. "label": "商城县",
  22437. "value": "411524"
  22438. }, {
  22439. "label": "固始县",
  22440. "value": "411525"
  22441. }, {
  22442. "label": "潢川县",
  22443. "value": "411526"
  22444. }, {
  22445. "label": "淮滨县",
  22446. "value": "411527"
  22447. }, {
  22448. "label": "息县",
  22449. "value": "411528"
  22450. }, {
  22451. "label": "信阳高新技术产业开发区",
  22452. "value": "411571"
  22453. }], [{
  22454. "label": "川汇区",
  22455. "value": "411602"
  22456. }, {
  22457. "label": "扶沟县",
  22458. "value": "411621"
  22459. }, {
  22460. "label": "西华县",
  22461. "value": "411622"
  22462. }, {
  22463. "label": "商水县",
  22464. "value": "411623"
  22465. }, {
  22466. "label": "沈丘县",
  22467. "value": "411624"
  22468. }, {
  22469. "label": "郸城县",
  22470. "value": "411625"
  22471. }, {
  22472. "label": "淮阳县",
  22473. "value": "411626"
  22474. }, {
  22475. "label": "太康县",
  22476. "value": "411627"
  22477. }, {
  22478. "label": "鹿邑县",
  22479. "value": "411628"
  22480. }, {
  22481. "label": "河南周口经济开发区",
  22482. "value": "411671"
  22483. }, {
  22484. "label": "项城市",
  22485. "value": "411681"
  22486. }], [{
  22487. "label": "驿城区",
  22488. "value": "411702"
  22489. }, {
  22490. "label": "西平县",
  22491. "value": "411721"
  22492. }, {
  22493. "label": "上蔡县",
  22494. "value": "411722"
  22495. }, {
  22496. "label": "平舆县",
  22497. "value": "411723"
  22498. }, {
  22499. "label": "正阳县",
  22500. "value": "411724"
  22501. }, {
  22502. "label": "确山县",
  22503. "value": "411725"
  22504. }, {
  22505. "label": "泌阳县",
  22506. "value": "411726"
  22507. }, {
  22508. "label": "汝南县",
  22509. "value": "411727"
  22510. }, {
  22511. "label": "遂平县",
  22512. "value": "411728"
  22513. }, {
  22514. "label": "新蔡县",
  22515. "value": "411729"
  22516. }, {
  22517. "label": "河南驻马店经济开发区",
  22518. "value": "411771"
  22519. }], [{
  22520. "label": "济源市",
  22521. "value": "419001"
  22522. }]], [[{
  22523. "label": "江岸区",
  22524. "value": "420102"
  22525. }, {
  22526. "label": "江汉区",
  22527. "value": "420103"
  22528. }, {
  22529. "label": "硚口区",
  22530. "value": "420104"
  22531. }, {
  22532. "label": "汉阳区",
  22533. "value": "420105"
  22534. }, {
  22535. "label": "武昌区",
  22536. "value": "420106"
  22537. }, {
  22538. "label": "青山区",
  22539. "value": "420107"
  22540. }, {
  22541. "label": "洪山区",
  22542. "value": "420111"
  22543. }, {
  22544. "label": "东西湖区",
  22545. "value": "420112"
  22546. }, {
  22547. "label": "汉南区",
  22548. "value": "420113"
  22549. }, {
  22550. "label": "蔡甸区",
  22551. "value": "420114"
  22552. }, {
  22553. "label": "江夏区",
  22554. "value": "420115"
  22555. }, {
  22556. "label": "黄陂区",
  22557. "value": "420116"
  22558. }, {
  22559. "label": "新洲区",
  22560. "value": "420117"
  22561. }], [{
  22562. "label": "黄石港区",
  22563. "value": "420202"
  22564. }, {
  22565. "label": "西塞山区",
  22566. "value": "420203"
  22567. }, {
  22568. "label": "下陆区",
  22569. "value": "420204"
  22570. }, {
  22571. "label": "铁山区",
  22572. "value": "420205"
  22573. }, {
  22574. "label": "阳新县",
  22575. "value": "420222"
  22576. }, {
  22577. "label": "大冶市",
  22578. "value": "420281"
  22579. }], [{
  22580. "label": "茅箭区",
  22581. "value": "420302"
  22582. }, {
  22583. "label": "张湾区",
  22584. "value": "420303"
  22585. }, {
  22586. "label": "郧阳区",
  22587. "value": "420304"
  22588. }, {
  22589. "label": "郧西县",
  22590. "value": "420322"
  22591. }, {
  22592. "label": "竹山县",
  22593. "value": "420323"
  22594. }, {
  22595. "label": "竹溪县",
  22596. "value": "420324"
  22597. }, {
  22598. "label": "房县",
  22599. "value": "420325"
  22600. }, {
  22601. "label": "丹江口市",
  22602. "value": "420381"
  22603. }], [{
  22604. "label": "西陵区",
  22605. "value": "420502"
  22606. }, {
  22607. "label": "伍家岗区",
  22608. "value": "420503"
  22609. }, {
  22610. "label": "点军区",
  22611. "value": "420504"
  22612. }, {
  22613. "label": "猇亭区",
  22614. "value": "420505"
  22615. }, {
  22616. "label": "夷陵区",
  22617. "value": "420506"
  22618. }, {
  22619. "label": "远安县",
  22620. "value": "420525"
  22621. }, {
  22622. "label": "兴山县",
  22623. "value": "420526"
  22624. }, {
  22625. "label": "秭归县",
  22626. "value": "420527"
  22627. }, {
  22628. "label": "长阳土家族自治县",
  22629. "value": "420528"
  22630. }, {
  22631. "label": "五峰土家族自治县",
  22632. "value": "420529"
  22633. }, {
  22634. "label": "宜都市",
  22635. "value": "420581"
  22636. }, {
  22637. "label": "当阳市",
  22638. "value": "420582"
  22639. }, {
  22640. "label": "枝江市",
  22641. "value": "420583"
  22642. }], [{
  22643. "label": "襄城区",
  22644. "value": "420602"
  22645. }, {
  22646. "label": "樊城区",
  22647. "value": "420606"
  22648. }, {
  22649. "label": "襄州区",
  22650. "value": "420607"
  22651. }, {
  22652. "label": "南漳县",
  22653. "value": "420624"
  22654. }, {
  22655. "label": "谷城县",
  22656. "value": "420625"
  22657. }, {
  22658. "label": "保康县",
  22659. "value": "420626"
  22660. }, {
  22661. "label": "老河口市",
  22662. "value": "420682"
  22663. }, {
  22664. "label": "枣阳市",
  22665. "value": "420683"
  22666. }, {
  22667. "label": "宜城市",
  22668. "value": "420684"
  22669. }], [{
  22670. "label": "梁子湖区",
  22671. "value": "420702"
  22672. }, {
  22673. "label": "华容区",
  22674. "value": "420703"
  22675. }, {
  22676. "label": "鄂城区",
  22677. "value": "420704"
  22678. }], [{
  22679. "label": "东宝区",
  22680. "value": "420802"
  22681. }, {
  22682. "label": "掇刀区",
  22683. "value": "420804"
  22684. }, {
  22685. "label": "京山县",
  22686. "value": "420821"
  22687. }, {
  22688. "label": "沙洋县",
  22689. "value": "420822"
  22690. }, {
  22691. "label": "钟祥市",
  22692. "value": "420881"
  22693. }], [{
  22694. "label": "孝南区",
  22695. "value": "420902"
  22696. }, {
  22697. "label": "孝昌县",
  22698. "value": "420921"
  22699. }, {
  22700. "label": "大悟县",
  22701. "value": "420922"
  22702. }, {
  22703. "label": "云梦县",
  22704. "value": "420923"
  22705. }, {
  22706. "label": "应城市",
  22707. "value": "420981"
  22708. }, {
  22709. "label": "安陆市",
  22710. "value": "420982"
  22711. }, {
  22712. "label": "汉川市",
  22713. "value": "420984"
  22714. }], [{
  22715. "label": "沙市区",
  22716. "value": "421002"
  22717. }, {
  22718. "label": "荆州区",
  22719. "value": "421003"
  22720. }, {
  22721. "label": "公安县",
  22722. "value": "421022"
  22723. }, {
  22724. "label": "监利县",
  22725. "value": "421023"
  22726. }, {
  22727. "label": "江陵县",
  22728. "value": "421024"
  22729. }, {
  22730. "label": "荆州经济技术开发区",
  22731. "value": "421071"
  22732. }, {
  22733. "label": "石首市",
  22734. "value": "421081"
  22735. }, {
  22736. "label": "洪湖市",
  22737. "value": "421083"
  22738. }, {
  22739. "label": "松滋市",
  22740. "value": "421087"
  22741. }], [{
  22742. "label": "黄州区",
  22743. "value": "421102"
  22744. }, {
  22745. "label": "团风县",
  22746. "value": "421121"
  22747. }, {
  22748. "label": "红安县",
  22749. "value": "421122"
  22750. }, {
  22751. "label": "罗田县",
  22752. "value": "421123"
  22753. }, {
  22754. "label": "英山县",
  22755. "value": "421124"
  22756. }, {
  22757. "label": "浠水县",
  22758. "value": "421125"
  22759. }, {
  22760. "label": "蕲春县",
  22761. "value": "421126"
  22762. }, {
  22763. "label": "黄梅县",
  22764. "value": "421127"
  22765. }, {
  22766. "label": "龙感湖管理区",
  22767. "value": "421171"
  22768. }, {
  22769. "label": "麻城市",
  22770. "value": "421181"
  22771. }, {
  22772. "label": "武穴市",
  22773. "value": "421182"
  22774. }], [{
  22775. "label": "咸安区",
  22776. "value": "421202"
  22777. }, {
  22778. "label": "嘉鱼县",
  22779. "value": "421221"
  22780. }, {
  22781. "label": "通城县",
  22782. "value": "421222"
  22783. }, {
  22784. "label": "崇阳县",
  22785. "value": "421223"
  22786. }, {
  22787. "label": "通山县",
  22788. "value": "421224"
  22789. }, {
  22790. "label": "赤壁市",
  22791. "value": "421281"
  22792. }], [{
  22793. "label": "曾都区",
  22794. "value": "421303"
  22795. }, {
  22796. "label": "随县",
  22797. "value": "421321"
  22798. }, {
  22799. "label": "广水市",
  22800. "value": "421381"
  22801. }], [{
  22802. "label": "恩施市",
  22803. "value": "422801"
  22804. }, {
  22805. "label": "利川市",
  22806. "value": "422802"
  22807. }, {
  22808. "label": "建始县",
  22809. "value": "422822"
  22810. }, {
  22811. "label": "巴东县",
  22812. "value": "422823"
  22813. }, {
  22814. "label": "宣恩县",
  22815. "value": "422825"
  22816. }, {
  22817. "label": "咸丰县",
  22818. "value": "422826"
  22819. }, {
  22820. "label": "来凤县",
  22821. "value": "422827"
  22822. }, {
  22823. "label": "鹤峰县",
  22824. "value": "422828"
  22825. }], [{
  22826. "label": "仙桃市",
  22827. "value": "429004"
  22828. }, {
  22829. "label": "潜江市",
  22830. "value": "429005"
  22831. }, {
  22832. "label": "天门市",
  22833. "value": "429006"
  22834. }, {
  22835. "label": "神农架林区",
  22836. "value": "429021"
  22837. }]], [[{
  22838. "label": "芙蓉区",
  22839. "value": "430102"
  22840. }, {
  22841. "label": "天心区",
  22842. "value": "430103"
  22843. }, {
  22844. "label": "岳麓区",
  22845. "value": "430104"
  22846. }, {
  22847. "label": "开福区",
  22848. "value": "430105"
  22849. }, {
  22850. "label": "雨花区",
  22851. "value": "430111"
  22852. }, {
  22853. "label": "望城区",
  22854. "value": "430112"
  22855. }, {
  22856. "label": "长沙县",
  22857. "value": "430121"
  22858. }, {
  22859. "label": "浏阳市",
  22860. "value": "430181"
  22861. }, {
  22862. "label": "宁乡市",
  22863. "value": "430182"
  22864. }], [{
  22865. "label": "荷塘区",
  22866. "value": "430202"
  22867. }, {
  22868. "label": "芦淞区",
  22869. "value": "430203"
  22870. }, {
  22871. "label": "石峰区",
  22872. "value": "430204"
  22873. }, {
  22874. "label": "天元区",
  22875. "value": "430211"
  22876. }, {
  22877. "label": "株洲县",
  22878. "value": "430221"
  22879. }, {
  22880. "label": "攸县",
  22881. "value": "430223"
  22882. }, {
  22883. "label": "茶陵县",
  22884. "value": "430224"
  22885. }, {
  22886. "label": "炎陵县",
  22887. "value": "430225"
  22888. }, {
  22889. "label": "云龙示范区",
  22890. "value": "430271"
  22891. }, {
  22892. "label": "醴陵市",
  22893. "value": "430281"
  22894. }], [{
  22895. "label": "雨湖区",
  22896. "value": "430302"
  22897. }, {
  22898. "label": "岳塘区",
  22899. "value": "430304"
  22900. }, {
  22901. "label": "湘潭县",
  22902. "value": "430321"
  22903. }, {
  22904. "label": "湖南湘潭高新技术产业园区",
  22905. "value": "430371"
  22906. }, {
  22907. "label": "湘潭昭山示范区",
  22908. "value": "430372"
  22909. }, {
  22910. "label": "湘潭九华示范区",
  22911. "value": "430373"
  22912. }, {
  22913. "label": "湘乡市",
  22914. "value": "430381"
  22915. }, {
  22916. "label": "韶山市",
  22917. "value": "430382"
  22918. }], [{
  22919. "label": "珠晖区",
  22920. "value": "430405"
  22921. }, {
  22922. "label": "雁峰区",
  22923. "value": "430406"
  22924. }, {
  22925. "label": "石鼓区",
  22926. "value": "430407"
  22927. }, {
  22928. "label": "蒸湘区",
  22929. "value": "430408"
  22930. }, {
  22931. "label": "南岳区",
  22932. "value": "430412"
  22933. }, {
  22934. "label": "衡阳县",
  22935. "value": "430421"
  22936. }, {
  22937. "label": "衡南县",
  22938. "value": "430422"
  22939. }, {
  22940. "label": "衡山县",
  22941. "value": "430423"
  22942. }, {
  22943. "label": "衡东县",
  22944. "value": "430424"
  22945. }, {
  22946. "label": "祁东县",
  22947. "value": "430426"
  22948. }, {
  22949. "label": "衡阳综合保税区",
  22950. "value": "430471"
  22951. }, {
  22952. "label": "湖南衡阳高新技术产业园区",
  22953. "value": "430472"
  22954. }, {
  22955. "label": "湖南衡阳松木经济开发区",
  22956. "value": "430473"
  22957. }, {
  22958. "label": "耒阳市",
  22959. "value": "430481"
  22960. }, {
  22961. "label": "常宁市",
  22962. "value": "430482"
  22963. }], [{
  22964. "label": "双清区",
  22965. "value": "430502"
  22966. }, {
  22967. "label": "大祥区",
  22968. "value": "430503"
  22969. }, {
  22970. "label": "北塔区",
  22971. "value": "430511"
  22972. }, {
  22973. "label": "邵东县",
  22974. "value": "430521"
  22975. }, {
  22976. "label": "新邵县",
  22977. "value": "430522"
  22978. }, {
  22979. "label": "邵阳县",
  22980. "value": "430523"
  22981. }, {
  22982. "label": "隆回县",
  22983. "value": "430524"
  22984. }, {
  22985. "label": "洞口县",
  22986. "value": "430525"
  22987. }, {
  22988. "label": "绥宁县",
  22989. "value": "430527"
  22990. }, {
  22991. "label": "新宁县",
  22992. "value": "430528"
  22993. }, {
  22994. "label": "城步苗族自治县",
  22995. "value": "430529"
  22996. }, {
  22997. "label": "武冈市",
  22998. "value": "430581"
  22999. }], [{
  23000. "label": "岳阳楼区",
  23001. "value": "430602"
  23002. }, {
  23003. "label": "云溪区",
  23004. "value": "430603"
  23005. }, {
  23006. "label": "君山区",
  23007. "value": "430611"
  23008. }, {
  23009. "label": "岳阳县",
  23010. "value": "430621"
  23011. }, {
  23012. "label": "华容县",
  23013. "value": "430623"
  23014. }, {
  23015. "label": "湘阴县",
  23016. "value": "430624"
  23017. }, {
  23018. "label": "平江县",
  23019. "value": "430626"
  23020. }, {
  23021. "label": "岳阳市屈原管理区",
  23022. "value": "430671"
  23023. }, {
  23024. "label": "汨罗市",
  23025. "value": "430681"
  23026. }, {
  23027. "label": "临湘市",
  23028. "value": "430682"
  23029. }], [{
  23030. "label": "武陵区",
  23031. "value": "430702"
  23032. }, {
  23033. "label": "鼎城区",
  23034. "value": "430703"
  23035. }, {
  23036. "label": "安乡县",
  23037. "value": "430721"
  23038. }, {
  23039. "label": "汉寿县",
  23040. "value": "430722"
  23041. }, {
  23042. "label": "澧县",
  23043. "value": "430723"
  23044. }, {
  23045. "label": "临澧县",
  23046. "value": "430724"
  23047. }, {
  23048. "label": "桃源县",
  23049. "value": "430725"
  23050. }, {
  23051. "label": "石门县",
  23052. "value": "430726"
  23053. }, {
  23054. "label": "常德市西洞庭管理区",
  23055. "value": "430771"
  23056. }, {
  23057. "label": "津市市",
  23058. "value": "430781"
  23059. }], [{
  23060. "label": "永定区",
  23061. "value": "430802"
  23062. }, {
  23063. "label": "武陵源区",
  23064. "value": "430811"
  23065. }, {
  23066. "label": "慈利县",
  23067. "value": "430821"
  23068. }, {
  23069. "label": "桑植县",
  23070. "value": "430822"
  23071. }], [{
  23072. "label": "资阳区",
  23073. "value": "430902"
  23074. }, {
  23075. "label": "赫山区",
  23076. "value": "430903"
  23077. }, {
  23078. "label": "南县",
  23079. "value": "430921"
  23080. }, {
  23081. "label": "桃江县",
  23082. "value": "430922"
  23083. }, {
  23084. "label": "安化县",
  23085. "value": "430923"
  23086. }, {
  23087. "label": "益阳市大通湖管理区",
  23088. "value": "430971"
  23089. }, {
  23090. "label": "湖南益阳高新技术产业园区",
  23091. "value": "430972"
  23092. }, {
  23093. "label": "沅江市",
  23094. "value": "430981"
  23095. }], [{
  23096. "label": "北湖区",
  23097. "value": "431002"
  23098. }, {
  23099. "label": "苏仙区",
  23100. "value": "431003"
  23101. }, {
  23102. "label": "桂阳县",
  23103. "value": "431021"
  23104. }, {
  23105. "label": "宜章县",
  23106. "value": "431022"
  23107. }, {
  23108. "label": "永兴县",
  23109. "value": "431023"
  23110. }, {
  23111. "label": "嘉禾县",
  23112. "value": "431024"
  23113. }, {
  23114. "label": "临武县",
  23115. "value": "431025"
  23116. }, {
  23117. "label": "汝城县",
  23118. "value": "431026"
  23119. }, {
  23120. "label": "桂东县",
  23121. "value": "431027"
  23122. }, {
  23123. "label": "安仁县",
  23124. "value": "431028"
  23125. }, {
  23126. "label": "资兴市",
  23127. "value": "431081"
  23128. }], [{
  23129. "label": "零陵区",
  23130. "value": "431102"
  23131. }, {
  23132. "label": "冷水滩区",
  23133. "value": "431103"
  23134. }, {
  23135. "label": "祁阳县",
  23136. "value": "431121"
  23137. }, {
  23138. "label": "东安县",
  23139. "value": "431122"
  23140. }, {
  23141. "label": "双牌县",
  23142. "value": "431123"
  23143. }, {
  23144. "label": "道县",
  23145. "value": "431124"
  23146. }, {
  23147. "label": "江永县",
  23148. "value": "431125"
  23149. }, {
  23150. "label": "宁远县",
  23151. "value": "431126"
  23152. }, {
  23153. "label": "蓝山县",
  23154. "value": "431127"
  23155. }, {
  23156. "label": "新田县",
  23157. "value": "431128"
  23158. }, {
  23159. "label": "江华瑶族自治县",
  23160. "value": "431129"
  23161. }, {
  23162. "label": "永州经济技术开发区",
  23163. "value": "431171"
  23164. }, {
  23165. "label": "永州市金洞管理区",
  23166. "value": "431172"
  23167. }, {
  23168. "label": "永州市回龙圩管理区",
  23169. "value": "431173"
  23170. }], [{
  23171. "label": "鹤城区",
  23172. "value": "431202"
  23173. }, {
  23174. "label": "中方县",
  23175. "value": "431221"
  23176. }, {
  23177. "label": "沅陵县",
  23178. "value": "431222"
  23179. }, {
  23180. "label": "辰溪县",
  23181. "value": "431223"
  23182. }, {
  23183. "label": "溆浦县",
  23184. "value": "431224"
  23185. }, {
  23186. "label": "会同县",
  23187. "value": "431225"
  23188. }, {
  23189. "label": "麻阳苗族自治县",
  23190. "value": "431226"
  23191. }, {
  23192. "label": "新晃侗族自治县",
  23193. "value": "431227"
  23194. }, {
  23195. "label": "芷江侗族自治县",
  23196. "value": "431228"
  23197. }, {
  23198. "label": "靖州苗族侗族自治县",
  23199. "value": "431229"
  23200. }, {
  23201. "label": "通道侗族自治县",
  23202. "value": "431230"
  23203. }, {
  23204. "label": "怀化市洪江管理区",
  23205. "value": "431271"
  23206. }, {
  23207. "label": "洪江市",
  23208. "value": "431281"
  23209. }], [{
  23210. "label": "娄星区",
  23211. "value": "431302"
  23212. }, {
  23213. "label": "双峰县",
  23214. "value": "431321"
  23215. }, {
  23216. "label": "新化县",
  23217. "value": "431322"
  23218. }, {
  23219. "label": "冷水江市",
  23220. "value": "431381"
  23221. }, {
  23222. "label": "涟源市",
  23223. "value": "431382"
  23224. }], [{
  23225. "label": "吉首市",
  23226. "value": "433101"
  23227. }, {
  23228. "label": "泸溪县",
  23229. "value": "433122"
  23230. }, {
  23231. "label": "凤凰县",
  23232. "value": "433123"
  23233. }, {
  23234. "label": "花垣县",
  23235. "value": "433124"
  23236. }, {
  23237. "label": "保靖县",
  23238. "value": "433125"
  23239. }, {
  23240. "label": "古丈县",
  23241. "value": "433126"
  23242. }, {
  23243. "label": "永顺县",
  23244. "value": "433127"
  23245. }, {
  23246. "label": "龙山县",
  23247. "value": "433130"
  23248. }, {
  23249. "label": "湖南吉首经济开发区",
  23250. "value": "433172"
  23251. }, {
  23252. "label": "湖南永顺经济开发区",
  23253. "value": "433173"
  23254. }]], [[{
  23255. "label": "荔湾区",
  23256. "value": "440103"
  23257. }, {
  23258. "label": "越秀区",
  23259. "value": "440104"
  23260. }, {
  23261. "label": "海珠区",
  23262. "value": "440105"
  23263. }, {
  23264. "label": "天河区",
  23265. "value": "440106"
  23266. }, {
  23267. "label": "白云区",
  23268. "value": "440111"
  23269. }, {
  23270. "label": "黄埔区",
  23271. "value": "440112"
  23272. }, {
  23273. "label": "番禺区",
  23274. "value": "440113"
  23275. }, {
  23276. "label": "花都区",
  23277. "value": "440114"
  23278. }, {
  23279. "label": "南沙区",
  23280. "value": "440115"
  23281. }, {
  23282. "label": "从化区",
  23283. "value": "440117"
  23284. }, {
  23285. "label": "增城区",
  23286. "value": "440118"
  23287. }], [{
  23288. "label": "武江区",
  23289. "value": "440203"
  23290. }, {
  23291. "label": "浈江区",
  23292. "value": "440204"
  23293. }, {
  23294. "label": "曲江区",
  23295. "value": "440205"
  23296. }, {
  23297. "label": "始兴县",
  23298. "value": "440222"
  23299. }, {
  23300. "label": "仁化县",
  23301. "value": "440224"
  23302. }, {
  23303. "label": "翁源县",
  23304. "value": "440229"
  23305. }, {
  23306. "label": "乳源瑶族自治县",
  23307. "value": "440232"
  23308. }, {
  23309. "label": "新丰县",
  23310. "value": "440233"
  23311. }, {
  23312. "label": "乐昌市",
  23313. "value": "440281"
  23314. }, {
  23315. "label": "南雄市",
  23316. "value": "440282"
  23317. }], [{
  23318. "label": "罗湖区",
  23319. "value": "440303"
  23320. }, {
  23321. "label": "福田区",
  23322. "value": "440304"
  23323. }, {
  23324. "label": "南山区",
  23325. "value": "440305"
  23326. }, {
  23327. "label": "宝安区",
  23328. "value": "440306"
  23329. }, {
  23330. "label": "龙岗区",
  23331. "value": "440307"
  23332. }, {
  23333. "label": "盐田区",
  23334. "value": "440308"
  23335. }, {
  23336. "label": "龙华区",
  23337. "value": "440309"
  23338. }, {
  23339. "label": "坪山区",
  23340. "value": "440310"
  23341. }], [{
  23342. "label": "香洲区",
  23343. "value": "440402"
  23344. }, {
  23345. "label": "斗门区",
  23346. "value": "440403"
  23347. }, {
  23348. "label": "金湾区",
  23349. "value": "440404"
  23350. }], [{
  23351. "label": "龙湖区",
  23352. "value": "440507"
  23353. }, {
  23354. "label": "金平区",
  23355. "value": "440511"
  23356. }, {
  23357. "label": "濠江区",
  23358. "value": "440512"
  23359. }, {
  23360. "label": "潮阳区",
  23361. "value": "440513"
  23362. }, {
  23363. "label": "潮南区",
  23364. "value": "440514"
  23365. }, {
  23366. "label": "澄海区",
  23367. "value": "440515"
  23368. }, {
  23369. "label": "南澳县",
  23370. "value": "440523"
  23371. }], [{
  23372. "label": "禅城区",
  23373. "value": "440604"
  23374. }, {
  23375. "label": "南海区",
  23376. "value": "440605"
  23377. }, {
  23378. "label": "顺德区",
  23379. "value": "440606"
  23380. }, {
  23381. "label": "三水区",
  23382. "value": "440607"
  23383. }, {
  23384. "label": "高明区",
  23385. "value": "440608"
  23386. }], [{
  23387. "label": "蓬江区",
  23388. "value": "440703"
  23389. }, {
  23390. "label": "江海区",
  23391. "value": "440704"
  23392. }, {
  23393. "label": "新会区",
  23394. "value": "440705"
  23395. }, {
  23396. "label": "台山市",
  23397. "value": "440781"
  23398. }, {
  23399. "label": "开平市",
  23400. "value": "440783"
  23401. }, {
  23402. "label": "鹤山市",
  23403. "value": "440784"
  23404. }, {
  23405. "label": "恩平市",
  23406. "value": "440785"
  23407. }], [{
  23408. "label": "赤坎区",
  23409. "value": "440802"
  23410. }, {
  23411. "label": "霞山区",
  23412. "value": "440803"
  23413. }, {
  23414. "label": "坡头区",
  23415. "value": "440804"
  23416. }, {
  23417. "label": "麻章区",
  23418. "value": "440811"
  23419. }, {
  23420. "label": "遂溪县",
  23421. "value": "440823"
  23422. }, {
  23423. "label": "徐闻县",
  23424. "value": "440825"
  23425. }, {
  23426. "label": "廉江市",
  23427. "value": "440881"
  23428. }, {
  23429. "label": "雷州市",
  23430. "value": "440882"
  23431. }, {
  23432. "label": "吴川市",
  23433. "value": "440883"
  23434. }], [{
  23435. "label": "茂南区",
  23436. "value": "440902"
  23437. }, {
  23438. "label": "电白区",
  23439. "value": "440904"
  23440. }, {
  23441. "label": "高州市",
  23442. "value": "440981"
  23443. }, {
  23444. "label": "化州市",
  23445. "value": "440982"
  23446. }, {
  23447. "label": "信宜市",
  23448. "value": "440983"
  23449. }], [{
  23450. "label": "端州区",
  23451. "value": "441202"
  23452. }, {
  23453. "label": "鼎湖区",
  23454. "value": "441203"
  23455. }, {
  23456. "label": "高要区",
  23457. "value": "441204"
  23458. }, {
  23459. "label": "广宁县",
  23460. "value": "441223"
  23461. }, {
  23462. "label": "怀集县",
  23463. "value": "441224"
  23464. }, {
  23465. "label": "封开县",
  23466. "value": "441225"
  23467. }, {
  23468. "label": "德庆县",
  23469. "value": "441226"
  23470. }, {
  23471. "label": "四会市",
  23472. "value": "441284"
  23473. }], [{
  23474. "label": "惠城区",
  23475. "value": "441302"
  23476. }, {
  23477. "label": "惠阳区",
  23478. "value": "441303"
  23479. }, {
  23480. "label": "博罗县",
  23481. "value": "441322"
  23482. }, {
  23483. "label": "惠东县",
  23484. "value": "441323"
  23485. }, {
  23486. "label": "龙门县",
  23487. "value": "441324"
  23488. }], [{
  23489. "label": "梅江区",
  23490. "value": "441402"
  23491. }, {
  23492. "label": "梅县区",
  23493. "value": "441403"
  23494. }, {
  23495. "label": "大埔县",
  23496. "value": "441422"
  23497. }, {
  23498. "label": "丰顺县",
  23499. "value": "441423"
  23500. }, {
  23501. "label": "五华县",
  23502. "value": "441424"
  23503. }, {
  23504. "label": "平远县",
  23505. "value": "441426"
  23506. }, {
  23507. "label": "蕉岭县",
  23508. "value": "441427"
  23509. }, {
  23510. "label": "兴宁市",
  23511. "value": "441481"
  23512. }], [{
  23513. "label": "城区",
  23514. "value": "441502"
  23515. }, {
  23516. "label": "海丰县",
  23517. "value": "441521"
  23518. }, {
  23519. "label": "陆河县",
  23520. "value": "441523"
  23521. }, {
  23522. "label": "陆丰市",
  23523. "value": "441581"
  23524. }], [{
  23525. "label": "源城区",
  23526. "value": "441602"
  23527. }, {
  23528. "label": "紫金县",
  23529. "value": "441621"
  23530. }, {
  23531. "label": "龙川县",
  23532. "value": "441622"
  23533. }, {
  23534. "label": "连平县",
  23535. "value": "441623"
  23536. }, {
  23537. "label": "和平县",
  23538. "value": "441624"
  23539. }, {
  23540. "label": "东源县",
  23541. "value": "441625"
  23542. }], [{
  23543. "label": "江城区",
  23544. "value": "441702"
  23545. }, {
  23546. "label": "阳东区",
  23547. "value": "441704"
  23548. }, {
  23549. "label": "阳西县",
  23550. "value": "441721"
  23551. }, {
  23552. "label": "阳春市",
  23553. "value": "441781"
  23554. }], [{
  23555. "label": "清城区",
  23556. "value": "441802"
  23557. }, {
  23558. "label": "清新区",
  23559. "value": "441803"
  23560. }, {
  23561. "label": "佛冈县",
  23562. "value": "441821"
  23563. }, {
  23564. "label": "阳山县",
  23565. "value": "441823"
  23566. }, {
  23567. "label": "连山壮族瑶族自治县",
  23568. "value": "441825"
  23569. }, {
  23570. "label": "连南瑶族自治县",
  23571. "value": "441826"
  23572. }, {
  23573. "label": "英德市",
  23574. "value": "441881"
  23575. }, {
  23576. "label": "连州市",
  23577. "value": "441882"
  23578. }], [{
  23579. "label": "东莞市",
  23580. "value": "441900"
  23581. }], [{
  23582. "label": "中山市",
  23583. "value": "442000"
  23584. }], [{
  23585. "label": "湘桥区",
  23586. "value": "445102"
  23587. }, {
  23588. "label": "潮安区",
  23589. "value": "445103"
  23590. }, {
  23591. "label": "饶平县",
  23592. "value": "445122"
  23593. }], [{
  23594. "label": "榕城区",
  23595. "value": "445202"
  23596. }, {
  23597. "label": "揭东区",
  23598. "value": "445203"
  23599. }, {
  23600. "label": "揭西县",
  23601. "value": "445222"
  23602. }, {
  23603. "label": "惠来县",
  23604. "value": "445224"
  23605. }, {
  23606. "label": "普宁市",
  23607. "value": "445281"
  23608. }], [{
  23609. "label": "云城区",
  23610. "value": "445302"
  23611. }, {
  23612. "label": "云安区",
  23613. "value": "445303"
  23614. }, {
  23615. "label": "新兴县",
  23616. "value": "445321"
  23617. }, {
  23618. "label": "郁南县",
  23619. "value": "445322"
  23620. }, {
  23621. "label": "罗定市",
  23622. "value": "445381"
  23623. }]], [[{
  23624. "label": "兴宁区",
  23625. "value": "450102"
  23626. }, {
  23627. "label": "青秀区",
  23628. "value": "450103"
  23629. }, {
  23630. "label": "江南区",
  23631. "value": "450105"
  23632. }, {
  23633. "label": "西乡塘区",
  23634. "value": "450107"
  23635. }, {
  23636. "label": "良庆区",
  23637. "value": "450108"
  23638. }, {
  23639. "label": "邕宁区",
  23640. "value": "450109"
  23641. }, {
  23642. "label": "武鸣区",
  23643. "value": "450110"
  23644. }, {
  23645. "label": "隆安县",
  23646. "value": "450123"
  23647. }, {
  23648. "label": "马山县",
  23649. "value": "450124"
  23650. }, {
  23651. "label": "上林县",
  23652. "value": "450125"
  23653. }, {
  23654. "label": "宾阳县",
  23655. "value": "450126"
  23656. }, {
  23657. "label": "横县",
  23658. "value": "450127"
  23659. }], [{
  23660. "label": "城中区",
  23661. "value": "450202"
  23662. }, {
  23663. "label": "鱼峰区",
  23664. "value": "450203"
  23665. }, {
  23666. "label": "柳南区",
  23667. "value": "450204"
  23668. }, {
  23669. "label": "柳北区",
  23670. "value": "450205"
  23671. }, {
  23672. "label": "柳江区",
  23673. "value": "450206"
  23674. }, {
  23675. "label": "柳城县",
  23676. "value": "450222"
  23677. }, {
  23678. "label": "鹿寨县",
  23679. "value": "450223"
  23680. }, {
  23681. "label": "融安县",
  23682. "value": "450224"
  23683. }, {
  23684. "label": "融水苗族自治县",
  23685. "value": "450225"
  23686. }, {
  23687. "label": "三江侗族自治县",
  23688. "value": "450226"
  23689. }], [{
  23690. "label": "秀峰区",
  23691. "value": "450302"
  23692. }, {
  23693. "label": "叠彩区",
  23694. "value": "450303"
  23695. }, {
  23696. "label": "象山区",
  23697. "value": "450304"
  23698. }, {
  23699. "label": "七星区",
  23700. "value": "450305"
  23701. }, {
  23702. "label": "雁山区",
  23703. "value": "450311"
  23704. }, {
  23705. "label": "临桂区",
  23706. "value": "450312"
  23707. }, {
  23708. "label": "阳朔县",
  23709. "value": "450321"
  23710. }, {
  23711. "label": "灵川县",
  23712. "value": "450323"
  23713. }, {
  23714. "label": "全州县",
  23715. "value": "450324"
  23716. }, {
  23717. "label": "兴安县",
  23718. "value": "450325"
  23719. }, {
  23720. "label": "永福县",
  23721. "value": "450326"
  23722. }, {
  23723. "label": "灌阳县",
  23724. "value": "450327"
  23725. }, {
  23726. "label": "龙胜各族自治县",
  23727. "value": "450328"
  23728. }, {
  23729. "label": "资源县",
  23730. "value": "450329"
  23731. }, {
  23732. "label": "平乐县",
  23733. "value": "450330"
  23734. }, {
  23735. "label": "荔浦县",
  23736. "value": "450331"
  23737. }, {
  23738. "label": "恭城瑶族自治县",
  23739. "value": "450332"
  23740. }], [{
  23741. "label": "万秀区",
  23742. "value": "450403"
  23743. }, {
  23744. "label": "长洲区",
  23745. "value": "450405"
  23746. }, {
  23747. "label": "龙圩区",
  23748. "value": "450406"
  23749. }, {
  23750. "label": "苍梧县",
  23751. "value": "450421"
  23752. }, {
  23753. "label": "藤县",
  23754. "value": "450422"
  23755. }, {
  23756. "label": "蒙山县",
  23757. "value": "450423"
  23758. }, {
  23759. "label": "岑溪市",
  23760. "value": "450481"
  23761. }], [{
  23762. "label": "海城区",
  23763. "value": "450502"
  23764. }, {
  23765. "label": "银海区",
  23766. "value": "450503"
  23767. }, {
  23768. "label": "铁山港区",
  23769. "value": "450512"
  23770. }, {
  23771. "label": "合浦县",
  23772. "value": "450521"
  23773. }], [{
  23774. "label": "港口区",
  23775. "value": "450602"
  23776. }, {
  23777. "label": "防城区",
  23778. "value": "450603"
  23779. }, {
  23780. "label": "上思县",
  23781. "value": "450621"
  23782. }, {
  23783. "label": "东兴市",
  23784. "value": "450681"
  23785. }], [{
  23786. "label": "钦南区",
  23787. "value": "450702"
  23788. }, {
  23789. "label": "钦北区",
  23790. "value": "450703"
  23791. }, {
  23792. "label": "灵山县",
  23793. "value": "450721"
  23794. }, {
  23795. "label": "浦北县",
  23796. "value": "450722"
  23797. }], [{
  23798. "label": "港北区",
  23799. "value": "450802"
  23800. }, {
  23801. "label": "港南区",
  23802. "value": "450803"
  23803. }, {
  23804. "label": "覃塘区",
  23805. "value": "450804"
  23806. }, {
  23807. "label": "平南县",
  23808. "value": "450821"
  23809. }, {
  23810. "label": "桂平市",
  23811. "value": "450881"
  23812. }], [{
  23813. "label": "玉州区",
  23814. "value": "450902"
  23815. }, {
  23816. "label": "福绵区",
  23817. "value": "450903"
  23818. }, {
  23819. "label": "容县",
  23820. "value": "450921"
  23821. }, {
  23822. "label": "陆川县",
  23823. "value": "450922"
  23824. }, {
  23825. "label": "博白县",
  23826. "value": "450923"
  23827. }, {
  23828. "label": "兴业县",
  23829. "value": "450924"
  23830. }, {
  23831. "label": "北流市",
  23832. "value": "450981"
  23833. }], [{
  23834. "label": "右江区",
  23835. "value": "451002"
  23836. }, {
  23837. "label": "田阳县",
  23838. "value": "451021"
  23839. }, {
  23840. "label": "田东县",
  23841. "value": "451022"
  23842. }, {
  23843. "label": "平果县",
  23844. "value": "451023"
  23845. }, {
  23846. "label": "德保县",
  23847. "value": "451024"
  23848. }, {
  23849. "label": "那坡县",
  23850. "value": "451026"
  23851. }, {
  23852. "label": "凌云县",
  23853. "value": "451027"
  23854. }, {
  23855. "label": "乐业县",
  23856. "value": "451028"
  23857. }, {
  23858. "label": "田林县",
  23859. "value": "451029"
  23860. }, {
  23861. "label": "西林县",
  23862. "value": "451030"
  23863. }, {
  23864. "label": "隆林各族自治县",
  23865. "value": "451031"
  23866. }, {
  23867. "label": "靖西市",
  23868. "value": "451081"
  23869. }], [{
  23870. "label": "八步区",
  23871. "value": "451102"
  23872. }, {
  23873. "label": "平桂区",
  23874. "value": "451103"
  23875. }, {
  23876. "label": "昭平县",
  23877. "value": "451121"
  23878. }, {
  23879. "label": "钟山县",
  23880. "value": "451122"
  23881. }, {
  23882. "label": "富川瑶族自治县",
  23883. "value": "451123"
  23884. }], [{
  23885. "label": "金城江区",
  23886. "value": "451202"
  23887. }, {
  23888. "label": "宜州区",
  23889. "value": "451203"
  23890. }, {
  23891. "label": "南丹县",
  23892. "value": "451221"
  23893. }, {
  23894. "label": "天峨县",
  23895. "value": "451222"
  23896. }, {
  23897. "label": "凤山县",
  23898. "value": "451223"
  23899. }, {
  23900. "label": "东兰县",
  23901. "value": "451224"
  23902. }, {
  23903. "label": "罗城仫佬族自治县",
  23904. "value": "451225"
  23905. }, {
  23906. "label": "环江毛南族自治县",
  23907. "value": "451226"
  23908. }, {
  23909. "label": "巴马瑶族自治县",
  23910. "value": "451227"
  23911. }, {
  23912. "label": "都安瑶族自治县",
  23913. "value": "451228"
  23914. }, {
  23915. "label": "大化瑶族自治县",
  23916. "value": "451229"
  23917. }], [{
  23918. "label": "兴宾区",
  23919. "value": "451302"
  23920. }, {
  23921. "label": "忻城县",
  23922. "value": "451321"
  23923. }, {
  23924. "label": "象州县",
  23925. "value": "451322"
  23926. }, {
  23927. "label": "武宣县",
  23928. "value": "451323"
  23929. }, {
  23930. "label": "金秀瑶族自治县",
  23931. "value": "451324"
  23932. }, {
  23933. "label": "合山市",
  23934. "value": "451381"
  23935. }], [{
  23936. "label": "江州区",
  23937. "value": "451402"
  23938. }, {
  23939. "label": "扶绥县",
  23940. "value": "451421"
  23941. }, {
  23942. "label": "宁明县",
  23943. "value": "451422"
  23944. }, {
  23945. "label": "龙州县",
  23946. "value": "451423"
  23947. }, {
  23948. "label": "大新县",
  23949. "value": "451424"
  23950. }, {
  23951. "label": "天等县",
  23952. "value": "451425"
  23953. }, {
  23954. "label": "凭祥市",
  23955. "value": "451481"
  23956. }]], [[{
  23957. "label": "秀英区",
  23958. "value": "460105"
  23959. }, {
  23960. "label": "龙华区",
  23961. "value": "460106"
  23962. }, {
  23963. "label": "琼山区",
  23964. "value": "460107"
  23965. }, {
  23966. "label": "美兰区",
  23967. "value": "460108"
  23968. }], [{
  23969. "label": "海棠区",
  23970. "value": "460202"
  23971. }, {
  23972. "label": "吉阳区",
  23973. "value": "460203"
  23974. }, {
  23975. "label": "天涯区",
  23976. "value": "460204"
  23977. }, {
  23978. "label": "崖州区",
  23979. "value": "460205"
  23980. }], [{
  23981. "label": "西沙群岛",
  23982. "value": "460321"
  23983. }, {
  23984. "label": "南沙群岛",
  23985. "value": "460322"
  23986. }, {
  23987. "label": "中沙群岛的岛礁及其海域",
  23988. "value": "460323"
  23989. }], [{
  23990. "label": "儋州市",
  23991. "value": "460400"
  23992. }], [{
  23993. "label": "五指山市",
  23994. "value": "469001"
  23995. }, {
  23996. "label": "琼海市",
  23997. "value": "469002"
  23998. }, {
  23999. "label": "文昌市",
  24000. "value": "469005"
  24001. }, {
  24002. "label": "万宁市",
  24003. "value": "469006"
  24004. }, {
  24005. "label": "东方市",
  24006. "value": "469007"
  24007. }, {
  24008. "label": "定安县",
  24009. "value": "469021"
  24010. }, {
  24011. "label": "屯昌县",
  24012. "value": "469022"
  24013. }, {
  24014. "label": "澄迈县",
  24015. "value": "469023"
  24016. }, {
  24017. "label": "临高县",
  24018. "value": "469024"
  24019. }, {
  24020. "label": "白沙黎族自治县",
  24021. "value": "469025"
  24022. }, {
  24023. "label": "昌江黎族自治县",
  24024. "value": "469026"
  24025. }, {
  24026. "label": "乐东黎族自治县",
  24027. "value": "469027"
  24028. }, {
  24029. "label": "陵水黎族自治县",
  24030. "value": "469028"
  24031. }, {
  24032. "label": "保亭黎族苗族自治县",
  24033. "value": "469029"
  24034. }, {
  24035. "label": "琼中黎族苗族自治县",
  24036. "value": "469030"
  24037. }]], [[{
  24038. "label": "万州区",
  24039. "value": "500101"
  24040. }, {
  24041. "label": "涪陵区",
  24042. "value": "500102"
  24043. }, {
  24044. "label": "渝中区",
  24045. "value": "500103"
  24046. }, {
  24047. "label": "大渡口区",
  24048. "value": "500104"
  24049. }, {
  24050. "label": "江北区",
  24051. "value": "500105"
  24052. }, {
  24053. "label": "沙坪坝区",
  24054. "value": "500106"
  24055. }, {
  24056. "label": "九龙坡区",
  24057. "value": "500107"
  24058. }, {
  24059. "label": "南岸区",
  24060. "value": "500108"
  24061. }, {
  24062. "label": "北碚区",
  24063. "value": "500109"
  24064. }, {
  24065. "label": "綦江区",
  24066. "value": "500110"
  24067. }, {
  24068. "label": "大足区",
  24069. "value": "500111"
  24070. }, {
  24071. "label": "渝北区",
  24072. "value": "500112"
  24073. }, {
  24074. "label": "巴南区",
  24075. "value": "500113"
  24076. }, {
  24077. "label": "黔江区",
  24078. "value": "500114"
  24079. }, {
  24080. "label": "长寿区",
  24081. "value": "500115"
  24082. }, {
  24083. "label": "江津区",
  24084. "value": "500116"
  24085. }, {
  24086. "label": "合川区",
  24087. "value": "500117"
  24088. }, {
  24089. "label": "永川区",
  24090. "value": "500118"
  24091. }, {
  24092. "label": "南川区",
  24093. "value": "500119"
  24094. }, {
  24095. "label": "璧山区",
  24096. "value": "500120"
  24097. }, {
  24098. "label": "铜梁区",
  24099. "value": "500151"
  24100. }, {
  24101. "label": "潼南区",
  24102. "value": "500152"
  24103. }, {
  24104. "label": "荣昌区",
  24105. "value": "500153"
  24106. }, {
  24107. "label": "开州区",
  24108. "value": "500154"
  24109. }, {
  24110. "label": "梁平区",
  24111. "value": "500155"
  24112. }, {
  24113. "label": "武隆区",
  24114. "value": "500156"
  24115. }], [{
  24116. "label": "城口县",
  24117. "value": "500229"
  24118. }, {
  24119. "label": "丰都县",
  24120. "value": "500230"
  24121. }, {
  24122. "label": "垫江县",
  24123. "value": "500231"
  24124. }, {
  24125. "label": "忠县",
  24126. "value": "500233"
  24127. }, {
  24128. "label": "云阳县",
  24129. "value": "500235"
  24130. }, {
  24131. "label": "奉节县",
  24132. "value": "500236"
  24133. }, {
  24134. "label": "巫山县",
  24135. "value": "500237"
  24136. }, {
  24137. "label": "巫溪县",
  24138. "value": "500238"
  24139. }, {
  24140. "label": "石柱土家族自治县",
  24141. "value": "500240"
  24142. }, {
  24143. "label": "秀山土家族苗族自治县",
  24144. "value": "500241"
  24145. }, {
  24146. "label": "酉阳土家族苗族自治县",
  24147. "value": "500242"
  24148. }, {
  24149. "label": "彭水苗族土家族自治县",
  24150. "value": "500243"
  24151. }]], [[{
  24152. "label": "锦江区",
  24153. "value": "510104"
  24154. }, {
  24155. "label": "青羊区",
  24156. "value": "510105"
  24157. }, {
  24158. "label": "金牛区",
  24159. "value": "510106"
  24160. }, {
  24161. "label": "武侯区",
  24162. "value": "510107"
  24163. }, {
  24164. "label": "成华区",
  24165. "value": "510108"
  24166. }, {
  24167. "label": "龙泉驿区",
  24168. "value": "510112"
  24169. }, {
  24170. "label": "青白江区",
  24171. "value": "510113"
  24172. }, {
  24173. "label": "新都区",
  24174. "value": "510114"
  24175. }, {
  24176. "label": "温江区",
  24177. "value": "510115"
  24178. }, {
  24179. "label": "双流区",
  24180. "value": "510116"
  24181. }, {
  24182. "label": "郫都区",
  24183. "value": "510117"
  24184. }, {
  24185. "label": "金堂县",
  24186. "value": "510121"
  24187. }, {
  24188. "label": "大邑县",
  24189. "value": "510129"
  24190. }, {
  24191. "label": "蒲江县",
  24192. "value": "510131"
  24193. }, {
  24194. "label": "新津县",
  24195. "value": "510132"
  24196. }, {
  24197. "label": "都江堰市",
  24198. "value": "510181"
  24199. }, {
  24200. "label": "彭州市",
  24201. "value": "510182"
  24202. }, {
  24203. "label": "邛崃市",
  24204. "value": "510183"
  24205. }, {
  24206. "label": "崇州市",
  24207. "value": "510184"
  24208. }, {
  24209. "label": "简阳市",
  24210. "value": "510185"
  24211. }], [{
  24212. "label": "自流井区",
  24213. "value": "510302"
  24214. }, {
  24215. "label": "贡井区",
  24216. "value": "510303"
  24217. }, {
  24218. "label": "大安区",
  24219. "value": "510304"
  24220. }, {
  24221. "label": "沿滩区",
  24222. "value": "510311"
  24223. }, {
  24224. "label": "荣县",
  24225. "value": "510321"
  24226. }, {
  24227. "label": "富顺县",
  24228. "value": "510322"
  24229. }], [{
  24230. "label": "东区",
  24231. "value": "510402"
  24232. }, {
  24233. "label": "西区",
  24234. "value": "510403"
  24235. }, {
  24236. "label": "仁和区",
  24237. "value": "510411"
  24238. }, {
  24239. "label": "米易县",
  24240. "value": "510421"
  24241. }, {
  24242. "label": "盐边县",
  24243. "value": "510422"
  24244. }], [{
  24245. "label": "江阳区",
  24246. "value": "510502"
  24247. }, {
  24248. "label": "纳溪区",
  24249. "value": "510503"
  24250. }, {
  24251. "label": "龙马潭区",
  24252. "value": "510504"
  24253. }, {
  24254. "label": "泸县",
  24255. "value": "510521"
  24256. }, {
  24257. "label": "合江县",
  24258. "value": "510522"
  24259. }, {
  24260. "label": "叙永县",
  24261. "value": "510524"
  24262. }, {
  24263. "label": "古蔺县",
  24264. "value": "510525"
  24265. }], [{
  24266. "label": "旌阳区",
  24267. "value": "510603"
  24268. }, {
  24269. "label": "罗江区",
  24270. "value": "510604"
  24271. }, {
  24272. "label": "中江县",
  24273. "value": "510623"
  24274. }, {
  24275. "label": "广汉市",
  24276. "value": "510681"
  24277. }, {
  24278. "label": "什邡市",
  24279. "value": "510682"
  24280. }, {
  24281. "label": "绵竹市",
  24282. "value": "510683"
  24283. }], [{
  24284. "label": "涪城区",
  24285. "value": "510703"
  24286. }, {
  24287. "label": "游仙区",
  24288. "value": "510704"
  24289. }, {
  24290. "label": "安州区",
  24291. "value": "510705"
  24292. }, {
  24293. "label": "三台县",
  24294. "value": "510722"
  24295. }, {
  24296. "label": "盐亭县",
  24297. "value": "510723"
  24298. }, {
  24299. "label": "梓潼县",
  24300. "value": "510725"
  24301. }, {
  24302. "label": "北川羌族自治县",
  24303. "value": "510726"
  24304. }, {
  24305. "label": "平武县",
  24306. "value": "510727"
  24307. }, {
  24308. "label": "江油市",
  24309. "value": "510781"
  24310. }], [{
  24311. "label": "利州区",
  24312. "value": "510802"
  24313. }, {
  24314. "label": "昭化区",
  24315. "value": "510811"
  24316. }, {
  24317. "label": "朝天区",
  24318. "value": "510812"
  24319. }, {
  24320. "label": "旺苍县",
  24321. "value": "510821"
  24322. }, {
  24323. "label": "青川县",
  24324. "value": "510822"
  24325. }, {
  24326. "label": "剑阁县",
  24327. "value": "510823"
  24328. }, {
  24329. "label": "苍溪县",
  24330. "value": "510824"
  24331. }], [{
  24332. "label": "船山区",
  24333. "value": "510903"
  24334. }, {
  24335. "label": "安居区",
  24336. "value": "510904"
  24337. }, {
  24338. "label": "蓬溪县",
  24339. "value": "510921"
  24340. }, {
  24341. "label": "射洪县",
  24342. "value": "510922"
  24343. }, {
  24344. "label": "大英县",
  24345. "value": "510923"
  24346. }], [{
  24347. "label": "市中区",
  24348. "value": "511002"
  24349. }, {
  24350. "label": "东兴区",
  24351. "value": "511011"
  24352. }, {
  24353. "label": "威远县",
  24354. "value": "511024"
  24355. }, {
  24356. "label": "资中县",
  24357. "value": "511025"
  24358. }, {
  24359. "label": "内江经济开发区",
  24360. "value": "511071"
  24361. }, {
  24362. "label": "隆昌市",
  24363. "value": "511083"
  24364. }], [{
  24365. "label": "市中区",
  24366. "value": "511102"
  24367. }, {
  24368. "label": "沙湾区",
  24369. "value": "511111"
  24370. }, {
  24371. "label": "五通桥区",
  24372. "value": "511112"
  24373. }, {
  24374. "label": "金口河区",
  24375. "value": "511113"
  24376. }, {
  24377. "label": "犍为县",
  24378. "value": "511123"
  24379. }, {
  24380. "label": "井研县",
  24381. "value": "511124"
  24382. }, {
  24383. "label": "夹江县",
  24384. "value": "511126"
  24385. }, {
  24386. "label": "沐川县",
  24387. "value": "511129"
  24388. }, {
  24389. "label": "峨边彝族自治县",
  24390. "value": "511132"
  24391. }, {
  24392. "label": "马边彝族自治县",
  24393. "value": "511133"
  24394. }, {
  24395. "label": "峨眉山市",
  24396. "value": "511181"
  24397. }], [{
  24398. "label": "顺庆区",
  24399. "value": "511302"
  24400. }, {
  24401. "label": "高坪区",
  24402. "value": "511303"
  24403. }, {
  24404. "label": "嘉陵区",
  24405. "value": "511304"
  24406. }, {
  24407. "label": "南部县",
  24408. "value": "511321"
  24409. }, {
  24410. "label": "营山县",
  24411. "value": "511322"
  24412. }, {
  24413. "label": "蓬安县",
  24414. "value": "511323"
  24415. }, {
  24416. "label": "仪陇县",
  24417. "value": "511324"
  24418. }, {
  24419. "label": "西充县",
  24420. "value": "511325"
  24421. }, {
  24422. "label": "阆中市",
  24423. "value": "511381"
  24424. }], [{
  24425. "label": "东坡区",
  24426. "value": "511402"
  24427. }, {
  24428. "label": "彭山区",
  24429. "value": "511403"
  24430. }, {
  24431. "label": "仁寿县",
  24432. "value": "511421"
  24433. }, {
  24434. "label": "洪雅县",
  24435. "value": "511423"
  24436. }, {
  24437. "label": "丹棱县",
  24438. "value": "511424"
  24439. }, {
  24440. "label": "青神县",
  24441. "value": "511425"
  24442. }], [{
  24443. "label": "翠屏区",
  24444. "value": "511502"
  24445. }, {
  24446. "label": "南溪区",
  24447. "value": "511503"
  24448. }, {
  24449. "label": "宜宾县",
  24450. "value": "511521"
  24451. }, {
  24452. "label": "江安县",
  24453. "value": "511523"
  24454. }, {
  24455. "label": "长宁县",
  24456. "value": "511524"
  24457. }, {
  24458. "label": "高县",
  24459. "value": "511525"
  24460. }, {
  24461. "label": "珙县",
  24462. "value": "511526"
  24463. }, {
  24464. "label": "筠连县",
  24465. "value": "511527"
  24466. }, {
  24467. "label": "兴文县",
  24468. "value": "511528"
  24469. }, {
  24470. "label": "屏山县",
  24471. "value": "511529"
  24472. }], [{
  24473. "label": "广安区",
  24474. "value": "511602"
  24475. }, {
  24476. "label": "前锋区",
  24477. "value": "511603"
  24478. }, {
  24479. "label": "岳池县",
  24480. "value": "511621"
  24481. }, {
  24482. "label": "武胜县",
  24483. "value": "511622"
  24484. }, {
  24485. "label": "邻水县",
  24486. "value": "511623"
  24487. }, {
  24488. "label": "华蓥市",
  24489. "value": "511681"
  24490. }], [{
  24491. "label": "通川区",
  24492. "value": "511702"
  24493. }, {
  24494. "label": "达川区",
  24495. "value": "511703"
  24496. }, {
  24497. "label": "宣汉县",
  24498. "value": "511722"
  24499. }, {
  24500. "label": "开江县",
  24501. "value": "511723"
  24502. }, {
  24503. "label": "大竹县",
  24504. "value": "511724"
  24505. }, {
  24506. "label": "渠县",
  24507. "value": "511725"
  24508. }, {
  24509. "label": "达州经济开发区",
  24510. "value": "511771"
  24511. }, {
  24512. "label": "万源市",
  24513. "value": "511781"
  24514. }], [{
  24515. "label": "雨城区",
  24516. "value": "511802"
  24517. }, {
  24518. "label": "名山区",
  24519. "value": "511803"
  24520. }, {
  24521. "label": "荥经县",
  24522. "value": "511822"
  24523. }, {
  24524. "label": "汉源县",
  24525. "value": "511823"
  24526. }, {
  24527. "label": "石棉县",
  24528. "value": "511824"
  24529. }, {
  24530. "label": "天全县",
  24531. "value": "511825"
  24532. }, {
  24533. "label": "芦山县",
  24534. "value": "511826"
  24535. }, {
  24536. "label": "宝兴县",
  24537. "value": "511827"
  24538. }], [{
  24539. "label": "巴州区",
  24540. "value": "511902"
  24541. }, {
  24542. "label": "恩阳区",
  24543. "value": "511903"
  24544. }, {
  24545. "label": "通江县",
  24546. "value": "511921"
  24547. }, {
  24548. "label": "南江县",
  24549. "value": "511922"
  24550. }, {
  24551. "label": "平昌县",
  24552. "value": "511923"
  24553. }, {
  24554. "label": "巴中经济开发区",
  24555. "value": "511971"
  24556. }], [{
  24557. "label": "雁江区",
  24558. "value": "512002"
  24559. }, {
  24560. "label": "安岳县",
  24561. "value": "512021"
  24562. }, {
  24563. "label": "乐至县",
  24564. "value": "512022"
  24565. }], [{
  24566. "label": "马尔康市",
  24567. "value": "513201"
  24568. }, {
  24569. "label": "汶川县",
  24570. "value": "513221"
  24571. }, {
  24572. "label": "理县",
  24573. "value": "513222"
  24574. }, {
  24575. "label": "茂县",
  24576. "value": "513223"
  24577. }, {
  24578. "label": "松潘县",
  24579. "value": "513224"
  24580. }, {
  24581. "label": "九寨沟县",
  24582. "value": "513225"
  24583. }, {
  24584. "label": "金川县",
  24585. "value": "513226"
  24586. }, {
  24587. "label": "小金县",
  24588. "value": "513227"
  24589. }, {
  24590. "label": "黑水县",
  24591. "value": "513228"
  24592. }, {
  24593. "label": "壤塘县",
  24594. "value": "513230"
  24595. }, {
  24596. "label": "阿坝县",
  24597. "value": "513231"
  24598. }, {
  24599. "label": "若尔盖县",
  24600. "value": "513232"
  24601. }, {
  24602. "label": "红原县",
  24603. "value": "513233"
  24604. }], [{
  24605. "label": "康定市",
  24606. "value": "513301"
  24607. }, {
  24608. "label": "泸定县",
  24609. "value": "513322"
  24610. }, {
  24611. "label": "丹巴县",
  24612. "value": "513323"
  24613. }, {
  24614. "label": "九龙县",
  24615. "value": "513324"
  24616. }, {
  24617. "label": "雅江县",
  24618. "value": "513325"
  24619. }, {
  24620. "label": "道孚县",
  24621. "value": "513326"
  24622. }, {
  24623. "label": "炉霍县",
  24624. "value": "513327"
  24625. }, {
  24626. "label": "甘孜县",
  24627. "value": "513328"
  24628. }, {
  24629. "label": "新龙县",
  24630. "value": "513329"
  24631. }, {
  24632. "label": "德格县",
  24633. "value": "513330"
  24634. }, {
  24635. "label": "白玉县",
  24636. "value": "513331"
  24637. }, {
  24638. "label": "石渠县",
  24639. "value": "513332"
  24640. }, {
  24641. "label": "色达县",
  24642. "value": "513333"
  24643. }, {
  24644. "label": "理塘县",
  24645. "value": "513334"
  24646. }, {
  24647. "label": "巴塘县",
  24648. "value": "513335"
  24649. }, {
  24650. "label": "乡城县",
  24651. "value": "513336"
  24652. }, {
  24653. "label": "稻城县",
  24654. "value": "513337"
  24655. }, {
  24656. "label": "得荣县",
  24657. "value": "513338"
  24658. }], [{
  24659. "label": "西昌市",
  24660. "value": "513401"
  24661. }, {
  24662. "label": "木里藏族自治县",
  24663. "value": "513422"
  24664. }, {
  24665. "label": "盐源县",
  24666. "value": "513423"
  24667. }, {
  24668. "label": "德昌县",
  24669. "value": "513424"
  24670. }, {
  24671. "label": "会理县",
  24672. "value": "513425"
  24673. }, {
  24674. "label": "会东县",
  24675. "value": "513426"
  24676. }, {
  24677. "label": "宁南县",
  24678. "value": "513427"
  24679. }, {
  24680. "label": "普格县",
  24681. "value": "513428"
  24682. }, {
  24683. "label": "布拖县",
  24684. "value": "513429"
  24685. }, {
  24686. "label": "金阳县",
  24687. "value": "513430"
  24688. }, {
  24689. "label": "昭觉县",
  24690. "value": "513431"
  24691. }, {
  24692. "label": "喜德县",
  24693. "value": "513432"
  24694. }, {
  24695. "label": "冕宁县",
  24696. "value": "513433"
  24697. }, {
  24698. "label": "越西县",
  24699. "value": "513434"
  24700. }, {
  24701. "label": "甘洛县",
  24702. "value": "513435"
  24703. }, {
  24704. "label": "美姑县",
  24705. "value": "513436"
  24706. }, {
  24707. "label": "雷波县",
  24708. "value": "513437"
  24709. }]], [[{
  24710. "label": "南明区",
  24711. "value": "520102"
  24712. }, {
  24713. "label": "云岩区",
  24714. "value": "520103"
  24715. }, {
  24716. "label": "花溪区",
  24717. "value": "520111"
  24718. }, {
  24719. "label": "乌当区",
  24720. "value": "520112"
  24721. }, {
  24722. "label": "白云区",
  24723. "value": "520113"
  24724. }, {
  24725. "label": "观山湖区",
  24726. "value": "520115"
  24727. }, {
  24728. "label": "开阳县",
  24729. "value": "520121"
  24730. }, {
  24731. "label": "息烽县",
  24732. "value": "520122"
  24733. }, {
  24734. "label": "修文县",
  24735. "value": "520123"
  24736. }, {
  24737. "label": "清镇市",
  24738. "value": "520181"
  24739. }], [{
  24740. "label": "钟山区",
  24741. "value": "520201"
  24742. }, {
  24743. "label": "六枝特区",
  24744. "value": "520203"
  24745. }, {
  24746. "label": "水城县",
  24747. "value": "520221"
  24748. }, {
  24749. "label": "盘州市",
  24750. "value": "520281"
  24751. }], [{
  24752. "label": "红花岗区",
  24753. "value": "520302"
  24754. }, {
  24755. "label": "汇川区",
  24756. "value": "520303"
  24757. }, {
  24758. "label": "播州区",
  24759. "value": "520304"
  24760. }, {
  24761. "label": "桐梓县",
  24762. "value": "520322"
  24763. }, {
  24764. "label": "绥阳县",
  24765. "value": "520323"
  24766. }, {
  24767. "label": "正安县",
  24768. "value": "520324"
  24769. }, {
  24770. "label": "道真仡佬族苗族自治县",
  24771. "value": "520325"
  24772. }, {
  24773. "label": "务川仡佬族苗族自治县",
  24774. "value": "520326"
  24775. }, {
  24776. "label": "凤冈县",
  24777. "value": "520327"
  24778. }, {
  24779. "label": "湄潭县",
  24780. "value": "520328"
  24781. }, {
  24782. "label": "余庆县",
  24783. "value": "520329"
  24784. }, {
  24785. "label": "习水县",
  24786. "value": "520330"
  24787. }, {
  24788. "label": "赤水市",
  24789. "value": "520381"
  24790. }, {
  24791. "label": "仁怀市",
  24792. "value": "520382"
  24793. }], [{
  24794. "label": "西秀区",
  24795. "value": "520402"
  24796. }, {
  24797. "label": "平坝区",
  24798. "value": "520403"
  24799. }, {
  24800. "label": "普定县",
  24801. "value": "520422"
  24802. }, {
  24803. "label": "镇宁布依族苗族自治县",
  24804. "value": "520423"
  24805. }, {
  24806. "label": "关岭布依族苗族自治县",
  24807. "value": "520424"
  24808. }, {
  24809. "label": "紫云苗族布依族自治县",
  24810. "value": "520425"
  24811. }], [{
  24812. "label": "七星关区",
  24813. "value": "520502"
  24814. }, {
  24815. "label": "大方县",
  24816. "value": "520521"
  24817. }, {
  24818. "label": "黔西县",
  24819. "value": "520522"
  24820. }, {
  24821. "label": "金沙县",
  24822. "value": "520523"
  24823. }, {
  24824. "label": "织金县",
  24825. "value": "520524"
  24826. }, {
  24827. "label": "纳雍县",
  24828. "value": "520525"
  24829. }, {
  24830. "label": "威宁彝族回族苗族自治县",
  24831. "value": "520526"
  24832. }, {
  24833. "label": "赫章县",
  24834. "value": "520527"
  24835. }], [{
  24836. "label": "碧江区",
  24837. "value": "520602"
  24838. }, {
  24839. "label": "万山区",
  24840. "value": "520603"
  24841. }, {
  24842. "label": "江口县",
  24843. "value": "520621"
  24844. }, {
  24845. "label": "玉屏侗族自治县",
  24846. "value": "520622"
  24847. }, {
  24848. "label": "石阡县",
  24849. "value": "520623"
  24850. }, {
  24851. "label": "思南县",
  24852. "value": "520624"
  24853. }, {
  24854. "label": "印江土家族苗族自治县",
  24855. "value": "520625"
  24856. }, {
  24857. "label": "德江县",
  24858. "value": "520626"
  24859. }, {
  24860. "label": "沿河土家族自治县",
  24861. "value": "520627"
  24862. }, {
  24863. "label": "松桃苗族自治县",
  24864. "value": "520628"
  24865. }], [{
  24866. "label": "兴义市",
  24867. "value": "522301"
  24868. }, {
  24869. "label": "兴仁县",
  24870. "value": "522322"
  24871. }, {
  24872. "label": "普安县",
  24873. "value": "522323"
  24874. }, {
  24875. "label": "晴隆县",
  24876. "value": "522324"
  24877. }, {
  24878. "label": "贞丰县",
  24879. "value": "522325"
  24880. }, {
  24881. "label": "望谟县",
  24882. "value": "522326"
  24883. }, {
  24884. "label": "册亨县",
  24885. "value": "522327"
  24886. }, {
  24887. "label": "安龙县",
  24888. "value": "522328"
  24889. }], [{
  24890. "label": "凯里市",
  24891. "value": "522601"
  24892. }, {
  24893. "label": "黄平县",
  24894. "value": "522622"
  24895. }, {
  24896. "label": "施秉县",
  24897. "value": "522623"
  24898. }, {
  24899. "label": "三穗县",
  24900. "value": "522624"
  24901. }, {
  24902. "label": "镇远县",
  24903. "value": "522625"
  24904. }, {
  24905. "label": "岑巩县",
  24906. "value": "522626"
  24907. }, {
  24908. "label": "天柱县",
  24909. "value": "522627"
  24910. }, {
  24911. "label": "锦屏县",
  24912. "value": "522628"
  24913. }, {
  24914. "label": "剑河县",
  24915. "value": "522629"
  24916. }, {
  24917. "label": "台江县",
  24918. "value": "522630"
  24919. }, {
  24920. "label": "黎平县",
  24921. "value": "522631"
  24922. }, {
  24923. "label": "榕江县",
  24924. "value": "522632"
  24925. }, {
  24926. "label": "从江县",
  24927. "value": "522633"
  24928. }, {
  24929. "label": "雷山县",
  24930. "value": "522634"
  24931. }, {
  24932. "label": "麻江县",
  24933. "value": "522635"
  24934. }, {
  24935. "label": "丹寨县",
  24936. "value": "522636"
  24937. }], [{
  24938. "label": "都匀市",
  24939. "value": "522701"
  24940. }, {
  24941. "label": "福泉市",
  24942. "value": "522702"
  24943. }, {
  24944. "label": "荔波县",
  24945. "value": "522722"
  24946. }, {
  24947. "label": "贵定县",
  24948. "value": "522723"
  24949. }, {
  24950. "label": "瓮安县",
  24951. "value": "522725"
  24952. }, {
  24953. "label": "独山县",
  24954. "value": "522726"
  24955. }, {
  24956. "label": "平塘县",
  24957. "value": "522727"
  24958. }, {
  24959. "label": "罗甸县",
  24960. "value": "522728"
  24961. }, {
  24962. "label": "长顺县",
  24963. "value": "522729"
  24964. }, {
  24965. "label": "龙里县",
  24966. "value": "522730"
  24967. }, {
  24968. "label": "惠水县",
  24969. "value": "522731"
  24970. }, {
  24971. "label": "三都水族自治县",
  24972. "value": "522732"
  24973. }]], [[{
  24974. "label": "五华区",
  24975. "value": "530102"
  24976. }, {
  24977. "label": "盘龙区",
  24978. "value": "530103"
  24979. }, {
  24980. "label": "官渡区",
  24981. "value": "530111"
  24982. }, {
  24983. "label": "西山区",
  24984. "value": "530112"
  24985. }, {
  24986. "label": "东川区",
  24987. "value": "530113"
  24988. }, {
  24989. "label": "呈贡区",
  24990. "value": "530114"
  24991. }, {
  24992. "label": "晋宁区",
  24993. "value": "530115"
  24994. }, {
  24995. "label": "富民县",
  24996. "value": "530124"
  24997. }, {
  24998. "label": "宜良县",
  24999. "value": "530125"
  25000. }, {
  25001. "label": "石林彝族自治县",
  25002. "value": "530126"
  25003. }, {
  25004. "label": "嵩明县",
  25005. "value": "530127"
  25006. }, {
  25007. "label": "禄劝彝族苗族自治县",
  25008. "value": "530128"
  25009. }, {
  25010. "label": "寻甸回族彝族自治县",
  25011. "value": "530129"
  25012. }, {
  25013. "label": "安宁市",
  25014. "value": "530181"
  25015. }], [{
  25016. "label": "麒麟区",
  25017. "value": "530302"
  25018. }, {
  25019. "label": "沾益区",
  25020. "value": "530303"
  25021. }, {
  25022. "label": "马龙县",
  25023. "value": "530321"
  25024. }, {
  25025. "label": "陆良县",
  25026. "value": "530322"
  25027. }, {
  25028. "label": "师宗县",
  25029. "value": "530323"
  25030. }, {
  25031. "label": "罗平县",
  25032. "value": "530324"
  25033. }, {
  25034. "label": "富源县",
  25035. "value": "530325"
  25036. }, {
  25037. "label": "会泽县",
  25038. "value": "530326"
  25039. }, {
  25040. "label": "宣威市",
  25041. "value": "530381"
  25042. }], [{
  25043. "label": "红塔区",
  25044. "value": "530402"
  25045. }, {
  25046. "label": "江川区",
  25047. "value": "530403"
  25048. }, {
  25049. "label": "澄江县",
  25050. "value": "530422"
  25051. }, {
  25052. "label": "通海县",
  25053. "value": "530423"
  25054. }, {
  25055. "label": "华宁县",
  25056. "value": "530424"
  25057. }, {
  25058. "label": "易门县",
  25059. "value": "530425"
  25060. }, {
  25061. "label": "峨山彝族自治县",
  25062. "value": "530426"
  25063. }, {
  25064. "label": "新平彝族傣族自治县",
  25065. "value": "530427"
  25066. }, {
  25067. "label": "元江哈尼族彝族傣族自治县",
  25068. "value": "530428"
  25069. }], [{
  25070. "label": "隆阳区",
  25071. "value": "530502"
  25072. }, {
  25073. "label": "施甸县",
  25074. "value": "530521"
  25075. }, {
  25076. "label": "龙陵县",
  25077. "value": "530523"
  25078. }, {
  25079. "label": "昌宁县",
  25080. "value": "530524"
  25081. }, {
  25082. "label": "腾冲市",
  25083. "value": "530581"
  25084. }], [{
  25085. "label": "昭阳区",
  25086. "value": "530602"
  25087. }, {
  25088. "label": "鲁甸县",
  25089. "value": "530621"
  25090. }, {
  25091. "label": "巧家县",
  25092. "value": "530622"
  25093. }, {
  25094. "label": "盐津县",
  25095. "value": "530623"
  25096. }, {
  25097. "label": "大关县",
  25098. "value": "530624"
  25099. }, {
  25100. "label": "永善县",
  25101. "value": "530625"
  25102. }, {
  25103. "label": "绥江县",
  25104. "value": "530626"
  25105. }, {
  25106. "label": "镇雄县",
  25107. "value": "530627"
  25108. }, {
  25109. "label": "彝良县",
  25110. "value": "530628"
  25111. }, {
  25112. "label": "威信县",
  25113. "value": "530629"
  25114. }, {
  25115. "label": "水富县",
  25116. "value": "530630"
  25117. }], [{
  25118. "label": "古城区",
  25119. "value": "530702"
  25120. }, {
  25121. "label": "玉龙纳西族自治县",
  25122. "value": "530721"
  25123. }, {
  25124. "label": "永胜县",
  25125. "value": "530722"
  25126. }, {
  25127. "label": "华坪县",
  25128. "value": "530723"
  25129. }, {
  25130. "label": "宁蒗彝族自治县",
  25131. "value": "530724"
  25132. }], [{
  25133. "label": "思茅区",
  25134. "value": "530802"
  25135. }, {
  25136. "label": "宁洱哈尼族彝族自治县",
  25137. "value": "530821"
  25138. }, {
  25139. "label": "墨江哈尼族自治县",
  25140. "value": "530822"
  25141. }, {
  25142. "label": "景东彝族自治县",
  25143. "value": "530823"
  25144. }, {
  25145. "label": "景谷傣族彝族自治县",
  25146. "value": "530824"
  25147. }, {
  25148. "label": "镇沅彝族哈尼族拉祜族自治县",
  25149. "value": "530825"
  25150. }, {
  25151. "label": "江城哈尼族彝族自治县",
  25152. "value": "530826"
  25153. }, {
  25154. "label": "孟连傣族拉祜族佤族自治县",
  25155. "value": "530827"
  25156. }, {
  25157. "label": "澜沧拉祜族自治县",
  25158. "value": "530828"
  25159. }, {
  25160. "label": "西盟佤族自治县",
  25161. "value": "530829"
  25162. }], [{
  25163. "label": "临翔区",
  25164. "value": "530902"
  25165. }, {
  25166. "label": "凤庆县",
  25167. "value": "530921"
  25168. }, {
  25169. "label": "云县",
  25170. "value": "530922"
  25171. }, {
  25172. "label": "永德县",
  25173. "value": "530923"
  25174. }, {
  25175. "label": "镇康县",
  25176. "value": "530924"
  25177. }, {
  25178. "label": "双江拉祜族佤族布朗族傣族自治县",
  25179. "value": "530925"
  25180. }, {
  25181. "label": "耿马傣族佤族自治县",
  25182. "value": "530926"
  25183. }, {
  25184. "label": "沧源佤族自治县",
  25185. "value": "530927"
  25186. }], [{
  25187. "label": "楚雄市",
  25188. "value": "532301"
  25189. }, {
  25190. "label": "双柏县",
  25191. "value": "532322"
  25192. }, {
  25193. "label": "牟定县",
  25194. "value": "532323"
  25195. }, {
  25196. "label": "南华县",
  25197. "value": "532324"
  25198. }, {
  25199. "label": "姚安县",
  25200. "value": "532325"
  25201. }, {
  25202. "label": "大姚县",
  25203. "value": "532326"
  25204. }, {
  25205. "label": "永仁县",
  25206. "value": "532327"
  25207. }, {
  25208. "label": "元谋县",
  25209. "value": "532328"
  25210. }, {
  25211. "label": "武定县",
  25212. "value": "532329"
  25213. }, {
  25214. "label": "禄丰县",
  25215. "value": "532331"
  25216. }], [{
  25217. "label": "个旧市",
  25218. "value": "532501"
  25219. }, {
  25220. "label": "开远市",
  25221. "value": "532502"
  25222. }, {
  25223. "label": "蒙自市",
  25224. "value": "532503"
  25225. }, {
  25226. "label": "弥勒市",
  25227. "value": "532504"
  25228. }, {
  25229. "label": "屏边苗族自治县",
  25230. "value": "532523"
  25231. }, {
  25232. "label": "建水县",
  25233. "value": "532524"
  25234. }, {
  25235. "label": "石屏县",
  25236. "value": "532525"
  25237. }, {
  25238. "label": "泸西县",
  25239. "value": "532527"
  25240. }, {
  25241. "label": "元阳县",
  25242. "value": "532528"
  25243. }, {
  25244. "label": "红河县",
  25245. "value": "532529"
  25246. }, {
  25247. "label": "金平苗族瑶族傣族自治县",
  25248. "value": "532530"
  25249. }, {
  25250. "label": "绿春县",
  25251. "value": "532531"
  25252. }, {
  25253. "label": "河口瑶族自治县",
  25254. "value": "532532"
  25255. }], [{
  25256. "label": "文山市",
  25257. "value": "532601"
  25258. }, {
  25259. "label": "砚山县",
  25260. "value": "532622"
  25261. }, {
  25262. "label": "西畴县",
  25263. "value": "532623"
  25264. }, {
  25265. "label": "麻栗坡县",
  25266. "value": "532624"
  25267. }, {
  25268. "label": "马关县",
  25269. "value": "532625"
  25270. }, {
  25271. "label": "丘北县",
  25272. "value": "532626"
  25273. }, {
  25274. "label": "广南县",
  25275. "value": "532627"
  25276. }, {
  25277. "label": "富宁县",
  25278. "value": "532628"
  25279. }], [{
  25280. "label": "景洪市",
  25281. "value": "532801"
  25282. }, {
  25283. "label": "勐海县",
  25284. "value": "532822"
  25285. }, {
  25286. "label": "勐腊县",
  25287. "value": "532823"
  25288. }], [{
  25289. "label": "大理市",
  25290. "value": "532901"
  25291. }, {
  25292. "label": "漾濞彝族自治县",
  25293. "value": "532922"
  25294. }, {
  25295. "label": "祥云县",
  25296. "value": "532923"
  25297. }, {
  25298. "label": "宾川县",
  25299. "value": "532924"
  25300. }, {
  25301. "label": "弥渡县",
  25302. "value": "532925"
  25303. }, {
  25304. "label": "南涧彝族自治县",
  25305. "value": "532926"
  25306. }, {
  25307. "label": "巍山彝族回族自治县",
  25308. "value": "532927"
  25309. }, {
  25310. "label": "永平县",
  25311. "value": "532928"
  25312. }, {
  25313. "label": "云龙县",
  25314. "value": "532929"
  25315. }, {
  25316. "label": "洱源县",
  25317. "value": "532930"
  25318. }, {
  25319. "label": "剑川县",
  25320. "value": "532931"
  25321. }, {
  25322. "label": "鹤庆县",
  25323. "value": "532932"
  25324. }], [{
  25325. "label": "瑞丽市",
  25326. "value": "533102"
  25327. }, {
  25328. "label": "芒市",
  25329. "value": "533103"
  25330. }, {
  25331. "label": "梁河县",
  25332. "value": "533122"
  25333. }, {
  25334. "label": "盈江县",
  25335. "value": "533123"
  25336. }, {
  25337. "label": "陇川县",
  25338. "value": "533124"
  25339. }], [{
  25340. "label": "泸水市",
  25341. "value": "533301"
  25342. }, {
  25343. "label": "福贡县",
  25344. "value": "533323"
  25345. }, {
  25346. "label": "贡山独龙族怒族自治县",
  25347. "value": "533324"
  25348. }, {
  25349. "label": "兰坪白族普米族自治县",
  25350. "value": "533325"
  25351. }], [{
  25352. "label": "香格里拉市",
  25353. "value": "533401"
  25354. }, {
  25355. "label": "德钦县",
  25356. "value": "533422"
  25357. }, {
  25358. "label": "维西傈僳族自治县",
  25359. "value": "533423"
  25360. }]], [[{
  25361. "label": "城关区",
  25362. "value": "540102"
  25363. }, {
  25364. "label": "堆龙德庆区",
  25365. "value": "540103"
  25366. }, {
  25367. "label": "林周县",
  25368. "value": "540121"
  25369. }, {
  25370. "label": "当雄县",
  25371. "value": "540122"
  25372. }, {
  25373. "label": "尼木县",
  25374. "value": "540123"
  25375. }, {
  25376. "label": "曲水县",
  25377. "value": "540124"
  25378. }, {
  25379. "label": "达孜县",
  25380. "value": "540126"
  25381. }, {
  25382. "label": "墨竹工卡县",
  25383. "value": "540127"
  25384. }, {
  25385. "label": "格尔木藏青工业园区",
  25386. "value": "540171"
  25387. }, {
  25388. "label": "拉萨经济技术开发区",
  25389. "value": "540172"
  25390. }, {
  25391. "label": "西藏文化旅游创意园区",
  25392. "value": "540173"
  25393. }, {
  25394. "label": "达孜工业园区",
  25395. "value": "540174"
  25396. }], [{
  25397. "label": "桑珠孜区",
  25398. "value": "540202"
  25399. }, {
  25400. "label": "南木林县",
  25401. "value": "540221"
  25402. }, {
  25403. "label": "江孜县",
  25404. "value": "540222"
  25405. }, {
  25406. "label": "定日县",
  25407. "value": "540223"
  25408. }, {
  25409. "label": "萨迦县",
  25410. "value": "540224"
  25411. }, {
  25412. "label": "拉孜县",
  25413. "value": "540225"
  25414. }, {
  25415. "label": "昂仁县",
  25416. "value": "540226"
  25417. }, {
  25418. "label": "谢通门县",
  25419. "value": "540227"
  25420. }, {
  25421. "label": "白朗县",
  25422. "value": "540228"
  25423. }, {
  25424. "label": "仁布县",
  25425. "value": "540229"
  25426. }, {
  25427. "label": "康马县",
  25428. "value": "540230"
  25429. }, {
  25430. "label": "定结县",
  25431. "value": "540231"
  25432. }, {
  25433. "label": "仲巴县",
  25434. "value": "540232"
  25435. }, {
  25436. "label": "亚东县",
  25437. "value": "540233"
  25438. }, {
  25439. "label": "吉隆县",
  25440. "value": "540234"
  25441. }, {
  25442. "label": "聂拉木县",
  25443. "value": "540235"
  25444. }, {
  25445. "label": "萨嘎县",
  25446. "value": "540236"
  25447. }, {
  25448. "label": "岗巴县",
  25449. "value": "540237"
  25450. }], [{
  25451. "label": "卡若区",
  25452. "value": "540302"
  25453. }, {
  25454. "label": "江达县",
  25455. "value": "540321"
  25456. }, {
  25457. "label": "贡觉县",
  25458. "value": "540322"
  25459. }, {
  25460. "label": "类乌齐县",
  25461. "value": "540323"
  25462. }, {
  25463. "label": "丁青县",
  25464. "value": "540324"
  25465. }, {
  25466. "label": "察雅县",
  25467. "value": "540325"
  25468. }, {
  25469. "label": "八宿县",
  25470. "value": "540326"
  25471. }, {
  25472. "label": "左贡县",
  25473. "value": "540327"
  25474. }, {
  25475. "label": "芒康县",
  25476. "value": "540328"
  25477. }, {
  25478. "label": "洛隆县",
  25479. "value": "540329"
  25480. }, {
  25481. "label": "边坝县",
  25482. "value": "540330"
  25483. }], [{
  25484. "label": "巴宜区",
  25485. "value": "540402"
  25486. }, {
  25487. "label": "工布江达县",
  25488. "value": "540421"
  25489. }, {
  25490. "label": "米林县",
  25491. "value": "540422"
  25492. }, {
  25493. "label": "墨脱县",
  25494. "value": "540423"
  25495. }, {
  25496. "label": "波密县",
  25497. "value": "540424"
  25498. }, {
  25499. "label": "察隅县",
  25500. "value": "540425"
  25501. }, {
  25502. "label": "朗县",
  25503. "value": "540426"
  25504. }], [{
  25505. "label": "乃东区",
  25506. "value": "540502"
  25507. }, {
  25508. "label": "扎囊县",
  25509. "value": "540521"
  25510. }, {
  25511. "label": "贡嘎县",
  25512. "value": "540522"
  25513. }, {
  25514. "label": "桑日县",
  25515. "value": "540523"
  25516. }, {
  25517. "label": "琼结县",
  25518. "value": "540524"
  25519. }, {
  25520. "label": "曲松县",
  25521. "value": "540525"
  25522. }, {
  25523. "label": "措美县",
  25524. "value": "540526"
  25525. }, {
  25526. "label": "洛扎县",
  25527. "value": "540527"
  25528. }, {
  25529. "label": "加查县",
  25530. "value": "540528"
  25531. }, {
  25532. "label": "隆子县",
  25533. "value": "540529"
  25534. }, {
  25535. "label": "错那县",
  25536. "value": "540530"
  25537. }, {
  25538. "label": "浪卡子县",
  25539. "value": "540531"
  25540. }], [{
  25541. "label": "那曲县",
  25542. "value": "542421"
  25543. }, {
  25544. "label": "嘉黎县",
  25545. "value": "542422"
  25546. }, {
  25547. "label": "比如县",
  25548. "value": "542423"
  25549. }, {
  25550. "label": "聂荣县",
  25551. "value": "542424"
  25552. }, {
  25553. "label": "安多县",
  25554. "value": "542425"
  25555. }, {
  25556. "label": "申扎县",
  25557. "value": "542426"
  25558. }, {
  25559. "label": "索县",
  25560. "value": "542427"
  25561. }, {
  25562. "label": "班戈县",
  25563. "value": "542428"
  25564. }, {
  25565. "label": "巴青县",
  25566. "value": "542429"
  25567. }, {
  25568. "label": "尼玛县",
  25569. "value": "542430"
  25570. }, {
  25571. "label": "双湖县",
  25572. "value": "542431"
  25573. }], [{
  25574. "label": "普兰县",
  25575. "value": "542521"
  25576. }, {
  25577. "label": "札达县",
  25578. "value": "542522"
  25579. }, {
  25580. "label": "噶尔县",
  25581. "value": "542523"
  25582. }, {
  25583. "label": "日土县",
  25584. "value": "542524"
  25585. }, {
  25586. "label": "革吉县",
  25587. "value": "542525"
  25588. }, {
  25589. "label": "改则县",
  25590. "value": "542526"
  25591. }, {
  25592. "label": "措勤县",
  25593. "value": "542527"
  25594. }]], [[{
  25595. "label": "新城区",
  25596. "value": "610102"
  25597. }, {
  25598. "label": "碑林区",
  25599. "value": "610103"
  25600. }, {
  25601. "label": "莲湖区",
  25602. "value": "610104"
  25603. }, {
  25604. "label": "灞桥区",
  25605. "value": "610111"
  25606. }, {
  25607. "label": "未央区",
  25608. "value": "610112"
  25609. }, {
  25610. "label": "雁塔区",
  25611. "value": "610113"
  25612. }, {
  25613. "label": "阎良区",
  25614. "value": "610114"
  25615. }, {
  25616. "label": "临潼区",
  25617. "value": "610115"
  25618. }, {
  25619. "label": "长安区",
  25620. "value": "610116"
  25621. }, {
  25622. "label": "高陵区",
  25623. "value": "610117"
  25624. }, {
  25625. "label": "鄠邑区",
  25626. "value": "610118"
  25627. }, {
  25628. "label": "蓝田县",
  25629. "value": "610122"
  25630. }, {
  25631. "label": "周至县",
  25632. "value": "610124"
  25633. }], [{
  25634. "label": "王益区",
  25635. "value": "610202"
  25636. }, {
  25637. "label": "印台区",
  25638. "value": "610203"
  25639. }, {
  25640. "label": "耀州区",
  25641. "value": "610204"
  25642. }, {
  25643. "label": "宜君县",
  25644. "value": "610222"
  25645. }], [{
  25646. "label": "渭滨区",
  25647. "value": "610302"
  25648. }, {
  25649. "label": "金台区",
  25650. "value": "610303"
  25651. }, {
  25652. "label": "陈仓区",
  25653. "value": "610304"
  25654. }, {
  25655. "label": "凤翔县",
  25656. "value": "610322"
  25657. }, {
  25658. "label": "岐山县",
  25659. "value": "610323"
  25660. }, {
  25661. "label": "扶风县",
  25662. "value": "610324"
  25663. }, {
  25664. "label": "眉县",
  25665. "value": "610326"
  25666. }, {
  25667. "label": "陇县",
  25668. "value": "610327"
  25669. }, {
  25670. "label": "千阳县",
  25671. "value": "610328"
  25672. }, {
  25673. "label": "麟游县",
  25674. "value": "610329"
  25675. }, {
  25676. "label": "凤县",
  25677. "value": "610330"
  25678. }, {
  25679. "label": "太白县",
  25680. "value": "610331"
  25681. }], [{
  25682. "label": "秦都区",
  25683. "value": "610402"
  25684. }, {
  25685. "label": "杨陵区",
  25686. "value": "610403"
  25687. }, {
  25688. "label": "渭城区",
  25689. "value": "610404"
  25690. }, {
  25691. "label": "三原县",
  25692. "value": "610422"
  25693. }, {
  25694. "label": "泾阳县",
  25695. "value": "610423"
  25696. }, {
  25697. "label": "乾县",
  25698. "value": "610424"
  25699. }, {
  25700. "label": "礼泉县",
  25701. "value": "610425"
  25702. }, {
  25703. "label": "永寿县",
  25704. "value": "610426"
  25705. }, {
  25706. "label": "彬县",
  25707. "value": "610427"
  25708. }, {
  25709. "label": "长武县",
  25710. "value": "610428"
  25711. }, {
  25712. "label": "旬邑县",
  25713. "value": "610429"
  25714. }, {
  25715. "label": "淳化县",
  25716. "value": "610430"
  25717. }, {
  25718. "label": "武功县",
  25719. "value": "610431"
  25720. }, {
  25721. "label": "兴平市",
  25722. "value": "610481"
  25723. }], [{
  25724. "label": "临渭区",
  25725. "value": "610502"
  25726. }, {
  25727. "label": "华州区",
  25728. "value": "610503"
  25729. }, {
  25730. "label": "潼关县",
  25731. "value": "610522"
  25732. }, {
  25733. "label": "大荔县",
  25734. "value": "610523"
  25735. }, {
  25736. "label": "合阳县",
  25737. "value": "610524"
  25738. }, {
  25739. "label": "澄城县",
  25740. "value": "610525"
  25741. }, {
  25742. "label": "蒲城县",
  25743. "value": "610526"
  25744. }, {
  25745. "label": "白水县",
  25746. "value": "610527"
  25747. }, {
  25748. "label": "富平县",
  25749. "value": "610528"
  25750. }, {
  25751. "label": "韩城市",
  25752. "value": "610581"
  25753. }, {
  25754. "label": "华阴市",
  25755. "value": "610582"
  25756. }], [{
  25757. "label": "宝塔区",
  25758. "value": "610602"
  25759. }, {
  25760. "label": "安塞区",
  25761. "value": "610603"
  25762. }, {
  25763. "label": "延长县",
  25764. "value": "610621"
  25765. }, {
  25766. "label": "延川县",
  25767. "value": "610622"
  25768. }, {
  25769. "label": "子长县",
  25770. "value": "610623"
  25771. }, {
  25772. "label": "志丹县",
  25773. "value": "610625"
  25774. }, {
  25775. "label": "吴起县",
  25776. "value": "610626"
  25777. }, {
  25778. "label": "甘泉县",
  25779. "value": "610627"
  25780. }, {
  25781. "label": "富县",
  25782. "value": "610628"
  25783. }, {
  25784. "label": "洛川县",
  25785. "value": "610629"
  25786. }, {
  25787. "label": "宜川县",
  25788. "value": "610630"
  25789. }, {
  25790. "label": "黄龙县",
  25791. "value": "610631"
  25792. }, {
  25793. "label": "黄陵县",
  25794. "value": "610632"
  25795. }], [{
  25796. "label": "汉台区",
  25797. "value": "610702"
  25798. }, {
  25799. "label": "南郑区",
  25800. "value": "610703"
  25801. }, {
  25802. "label": "城固县",
  25803. "value": "610722"
  25804. }, {
  25805. "label": "洋县",
  25806. "value": "610723"
  25807. }, {
  25808. "label": "西乡县",
  25809. "value": "610724"
  25810. }, {
  25811. "label": "勉县",
  25812. "value": "610725"
  25813. }, {
  25814. "label": "宁强县",
  25815. "value": "610726"
  25816. }, {
  25817. "label": "略阳县",
  25818. "value": "610727"
  25819. }, {
  25820. "label": "镇巴县",
  25821. "value": "610728"
  25822. }, {
  25823. "label": "留坝县",
  25824. "value": "610729"
  25825. }, {
  25826. "label": "佛坪县",
  25827. "value": "610730"
  25828. }], [{
  25829. "label": "榆阳区",
  25830. "value": "610802"
  25831. }, {
  25832. "label": "横山区",
  25833. "value": "610803"
  25834. }, {
  25835. "label": "府谷县",
  25836. "value": "610822"
  25837. }, {
  25838. "label": "靖边县",
  25839. "value": "610824"
  25840. }, {
  25841. "label": "定边县",
  25842. "value": "610825"
  25843. }, {
  25844. "label": "绥德县",
  25845. "value": "610826"
  25846. }, {
  25847. "label": "米脂县",
  25848. "value": "610827"
  25849. }, {
  25850. "label": "佳县",
  25851. "value": "610828"
  25852. }, {
  25853. "label": "吴堡县",
  25854. "value": "610829"
  25855. }, {
  25856. "label": "清涧县",
  25857. "value": "610830"
  25858. }, {
  25859. "label": "子洲县",
  25860. "value": "610831"
  25861. }, {
  25862. "label": "神木市",
  25863. "value": "610881"
  25864. }], [{
  25865. "label": "汉滨区",
  25866. "value": "610902"
  25867. }, {
  25868. "label": "汉阴县",
  25869. "value": "610921"
  25870. }, {
  25871. "label": "石泉县",
  25872. "value": "610922"
  25873. }, {
  25874. "label": "宁陕县",
  25875. "value": "610923"
  25876. }, {
  25877. "label": "紫阳县",
  25878. "value": "610924"
  25879. }, {
  25880. "label": "岚皋县",
  25881. "value": "610925"
  25882. }, {
  25883. "label": "平利县",
  25884. "value": "610926"
  25885. }, {
  25886. "label": "镇坪县",
  25887. "value": "610927"
  25888. }, {
  25889. "label": "旬阳县",
  25890. "value": "610928"
  25891. }, {
  25892. "label": "白河县",
  25893. "value": "610929"
  25894. }], [{
  25895. "label": "商州区",
  25896. "value": "611002"
  25897. }, {
  25898. "label": "洛南县",
  25899. "value": "611021"
  25900. }, {
  25901. "label": "丹凤县",
  25902. "value": "611022"
  25903. }, {
  25904. "label": "商南县",
  25905. "value": "611023"
  25906. }, {
  25907. "label": "山阳县",
  25908. "value": "611024"
  25909. }, {
  25910. "label": "镇安县",
  25911. "value": "611025"
  25912. }, {
  25913. "label": "柞水县",
  25914. "value": "611026"
  25915. }]], [[{
  25916. "label": "城关区",
  25917. "value": "620102"
  25918. }, {
  25919. "label": "七里河区",
  25920. "value": "620103"
  25921. }, {
  25922. "label": "西固区",
  25923. "value": "620104"
  25924. }, {
  25925. "label": "安宁区",
  25926. "value": "620105"
  25927. }, {
  25928. "label": "红古区",
  25929. "value": "620111"
  25930. }, {
  25931. "label": "永登县",
  25932. "value": "620121"
  25933. }, {
  25934. "label": "皋兰县",
  25935. "value": "620122"
  25936. }, {
  25937. "label": "榆中县",
  25938. "value": "620123"
  25939. }, {
  25940. "label": "兰州新区",
  25941. "value": "620171"
  25942. }], [{
  25943. "label": "嘉峪关市",
  25944. "value": "620201"
  25945. }], [{
  25946. "label": "金川区",
  25947. "value": "620302"
  25948. }, {
  25949. "label": "永昌县",
  25950. "value": "620321"
  25951. }], [{
  25952. "label": "白银区",
  25953. "value": "620402"
  25954. }, {
  25955. "label": "平川区",
  25956. "value": "620403"
  25957. }, {
  25958. "label": "靖远县",
  25959. "value": "620421"
  25960. }, {
  25961. "label": "会宁县",
  25962. "value": "620422"
  25963. }, {
  25964. "label": "景泰县",
  25965. "value": "620423"
  25966. }], [{
  25967. "label": "秦州区",
  25968. "value": "620502"
  25969. }, {
  25970. "label": "麦积区",
  25971. "value": "620503"
  25972. }, {
  25973. "label": "清水县",
  25974. "value": "620521"
  25975. }, {
  25976. "label": "秦安县",
  25977. "value": "620522"
  25978. }, {
  25979. "label": "甘谷县",
  25980. "value": "620523"
  25981. }, {
  25982. "label": "武山县",
  25983. "value": "620524"
  25984. }, {
  25985. "label": "张家川回族自治县",
  25986. "value": "620525"
  25987. }], [{
  25988. "label": "凉州区",
  25989. "value": "620602"
  25990. }, {
  25991. "label": "民勤县",
  25992. "value": "620621"
  25993. }, {
  25994. "label": "古浪县",
  25995. "value": "620622"
  25996. }, {
  25997. "label": "天祝藏族自治县",
  25998. "value": "620623"
  25999. }], [{
  26000. "label": "甘州区",
  26001. "value": "620702"
  26002. }, {
  26003. "label": "肃南裕固族自治县",
  26004. "value": "620721"
  26005. }, {
  26006. "label": "民乐县",
  26007. "value": "620722"
  26008. }, {
  26009. "label": "临泽县",
  26010. "value": "620723"
  26011. }, {
  26012. "label": "高台县",
  26013. "value": "620724"
  26014. }, {
  26015. "label": "山丹县",
  26016. "value": "620725"
  26017. }], [{
  26018. "label": "崆峒区",
  26019. "value": "620802"
  26020. }, {
  26021. "label": "泾川县",
  26022. "value": "620821"
  26023. }, {
  26024. "label": "灵台县",
  26025. "value": "620822"
  26026. }, {
  26027. "label": "崇信县",
  26028. "value": "620823"
  26029. }, {
  26030. "label": "华亭县",
  26031. "value": "620824"
  26032. }, {
  26033. "label": "庄浪县",
  26034. "value": "620825"
  26035. }, {
  26036. "label": "静宁县",
  26037. "value": "620826"
  26038. }, {
  26039. "label": "平凉工业园区",
  26040. "value": "620871"
  26041. }], [{
  26042. "label": "肃州区",
  26043. "value": "620902"
  26044. }, {
  26045. "label": "金塔县",
  26046. "value": "620921"
  26047. }, {
  26048. "label": "瓜州县",
  26049. "value": "620922"
  26050. }, {
  26051. "label": "肃北蒙古族自治县",
  26052. "value": "620923"
  26053. }, {
  26054. "label": "阿克塞哈萨克族自治县",
  26055. "value": "620924"
  26056. }, {
  26057. "label": "玉门市",
  26058. "value": "620981"
  26059. }, {
  26060. "label": "敦煌市",
  26061. "value": "620982"
  26062. }], [{
  26063. "label": "西峰区",
  26064. "value": "621002"
  26065. }, {
  26066. "label": "庆城县",
  26067. "value": "621021"
  26068. }, {
  26069. "label": "环县",
  26070. "value": "621022"
  26071. }, {
  26072. "label": "华池县",
  26073. "value": "621023"
  26074. }, {
  26075. "label": "合水县",
  26076. "value": "621024"
  26077. }, {
  26078. "label": "正宁县",
  26079. "value": "621025"
  26080. }, {
  26081. "label": "宁县",
  26082. "value": "621026"
  26083. }, {
  26084. "label": "镇原县",
  26085. "value": "621027"
  26086. }], [{
  26087. "label": "安定区",
  26088. "value": "621102"
  26089. }, {
  26090. "label": "通渭县",
  26091. "value": "621121"
  26092. }, {
  26093. "label": "陇西县",
  26094. "value": "621122"
  26095. }, {
  26096. "label": "渭源县",
  26097. "value": "621123"
  26098. }, {
  26099. "label": "临洮县",
  26100. "value": "621124"
  26101. }, {
  26102. "label": "漳县",
  26103. "value": "621125"
  26104. }, {
  26105. "label": "岷县",
  26106. "value": "621126"
  26107. }], [{
  26108. "label": "武都区",
  26109. "value": "621202"
  26110. }, {
  26111. "label": "成县",
  26112. "value": "621221"
  26113. }, {
  26114. "label": "文县",
  26115. "value": "621222"
  26116. }, {
  26117. "label": "宕昌县",
  26118. "value": "621223"
  26119. }, {
  26120. "label": "康县",
  26121. "value": "621224"
  26122. }, {
  26123. "label": "西和县",
  26124. "value": "621225"
  26125. }, {
  26126. "label": "礼县",
  26127. "value": "621226"
  26128. }, {
  26129. "label": "徽县",
  26130. "value": "621227"
  26131. }, {
  26132. "label": "两当县",
  26133. "value": "621228"
  26134. }], [{
  26135. "label": "临夏市",
  26136. "value": "622901"
  26137. }, {
  26138. "label": "临夏县",
  26139. "value": "622921"
  26140. }, {
  26141. "label": "康乐县",
  26142. "value": "622922"
  26143. }, {
  26144. "label": "永靖县",
  26145. "value": "622923"
  26146. }, {
  26147. "label": "广河县",
  26148. "value": "622924"
  26149. }, {
  26150. "label": "和政县",
  26151. "value": "622925"
  26152. }, {
  26153. "label": "东乡族自治县",
  26154. "value": "622926"
  26155. }, {
  26156. "label": "积石山保安族东乡族撒拉族自治县",
  26157. "value": "622927"
  26158. }], [{
  26159. "label": "合作市",
  26160. "value": "623001"
  26161. }, {
  26162. "label": "临潭县",
  26163. "value": "623021"
  26164. }, {
  26165. "label": "卓尼县",
  26166. "value": "623022"
  26167. }, {
  26168. "label": "舟曲县",
  26169. "value": "623023"
  26170. }, {
  26171. "label": "迭部县",
  26172. "value": "623024"
  26173. }, {
  26174. "label": "玛曲县",
  26175. "value": "623025"
  26176. }, {
  26177. "label": "碌曲县",
  26178. "value": "623026"
  26179. }, {
  26180. "label": "夏河县",
  26181. "value": "623027"
  26182. }]], [[{
  26183. "label": "城东区",
  26184. "value": "630102"
  26185. }, {
  26186. "label": "城中区",
  26187. "value": "630103"
  26188. }, {
  26189. "label": "城西区",
  26190. "value": "630104"
  26191. }, {
  26192. "label": "城北区",
  26193. "value": "630105"
  26194. }, {
  26195. "label": "大通回族土族自治县",
  26196. "value": "630121"
  26197. }, {
  26198. "label": "湟中县",
  26199. "value": "630122"
  26200. }, {
  26201. "label": "湟源县",
  26202. "value": "630123"
  26203. }], [{
  26204. "label": "乐都区",
  26205. "value": "630202"
  26206. }, {
  26207. "label": "平安区",
  26208. "value": "630203"
  26209. }, {
  26210. "label": "民和回族土族自治县",
  26211. "value": "630222"
  26212. }, {
  26213. "label": "互助土族自治县",
  26214. "value": "630223"
  26215. }, {
  26216. "label": "化隆回族自治县",
  26217. "value": "630224"
  26218. }, {
  26219. "label": "循化撒拉族自治县",
  26220. "value": "630225"
  26221. }], [{
  26222. "label": "门源回族自治县",
  26223. "value": "632221"
  26224. }, {
  26225. "label": "祁连县",
  26226. "value": "632222"
  26227. }, {
  26228. "label": "海晏县",
  26229. "value": "632223"
  26230. }, {
  26231. "label": "刚察县",
  26232. "value": "632224"
  26233. }], [{
  26234. "label": "同仁县",
  26235. "value": "632321"
  26236. }, {
  26237. "label": "尖扎县",
  26238. "value": "632322"
  26239. }, {
  26240. "label": "泽库县",
  26241. "value": "632323"
  26242. }, {
  26243. "label": "河南蒙古族自治县",
  26244. "value": "632324"
  26245. }], [{
  26246. "label": "共和县",
  26247. "value": "632521"
  26248. }, {
  26249. "label": "同德县",
  26250. "value": "632522"
  26251. }, {
  26252. "label": "贵德县",
  26253. "value": "632523"
  26254. }, {
  26255. "label": "兴海县",
  26256. "value": "632524"
  26257. }, {
  26258. "label": "贵南县",
  26259. "value": "632525"
  26260. }], [{
  26261. "label": "玛沁县",
  26262. "value": "632621"
  26263. }, {
  26264. "label": "班玛县",
  26265. "value": "632622"
  26266. }, {
  26267. "label": "甘德县",
  26268. "value": "632623"
  26269. }, {
  26270. "label": "达日县",
  26271. "value": "632624"
  26272. }, {
  26273. "label": "久治县",
  26274. "value": "632625"
  26275. }, {
  26276. "label": "玛多县",
  26277. "value": "632626"
  26278. }], [{
  26279. "label": "玉树市",
  26280. "value": "632701"
  26281. }, {
  26282. "label": "杂多县",
  26283. "value": "632722"
  26284. }, {
  26285. "label": "称多县",
  26286. "value": "632723"
  26287. }, {
  26288. "label": "治多县",
  26289. "value": "632724"
  26290. }, {
  26291. "label": "囊谦县",
  26292. "value": "632725"
  26293. }, {
  26294. "label": "曲麻莱县",
  26295. "value": "632726"
  26296. }], [{
  26297. "label": "格尔木市",
  26298. "value": "632801"
  26299. }, {
  26300. "label": "德令哈市",
  26301. "value": "632802"
  26302. }, {
  26303. "label": "乌兰县",
  26304. "value": "632821"
  26305. }, {
  26306. "label": "都兰县",
  26307. "value": "632822"
  26308. }, {
  26309. "label": "天峻县",
  26310. "value": "632823"
  26311. }, {
  26312. "label": "大柴旦行政委员会",
  26313. "value": "632857"
  26314. }, {
  26315. "label": "冷湖行政委员会",
  26316. "value": "632858"
  26317. }, {
  26318. "label": "茫崖行政委员会",
  26319. "value": "632859"
  26320. }]], [[{
  26321. "label": "兴庆区",
  26322. "value": "640104"
  26323. }, {
  26324. "label": "西夏区",
  26325. "value": "640105"
  26326. }, {
  26327. "label": "金凤区",
  26328. "value": "640106"
  26329. }, {
  26330. "label": "永宁县",
  26331. "value": "640121"
  26332. }, {
  26333. "label": "贺兰县",
  26334. "value": "640122"
  26335. }, {
  26336. "label": "灵武市",
  26337. "value": "640181"
  26338. }], [{
  26339. "label": "大武口区",
  26340. "value": "640202"
  26341. }, {
  26342. "label": "惠农区",
  26343. "value": "640205"
  26344. }, {
  26345. "label": "平罗县",
  26346. "value": "640221"
  26347. }], [{
  26348. "label": "利通区",
  26349. "value": "640302"
  26350. }, {
  26351. "label": "红寺堡区",
  26352. "value": "640303"
  26353. }, {
  26354. "label": "盐池县",
  26355. "value": "640323"
  26356. }, {
  26357. "label": "同心县",
  26358. "value": "640324"
  26359. }, {
  26360. "label": "青铜峡市",
  26361. "value": "640381"
  26362. }], [{
  26363. "label": "原州区",
  26364. "value": "640402"
  26365. }, {
  26366. "label": "西吉县",
  26367. "value": "640422"
  26368. }, {
  26369. "label": "隆德县",
  26370. "value": "640423"
  26371. }, {
  26372. "label": "泾源县",
  26373. "value": "640424"
  26374. }, {
  26375. "label": "彭阳县",
  26376. "value": "640425"
  26377. }], [{
  26378. "label": "沙坡头区",
  26379. "value": "640502"
  26380. }, {
  26381. "label": "中宁县",
  26382. "value": "640521"
  26383. }, {
  26384. "label": "海原县",
  26385. "value": "640522"
  26386. }]], [[{
  26387. "label": "天山区",
  26388. "value": "650102"
  26389. }, {
  26390. "label": "沙依巴克区",
  26391. "value": "650103"
  26392. }, {
  26393. "label": "新市区",
  26394. "value": "650104"
  26395. }, {
  26396. "label": "水磨沟区",
  26397. "value": "650105"
  26398. }, {
  26399. "label": "头屯河区",
  26400. "value": "650106"
  26401. }, {
  26402. "label": "达坂城区",
  26403. "value": "650107"
  26404. }, {
  26405. "label": "米东区",
  26406. "value": "650109"
  26407. }, {
  26408. "label": "乌鲁木齐县",
  26409. "value": "650121"
  26410. }, {
  26411. "label": "乌鲁木齐经济技术开发区",
  26412. "value": "650171"
  26413. }, {
  26414. "label": "乌鲁木齐高新技术产业开发区",
  26415. "value": "650172"
  26416. }], [{
  26417. "label": "独山子区",
  26418. "value": "650202"
  26419. }, {
  26420. "label": "克拉玛依区",
  26421. "value": "650203"
  26422. }, {
  26423. "label": "白碱滩区",
  26424. "value": "650204"
  26425. }, {
  26426. "label": "乌尔禾区",
  26427. "value": "650205"
  26428. }], [{
  26429. "label": "高昌区",
  26430. "value": "650402"
  26431. }, {
  26432. "label": "鄯善县",
  26433. "value": "650421"
  26434. }, {
  26435. "label": "托克逊县",
  26436. "value": "650422"
  26437. }], [{
  26438. "label": "伊州区",
  26439. "value": "650502"
  26440. }, {
  26441. "label": "巴里坤哈萨克自治县",
  26442. "value": "650521"
  26443. }, {
  26444. "label": "伊吾县",
  26445. "value": "650522"
  26446. }], [{
  26447. "label": "昌吉市",
  26448. "value": "652301"
  26449. }, {
  26450. "label": "阜康市",
  26451. "value": "652302"
  26452. }, {
  26453. "label": "呼图壁县",
  26454. "value": "652323"
  26455. }, {
  26456. "label": "玛纳斯县",
  26457. "value": "652324"
  26458. }, {
  26459. "label": "奇台县",
  26460. "value": "652325"
  26461. }, {
  26462. "label": "吉木萨尔县",
  26463. "value": "652327"
  26464. }, {
  26465. "label": "木垒哈萨克自治县",
  26466. "value": "652328"
  26467. }], [{
  26468. "label": "博乐市",
  26469. "value": "652701"
  26470. }, {
  26471. "label": "阿拉山口市",
  26472. "value": "652702"
  26473. }, {
  26474. "label": "精河县",
  26475. "value": "652722"
  26476. }, {
  26477. "label": "温泉县",
  26478. "value": "652723"
  26479. }], [{
  26480. "label": "库尔勒市",
  26481. "value": "652801"
  26482. }, {
  26483. "label": "轮台县",
  26484. "value": "652822"
  26485. }, {
  26486. "label": "尉犁县",
  26487. "value": "652823"
  26488. }, {
  26489. "label": "若羌县",
  26490. "value": "652824"
  26491. }, {
  26492. "label": "且末县",
  26493. "value": "652825"
  26494. }, {
  26495. "label": "焉耆回族自治县",
  26496. "value": "652826"
  26497. }, {
  26498. "label": "和静县",
  26499. "value": "652827"
  26500. }, {
  26501. "label": "和硕县",
  26502. "value": "652828"
  26503. }, {
  26504. "label": "博湖县",
  26505. "value": "652829"
  26506. }, {
  26507. "label": "库尔勒经济技术开发区",
  26508. "value": "652871"
  26509. }], [{
  26510. "label": "阿克苏市",
  26511. "value": "652901"
  26512. }, {
  26513. "label": "温宿县",
  26514. "value": "652922"
  26515. }, {
  26516. "label": "库车县",
  26517. "value": "652923"
  26518. }, {
  26519. "label": "沙雅县",
  26520. "value": "652924"
  26521. }, {
  26522. "label": "新和县",
  26523. "value": "652925"
  26524. }, {
  26525. "label": "拜城县",
  26526. "value": "652926"
  26527. }, {
  26528. "label": "乌什县",
  26529. "value": "652927"
  26530. }, {
  26531. "label": "阿瓦提县",
  26532. "value": "652928"
  26533. }, {
  26534. "label": "柯坪县",
  26535. "value": "652929"
  26536. }], [{
  26537. "label": "阿图什市",
  26538. "value": "653001"
  26539. }, {
  26540. "label": "阿克陶县",
  26541. "value": "653022"
  26542. }, {
  26543. "label": "阿合奇县",
  26544. "value": "653023"
  26545. }, {
  26546. "label": "乌恰县",
  26547. "value": "653024"
  26548. }], [{
  26549. "label": "喀什市",
  26550. "value": "653101"
  26551. }, {
  26552. "label": "疏附县",
  26553. "value": "653121"
  26554. }, {
  26555. "label": "疏勒县",
  26556. "value": "653122"
  26557. }, {
  26558. "label": "英吉沙县",
  26559. "value": "653123"
  26560. }, {
  26561. "label": "泽普县",
  26562. "value": "653124"
  26563. }, {
  26564. "label": "莎车县",
  26565. "value": "653125"
  26566. }, {
  26567. "label": "叶城县",
  26568. "value": "653126"
  26569. }, {
  26570. "label": "麦盖提县",
  26571. "value": "653127"
  26572. }, {
  26573. "label": "岳普湖县",
  26574. "value": "653128"
  26575. }, {
  26576. "label": "伽师县",
  26577. "value": "653129"
  26578. }, {
  26579. "label": "巴楚县",
  26580. "value": "653130"
  26581. }, {
  26582. "label": "塔什库尔干塔吉克自治县",
  26583. "value": "653131"
  26584. }], [{
  26585. "label": "和田市",
  26586. "value": "653201"
  26587. }, {
  26588. "label": "和田县",
  26589. "value": "653221"
  26590. }, {
  26591. "label": "墨玉县",
  26592. "value": "653222"
  26593. }, {
  26594. "label": "皮山县",
  26595. "value": "653223"
  26596. }, {
  26597. "label": "洛浦县",
  26598. "value": "653224"
  26599. }, {
  26600. "label": "策勒县",
  26601. "value": "653225"
  26602. }, {
  26603. "label": "于田县",
  26604. "value": "653226"
  26605. }, {
  26606. "label": "民丰县",
  26607. "value": "653227"
  26608. }], [{
  26609. "label": "伊宁市",
  26610. "value": "654002"
  26611. }, {
  26612. "label": "奎屯市",
  26613. "value": "654003"
  26614. }, {
  26615. "label": "霍尔果斯市",
  26616. "value": "654004"
  26617. }, {
  26618. "label": "伊宁县",
  26619. "value": "654021"
  26620. }, {
  26621. "label": "察布查尔锡伯自治县",
  26622. "value": "654022"
  26623. }, {
  26624. "label": "霍城县",
  26625. "value": "654023"
  26626. }, {
  26627. "label": "巩留县",
  26628. "value": "654024"
  26629. }, {
  26630. "label": "新源县",
  26631. "value": "654025"
  26632. }, {
  26633. "label": "昭苏县",
  26634. "value": "654026"
  26635. }, {
  26636. "label": "特克斯县",
  26637. "value": "654027"
  26638. }, {
  26639. "label": "尼勒克县",
  26640. "value": "654028"
  26641. }], [{
  26642. "label": "塔城市",
  26643. "value": "654201"
  26644. }, {
  26645. "label": "乌苏市",
  26646. "value": "654202"
  26647. }, {
  26648. "label": "额敏县",
  26649. "value": "654221"
  26650. }, {
  26651. "label": "沙湾县",
  26652. "value": "654223"
  26653. }, {
  26654. "label": "托里县",
  26655. "value": "654224"
  26656. }, {
  26657. "label": "裕民县",
  26658. "value": "654225"
  26659. }, {
  26660. "label": "和布克赛尔蒙古自治县",
  26661. "value": "654226"
  26662. }], [{
  26663. "label": "阿勒泰市",
  26664. "value": "654301"
  26665. }, {
  26666. "label": "布尔津县",
  26667. "value": "654321"
  26668. }, {
  26669. "label": "富蕴县",
  26670. "value": "654322"
  26671. }, {
  26672. "label": "福海县",
  26673. "value": "654323"
  26674. }, {
  26675. "label": "哈巴河县",
  26676. "value": "654324"
  26677. }, {
  26678. "label": "青河县",
  26679. "value": "654325"
  26680. }, {
  26681. "label": "吉木乃县",
  26682. "value": "654326"
  26683. }], [{
  26684. "label": "石河子市",
  26685. "value": "659001"
  26686. }, {
  26687. "label": "阿拉尔市",
  26688. "value": "659002"
  26689. }, {
  26690. "label": "图木舒克市",
  26691. "value": "659003"
  26692. }, {
  26693. "label": "五家渠市",
  26694. "value": "659004"
  26695. }, {
  26696. "label": "铁门关市",
  26697. "value": "659006"
  26698. }]], [[{
  26699. "label": "台北",
  26700. "value": "660101"
  26701. }], [{
  26702. "label": "高雄",
  26703. "value": "660201"
  26704. }], [{
  26705. "label": "基隆",
  26706. "value": "660301"
  26707. }], [{
  26708. "label": "台中",
  26709. "value": "660401"
  26710. }], [{
  26711. "label": "台南",
  26712. "value": "660501"
  26713. }], [{
  26714. "label": "新竹",
  26715. "value": "660601"
  26716. }], [{
  26717. "label": "嘉义",
  26718. "value": "660701"
  26719. }], [{
  26720. "label": "宜兰",
  26721. "value": "660801"
  26722. }], [{
  26723. "label": "桃园",
  26724. "value": "660901"
  26725. }], [{
  26726. "label": "苗栗",
  26727. "value": "661001"
  26728. }], [{
  26729. "label": "彰化",
  26730. "value": "661101"
  26731. }], [{
  26732. "label": "南投",
  26733. "value": "661201"
  26734. }], [{
  26735. "label": "云林",
  26736. "value": "661301"
  26737. }], [{
  26738. "label": "屏东",
  26739. "value": "661401"
  26740. }], [{
  26741. "label": "台东",
  26742. "value": "661501"
  26743. }], [{
  26744. "label": "花莲",
  26745. "value": "661601"
  26746. }], [{
  26747. "label": "澎湖",
  26748. "value": "661701"
  26749. }]], [[{
  26750. "label": "香港岛",
  26751. "value": "670101"
  26752. }], [{
  26753. "label": "九龙",
  26754. "value": "670201"
  26755. }], [{
  26756. "label": "新界",
  26757. "value": "670301"
  26758. }]], [[{
  26759. "label": "澳门半岛",
  26760. "value": "680101"
  26761. }], [{
  26762. "label": "氹仔岛",
  26763. "value": "680201"
  26764. }], [{
  26765. "label": "路环岛",
  26766. "value": "680301"
  26767. }], [{
  26768. "label": "路氹城",
  26769. "value": "680401"
  26770. }]]];
  26771. var _default = areaData;
  26772. exports.default = _default;
  26773. /***/ }),
  26774. /***/ 4:
  26775. /*!**********************************************************************!*\
  26776. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  26777. \**********************************************************************/
  26778. /*! no static exports found */
  26779. /***/ (function(module, exports) {
  26780. function _interopRequireDefault(obj) {
  26781. return obj && obj.__esModule ? obj : {
  26782. "default": obj
  26783. };
  26784. }
  26785. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  26786. /***/ }),
  26787. /***/ 40:
  26788. /*!***********************************!*\
  26789. !*** (webpack)/buildin/module.js ***!
  26790. \***********************************/
  26791. /*! no static exports found */
  26792. /***/ (function(module, exports) {
  26793. module.exports = function(module) {
  26794. if (!module.webpackPolyfill) {
  26795. module.deprecate = function() {};
  26796. module.paths = [];
  26797. // module.parent = undefined by default
  26798. if (!module.children) module.children = [];
  26799. Object.defineProperty(module, "loaded", {
  26800. enumerable: true,
  26801. get: function() {
  26802. return module.l;
  26803. }
  26804. });
  26805. Object.defineProperty(module, "id", {
  26806. enumerable: true,
  26807. get: function() {
  26808. return module.i;
  26809. }
  26810. });
  26811. module.webpackPolyfill = 1;
  26812. }
  26813. return module;
  26814. };
  26815. /***/ }),
  26816. /***/ 41:
  26817. /*!****************************************!*\
  26818. !*** (webpack)/buildin/amd-options.js ***!
  26819. \****************************************/
  26820. /*! no static exports found */
  26821. /***/ (function(module, exports) {
  26822. /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */
  26823. module.exports = __webpack_amd_options__;
  26824. /* WEBPACK VAR INJECTION */}.call(this, {}))
  26825. /***/ }),
  26826. /***/ 42:
  26827. /*!****************************************************!*\
  26828. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/index.js ***!
  26829. \****************************************************/
  26830. /*! no static exports found */
  26831. /***/ (function(module, exports, __webpack_require__) {
  26832. "use strict";
  26833. /* WEBPACK VAR INJECTION */(function(uni) {
  26834. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  26835. Object.defineProperty(exports, "__esModule", {
  26836. value: true
  26837. });
  26838. exports.default = void 0;
  26839. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 43));
  26840. var _request = _interopRequireDefault(__webpack_require__(/*! ./libs/request */ 44));
  26841. var _queryParams = _interopRequireDefault(__webpack_require__(/*! ./libs/function/queryParams.js */ 48));
  26842. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/function/route.js */ 49));
  26843. var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ./libs/function/timeFormat.js */ 53));
  26844. var _timeFrom = _interopRequireDefault(__webpack_require__(/*! ./libs/function/timeFrom.js */ 54));
  26845. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 55));
  26846. var _guid = _interopRequireDefault(__webpack_require__(/*! ./libs/function/guid.js */ 56));
  26847. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/function/color.js */ 57));
  26848. var _type2icon = _interopRequireDefault(__webpack_require__(/*! ./libs/function/type2icon.js */ 58));
  26849. var _randomArray = _interopRequireDefault(__webpack_require__(/*! ./libs/function/randomArray.js */ 59));
  26850. var _deepClone = _interopRequireDefault(__webpack_require__(/*! ./libs/function/deepClone.js */ 46));
  26851. var _deepMerge = _interopRequireDefault(__webpack_require__(/*! ./libs/function/deepMerge.js */ 45));
  26852. var _addUnit = _interopRequireDefault(__webpack_require__(/*! ./libs/function/addUnit.js */ 60));
  26853. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 47));
  26854. var _random = _interopRequireDefault(__webpack_require__(/*! ./libs/function/random.js */ 61));
  26855. var _trim = _interopRequireDefault(__webpack_require__(/*! ./libs/function/trim.js */ 62));
  26856. var _toast = _interopRequireDefault(__webpack_require__(/*! ./libs/function/toast.js */ 63));
  26857. var _getParent = _interopRequireDefault(__webpack_require__(/*! ./libs/function/getParent.js */ 64));
  26858. var _$parent = _interopRequireDefault(__webpack_require__(/*! ./libs/function/$parent.js */ 65));
  26859. var _sys = __webpack_require__(/*! ./libs/function/sys.js */ 66);
  26860. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 67));
  26861. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 68));
  26862. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 69));
  26863. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 70));
  26864. // 引入全局mixin
  26865. // 引入关于是否mixin集成小程序分享的配置
  26866. // import wxshare from './libs/mixin/mpShare.js'
  26867. // 全局挂载引入http相关请求拦截插件
  26868. function wranning(str) {
  26869. // 开发环境进行信息输出,主要是一些报错信息
  26870. // 这个环境的来由是在程序编写时候,点击hx编辑器运行调试代码的时候,详见:
  26871. // https://uniapp.dcloud.io/frame?id=%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e5%92%8c%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83
  26872. if (true) {
  26873. console.warn(str);
  26874. }
  26875. }
  26876. // 尝试判断在根目录的/store中是否有$u.mixin.js,此文件uView默认为需要挂在到全局的vuex的state变量
  26877. // HX2.6.11版本,放到try中,控制台依然会警告,暂时不用此方式,
  26878. // let vuexStore = {};
  26879. // try {
  26880. // vuexStore = require("@/store/$u.mixin.js");
  26881. // } catch (e) {
  26882. // //TODO handle the exception
  26883. // }
  26884. // post类型对象参数转为get类型url参数
  26885. var $u = {
  26886. queryParams: _queryParams.default,
  26887. route: _route.default,
  26888. timeFormat: _timeFormat.default,
  26889. date: _timeFormat.default,
  26890. // 另名date
  26891. timeFrom: _timeFrom.default,
  26892. colorGradient: _colorGradient.default.colorGradient,
  26893. colorToRgba: _colorGradient.default.colorToRgba,
  26894. guid: _guid.default,
  26895. color: _color.default,
  26896. sys: _sys.sys,
  26897. os: _sys.os,
  26898. type2icon: _type2icon.default,
  26899. randomArray: _randomArray.default,
  26900. wranning: wranning,
  26901. get: _request.default.get,
  26902. post: _request.default.post,
  26903. put: _request.default.put,
  26904. 'delete': _request.default.delete,
  26905. hexToRgb: _colorGradient.default.hexToRgb,
  26906. rgbToHex: _colorGradient.default.rgbToHex,
  26907. test: _test.default,
  26908. random: _random.default,
  26909. deepClone: _deepClone.default,
  26910. deepMerge: _deepMerge.default,
  26911. getParent: _getParent.default,
  26912. $parent: _$parent.default,
  26913. addUnit: _addUnit.default,
  26914. trim: _trim.default,
  26915. type: ['primary', 'success', 'error', 'warning', 'info'],
  26916. http: _request.default,
  26917. toast: _toast.default,
  26918. config: _config.default,
  26919. // uView配置信息相关,比如版本号
  26920. zIndex: _zIndex.default,
  26921. debounce: _debounce.default,
  26922. throttle: _throttle.default
  26923. };
  26924. // $u挂载到uni对象上
  26925. uni.$u = $u;
  26926. var install = function install(Vue) {
  26927. Vue.mixin(_mixin.default);
  26928. if (Vue.prototype.openShare) {
  26929. Vue.mixin(mpShare);
  26930. }
  26931. // Vue.mixin(vuexStore);
  26932. // 时间格式化,同时两个名称,date和timeFormat
  26933. Vue.filter('timeFormat', function (timestamp, format) {
  26934. return (0, _timeFormat.default)(timestamp, format);
  26935. });
  26936. Vue.filter('date', function (timestamp, format) {
  26937. return (0, _timeFormat.default)(timestamp, format);
  26938. });
  26939. // 将多久以前的方法,注入到全局过滤器
  26940. Vue.filter('timeFrom', function (timestamp, format) {
  26941. return (0, _timeFrom.default)(timestamp, format);
  26942. });
  26943. Vue.prototype.$u = $u;
  26944. };
  26945. var _default = {
  26946. install: install
  26947. };
  26948. exports.default = _default;
  26949. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26950. /***/ }),
  26951. /***/ 43:
  26952. /*!***************************************************************!*\
  26953. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/mixin/mixin.js ***!
  26954. \***************************************************************/
  26955. /*! no static exports found */
  26956. /***/ (function(module, exports, __webpack_require__) {
  26957. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  26958. data: function data() {
  26959. return {};
  26960. },
  26961. onLoad: function onLoad() {
  26962. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  26963. this.$u.getRect = this.$uGetRect;
  26964. },
  26965. methods: {
  26966. // 查询节点信息
  26967. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  26968. // 解决办法为在组件根部再套一个没有任何作用的view元素
  26969. $uGetRect: function $uGetRect(selector, all) {
  26970. var _this = this;
  26971. return new Promise(function (resolve) {
  26972. uni.createSelectorQuery().in(_this)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  26973. if (all && Array.isArray(rect) && rect.length) {
  26974. resolve(rect);
  26975. }
  26976. if (!all && rect) {
  26977. resolve(rect);
  26978. }
  26979. }).exec();
  26980. });
  26981. },
  26982. getParentData: function getParentData() {
  26983. var _this2 = this;
  26984. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  26985. // 避免在created中去定义parent变量
  26986. if (!this.parent) this.parent = false;
  26987. // 这里的本质原理是,通过获取父组件实例(也即u-radio-group的this)
  26988. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  26989. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  26990. this.parent = this.$u.$parent.call(this, parentName);
  26991. if (this.parent) {
  26992. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  26993. Object.keys(this.parentData).map(function (key) {
  26994. _this2.parentData[key] = _this2.parent[key];
  26995. });
  26996. }
  26997. },
  26998. // 阻止事件冒泡
  26999. preventEvent: function preventEvent(e) {
  27000. e && e.stopPropagation && e.stopPropagation();
  27001. }
  27002. },
  27003. onReachBottom: function onReachBottom() {
  27004. uni.$emit('uOnReachBottom');
  27005. },
  27006. beforeDestroy: function beforeDestroy() {
  27007. var _this3 = this;
  27008. // 判断当前页面是否存在parent和children,一般在checkbox和checkbox-group父子联动的场景会有此情况
  27009. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  27010. if (this.parent && uni.$u.test.array(this.parent.children)) {
  27011. // 组件销毁时,移除父组件中的children数组中对应的实例
  27012. var childrenList = this.parent.children;
  27013. childrenList.map(function (child, index) {
  27014. // 如果相等,则移除
  27015. if (child === _this3) {
  27016. childrenList.splice(index, 1);
  27017. }
  27018. });
  27019. }
  27020. }
  27021. };
  27022. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27023. /***/ }),
  27024. /***/ 44:
  27025. /*!*****************************************************************!*\
  27026. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/request/index.js ***!
  27027. \*****************************************************************/
  27028. /*! no static exports found */
  27029. /***/ (function(module, exports, __webpack_require__) {
  27030. "use strict";
  27031. /* WEBPACK VAR INJECTION */(function(uni) {
  27032. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27033. Object.defineProperty(exports, "__esModule", {
  27034. value: true
  27035. });
  27036. exports.default = void 0;
  27037. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  27038. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  27039. var _deepMerge = _interopRequireDefault(__webpack_require__(/*! ../function/deepMerge */ 45));
  27040. var _test = _interopRequireDefault(__webpack_require__(/*! ../function/test */ 47));
  27041. var Request = /*#__PURE__*/function () {
  27042. function Request() {
  27043. var _this = this;
  27044. (0, _classCallCheck2.default)(this, Request);
  27045. this.config = {
  27046. baseUrl: '',
  27047. // 请求的根域名
  27048. // 默认的请求头
  27049. header: {},
  27050. method: 'POST',
  27051. // 设置为json,返回后uni.request会对数据进行一次JSON.parse
  27052. dataType: 'json',
  27053. // 此参数无需处理,因为5+和支付宝小程序不支持,默认为text即可
  27054. responseType: 'text',
  27055. showLoading: true,
  27056. // 是否显示请求中的loading
  27057. loadingText: '请求中...',
  27058. loadingTime: 800,
  27059. // 在此时间内,请求还没回来的话,就显示加载中动画,单位ms
  27060. timer: null,
  27061. // 定时器
  27062. originalData: false,
  27063. // 是否在拦截器中返回服务端的原始数据,见文档说明
  27064. loadingMask: true // 展示loading的时候,是否给一个透明的蒙层,防止触摸穿透
  27065. };
  27066. // 拦截器
  27067. this.interceptor = {
  27068. // 请求前的拦截
  27069. request: null,
  27070. // 请求后的拦截
  27071. response: null
  27072. };
  27073. // get请求
  27074. this.get = function (url) {
  27075. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27076. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27077. return _this.request({
  27078. method: 'GET',
  27079. url: url,
  27080. header: header,
  27081. data: data
  27082. });
  27083. };
  27084. // post请求
  27085. this.post = function (url) {
  27086. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27087. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27088. return _this.request({
  27089. url: url,
  27090. method: 'POST',
  27091. header: header,
  27092. data: data
  27093. });
  27094. };
  27095. // put请求,不支持支付宝小程序(HX2.6.15)
  27096. this.put = function (url) {
  27097. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27098. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27099. return _this.request({
  27100. url: url,
  27101. method: 'PUT',
  27102. header: header,
  27103. data: data
  27104. });
  27105. };
  27106. // delete请求,不支持支付宝和头条小程序(HX2.6.15)
  27107. this.delete = function (url) {
  27108. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27109. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27110. return _this.request({
  27111. url: url,
  27112. method: 'DELETE',
  27113. header: header,
  27114. data: data
  27115. });
  27116. };
  27117. }
  27118. (0, _createClass2.default)(Request, [{
  27119. key: "setConfig",
  27120. value:
  27121. // 设置全局默认配置
  27122. function setConfig(customConfig) {
  27123. // 深度合并对象,否则会造成对象深层属性丢失
  27124. this.config = (0, _deepMerge.default)(this.config, customConfig);
  27125. }
  27126. // 主要请求部分
  27127. }, {
  27128. key: "request",
  27129. value: function request() {
  27130. var _this2 = this;
  27131. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  27132. // 检查请求拦截
  27133. if (this.interceptor.request && typeof this.interceptor.request === 'function') {
  27134. var tmpConfig = {};
  27135. var interceptorRequest = this.interceptor.request(options);
  27136. if (interceptorRequest === false) {
  27137. // 返回一个处于pending状态中的Promise,来取消原promise,避免进入then()回调
  27138. return new Promise(function () {});
  27139. }
  27140. this.options = interceptorRequest;
  27141. }
  27142. options.dataType = options.dataType || this.config.dataType;
  27143. options.responseType = options.responseType || this.config.responseType;
  27144. options.url = options.url || '';
  27145. options.params = options.params || {};
  27146. options.header = Object.assign({}, this.config.header, options.header);
  27147. options.method = options.method || this.config.method;
  27148. return new Promise(function (resolve, reject) {
  27149. options.complete = function (response) {
  27150. // 请求返回后,隐藏loading(如果请求返回快的话,可能会没有loading)
  27151. uni.hideLoading();
  27152. // 清除定时器,如果请求回来了,就无需loading
  27153. clearTimeout(_this2.config.timer);
  27154. _this2.config.timer = null;
  27155. // 判断用户对拦截返回数据的要求,如果originalData为true,返回所有的数据(response)到拦截器,否则只返回response.data
  27156. if (_this2.config.originalData) {
  27157. // 判断是否存在拦截器
  27158. if (_this2.interceptor.response && typeof _this2.interceptor.response === 'function') {
  27159. var resInterceptors = _this2.interceptor.response(response);
  27160. // 如果拦截器不返回false,就将拦截器返回的内容给this.$u.post的then回调
  27161. if (resInterceptors !== false) {
  27162. resolve(resInterceptors);
  27163. } else {
  27164. // 如果拦截器返回false,意味着拦截器定义者认为返回有问题,直接接入catch回调
  27165. reject(response);
  27166. }
  27167. } else {
  27168. // 如果要求返回原始数据,就算没有拦截器,也返回最原始的数据
  27169. resolve(response);
  27170. }
  27171. } else {
  27172. if (response.statusCode == 200) {
  27173. if (_this2.interceptor.response && typeof _this2.interceptor.response === 'function') {
  27174. var _resInterceptors = _this2.interceptor.response(response.data);
  27175. if (_resInterceptors !== false) {
  27176. resolve(_resInterceptors);
  27177. } else {
  27178. reject(response.data);
  27179. }
  27180. } else {
  27181. // 如果不是返回原始数据(originalData=false),且没有拦截器的情况下,返回纯数据给then回调
  27182. resolve(response.data);
  27183. }
  27184. } else {
  27185. // 不返回原始数据的情况下,服务器状态码不为200,modal弹框提示
  27186. // if(response.errMsg) {
  27187. // uni.showModal({
  27188. // title: response.errMsg
  27189. // });
  27190. // }
  27191. reject(response);
  27192. }
  27193. }
  27194. };
  27195. // 判断用户传递的URL是否/开头,如果不是,加上/,这里使用了uView的test.js验证库的url()方法
  27196. options.url = _test.default.url(options.url) ? options.url : _this2.config.baseUrl + (options.url.indexOf('/') == 0 ? options.url : '/' + options.url);
  27197. // 是否显示loading
  27198. // 加一个是否已有timer定时器的判断,否则有两个同时请求的时候,后者会清除前者的定时器id
  27199. // 而没有清除前者的定时器,导致前者超时,一直显示loading
  27200. if (_this2.config.showLoading && !_this2.config.timer) {
  27201. _this2.config.timer = setTimeout(function () {
  27202. uni.showLoading({
  27203. title: _this2.config.loadingText,
  27204. mask: _this2.config.loadingMask
  27205. });
  27206. _this2.config.timer = null;
  27207. }, _this2.config.loadingTime);
  27208. }
  27209. uni.request(options);
  27210. });
  27211. // .catch(res => {
  27212. // // 如果返回reject(),不让其进入this.$u.post().then().catch()后面的catct()
  27213. // // 因为很多人都会忘了写后面的catch(),导致报错捕获不到catch
  27214. // return new Promise(()=>{});
  27215. // })
  27216. }
  27217. }]);
  27218. return Request;
  27219. }();
  27220. var _default = new Request();
  27221. exports.default = _default;
  27222. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27223. /***/ }),
  27224. /***/ 45:
  27225. /*!**********************************************************************!*\
  27226. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/deepMerge.js ***!
  27227. \**********************************************************************/
  27228. /*! no static exports found */
  27229. /***/ (function(module, exports, __webpack_require__) {
  27230. "use strict";
  27231. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27232. Object.defineProperty(exports, "__esModule", {
  27233. value: true
  27234. });
  27235. exports.default = void 0;
  27236. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  27237. var _deepClone = _interopRequireDefault(__webpack_require__(/*! ./deepClone */ 46));
  27238. // JS对象深度合并
  27239. function deepMerge() {
  27240. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  27241. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27242. target = (0, _deepClone.default)(target);
  27243. if ((0, _typeof2.default)(target) !== 'object' || (0, _typeof2.default)(source) !== 'object') return false;
  27244. for (var prop in source) {
  27245. if (!source.hasOwnProperty(prop)) continue;
  27246. if (prop in target) {
  27247. if ((0, _typeof2.default)(target[prop]) !== 'object') {
  27248. target[prop] = source[prop];
  27249. } else {
  27250. if ((0, _typeof2.default)(source[prop]) !== 'object') {
  27251. target[prop] = source[prop];
  27252. } else {
  27253. if (target[prop].concat && source[prop].concat) {
  27254. target[prop] = target[prop].concat(source[prop]);
  27255. } else {
  27256. target[prop] = deepMerge(target[prop], source[prop]);
  27257. }
  27258. }
  27259. }
  27260. } else {
  27261. target[prop] = source[prop];
  27262. }
  27263. }
  27264. return target;
  27265. }
  27266. var _default = deepMerge;
  27267. exports.default = _default;
  27268. /***/ }),
  27269. /***/ 46:
  27270. /*!**********************************************************************!*\
  27271. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/deepClone.js ***!
  27272. \**********************************************************************/
  27273. /*! no static exports found */
  27274. /***/ (function(module, exports, __webpack_require__) {
  27275. "use strict";
  27276. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27277. Object.defineProperty(exports, "__esModule", {
  27278. value: true
  27279. });
  27280. exports.default = void 0;
  27281. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  27282. // 判断arr是否为一个数组,返回一个bool值
  27283. function isArray(arr) {
  27284. return Object.prototype.toString.call(arr) === '[object Array]';
  27285. }
  27286. // 深度克隆
  27287. function deepClone(obj) {
  27288. // 对常见的“非”值,直接返回原来值
  27289. if ([null, undefined, NaN, false].includes(obj)) return obj;
  27290. if ((0, _typeof2.default)(obj) !== "object" && typeof obj !== 'function') {
  27291. //原始类型直接返回
  27292. return obj;
  27293. }
  27294. var o = isArray(obj) ? [] : {};
  27295. for (var i in obj) {
  27296. if (obj.hasOwnProperty(i)) {
  27297. o[i] = (0, _typeof2.default)(obj[i]) === "object" ? deepClone(obj[i]) : obj[i];
  27298. }
  27299. }
  27300. return o;
  27301. }
  27302. var _default = deepClone;
  27303. exports.default = _default;
  27304. /***/ }),
  27305. /***/ 47:
  27306. /*!*****************************************************************!*\
  27307. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/test.js ***!
  27308. \*****************************************************************/
  27309. /*! no static exports found */
  27310. /***/ (function(module, exports, __webpack_require__) {
  27311. "use strict";
  27312. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27313. Object.defineProperty(exports, "__esModule", {
  27314. value: true
  27315. });
  27316. exports.default = void 0;
  27317. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  27318. /**
  27319. * 验证电子邮箱格式
  27320. */
  27321. function email(value) {
  27322. return /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(value);
  27323. }
  27324. /**
  27325. * 验证手机格式
  27326. */
  27327. function mobile(value) {
  27328. return /^1[3-9]\d{9}$/.test(value);
  27329. }
  27330. /**
  27331. * 验证URL格式
  27332. */
  27333. function url(value) {
  27334. return /http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(value);
  27335. }
  27336. /**
  27337. * 验证日期格式
  27338. */
  27339. function date(value) {
  27340. return !/Invalid|NaN/.test(new Date(value).toString());
  27341. }
  27342. /**
  27343. * 验证ISO类型的日期格式
  27344. */
  27345. function dateISO(value) {
  27346. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  27347. }
  27348. /**
  27349. * 验证十进制数字
  27350. */
  27351. function number(value) {
  27352. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  27353. }
  27354. /**
  27355. * 验证整数
  27356. */
  27357. function digits(value) {
  27358. return /^\d+$/.test(value);
  27359. }
  27360. /**
  27361. * 验证身份证号码
  27362. */
  27363. function idCard(value) {
  27364. 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);
  27365. }
  27366. /**
  27367. * 是否车牌号
  27368. */
  27369. function carNo(value) {
  27370. // 新能源车牌
  27371. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  27372. // 旧车牌
  27373. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  27374. if (value.length === 7) {
  27375. return creg.test(value);
  27376. } else if (value.length === 8) {
  27377. return xreg.test(value);
  27378. } else {
  27379. return false;
  27380. }
  27381. }
  27382. /**
  27383. * 金额,只允许2位小数
  27384. */
  27385. function amount(value) {
  27386. //金额,只允许保留两位小数
  27387. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  27388. }
  27389. /**
  27390. * 中文
  27391. */
  27392. function chinese(value) {
  27393. var reg = /^[\u4e00-\u9fa5]+$/gi;
  27394. return reg.test(value);
  27395. }
  27396. /**
  27397. * 只能输入字母
  27398. */
  27399. function letter(value) {
  27400. return /^[a-zA-Z]*$/.test(value);
  27401. }
  27402. /**
  27403. * 只能是字母或者数字
  27404. */
  27405. function enOrNum(value) {
  27406. //英文或者数字
  27407. var reg = /^[0-9a-zA-Z]*$/g;
  27408. return reg.test(value);
  27409. }
  27410. /**
  27411. * 验证是否包含某个值
  27412. */
  27413. function contains(value, param) {
  27414. return value.indexOf(param) >= 0;
  27415. }
  27416. /**
  27417. * 验证一个值范围[min, max]
  27418. */
  27419. function range(value, param) {
  27420. return value >= param[0] && value <= param[1];
  27421. }
  27422. /**
  27423. * 验证一个长度范围[min, max]
  27424. */
  27425. function rangeLength(value, param) {
  27426. return value.length >= param[0] && value.length <= param[1];
  27427. }
  27428. /**
  27429. * 是否固定电话
  27430. */
  27431. function landline(value) {
  27432. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  27433. return reg.test(value);
  27434. }
  27435. /**
  27436. * 判断是否为空
  27437. */
  27438. function empty(value) {
  27439. switch ((0, _typeof2.default)(value)) {
  27440. case 'undefined':
  27441. return true;
  27442. case 'string':
  27443. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  27444. break;
  27445. case 'boolean':
  27446. if (!value) return true;
  27447. break;
  27448. case 'number':
  27449. if (0 === value || isNaN(value)) return true;
  27450. break;
  27451. case 'object':
  27452. if (null === value || value.length === 0) return true;
  27453. for (var i in value) {
  27454. return false;
  27455. }
  27456. return true;
  27457. }
  27458. return false;
  27459. }
  27460. /**
  27461. * 是否json字符串
  27462. */
  27463. function jsonString(value) {
  27464. if (typeof value == 'string') {
  27465. try {
  27466. var obj = JSON.parse(value);
  27467. if ((0, _typeof2.default)(obj) == 'object' && obj) {
  27468. return true;
  27469. } else {
  27470. return false;
  27471. }
  27472. } catch (e) {
  27473. return false;
  27474. }
  27475. }
  27476. return false;
  27477. }
  27478. /**
  27479. * 是否数组
  27480. */
  27481. function array(value) {
  27482. if (typeof Array.isArray === "function") {
  27483. return Array.isArray(value);
  27484. } else {
  27485. return Object.prototype.toString.call(value) === "[object Array]";
  27486. }
  27487. }
  27488. /**
  27489. * 是否对象
  27490. */
  27491. function object(value) {
  27492. return Object.prototype.toString.call(value) === '[object Object]';
  27493. }
  27494. /**
  27495. * 是否短信验证码
  27496. */
  27497. function code(value) {
  27498. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  27499. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  27500. }
  27501. var _default = {
  27502. email: email,
  27503. mobile: mobile,
  27504. url: url,
  27505. date: date,
  27506. dateISO: dateISO,
  27507. number: number,
  27508. digits: digits,
  27509. idCard: idCard,
  27510. carNo: carNo,
  27511. amount: amount,
  27512. chinese: chinese,
  27513. letter: letter,
  27514. enOrNum: enOrNum,
  27515. contains: contains,
  27516. range: range,
  27517. rangeLength: rangeLength,
  27518. empty: empty,
  27519. isEmpty: empty,
  27520. jsonString: jsonString,
  27521. landline: landline,
  27522. object: object,
  27523. array: array,
  27524. code: code
  27525. };
  27526. exports.default = _default;
  27527. /***/ }),
  27528. /***/ 48:
  27529. /*!************************************************************************!*\
  27530. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/queryParams.js ***!
  27531. \************************************************************************/
  27532. /*! no static exports found */
  27533. /***/ (function(module, exports, __webpack_require__) {
  27534. "use strict";
  27535. Object.defineProperty(exports, "__esModule", {
  27536. value: true
  27537. });
  27538. exports.default = void 0;
  27539. /**
  27540. * 对象转url参数
  27541. * @param {*} data,对象
  27542. * @param {*} isPrefix,是否自动加上"?"
  27543. */
  27544. function queryParams() {
  27545. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  27546. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  27547. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  27548. var prefix = isPrefix ? '?' : '';
  27549. var _result = [];
  27550. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  27551. var _loop = function _loop(key) {
  27552. var value = data[key];
  27553. // 去掉为空的参数
  27554. if (['', undefined, null].indexOf(value) >= 0) {
  27555. return "continue";
  27556. }
  27557. // 如果值为数组,另行处理
  27558. if (value.constructor === Array) {
  27559. // e.g. {ids: [1, 2, 3]}
  27560. switch (arrayFormat) {
  27561. case 'indices':
  27562. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  27563. for (var i = 0; i < value.length; i++) {
  27564. _result.push(key + '[' + i + ']=' + value[i]);
  27565. }
  27566. break;
  27567. case 'brackets':
  27568. // 结果: ids[]=1&ids[]=2&ids[]=3
  27569. value.forEach(function (_value) {
  27570. _result.push(key + '[]=' + _value);
  27571. });
  27572. break;
  27573. case 'repeat':
  27574. // 结果: ids=1&ids=2&ids=3
  27575. value.forEach(function (_value) {
  27576. _result.push(key + '=' + _value);
  27577. });
  27578. break;
  27579. case 'comma':
  27580. // 结果: ids=1,2,3
  27581. var commaStr = "";
  27582. value.forEach(function (_value) {
  27583. commaStr += (commaStr ? "," : "") + _value;
  27584. });
  27585. _result.push(key + '=' + commaStr);
  27586. break;
  27587. default:
  27588. value.forEach(function (_value) {
  27589. _result.push(key + '[]=' + _value);
  27590. });
  27591. }
  27592. } else {
  27593. _result.push(key + '=' + value);
  27594. }
  27595. };
  27596. for (var key in data) {
  27597. var _ret = _loop(key);
  27598. if (_ret === "continue") continue;
  27599. }
  27600. return _result.length ? prefix + _result.join('&') : '';
  27601. }
  27602. var _default = queryParams;
  27603. exports.default = _default;
  27604. /***/ }),
  27605. /***/ 49:
  27606. /*!******************************************************************!*\
  27607. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/route.js ***!
  27608. \******************************************************************/
  27609. /*! no static exports found */
  27610. /***/ (function(module, exports, __webpack_require__) {
  27611. "use strict";
  27612. /* WEBPACK VAR INJECTION */(function(uni) {
  27613. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27614. Object.defineProperty(exports, "__esModule", {
  27615. value: true
  27616. });
  27617. exports.default = void 0;
  27618. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 50));
  27619. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 52));
  27620. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  27621. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  27622. /**
  27623. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  27624. * 并且带有路由拦截功能
  27625. */
  27626. var Router = /*#__PURE__*/function () {
  27627. function Router() {
  27628. (0, _classCallCheck2.default)(this, Router);
  27629. // 原始属性定义
  27630. this.config = {
  27631. type: 'navigateTo',
  27632. url: '',
  27633. delta: 1,
  27634. // navigateBack页面后退时,回退的层数
  27635. params: {},
  27636. // 传递的参数
  27637. animationType: 'pop-in',
  27638. // 窗口动画,只在APP有效
  27639. animationDuration: 300,
  27640. // 窗口动画持续时间,单位毫秒,只在APP有效
  27641. intercept: false // 是否需要拦截
  27642. };
  27643. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  27644. // 这里在构造函数中进行this绑定
  27645. this.route = this.route.bind(this);
  27646. }
  27647. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  27648. (0, _createClass2.default)(Router, [{
  27649. key: "addRootPath",
  27650. value: function addRootPath(url) {
  27651. return url[0] === '/' ? url : "/".concat(url);
  27652. }
  27653. // 整合路由参数
  27654. }, {
  27655. key: "mixinParam",
  27656. value: function mixinParam(url, params) {
  27657. url = url && this.addRootPath(url);
  27658. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  27659. // 如果有url中有get参数,转换后无需带上"?"
  27660. var query = '';
  27661. if (/.*\/.*\?.*=.*/.test(url)) {
  27662. // object对象转为get类型的参数
  27663. query = uni.$u.queryParams(params, false);
  27664. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  27665. return url += "&" + query;
  27666. } else {
  27667. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  27668. query = uni.$u.queryParams(params);
  27669. return url += query;
  27670. }
  27671. }
  27672. // 对外的方法名称
  27673. }, {
  27674. key: "route",
  27675. value: function () {
  27676. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  27677. var options,
  27678. params,
  27679. mergeConfig,
  27680. isNext,
  27681. _args = arguments;
  27682. return _regenerator.default.wrap(function _callee$(_context) {
  27683. while (1) {
  27684. switch (_context.prev = _context.next) {
  27685. case 0:
  27686. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  27687. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  27688. // 合并用户的配置和内部的默认配置
  27689. mergeConfig = {};
  27690. if (typeof options === 'string') {
  27691. // 如果options为字符串,则为route(url, params)的形式
  27692. mergeConfig.url = this.mixinParam(options, params);
  27693. mergeConfig.type = 'navigateTo';
  27694. } else {
  27695. mergeConfig = uni.$u.deepClone(options, this.config);
  27696. // 否则正常使用mergeConfig中的url和params进行拼接
  27697. mergeConfig.url = this.mixinParam(options.url, options.params);
  27698. }
  27699. if (params.intercept) {
  27700. this.config.intercept = params.intercept;
  27701. }
  27702. // params参数也带给拦截器
  27703. mergeConfig.params = params;
  27704. // 合并内外部参数
  27705. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  27706. // 判断用户是否定义了拦截器
  27707. if (!(typeof uni.$u.routeIntercept === 'function')) {
  27708. _context.next = 14;
  27709. break;
  27710. }
  27711. _context.next = 10;
  27712. return new Promise(function (resolve, reject) {
  27713. uni.$u.routeIntercept(mergeConfig, resolve);
  27714. });
  27715. case 10:
  27716. isNext = _context.sent;
  27717. // 如果isNext为true,则执行路由跳转
  27718. isNext && this.openPage(mergeConfig);
  27719. _context.next = 15;
  27720. break;
  27721. case 14:
  27722. this.openPage(mergeConfig);
  27723. case 15:
  27724. case "end":
  27725. return _context.stop();
  27726. }
  27727. }
  27728. }, _callee, this);
  27729. }));
  27730. function route() {
  27731. return _route.apply(this, arguments);
  27732. }
  27733. return route;
  27734. }() // 执行路由跳转
  27735. }, {
  27736. key: "openPage",
  27737. value: function openPage(config) {
  27738. // 解构参数
  27739. var url = config.url,
  27740. type = config.type,
  27741. delta = config.delta,
  27742. animationType = config.animationType,
  27743. animationDuration = config.animationDuration;
  27744. if (config.type == 'navigateTo' || config.type == 'to') {
  27745. uni.navigateTo({
  27746. url: url,
  27747. animationType: animationType,
  27748. animationDuration: animationDuration
  27749. });
  27750. }
  27751. if (config.type == 'redirectTo' || config.type == 'redirect') {
  27752. uni.redirectTo({
  27753. url: url
  27754. });
  27755. }
  27756. if (config.type == 'switchTab' || config.type == 'tab') {
  27757. uni.switchTab({
  27758. url: url
  27759. });
  27760. }
  27761. if (config.type == 'reLaunch' || config.type == 'launch') {
  27762. uni.reLaunch({
  27763. url: url
  27764. });
  27765. }
  27766. if (config.type == 'navigateBack' || config.type == 'back') {
  27767. uni.navigateBack({
  27768. delta: delta
  27769. });
  27770. }
  27771. }
  27772. }]);
  27773. return Router;
  27774. }();
  27775. var _default = new Router().route;
  27776. exports.default = _default;
  27777. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27778. /***/ }),
  27779. /***/ 5:
  27780. /*!**************************************************************!*\
  27781. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  27782. \**************************************************************/
  27783. /*! no static exports found */
  27784. /***/ (function(module, exports, __webpack_require__) {
  27785. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  27786. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  27787. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  27788. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  27789. function _slicedToArray(arr, i) {
  27790. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  27791. }
  27792. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  27793. /***/ }),
  27794. /***/ 50:
  27795. /*!************************************************************************************************!*\
  27796. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  27797. \************************************************************************************************/
  27798. /*! no static exports found */
  27799. /***/ (function(module, exports, __webpack_require__) {
  27800. // TODO(Babel 8): Remove this file.
  27801. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 51)();
  27802. module.exports = runtime;
  27803. /***/ }),
  27804. /***/ 51:
  27805. /*!*******************************************************************!*\
  27806. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  27807. \*******************************************************************/
  27808. /*! no static exports found */
  27809. /***/ (function(module, exports, __webpack_require__) {
  27810. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  27811. function _regeneratorRuntime() {
  27812. "use strict";
  27813. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  27814. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  27815. return exports;
  27816. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  27817. var exports = {},
  27818. Op = Object.prototype,
  27819. hasOwn = Op.hasOwnProperty,
  27820. defineProperty = Object.defineProperty || function (obj, key, desc) {
  27821. obj[key] = desc.value;
  27822. },
  27823. $Symbol = "function" == typeof Symbol ? Symbol : {},
  27824. iteratorSymbol = $Symbol.iterator || "@@iterator",
  27825. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  27826. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  27827. function define(obj, key, value) {
  27828. return Object.defineProperty(obj, key, {
  27829. value: value,
  27830. enumerable: !0,
  27831. configurable: !0,
  27832. writable: !0
  27833. }), obj[key];
  27834. }
  27835. try {
  27836. define({}, "");
  27837. } catch (err) {
  27838. define = function define(obj, key, value) {
  27839. return obj[key] = value;
  27840. };
  27841. }
  27842. function wrap(innerFn, outerFn, self, tryLocsList) {
  27843. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  27844. generator = Object.create(protoGenerator.prototype),
  27845. context = new Context(tryLocsList || []);
  27846. return defineProperty(generator, "_invoke", {
  27847. value: makeInvokeMethod(innerFn, self, context)
  27848. }), generator;
  27849. }
  27850. function tryCatch(fn, obj, arg) {
  27851. try {
  27852. return {
  27853. type: "normal",
  27854. arg: fn.call(obj, arg)
  27855. };
  27856. } catch (err) {
  27857. return {
  27858. type: "throw",
  27859. arg: err
  27860. };
  27861. }
  27862. }
  27863. exports.wrap = wrap;
  27864. var ContinueSentinel = {};
  27865. function Generator() {}
  27866. function GeneratorFunction() {}
  27867. function GeneratorFunctionPrototype() {}
  27868. var IteratorPrototype = {};
  27869. define(IteratorPrototype, iteratorSymbol, function () {
  27870. return this;
  27871. });
  27872. var getProto = Object.getPrototypeOf,
  27873. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  27874. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  27875. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  27876. function defineIteratorMethods(prototype) {
  27877. ["next", "throw", "return"].forEach(function (method) {
  27878. define(prototype, method, function (arg) {
  27879. return this._invoke(method, arg);
  27880. });
  27881. });
  27882. }
  27883. function AsyncIterator(generator, PromiseImpl) {
  27884. function invoke(method, arg, resolve, reject) {
  27885. var record = tryCatch(generator[method], generator, arg);
  27886. if ("throw" !== record.type) {
  27887. var result = record.arg,
  27888. value = result.value;
  27889. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  27890. invoke("next", value, resolve, reject);
  27891. }, function (err) {
  27892. invoke("throw", err, resolve, reject);
  27893. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  27894. result.value = unwrapped, resolve(result);
  27895. }, function (error) {
  27896. return invoke("throw", error, resolve, reject);
  27897. });
  27898. }
  27899. reject(record.arg);
  27900. }
  27901. var previousPromise;
  27902. defineProperty(this, "_invoke", {
  27903. value: function value(method, arg) {
  27904. function callInvokeWithMethodAndArg() {
  27905. return new PromiseImpl(function (resolve, reject) {
  27906. invoke(method, arg, resolve, reject);
  27907. });
  27908. }
  27909. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  27910. }
  27911. });
  27912. }
  27913. function makeInvokeMethod(innerFn, self, context) {
  27914. var state = "suspendedStart";
  27915. return function (method, arg) {
  27916. if ("executing" === state) throw new Error("Generator is already running");
  27917. if ("completed" === state) {
  27918. if ("throw" === method) throw arg;
  27919. return doneResult();
  27920. }
  27921. for (context.method = method, context.arg = arg;;) {
  27922. var delegate = context.delegate;
  27923. if (delegate) {
  27924. var delegateResult = maybeInvokeDelegate(delegate, context);
  27925. if (delegateResult) {
  27926. if (delegateResult === ContinueSentinel) continue;
  27927. return delegateResult;
  27928. }
  27929. }
  27930. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  27931. if ("suspendedStart" === state) throw state = "completed", context.arg;
  27932. context.dispatchException(context.arg);
  27933. } else "return" === context.method && context.abrupt("return", context.arg);
  27934. state = "executing";
  27935. var record = tryCatch(innerFn, self, context);
  27936. if ("normal" === record.type) {
  27937. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  27938. return {
  27939. value: record.arg,
  27940. done: context.done
  27941. };
  27942. }
  27943. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  27944. }
  27945. };
  27946. }
  27947. function maybeInvokeDelegate(delegate, context) {
  27948. var methodName = context.method,
  27949. method = delegate.iterator[methodName];
  27950. if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
  27951. var record = tryCatch(method, delegate.iterator, context.arg);
  27952. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  27953. var info = record.arg;
  27954. return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
  27955. }
  27956. function pushTryEntry(locs) {
  27957. var entry = {
  27958. tryLoc: locs[0]
  27959. };
  27960. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  27961. }
  27962. function resetTryEntry(entry) {
  27963. var record = entry.completion || {};
  27964. record.type = "normal", delete record.arg, entry.completion = record;
  27965. }
  27966. function Context(tryLocsList) {
  27967. this.tryEntries = [{
  27968. tryLoc: "root"
  27969. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  27970. }
  27971. function values(iterable) {
  27972. if (iterable) {
  27973. var iteratorMethod = iterable[iteratorSymbol];
  27974. if (iteratorMethod) return iteratorMethod.call(iterable);
  27975. if ("function" == typeof iterable.next) return iterable;
  27976. if (!isNaN(iterable.length)) {
  27977. var i = -1,
  27978. next = function next() {
  27979. for (; ++i < iterable.length;) {
  27980. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  27981. }
  27982. return next.value = undefined, next.done = !0, next;
  27983. };
  27984. return next.next = next;
  27985. }
  27986. }
  27987. return {
  27988. next: doneResult
  27989. };
  27990. }
  27991. function doneResult() {
  27992. return {
  27993. value: undefined,
  27994. done: !0
  27995. };
  27996. }
  27997. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  27998. value: GeneratorFunctionPrototype,
  27999. configurable: !0
  28000. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  28001. value: GeneratorFunction,
  28002. configurable: !0
  28003. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  28004. var ctor = "function" == typeof genFun && genFun.constructor;
  28005. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  28006. }, exports.mark = function (genFun) {
  28007. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  28008. }, exports.awrap = function (arg) {
  28009. return {
  28010. __await: arg
  28011. };
  28012. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  28013. return this;
  28014. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  28015. void 0 === PromiseImpl && (PromiseImpl = Promise);
  28016. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  28017. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  28018. return result.done ? result.value : iter.next();
  28019. });
  28020. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  28021. return this;
  28022. }), define(Gp, "toString", function () {
  28023. return "[object Generator]";
  28024. }), exports.keys = function (val) {
  28025. var object = Object(val),
  28026. keys = [];
  28027. for (var key in object) {
  28028. keys.push(key);
  28029. }
  28030. return keys.reverse(), function next() {
  28031. for (; keys.length;) {
  28032. var key = keys.pop();
  28033. if (key in object) return next.value = key, next.done = !1, next;
  28034. }
  28035. return next.done = !0, next;
  28036. };
  28037. }, exports.values = values, Context.prototype = {
  28038. constructor: Context,
  28039. reset: function reset(skipTempReset) {
  28040. if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
  28041. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  28042. }
  28043. },
  28044. stop: function stop() {
  28045. this.done = !0;
  28046. var rootRecord = this.tryEntries[0].completion;
  28047. if ("throw" === rootRecord.type) throw rootRecord.arg;
  28048. return this.rval;
  28049. },
  28050. dispatchException: function dispatchException(exception) {
  28051. if (this.done) throw exception;
  28052. var context = this;
  28053. function handle(loc, caught) {
  28054. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  28055. }
  28056. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28057. var entry = this.tryEntries[i],
  28058. record = entry.completion;
  28059. if ("root" === entry.tryLoc) return handle("end");
  28060. if (entry.tryLoc <= this.prev) {
  28061. var hasCatch = hasOwn.call(entry, "catchLoc"),
  28062. hasFinally = hasOwn.call(entry, "finallyLoc");
  28063. if (hasCatch && hasFinally) {
  28064. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  28065. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  28066. } else if (hasCatch) {
  28067. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  28068. } else {
  28069. if (!hasFinally) throw new Error("try statement without catch or finally");
  28070. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  28071. }
  28072. }
  28073. }
  28074. },
  28075. abrupt: function abrupt(type, arg) {
  28076. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28077. var entry = this.tryEntries[i];
  28078. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  28079. var finallyEntry = entry;
  28080. break;
  28081. }
  28082. }
  28083. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  28084. var record = finallyEntry ? finallyEntry.completion : {};
  28085. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  28086. },
  28087. complete: function complete(record, afterLoc) {
  28088. if ("throw" === record.type) throw record.arg;
  28089. return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
  28090. },
  28091. finish: function finish(finallyLoc) {
  28092. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28093. var entry = this.tryEntries[i];
  28094. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  28095. }
  28096. },
  28097. "catch": function _catch(tryLoc) {
  28098. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28099. var entry = this.tryEntries[i];
  28100. if (entry.tryLoc === tryLoc) {
  28101. var record = entry.completion;
  28102. if ("throw" === record.type) {
  28103. var thrown = record.arg;
  28104. resetTryEntry(entry);
  28105. }
  28106. return thrown;
  28107. }
  28108. }
  28109. throw new Error("illegal catch attempt");
  28110. },
  28111. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  28112. return this.delegate = {
  28113. iterator: values(iterable),
  28114. resultName: resultName,
  28115. nextLoc: nextLoc
  28116. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  28117. }
  28118. }, exports;
  28119. }
  28120. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28121. /***/ }),
  28122. /***/ 52:
  28123. /*!*****************************************************************!*\
  28124. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  28125. \*****************************************************************/
  28126. /*! no static exports found */
  28127. /***/ (function(module, exports) {
  28128. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  28129. try {
  28130. var info = gen[key](arg);
  28131. var value = info.value;
  28132. } catch (error) {
  28133. reject(error);
  28134. return;
  28135. }
  28136. if (info.done) {
  28137. resolve(value);
  28138. } else {
  28139. Promise.resolve(value).then(_next, _throw);
  28140. }
  28141. }
  28142. function _asyncToGenerator(fn) {
  28143. return function () {
  28144. var self = this,
  28145. args = arguments;
  28146. return new Promise(function (resolve, reject) {
  28147. var gen = fn.apply(self, args);
  28148. function _next(value) {
  28149. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  28150. }
  28151. function _throw(err) {
  28152. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  28153. }
  28154. _next(undefined);
  28155. });
  28156. };
  28157. }
  28158. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28159. /***/ }),
  28160. /***/ 53:
  28161. /*!***********************************************************************!*\
  28162. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/timeFormat.js ***!
  28163. \***********************************************************************/
  28164. /*! no static exports found */
  28165. /***/ (function(module, exports, __webpack_require__) {
  28166. "use strict";
  28167. Object.defineProperty(exports, "__esModule", {
  28168. value: true
  28169. });
  28170. exports.default = void 0;
  28171. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  28172. // 所以这里做一个兼容polyfill的兼容处理
  28173. if (!String.prototype.padStart) {
  28174. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  28175. String.prototype.padStart = function (maxLength) {
  28176. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  28177. if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError('fillString must be String');
  28178. var str = this;
  28179. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  28180. if (str.length >= maxLength) return String(str);
  28181. var fillLength = maxLength - str.length,
  28182. times = Math.ceil(fillLength / fillString.length);
  28183. while (times >>= 1) {
  28184. fillString += fillString;
  28185. if (times === 1) {
  28186. fillString += fillString;
  28187. }
  28188. }
  28189. return fillString.slice(0, fillLength) + str;
  28190. };
  28191. }
  28192. // 其他更多是格式化有如下:
  28193. // yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
  28194. function timeFormat() {
  28195. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  28196. var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  28197. // 如果为null,则格式化当前时间
  28198. if (!dateTime) dateTime = Number(new Date());
  28199. // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
  28200. if (dateTime.toString().length == 10) dateTime *= 1000;
  28201. var date = new Date(dateTime);
  28202. var ret;
  28203. var opt = {
  28204. "y+": date.getFullYear().toString(),
  28205. // 年
  28206. "m+": (date.getMonth() + 1).toString(),
  28207. // 月
  28208. "d+": date.getDate().toString(),
  28209. // 日
  28210. "h+": date.getHours().toString(),
  28211. // 时
  28212. "M+": date.getMinutes().toString(),
  28213. // 分
  28214. "s+": date.getSeconds().toString() // 秒
  28215. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  28216. };
  28217. for (var k in opt) {
  28218. ret = new RegExp("(" + k + ")").exec(fmt);
  28219. if (ret) {
  28220. fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
  28221. }
  28222. ;
  28223. }
  28224. ;
  28225. return fmt;
  28226. }
  28227. var _default = timeFormat;
  28228. exports.default = _default;
  28229. /***/ }),
  28230. /***/ 54:
  28231. /*!*********************************************************************!*\
  28232. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/timeFrom.js ***!
  28233. \*********************************************************************/
  28234. /*! no static exports found */
  28235. /***/ (function(module, exports, __webpack_require__) {
  28236. "use strict";
  28237. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28238. Object.defineProperty(exports, "__esModule", {
  28239. value: true
  28240. });
  28241. exports.default = void 0;
  28242. var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 53));
  28243. /**
  28244. * 时间戳转为多久之前
  28245. * @param String timestamp 时间戳
  28246. * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  28247. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  28248. */
  28249. function timeFrom() {
  28250. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  28251. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  28252. // 如果为null,则格式化当前时间
  28253. if (!dateTime) dateTime = Number(new Date());
  28254. // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
  28255. if (dateTime.toString().length == 10) dateTime *= 1000;
  28256. var timestamp = +new Date(Number(dateTime));
  28257. var timer = (Number(new Date()) - timestamp) / 1000;
  28258. // 如果小于5分钟,则返回"刚刚",其他以此类推
  28259. var tips = '';
  28260. switch (true) {
  28261. case timer < 300:
  28262. tips = '刚刚';
  28263. break;
  28264. case timer >= 300 && timer < 3600:
  28265. tips = parseInt(timer / 60) + '分钟前';
  28266. break;
  28267. case timer >= 3600 && timer < 86400:
  28268. tips = parseInt(timer / 3600) + '小时前';
  28269. break;
  28270. case timer >= 86400 && timer < 2592000:
  28271. tips = parseInt(timer / 86400) + '天前';
  28272. break;
  28273. default:
  28274. // 如果format为false,则无论什么时间戳,都显示xx之前
  28275. if (format === false) {
  28276. if (timer >= 2592000 && timer < 365 * 86400) {
  28277. tips = parseInt(timer / (86400 * 30)) + '个月前';
  28278. } else {
  28279. tips = parseInt(timer / (86400 * 365)) + '年前';
  28280. }
  28281. } else {
  28282. tips = (0, _timeFormat.default)(timestamp, format);
  28283. }
  28284. }
  28285. return tips;
  28286. }
  28287. var _default = timeFrom;
  28288. exports.default = _default;
  28289. /***/ }),
  28290. /***/ 55:
  28291. /*!**************************************************************************!*\
  28292. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/colorGradient.js ***!
  28293. \**************************************************************************/
  28294. /*! no static exports found */
  28295. /***/ (function(module, exports, __webpack_require__) {
  28296. "use strict";
  28297. Object.defineProperty(exports, "__esModule", {
  28298. value: true
  28299. });
  28300. exports.default = void 0;
  28301. /**
  28302. * 求两个颜色之间的渐变值
  28303. * @param {string} startColor 开始的颜色
  28304. * @param {string} endColor 结束的颜色
  28305. * @param {number} step 颜色等分的份额
  28306. * */
  28307. function colorGradient() {
  28308. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  28309. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  28310. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  28311. var startRGB = hexToRgb(startColor, false); //转换为rgb数组模式
  28312. var startR = startRGB[0];
  28313. var startG = startRGB[1];
  28314. var startB = startRGB[2];
  28315. var endRGB = hexToRgb(endColor, false);
  28316. var endR = endRGB[0];
  28317. var endG = endRGB[1];
  28318. var endB = endRGB[2];
  28319. var sR = (endR - startR) / step; //总差值
  28320. var sG = (endG - startG) / step;
  28321. var sB = (endB - startB) / step;
  28322. var colorArr = [];
  28323. for (var i = 0; i < step; i++) {
  28324. //计算每一步的hex值
  28325. var hex = rgbToHex('rgb(' + Math.round(sR * i + startR) + ',' + Math.round(sG * i + startG) + ',' + Math.round(sB * i + startB) + ')');
  28326. colorArr.push(hex);
  28327. }
  28328. return colorArr;
  28329. }
  28330. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  28331. function hexToRgb(sColor) {
  28332. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  28333. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  28334. sColor = sColor.toLowerCase();
  28335. if (sColor && reg.test(sColor)) {
  28336. if (sColor.length === 4) {
  28337. var sColorNew = "#";
  28338. for (var i = 1; i < 4; i += 1) {
  28339. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  28340. }
  28341. sColor = sColorNew;
  28342. }
  28343. //处理六位的颜色值
  28344. var sColorChange = [];
  28345. for (var _i = 1; _i < 7; _i += 2) {
  28346. sColorChange.push(parseInt("0x" + sColor.slice(_i, _i + 2)));
  28347. }
  28348. if (!str) {
  28349. return sColorChange;
  28350. } else {
  28351. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  28352. }
  28353. } else if (/^(rgb|RGB)/.test(sColor)) {
  28354. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",");
  28355. return arr.map(function (val) {
  28356. return Number(val);
  28357. });
  28358. } else {
  28359. return sColor;
  28360. }
  28361. }
  28362. ;
  28363. // 将rgb表示方式转换为hex表示方式
  28364. function rgbToHex(rgb) {
  28365. var _this = rgb;
  28366. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  28367. if (/^(rgb|RGB)/.test(_this)) {
  28368. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",");
  28369. var strHex = "#";
  28370. for (var i = 0; i < aColor.length; i++) {
  28371. var hex = Number(aColor[i]).toString(16);
  28372. hex = String(hex).length == 1 ? 0 + '' + hex : hex; // 保证每个rgb的值为2位
  28373. if (hex === "0") {
  28374. hex += hex;
  28375. }
  28376. strHex += hex;
  28377. }
  28378. if (strHex.length !== 7) {
  28379. strHex = _this;
  28380. }
  28381. return strHex;
  28382. } else if (reg.test(_this)) {
  28383. var aNum = _this.replace(/#/, "").split("");
  28384. if (aNum.length === 6) {
  28385. return _this;
  28386. } else if (aNum.length === 3) {
  28387. var numHex = "#";
  28388. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  28389. numHex += aNum[_i2] + aNum[_i2];
  28390. }
  28391. return numHex;
  28392. }
  28393. } else {
  28394. return _this;
  28395. }
  28396. }
  28397. /**
  28398. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  28399. * sHex为传入的十六进制的色值
  28400. * alpha为rgba的透明度
  28401. */
  28402. function colorToRgba(color) {
  28403. var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.3;
  28404. color = rgbToHex(color);
  28405. // 十六进制颜色值的正则表达式
  28406. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  28407. /* 16进制颜色转为RGB格式 */
  28408. var sColor = color.toLowerCase();
  28409. if (sColor && reg.test(sColor)) {
  28410. if (sColor.length === 4) {
  28411. var sColorNew = '#';
  28412. for (var i = 1; i < 4; i += 1) {
  28413. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  28414. }
  28415. sColor = sColorNew;
  28416. }
  28417. // 处理六位的颜色值
  28418. var sColorChange = [];
  28419. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  28420. sColorChange.push(parseInt('0x' + sColor.slice(_i3, _i3 + 2)));
  28421. }
  28422. // return sColorChange.join(',')
  28423. return 'rgba(' + sColorChange.join(',') + ',' + alpha + ')';
  28424. } else {
  28425. return sColor;
  28426. }
  28427. }
  28428. var _default = {
  28429. colorGradient: colorGradient,
  28430. hexToRgb: hexToRgb,
  28431. rgbToHex: rgbToHex,
  28432. colorToRgba: colorToRgba
  28433. };
  28434. exports.default = _default;
  28435. /***/ }),
  28436. /***/ 56:
  28437. /*!*****************************************************************!*\
  28438. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/guid.js ***!
  28439. \*****************************************************************/
  28440. /*! no static exports found */
  28441. /***/ (function(module, exports, __webpack_require__) {
  28442. "use strict";
  28443. Object.defineProperty(exports, "__esModule", {
  28444. value: true
  28445. });
  28446. exports.default = void 0;
  28447. /**
  28448. * 本算法来源于简书开源代码,详见:https://www.jianshu.com/p/fdbf293d0a85
  28449. * 全局唯一标识符(uuid,Globally Unique Identifier),也称作 uuid(Universally Unique IDentifier)
  28450. * 一般用于多个组件之间,给它一个唯一的标识符,或者v-for循环的时候,如果使用数组的index可能会导致更新列表出现问题
  28451. * 最可能的情况是左滑删除item或者对某条信息流"不喜欢"并去掉它的时候,会导致组件内的数据可能出现错乱
  28452. * v-for的时候,推荐使用后端返回的id而不是循环的index
  28453. * @param {Number} len uuid的长度
  28454. * @param {Boolean} firstU 将返回的首字母置为"u"
  28455. * @param {Number} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  28456. */
  28457. function guid() {
  28458. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  28459. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  28460. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  28461. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  28462. var uuid = [];
  28463. radix = radix || chars.length;
  28464. if (len) {
  28465. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  28466. for (var i = 0; i < len; i++) {
  28467. uuid[i] = chars[0 | Math.random() * radix];
  28468. }
  28469. } else {
  28470. var r;
  28471. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  28472. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  28473. uuid[14] = '4';
  28474. for (var _i = 0; _i < 36; _i++) {
  28475. if (!uuid[_i]) {
  28476. r = 0 | Math.random() * 16;
  28477. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  28478. }
  28479. }
  28480. }
  28481. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guid不能用作id或者class
  28482. if (firstU) {
  28483. uuid.shift();
  28484. return 'u' + uuid.join('');
  28485. } else {
  28486. return uuid.join('');
  28487. }
  28488. }
  28489. var _default = guid;
  28490. exports.default = _default;
  28491. /***/ }),
  28492. /***/ 57:
  28493. /*!******************************************************************!*\
  28494. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/color.js ***!
  28495. \******************************************************************/
  28496. /*! no static exports found */
  28497. /***/ (function(module, exports, __webpack_require__) {
  28498. "use strict";
  28499. Object.defineProperty(exports, "__esModule", {
  28500. value: true
  28501. });
  28502. exports.default = void 0;
  28503. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  28504. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  28505. var color = {
  28506. primary: "#2979ff",
  28507. primaryDark: "#2b85e4",
  28508. primaryDisabled: "#a0cfff",
  28509. primaryLight: "#ecf5ff",
  28510. bgColor: "#f3f4f6",
  28511. info: "#909399",
  28512. infoDark: "#82848a",
  28513. infoDisabled: "#c8c9cc",
  28514. infoLight: "#f4f4f5",
  28515. warning: "#ff9900",
  28516. warningDark: "#f29100",
  28517. warningDisabled: "#fcbd71",
  28518. warningLight: "#fdf6ec",
  28519. error: "#fa3534",
  28520. errorDark: "#dd6161",
  28521. errorDisabled: "#fab6b6",
  28522. errorLight: "#fef0f0",
  28523. success: "#19be6b",
  28524. successDark: "#18b566",
  28525. successDisabled: "#71d5a1",
  28526. successLight: "#dbf1e1",
  28527. mainColor: "#303133",
  28528. contentColor: "#606266",
  28529. tipsColor: "#909399",
  28530. lightColor: "#c0c4cc",
  28531. borderColor: "#e4e7ed"
  28532. };
  28533. var _default = color;
  28534. exports.default = _default;
  28535. /***/ }),
  28536. /***/ 58:
  28537. /*!**********************************************************************!*\
  28538. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/type2icon.js ***!
  28539. \**********************************************************************/
  28540. /*! no static exports found */
  28541. /***/ (function(module, exports, __webpack_require__) {
  28542. "use strict";
  28543. Object.defineProperty(exports, "__esModule", {
  28544. value: true
  28545. });
  28546. exports.default = void 0;
  28547. /**
  28548. * 根据主题type值,获取对应的图标
  28549. * @param String type 主题名称,primary|info|error|warning|success
  28550. * @param String fill 是否使用fill填充实体的图标
  28551. */
  28552. function type2icon() {
  28553. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  28554. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  28555. // 如果非预置值,默认为success
  28556. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  28557. var iconName = '';
  28558. // 目前(2019-12-12),info和primary使用同一个图标
  28559. switch (type) {
  28560. case 'primary':
  28561. iconName = 'info-circle';
  28562. break;
  28563. case 'info':
  28564. iconName = 'info-circle';
  28565. break;
  28566. case 'error':
  28567. iconName = 'close-circle';
  28568. break;
  28569. case 'warning':
  28570. iconName = 'error-circle';
  28571. break;
  28572. case 'success':
  28573. iconName = 'checkmark-circle';
  28574. break;
  28575. default:
  28576. iconName = 'checkmark-circle';
  28577. }
  28578. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  28579. if (fill) iconName += '-fill';
  28580. return iconName;
  28581. }
  28582. var _default = type2icon;
  28583. exports.default = _default;
  28584. /***/ }),
  28585. /***/ 59:
  28586. /*!************************************************************************!*\
  28587. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/randomArray.js ***!
  28588. \************************************************************************/
  28589. /*! no static exports found */
  28590. /***/ (function(module, exports, __webpack_require__) {
  28591. "use strict";
  28592. Object.defineProperty(exports, "__esModule", {
  28593. value: true
  28594. });
  28595. exports.default = void 0;
  28596. // 打乱数组
  28597. function randomArray() {
  28598. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  28599. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  28600. return array.sort(function () {
  28601. return Math.random() - 0.5;
  28602. });
  28603. }
  28604. var _default = randomArray;
  28605. exports.default = _default;
  28606. /***/ }),
  28607. /***/ 6:
  28608. /*!***************************************************************!*\
  28609. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  28610. \***************************************************************/
  28611. /*! no static exports found */
  28612. /***/ (function(module, exports) {
  28613. function _arrayWithHoles(arr) {
  28614. if (Array.isArray(arr)) return arr;
  28615. }
  28616. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28617. /***/ }),
  28618. /***/ 60:
  28619. /*!********************************************************************!*\
  28620. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/addUnit.js ***!
  28621. \********************************************************************/
  28622. /*! no static exports found */
  28623. /***/ (function(module, exports, __webpack_require__) {
  28624. "use strict";
  28625. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28626. Object.defineProperty(exports, "__esModule", {
  28627. value: true
  28628. });
  28629. exports.default = addUnit;
  28630. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 47));
  28631. // 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾
  28632. function addUnit() {
  28633. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  28634. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rpx';
  28635. value = String(value);
  28636. // 用uView内置验证规则中的number判断是否为数值
  28637. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  28638. }
  28639. /***/ }),
  28640. /***/ 61:
  28641. /*!*******************************************************************!*\
  28642. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/random.js ***!
  28643. \*******************************************************************/
  28644. /*! no static exports found */
  28645. /***/ (function(module, exports, __webpack_require__) {
  28646. "use strict";
  28647. Object.defineProperty(exports, "__esModule", {
  28648. value: true
  28649. });
  28650. exports.default = void 0;
  28651. function random(min, max) {
  28652. if (min >= 0 && max > 0 && max >= min) {
  28653. var gab = max - min + 1;
  28654. return Math.floor(Math.random() * gab + min);
  28655. } else {
  28656. return 0;
  28657. }
  28658. }
  28659. var _default = random;
  28660. exports.default = _default;
  28661. /***/ }),
  28662. /***/ 62:
  28663. /*!*****************************************************************!*\
  28664. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/trim.js ***!
  28665. \*****************************************************************/
  28666. /*! no static exports found */
  28667. /***/ (function(module, exports, __webpack_require__) {
  28668. "use strict";
  28669. Object.defineProperty(exports, "__esModule", {
  28670. value: true
  28671. });
  28672. exports.default = void 0;
  28673. function trim(str) {
  28674. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  28675. if (pos == 'both') {
  28676. return str.replace(/^\s+|\s+$/g, "");
  28677. } else if (pos == "left") {
  28678. return str.replace(/^\s*/, '');
  28679. } else if (pos == 'right') {
  28680. return str.replace(/(\s*$)/g, "");
  28681. } else if (pos == 'all') {
  28682. return str.replace(/\s+/g, "");
  28683. } else {
  28684. return str;
  28685. }
  28686. }
  28687. var _default = trim;
  28688. exports.default = _default;
  28689. /***/ }),
  28690. /***/ 63:
  28691. /*!******************************************************************!*\
  28692. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/toast.js ***!
  28693. \******************************************************************/
  28694. /*! no static exports found */
  28695. /***/ (function(module, exports, __webpack_require__) {
  28696. "use strict";
  28697. /* WEBPACK VAR INJECTION */(function(uni) {
  28698. Object.defineProperty(exports, "__esModule", {
  28699. value: true
  28700. });
  28701. exports.default = void 0;
  28702. function toast(title) {
  28703. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1500;
  28704. uni.showToast({
  28705. title: title,
  28706. icon: 'none',
  28707. duration: duration
  28708. });
  28709. }
  28710. var _default = toast;
  28711. exports.default = _default;
  28712. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  28713. /***/ }),
  28714. /***/ 64:
  28715. /*!**********************************************************************!*\
  28716. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/getParent.js ***!
  28717. \**********************************************************************/
  28718. /*! no static exports found */
  28719. /***/ (function(module, exports, __webpack_require__) {
  28720. "use strict";
  28721. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28722. Object.defineProperty(exports, "__esModule", {
  28723. value: true
  28724. });
  28725. exports.default = getParent;
  28726. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  28727. // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  28728. // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  28729. function getParent(name, keys) {
  28730. var parent = this.$parent;
  28731. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  28732. while (parent) {
  28733. // 父组件
  28734. if (parent.$options.name !== name) {
  28735. // 如果组件的name不相等,继续上一级寻找
  28736. parent = parent.$parent;
  28737. } else {
  28738. var _ret = function () {
  28739. var data = {};
  28740. // 判断keys是否数组,如果传过来的是一个数组,那么直接使用数组元素值当做键值去父组件寻找
  28741. if (Array.isArray(keys)) {
  28742. keys.map(function (val) {
  28743. data[val] = parent[val] ? parent[val] : '';
  28744. });
  28745. } else {
  28746. // 历遍传过来的对象参数
  28747. for (var i in keys) {
  28748. // 如果子组件有此值则用,无此值则用父组件的值
  28749. // 判断是否空数组,如果是,则用父组件的值,否则用子组件的值
  28750. if (Array.isArray(keys[i])) {
  28751. if (keys[i].length) {
  28752. data[i] = keys[i];
  28753. } else {
  28754. data[i] = parent[i];
  28755. }
  28756. } else if (keys[i].constructor === Object) {
  28757. // 判断是否对象,如果是对象,且有属性,那么使用子组件的值,否则使用父组件的值
  28758. if (Object.keys(keys[i]).length) {
  28759. data[i] = keys[i];
  28760. } else {
  28761. data[i] = parent[i];
  28762. }
  28763. } else {
  28764. // 只要子组件有传值,即使是false值,也是“传值”了,也需要覆盖父组件的同名参数
  28765. data[i] = keys[i] || keys[i] === false ? keys[i] : parent[i];
  28766. }
  28767. }
  28768. }
  28769. return {
  28770. v: data
  28771. };
  28772. }();
  28773. if ((0, _typeof2.default)(_ret) === "object") return _ret.v;
  28774. }
  28775. }
  28776. return {};
  28777. }
  28778. /***/ }),
  28779. /***/ 65:
  28780. /*!********************************************************************!*\
  28781. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/$parent.js ***!
  28782. \********************************************************************/
  28783. /*! no static exports found */
  28784. /***/ (function(module, exports, __webpack_require__) {
  28785. "use strict";
  28786. Object.defineProperty(exports, "__esModule", {
  28787. value: true
  28788. });
  28789. exports.default = $parent;
  28790. // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  28791. // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  28792. // 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  28793. // 值(默认为undefined),就是查找最顶层的$parent
  28794. function $parent() {
  28795. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  28796. var parent = this.$parent;
  28797. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  28798. while (parent) {
  28799. // 父组件
  28800. if (parent.$options && parent.$options.name !== name) {
  28801. // 如果组件的name不相等,继续上一级寻找
  28802. parent = parent.$parent;
  28803. } else {
  28804. return parent;
  28805. }
  28806. }
  28807. return false;
  28808. }
  28809. /***/ }),
  28810. /***/ 66:
  28811. /*!****************************************************************!*\
  28812. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/sys.js ***!
  28813. \****************************************************************/
  28814. /*! no static exports found */
  28815. /***/ (function(module, exports, __webpack_require__) {
  28816. "use strict";
  28817. /* WEBPACK VAR INJECTION */(function(uni) {
  28818. Object.defineProperty(exports, "__esModule", {
  28819. value: true
  28820. });
  28821. exports.os = os;
  28822. exports.sys = sys;
  28823. function os() {
  28824. return uni.getSystemInfoSync().platform;
  28825. }
  28826. ;
  28827. function sys() {
  28828. return uni.getSystemInfoSync();
  28829. }
  28830. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  28831. /***/ }),
  28832. /***/ 67:
  28833. /*!*********************************************************************!*\
  28834. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/debounce.js ***!
  28835. \*********************************************************************/
  28836. /*! no static exports found */
  28837. /***/ (function(module, exports, __webpack_require__) {
  28838. "use strict";
  28839. Object.defineProperty(exports, "__esModule", {
  28840. value: true
  28841. });
  28842. exports.default = void 0;
  28843. var timeout = null;
  28844. /**
  28845. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  28846. *
  28847. * @param {Function} func 要执行的回调函数
  28848. * @param {Number} wait 延时的时间
  28849. * @param {Boolean} immediate 是否立即执行
  28850. * @return null
  28851. */
  28852. function debounce(func) {
  28853. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  28854. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  28855. // 清除定时器
  28856. if (timeout !== null) clearTimeout(timeout);
  28857. // 立即执行,此类情况一般用不到
  28858. if (immediate) {
  28859. var callNow = !timeout;
  28860. timeout = setTimeout(function () {
  28861. timeout = null;
  28862. }, wait);
  28863. if (callNow) typeof func === 'function' && func();
  28864. } else {
  28865. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  28866. timeout = setTimeout(function () {
  28867. typeof func === 'function' && func();
  28868. }, wait);
  28869. }
  28870. }
  28871. var _default = debounce;
  28872. exports.default = _default;
  28873. /***/ }),
  28874. /***/ 68:
  28875. /*!*********************************************************************!*\
  28876. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/throttle.js ***!
  28877. \*********************************************************************/
  28878. /*! no static exports found */
  28879. /***/ (function(module, exports, __webpack_require__) {
  28880. "use strict";
  28881. Object.defineProperty(exports, "__esModule", {
  28882. value: true
  28883. });
  28884. exports.default = void 0;
  28885. var timer, flag;
  28886. /**
  28887. * 节流原理:在一定时间内,只能触发一次
  28888. *
  28889. * @param {Function} func 要执行的回调函数
  28890. * @param {Number} wait 延时的时间
  28891. * @param {Boolean} immediate 是否立即执行
  28892. * @return null
  28893. */
  28894. function throttle(func) {
  28895. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  28896. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  28897. if (immediate) {
  28898. if (!flag) {
  28899. flag = true;
  28900. // 如果是立即执行,则在wait毫秒内开始时执行
  28901. typeof func === 'function' && func();
  28902. timer = setTimeout(function () {
  28903. flag = false;
  28904. }, wait);
  28905. }
  28906. } else {
  28907. if (!flag) {
  28908. flag = true;
  28909. // 如果是非立即执行,则在wait毫秒内的结束处执行
  28910. timer = setTimeout(function () {
  28911. flag = false;
  28912. typeof func === 'function' && func();
  28913. }, wait);
  28914. }
  28915. }
  28916. }
  28917. ;
  28918. var _default = throttle;
  28919. exports.default = _default;
  28920. /***/ }),
  28921. /***/ 69:
  28922. /*!*****************************************************************!*\
  28923. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/config/config.js ***!
  28924. \*****************************************************************/
  28925. /*! no static exports found */
  28926. /***/ (function(module, exports, __webpack_require__) {
  28927. "use strict";
  28928. Object.defineProperty(exports, "__esModule", {
  28929. value: true
  28930. });
  28931. exports.default = void 0;
  28932. // 此版本发布于2022-04-19
  28933. var version = '1.8.6';
  28934. var _default = {
  28935. v: version,
  28936. version: version,
  28937. // 主题名称
  28938. type: ['primary', 'success', 'info', 'error', 'warning']
  28939. };
  28940. exports.default = _default;
  28941. /***/ }),
  28942. /***/ 7:
  28943. /*!*********************************************************************!*\
  28944. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  28945. \*********************************************************************/
  28946. /*! no static exports found */
  28947. /***/ (function(module, exports) {
  28948. function _iterableToArrayLimit(arr, i) {
  28949. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  28950. if (null != _i) {
  28951. var _s,
  28952. _e,
  28953. _x,
  28954. _r,
  28955. _arr = [],
  28956. _n = !0,
  28957. _d = !1;
  28958. try {
  28959. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  28960. if (Object(_i) !== _i) return;
  28961. _n = !1;
  28962. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  28963. ;
  28964. }
  28965. } catch (err) {
  28966. _d = !0, _e = err;
  28967. } finally {
  28968. try {
  28969. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  28970. } finally {
  28971. if (_d) throw _e;
  28972. }
  28973. }
  28974. return _arr;
  28975. }
  28976. }
  28977. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28978. /***/ }),
  28979. /***/ 70:
  28980. /*!*****************************************************************!*\
  28981. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/config/zIndex.js ***!
  28982. \*****************************************************************/
  28983. /*! no static exports found */
  28984. /***/ (function(module, exports, __webpack_require__) {
  28985. "use strict";
  28986. Object.defineProperty(exports, "__esModule", {
  28987. value: true
  28988. });
  28989. exports.default = void 0;
  28990. // uniapp在H5中各API的z-index值如下:
  28991. /**
  28992. * actionsheet: 999
  28993. * modal: 999
  28994. * navigate: 998
  28995. * tabbar: 998
  28996. * toast: 999
  28997. */
  28998. var _default = {
  28999. toast: 10090,
  29000. noNetwork: 10080,
  29001. // popup包含popup,actionsheet,keyboard,picker的值
  29002. popup: 10075,
  29003. mask: 10070,
  29004. navbar: 980,
  29005. topTips: 975,
  29006. sticky: 970,
  29007. indexListSticky: 965
  29008. };
  29009. exports.default = _default;
  29010. /***/ }),
  29011. /***/ 8:
  29012. /*!***************************************************************************!*\
  29013. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  29014. \***************************************************************************/
  29015. /*! no static exports found */
  29016. /***/ (function(module, exports, __webpack_require__) {
  29017. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  29018. function _unsupportedIterableToArray(o, minLen) {
  29019. if (!o) return;
  29020. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  29021. var n = Object.prototype.toString.call(o).slice(8, -1);
  29022. if (n === "Object" && o.constructor) n = o.constructor.name;
  29023. if (n === "Map" || n === "Set") return Array.from(o);
  29024. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  29025. }
  29026. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  29027. /***/ }),
  29028. /***/ 9:
  29029. /*!*****************************************************************!*\
  29030. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  29031. \*****************************************************************/
  29032. /*! no static exports found */
  29033. /***/ (function(module, exports) {
  29034. function _arrayLikeToArray(arr, len) {
  29035. if (len == null || len > arr.length) len = arr.length;
  29036. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  29037. arr2[i] = arr[i];
  29038. }
  29039. return arr2;
  29040. }
  29041. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  29042. /***/ })
  29043. }]);
  29044. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map