12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241 |
- var Lm = Object.defineProperty;
- var Nm = (e, t, n) =>
- t in e
- ? Lm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n })
- : (e[t] = n);
- var Ns = (e, t, n) => (Nm(e, typeof t != 'symbol' ? t + '' : t, n), n);
- function Hx() {
- import.meta.url, import('_').catch(() => 1);
- async function* e() {}
- }
- (function () {
- const t = document.createElement('link').relList;
- if (t && t.supports && t.supports('modulepreload')) return;
- for (const o of document.querySelectorAll('link[rel="modulepreload"]')) r(o);
- new MutationObserver(o => {
- for (const i of o)
- if (i.type === 'childList')
- for (const s of i.addedNodes)
- s.tagName === 'LINK' && s.rel === 'modulepreload' && r(s);
- }).observe(document, { childList: !0, subtree: !0 });
- function n(o) {
- const i = {};
- return (
- o.integrity && (i.integrity = o.integrity),
- o.referrerPolicy && (i.referrerPolicy = o.referrerPolicy),
- o.crossOrigin === 'use-credentials'
- ? (i.credentials = 'include')
- : o.crossOrigin === 'anonymous'
- ? (i.credentials = 'omit')
- : (i.credentials = 'same-origin'),
- i
- );
- }
- function r(o) {
- if (o.ep) return;
- o.ep = !0;
- const i = n(o);
- fetch(o.href, i);
- }
- })();
- function qn(e, t) {
- const n = Object.create(null),
- r = e.split(',');
- for (let o = 0; o < r.length; o++) n[r[o]] = !0;
- return t ? o => !!n[o.toLowerCase()] : o => !!n[o];
- }
- const Ce = Object.freeze({}),
- $r = Object.freeze([]),
- yt = () => {},
- Cf = () => !1,
- jm = /^on[^a-z]/,
- Bo = e => jm.test(e),
- ki = e => e.startsWith('onUpdate:'),
- Ie = Object.assign,
- sl = (e, t) => {
- const n = e.indexOf(t);
- n > -1 && e.splice(n, 1);
- },
- Um = Object.prototype.hasOwnProperty,
- be = (e, t) => Um.call(e, t),
- le = Array.isArray,
- Pr = e => ss(e) === '[object Map]',
- Hm = e => ss(e) === '[object Set]',
- de = e => typeof e == 'function',
- Re = e => typeof e == 'string',
- al = e => typeof e == 'symbol',
- $e = e => e !== null && typeof e == 'object',
- ll = e => $e(e) && de(e.then) && de(e.catch),
- qm = Object.prototype.toString,
- ss = e => qm.call(e),
- cl = e => ss(e).slice(8, -1),
- zm = e => ss(e) === '[object Object]',
- ul = e => Re(e) && e !== 'NaN' && e[0] !== '-' && '' + parseInt(e, 10) === e,
- wi = qn(
- ',key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted'
- ),
- Vm = qn(
- 'bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo'
- ),
- as = e => {
- const t = Object.create(null);
- return n => t[n] || (t[n] = e(n));
- },
- Wm = /-(\w)/g,
- Qt = as(e => e.replace(Wm, (t, n) => (n ? n.toUpperCase() : ''))),
- Km = /\B([A-Z])/g,
- Xt = as(e => e.replace(Km, '-$1').toLowerCase()),
- fr = as(e => e.charAt(0).toUpperCase() + e.slice(1)),
- Xn = as(e => (e ? `on${fr(e)}` : '')),
- _o = (e, t) => !Object.is(e, t),
- Gr = (e, t) => {
- for (let n = 0; n < e.length; n++) e[n](t);
- },
- Mi = (e, t, n) => {
- Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n });
- },
- Gm = e => {
- const t = parseFloat(e);
- return isNaN(t) ? e : t;
- },
- Ym = e => {
- const t = Re(e) ? Number(e) : NaN;
- return isNaN(t) ? e : t;
- };
- let pc;
- const Fi = () =>
- pc ||
- (pc =
- typeof globalThis < 'u'
- ? globalThis
- : typeof self < 'u'
- ? self
- : typeof window < 'u'
- ? window
- : typeof global < 'u'
- ? global
- : {});
- function fl(e) {
- if (le(e)) {
- const t = {};
- for (let n = 0; n < e.length; n++) {
- const r = e[n],
- o = Re(r) ? Zm(r) : fl(r);
- if (o) for (const i in o) t[i] = o[i];
- }
- return t;
- } else {
- if (Re(e)) return e;
- if ($e(e)) return e;
- }
- }
- const Jm = /;(?![^(]*\))/g,
- Qm = /:([^]+)/,
- Xm = /\/\*[^]*?\*\//g;
- function Zm(e) {
- const t = {};
- return (
- e
- .replace(Xm, '')
- .split(Jm)
- .forEach(n => {
- if (n) {
- const r = n.split(Qm);
- r.length > 1 && (t[r[0].trim()] = r[1].trim());
- }
- }),
- t
- );
- }
- function qx(e) {
- let t = '';
- if (!e || Re(e)) return t;
- for (const n in e) {
- const r = e[n],
- o = n.startsWith('--') ? n : Xt(n);
- (Re(r) || typeof r == 'number') && (t += `${o}:${r};`);
- }
- return t;
- }
- function dl(e) {
- let t = '';
- if (Re(e)) t = e;
- else if (le(e))
- for (let n = 0; n < e.length; n++) {
- const r = dl(e[n]);
- r && (t += r + ' ');
- }
- else if ($e(e)) for (const n in e) e[n] && (t += n + ' ');
- return t.trim();
- }
- const eg =
- 'html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot',
- tg =
- 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view',
- ng = qn(eg),
- rg = qn(tg),
- og =
- 'itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly',
- ig = qn(og);
- function $f(e) {
- return !!e || e === '';
- }
- function Bi(e, ...t) {
- console.warn(`[Vue warn] ${e}`, ...t);
- }
- let Et;
- class Pf {
- constructor(t = !1) {
- (this.detached = t),
- (this._active = !0),
- (this.effects = []),
- (this.cleanups = []),
- (this.parent = Et),
- !t && Et && (this.index = (Et.scopes || (Et.scopes = [])).push(this) - 1);
- }
- get active() {
- return this._active;
- }
- run(t) {
- if (this._active) {
- const n = Et;
- try {
- return (Et = this), t();
- } finally {
- Et = n;
- }
- } else Bi('cannot run an inactive effect scope.');
- }
- on() {
- Et = this;
- }
- off() {
- Et = this.parent;
- }
- stop(t) {
- if (this._active) {
- let n, r;
- for (n = 0, r = this.effects.length; n < r; n++) this.effects[n].stop();
- for (n = 0, r = this.cleanups.length; n < r; n++) this.cleanups[n]();
- if (this.scopes)
- for (n = 0, r = this.scopes.length; n < r; n++) this.scopes[n].stop(!0);
- if (!this.detached && this.parent && !t) {
- const o = this.parent.scopes.pop();
- o &&
- o !== this &&
- ((this.parent.scopes[this.index] = o), (o.index = this.index));
- }
- (this.parent = void 0), (this._active = !1);
- }
- }
- }
- function If(e) {
- return new Pf(e);
- }
- function sg(e, t = Et) {
- t && t.active && t.effects.push(e);
- }
- function Rf() {
- return Et;
- }
- function ag(e) {
- Et
- ? Et.cleanups.push(e)
- : Bi(
- 'onScopeDispose() is called when there is no active effect scope to be associated with.'
- );
- }
- const pl = e => {
- const t = new Set(e);
- return (t.w = 0), (t.n = 0), t;
- },
- kf = e => (e.w & Nn) > 0,
- Mf = e => (e.n & Nn) > 0,
- lg = ({ deps: e }) => {
- if (e.length) for (let t = 0; t < e.length; t++) e[t].w |= Nn;
- },
- cg = e => {
- const { deps: t } = e;
- if (t.length) {
- let n = 0;
- for (let r = 0; r < t.length; r++) {
- const o = t[r];
- kf(o) && !Mf(o) ? o.delete(e) : (t[n++] = o),
- (o.w &= ~Nn),
- (o.n &= ~Nn);
- }
- t.length = n;
- }
- },
- Di = new WeakMap();
- let ro = 0,
- Nn = 1;
- const ha = 30;
- let ut;
- const ir = Symbol('iterate'),
- ma = Symbol('Map key iterate');
- class hl {
- constructor(t, n = null, r) {
- (this.fn = t),
- (this.scheduler = n),
- (this.active = !0),
- (this.deps = []),
- (this.parent = void 0),
- sg(this, r);
- }
- run() {
- if (!this.active) return this.fn();
- let t = ut,
- n = Bn;
- for (; t; ) {
- if (t === this) return;
- t = t.parent;
- }
- try {
- return (
- (this.parent = ut),
- (ut = this),
- (Bn = !0),
- (Nn = 1 << ++ro),
- ro <= ha ? lg(this) : hc(this),
- this.fn()
- );
- } finally {
- ro <= ha && cg(this),
- (Nn = 1 << --ro),
- (ut = this.parent),
- (Bn = n),
- (this.parent = void 0),
- this.deferStop && this.stop();
- }
- }
- stop() {
- ut === this
- ? (this.deferStop = !0)
- : this.active &&
- (hc(this), this.onStop && this.onStop(), (this.active = !1));
- }
- }
- function hc(e) {
- const { deps: t } = e;
- if (t.length) {
- for (let n = 0; n < t.length; n++) t[n].delete(e);
- t.length = 0;
- }
- }
- let Bn = !0;
- const Ff = [];
- function mr() {
- Ff.push(Bn), (Bn = !1);
- }
- function gr() {
- const e = Ff.pop();
- Bn = e === void 0 ? !0 : e;
- }
- function ot(e, t, n) {
- if (Bn && ut) {
- let r = Di.get(e);
- r || Di.set(e, (r = new Map()));
- let o = r.get(n);
- o || r.set(n, (o = pl())),
- Bf(o, { effect: ut, target: e, type: t, key: n });
- }
- }
- function Bf(e, t) {
- let n = !1;
- ro <= ha ? Mf(e) || ((e.n |= Nn), (n = !kf(e))) : (n = !e.has(ut)),
- n &&
- (e.add(ut),
- ut.deps.push(e),
- ut.onTrack && ut.onTrack(Ie({ effect: ut }, t)));
- }
- function Zt(e, t, n, r, o, i) {
- const s = Di.get(e);
- if (!s) return;
- let l = [];
- if (t === 'clear') l = [...s.values()];
- else if (n === 'length' && le(e)) {
- const a = Number(r);
- s.forEach((c, f) => {
- (f === 'length' || f >= a) && l.push(c);
- });
- } else
- switch ((n !== void 0 && l.push(s.get(n)), t)) {
- case 'add':
- le(e)
- ? ul(n) && l.push(s.get('length'))
- : (l.push(s.get(ir)), Pr(e) && l.push(s.get(ma)));
- break;
- case 'delete':
- le(e) || (l.push(s.get(ir)), Pr(e) && l.push(s.get(ma)));
- break;
- case 'set':
- Pr(e) && l.push(s.get(ir));
- break;
- }
- const u = {
- target: e,
- type: t,
- key: n,
- newValue: r,
- oldValue: o,
- oldTarget: i
- };
- if (l.length === 1) l[0] && ga(l[0], u);
- else {
- const a = [];
- for (const c of l) c && a.push(...c);
- ga(pl(a), u);
- }
- }
- function ga(e, t) {
- const n = le(e) ? e : [...e];
- for (const r of n) r.computed && mc(r, t);
- for (const r of n) r.computed || mc(r, t);
- }
- function mc(e, t) {
- (e !== ut || e.allowRecurse) &&
- (e.onTrigger && e.onTrigger(Ie({ effect: e }, t)),
- e.scheduler ? e.scheduler() : e.run());
- }
- function ug(e, t) {
- var n;
- return (n = Di.get(e)) == null ? void 0 : n.get(t);
- }
- const fg = qn('__proto__,__v_isRef,__isVue'),
- Df = new Set(
- Object.getOwnPropertyNames(Symbol)
- .filter(e => e !== 'arguments' && e !== 'caller')
- .map(e => Symbol[e])
- .filter(al)
- ),
- dg = ls(),
- pg = ls(!1, !0),
- hg = ls(!0),
- mg = ls(!0, !0),
- gc = gg();
- function gg() {
- const e = {};
- return (
- ['includes', 'indexOf', 'lastIndexOf'].forEach(t => {
- e[t] = function (...n) {
- const r = fe(this);
- for (let i = 0, s = this.length; i < s; i++) ot(r, 'get', i + '');
- const o = r[t](...n);
- return o === -1 || o === !1 ? r[t](...n.map(fe)) : o;
- };
- }),
- ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(t => {
- e[t] = function (...n) {
- mr();
- const r = fe(this)[t].apply(this, n);
- return gr(), r;
- };
- }),
- e
- );
- }
- function yg(e) {
- const t = fe(this);
- return ot(t, 'has', e), t.hasOwnProperty(e);
- }
- function ls(e = !1, t = !1) {
- return function (r, o, i) {
- if (o === '__v_isReactive') return !e;
- if (o === '__v_isReadonly') return e;
- if (o === '__v_isShallow') return t;
- if (o === '__v_raw' && i === (e ? (t ? Vf : zf) : t ? qf : Hf).get(r))
- return r;
- const s = le(r);
- if (!e) {
- if (s && be(gc, o)) return Reflect.get(gc, o, i);
- if (o === 'hasOwnProperty') return yg;
- }
- const l = Reflect.get(r, o, i);
- return (al(o) ? Df.has(o) : fg(o)) || (e || ot(r, 'get', o), t)
- ? l
- : Pe(l)
- ? s && ul(o)
- ? l
- : l.value
- : $e(l)
- ? e
- ? Wf(l)
- : vt(l)
- : l;
- };
- }
- const vg = Lf(),
- bg = Lf(!0);
- function Lf(e = !1) {
- return function (n, r, o, i) {
- let s = n[r];
- if (jn(s) && Pe(s) && !Pe(o)) return !1;
- if (
- !e &&
- (!Li(o) && !jn(o) && ((s = fe(s)), (o = fe(o))),
- !le(n) && Pe(s) && !Pe(o))
- )
- return (s.value = o), !0;
- const l = le(n) && ul(r) ? Number(r) < n.length : be(n, r),
- u = Reflect.set(n, r, o, i);
- return (
- n === fe(i) &&
- (l ? _o(o, s) && Zt(n, 'set', r, o, s) : Zt(n, 'add', r, o)),
- u
- );
- };
- }
- function _g(e, t) {
- const n = be(e, t),
- r = e[t],
- o = Reflect.deleteProperty(e, t);
- return o && n && Zt(e, 'delete', t, void 0, r), o;
- }
- function wg(e, t) {
- const n = Reflect.has(e, t);
- return (!al(t) || !Df.has(t)) && ot(e, 'has', t), n;
- }
- function Eg(e) {
- return ot(e, 'iterate', le(e) ? 'length' : ir), Reflect.ownKeys(e);
- }
- const Nf = { get: dg, set: vg, deleteProperty: _g, has: wg, ownKeys: Eg },
- jf = {
- get: hg,
- set(e, t) {
- return (
- Bi(
- `Set operation on key "${String(t)}" failed: target is readonly.`,
- e
- ),
- !0
- );
- },
- deleteProperty(e, t) {
- return (
- Bi(
- `Delete operation on key "${String(t)}" failed: target is readonly.`,
- e
- ),
- !0
- );
- }
- },
- Sg = Ie({}, Nf, { get: pg, set: bg }),
- Og = Ie({}, jf, { get: mg }),
- ml = e => e,
- cs = e => Reflect.getPrototypeOf(e);
- function ii(e, t, n = !1, r = !1) {
- e = e.__v_raw;
- const o = fe(e),
- i = fe(t);
- n || (t !== i && ot(o, 'get', t), ot(o, 'get', i));
- const { has: s } = cs(o),
- l = r ? ml : n ? gl : wo;
- if (s.call(o, t)) return l(e.get(t));
- if (s.call(o, i)) return l(e.get(i));
- e !== o && e.get(t);
- }
- function si(e, t = !1) {
- const n = this.__v_raw,
- r = fe(n),
- o = fe(e);
- return (
- t || (e !== o && ot(r, 'has', e), ot(r, 'has', o)),
- e === o ? n.has(e) : n.has(e) || n.has(o)
- );
- }
- function ai(e, t = !1) {
- return (
- (e = e.__v_raw), !t && ot(fe(e), 'iterate', ir), Reflect.get(e, 'size', e)
- );
- }
- function yc(e) {
- e = fe(e);
- const t = fe(this);
- return cs(t).has.call(t, e) || (t.add(e), Zt(t, 'add', e, e)), this;
- }
- function vc(e, t) {
- t = fe(t);
- const n = fe(this),
- { has: r, get: o } = cs(n);
- let i = r.call(n, e);
- i ? Uf(n, r, e) : ((e = fe(e)), (i = r.call(n, e)));
- const s = o.call(n, e);
- return (
- n.set(e, t),
- i ? _o(t, s) && Zt(n, 'set', e, t, s) : Zt(n, 'add', e, t),
- this
- );
- }
- function bc(e) {
- const t = fe(this),
- { has: n, get: r } = cs(t);
- let o = n.call(t, e);
- o ? Uf(t, n, e) : ((e = fe(e)), (o = n.call(t, e)));
- const i = r ? r.call(t, e) : void 0,
- s = t.delete(e);
- return o && Zt(t, 'delete', e, void 0, i), s;
- }
- function _c() {
- const e = fe(this),
- t = e.size !== 0,
- n = Pr(e) ? new Map(e) : new Set(e),
- r = e.clear();
- return t && Zt(e, 'clear', void 0, void 0, n), r;
- }
- function li(e, t) {
- return function (r, o) {
- const i = this,
- s = i.__v_raw,
- l = fe(s),
- u = t ? ml : e ? gl : wo;
- return (
- !e && ot(l, 'iterate', ir), s.forEach((a, c) => r.call(o, u(a), u(c), i))
- );
- };
- }
- function ci(e, t, n) {
- return function (...r) {
- const o = this.__v_raw,
- i = fe(o),
- s = Pr(i),
- l = e === 'entries' || (e === Symbol.iterator && s),
- u = e === 'keys' && s,
- a = o[e](...r),
- c = n ? ml : t ? gl : wo;
- return (
- !t && ot(i, 'iterate', u ? ma : ir),
- {
- next() {
- const { value: f, done: d } = a.next();
- return d
- ? { value: f, done: d }
- : { value: l ? [c(f[0]), c(f[1])] : c(f), done: d };
- },
- [Symbol.iterator]() {
- return this;
- }
- }
- );
- };
- }
- function On(e) {
- return function (...t) {
- {
- const n = t[0] ? `on key "${t[0]}" ` : '';
- console.warn(
- `${fr(e)} operation ${n}failed: target is readonly.`,
- fe(this)
- );
- }
- return e === 'delete' ? !1 : this;
- };
- }
- function xg() {
- const e = {
- get(i) {
- return ii(this, i);
- },
- get size() {
- return ai(this);
- },
- has: si,
- add: yc,
- set: vc,
- delete: bc,
- clear: _c,
- forEach: li(!1, !1)
- },
- t = {
- get(i) {
- return ii(this, i, !1, !0);
- },
- get size() {
- return ai(this);
- },
- has: si,
- add: yc,
- set: vc,
- delete: bc,
- clear: _c,
- forEach: li(!1, !0)
- },
- n = {
- get(i) {
- return ii(this, i, !0);
- },
- get size() {
- return ai(this, !0);
- },
- has(i) {
- return si.call(this, i, !0);
- },
- add: On('add'),
- set: On('set'),
- delete: On('delete'),
- clear: On('clear'),
- forEach: li(!0, !1)
- },
- r = {
- get(i) {
- return ii(this, i, !0, !0);
- },
- get size() {
- return ai(this, !0);
- },
- has(i) {
- return si.call(this, i, !0);
- },
- add: On('add'),
- set: On('set'),
- delete: On('delete'),
- clear: On('clear'),
- forEach: li(!0, !0)
- };
- return (
- ['keys', 'values', 'entries', Symbol.iterator].forEach(i => {
- (e[i] = ci(i, !1, !1)),
- (n[i] = ci(i, !0, !1)),
- (t[i] = ci(i, !1, !0)),
- (r[i] = ci(i, !0, !0));
- }),
- [e, n, t, r]
- );
- }
- const [Ag, Tg, Cg, $g] = xg();
- function us(e, t) {
- const n = t ? (e ? $g : Cg) : e ? Tg : Ag;
- return (r, o, i) =>
- o === '__v_isReactive'
- ? !e
- : o === '__v_isReadonly'
- ? e
- : o === '__v_raw'
- ? r
- : Reflect.get(be(n, o) && o in r ? n : r, o, i);
- }
- const Pg = { get: us(!1, !1) },
- Ig = { get: us(!1, !0) },
- Rg = { get: us(!0, !1) },
- kg = { get: us(!0, !0) };
- function Uf(e, t, n) {
- const r = fe(n);
- if (r !== n && t.call(e, r)) {
- const o = cl(e);
- console.warn(
- `Reactive ${o} contains both the raw and reactive versions of the same object${
- o === 'Map' ? ' as keys' : ''
- }, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
- );
- }
- }
- const Hf = new WeakMap(),
- qf = new WeakMap(),
- zf = new WeakMap(),
- Vf = new WeakMap();
- function Mg(e) {
- switch (e) {
- case 'Object':
- case 'Array':
- return 1;
- case 'Map':
- case 'Set':
- case 'WeakMap':
- case 'WeakSet':
- return 2;
- default:
- return 0;
- }
- }
- function Fg(e) {
- return e.__v_skip || !Object.isExtensible(e) ? 0 : Mg(cl(e));
- }
- function vt(e) {
- return jn(e) ? e : fs(e, !1, Nf, Pg, Hf);
- }
- function Bg(e) {
- return fs(e, !1, Sg, Ig, qf);
- }
- function Wf(e) {
- return fs(e, !0, jf, Rg, zf);
- }
- function oo(e) {
- return fs(e, !0, Og, kg, Vf);
- }
- function fs(e, t, n, r, o) {
- if (!$e(e))
- return console.warn(`value cannot be made reactive: ${String(e)}`), e;
- if (e.__v_raw && !(t && e.__v_isReactive)) return e;
- const i = o.get(e);
- if (i) return i;
- const s = Fg(e);
- if (s === 0) return e;
- const l = new Proxy(e, s === 2 ? r : n);
- return o.set(e, l), l;
- }
- function Yt(e) {
- return jn(e) ? Yt(e.__v_raw) : !!(e && e.__v_isReactive);
- }
- function jn(e) {
- return !!(e && e.__v_isReadonly);
- }
- function Li(e) {
- return !!(e && e.__v_isShallow);
- }
- function Ni(e) {
- return Yt(e) || jn(e);
- }
- function fe(e) {
- const t = e && e.__v_raw;
- return t ? fe(t) : e;
- }
- function vn(e) {
- return Mi(e, '__v_skip', !0), e;
- }
- const wo = e => ($e(e) ? vt(e) : e),
- gl = e => ($e(e) ? Wf(e) : e);
- function Kf(e) {
- Bn &&
- ut &&
- ((e = fe(e)),
- Bf(e.dep || (e.dep = pl()), { target: e, type: 'get', key: 'value' }));
- }
- function Gf(e, t) {
- e = fe(e);
- const n = e.dep;
- n && ga(n, { target: e, type: 'set', key: 'value', newValue: t });
- }
- function Pe(e) {
- return !!(e && e.__v_isRef === !0);
- }
- function Ae(e) {
- return Yf(e, !1);
- }
- function Dg(e) {
- return Yf(e, !0);
- }
- function Yf(e, t) {
- return Pe(e) ? e : new Lg(e, t);
- }
- class Lg {
- constructor(t, n) {
- (this.__v_isShallow = n),
- (this.dep = void 0),
- (this.__v_isRef = !0),
- (this._rawValue = n ? t : fe(t)),
- (this._value = n ? t : wo(t));
- }
- get value() {
- return Kf(this), this._value;
- }
- set value(t) {
- const n = this.__v_isShallow || Li(t) || jn(t);
- (t = n ? t : fe(t)),
- _o(t, this._rawValue) &&
- ((this._rawValue = t), (this._value = n ? t : wo(t)), Gf(this, t));
- }
- }
- function Rt(e) {
- return Pe(e) ? e.value : e;
- }
- const Ng = {
- get: (e, t, n) => Rt(Reflect.get(e, t, n)),
- set: (e, t, n, r) => {
- const o = e[t];
- return Pe(o) && !Pe(n) ? ((o.value = n), !0) : Reflect.set(e, t, n, r);
- }
- };
- function Jf(e) {
- return Yt(e) ? e : new Proxy(e, Ng);
- }
- function wc(e) {
- Ni(e) ||
- console.warn(
- 'toRefs() expects a reactive object but received a plain one.'
- );
- const t = le(e) ? new Array(e.length) : {};
- for (const n in e) t[n] = Qf(e, n);
- return t;
- }
- class jg {
- constructor(t, n, r) {
- (this._object = t),
- (this._key = n),
- (this._defaultValue = r),
- (this.__v_isRef = !0);
- }
- get value() {
- const t = this._object[this._key];
- return t === void 0 ? this._defaultValue : t;
- }
- set value(t) {
- this._object[this._key] = t;
- }
- get dep() {
- return ug(fe(this._object), this._key);
- }
- }
- class Ug {
- constructor(t) {
- (this._getter = t), (this.__v_isRef = !0), (this.__v_isReadonly = !0);
- }
- get value() {
- return this._getter();
- }
- }
- function js(e, t, n) {
- return Pe(e)
- ? e
- : de(e)
- ? new Ug(e)
- : $e(e) && arguments.length > 1
- ? Qf(e, t, n)
- : Ae(e);
- }
- function Qf(e, t, n) {
- const r = e[t];
- return Pe(r) ? r : new jg(e, t, n);
- }
- class Hg {
- constructor(t, n, r, o) {
- (this._setter = n),
- (this.dep = void 0),
- (this.__v_isRef = !0),
- (this.__v_isReadonly = !1),
- (this._dirty = !0),
- (this.effect = new hl(t, () => {
- this._dirty || ((this._dirty = !0), Gf(this));
- })),
- (this.effect.computed = this),
- (this.effect.active = this._cacheable = !o),
- (this.__v_isReadonly = r);
- }
- get value() {
- const t = fe(this);
- return (
- Kf(t),
- (t._dirty || !t._cacheable) &&
- ((t._dirty = !1), (t._value = t.effect.run())),
- t._value
- );
- }
- set value(t) {
- this._setter(t);
- }
- }
- function qg(e, t, n = !1) {
- let r, o;
- const i = de(e);
- i
- ? ((r = e),
- (o = () => {
- console.warn('Write operation failed: computed value is readonly');
- }))
- : ((r = e.get), (o = e.set));
- const s = new Hg(r, o, i || !o, n);
- return (
- t &&
- !n &&
- ((s.effect.onTrack = t.onTrack), (s.effect.onTrigger = t.onTrigger)),
- s
- );
- }
- const sr = [];
- function Ei(e) {
- sr.push(e);
- }
- function Si() {
- sr.pop();
- }
- function q(e, ...t) {
- mr();
- const n = sr.length ? sr[sr.length - 1].component : null,
- r = n && n.appContext.config.warnHandler,
- o = zg();
- if (r)
- bn(r, n, 11, [
- e + t.join(''),
- n && n.proxy,
- o.map(({ vnode: i }) => `at <${_s(n, i.type)}>`).join(`
- `),
- o
- ]);
- else {
- const i = [`[Vue warn]: ${e}`, ...t];
- o.length &&
- i.push(
- `
- `,
- ...Vg(o)
- ),
- console.warn(...i);
- }
- gr();
- }
- function zg() {
- let e = sr[sr.length - 1];
- if (!e) return [];
- const t = [];
- for (; e; ) {
- const n = t[0];
- n && n.vnode === e
- ? n.recurseCount++
- : t.push({ vnode: e, recurseCount: 0 });
- const r = e.component && e.component.parent;
- e = r && r.vnode;
- }
- return t;
- }
- function Vg(e) {
- const t = [];
- return (
- e.forEach((n, r) => {
- t.push(
- ...(r === 0
- ? []
- : [
- `
- `
- ]),
- ...Wg(n)
- );
- }),
- t
- );
- }
- function Wg({ vnode: e, recurseCount: t }) {
- const n = t > 0 ? `... (${t} recursive calls)` : '',
- r = e.component ? e.component.parent == null : !1,
- o = ` at <${_s(e.component, e.type, r)}`,
- i = '>' + n;
- return e.props ? [o, ...Kg(e.props), i] : [o + i];
- }
- function Kg(e) {
- const t = [],
- n = Object.keys(e);
- return (
- n.slice(0, 3).forEach(r => {
- t.push(...Xf(r, e[r]));
- }),
- n.length > 3 && t.push(' ...'),
- t
- );
- }
- function Xf(e, t, n) {
- return Re(t)
- ? ((t = JSON.stringify(t)), n ? t : [`${e}=${t}`])
- : typeof t == 'number' || typeof t == 'boolean' || t == null
- ? n
- ? t
- : [`${e}=${t}`]
- : Pe(t)
- ? ((t = Xf(e, fe(t.value), !0)), n ? t : [`${e}=Ref<`, t, '>'])
- : de(t)
- ? [`${e}=fn${t.name ? `<${t.name}>` : ''}`]
- : ((t = fe(t)), n ? t : [`${e}=`, t]);
- }
- function Gg(e, t) {
- e !== void 0 &&
- (typeof e != 'number'
- ? q(`${t} is not a valid number - got ${JSON.stringify(e)}.`)
- : isNaN(e) &&
- q(`${t} is NaN - the duration expression might be incorrect.`));
- }
- const yl = {
- sp: 'serverPrefetch hook',
- bc: 'beforeCreate hook',
- c: 'created hook',
- bm: 'beforeMount hook',
- m: 'mounted hook',
- bu: 'beforeUpdate hook',
- u: 'updated',
- bum: 'beforeUnmount hook',
- um: 'unmounted hook',
- a: 'activated hook',
- da: 'deactivated hook',
- ec: 'errorCaptured hook',
- rtc: 'renderTracked hook',
- rtg: 'renderTriggered hook',
- [0]: 'setup function',
- [1]: 'render function',
- [2]: 'watcher getter',
- [3]: 'watcher callback',
- [4]: 'watcher cleanup function',
- [5]: 'native event handler',
- [6]: 'component event handler',
- [7]: 'vnode hook',
- [8]: 'directive hook',
- [9]: 'transition hook',
- [10]: 'app errorHandler',
- [11]: 'app warnHandler',
- [12]: 'ref function',
- [13]: 'async component loader',
- [14]: 'scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'
- };
- function bn(e, t, n, r) {
- let o;
- try {
- o = r ? e(...r) : e();
- } catch (i) {
- ds(i, t, n);
- }
- return o;
- }
- function kt(e, t, n, r) {
- if (de(e)) {
- const i = bn(e, t, n, r);
- return (
- i &&
- ll(i) &&
- i.catch(s => {
- ds(s, t, n);
- }),
- i
- );
- }
- const o = [];
- for (let i = 0; i < e.length; i++) o.push(kt(e[i], t, n, r));
- return o;
- }
- function ds(e, t, n, r = !0) {
- const o = t ? t.vnode : null;
- if (t) {
- let i = t.parent;
- const s = t.proxy,
- l = yl[n];
- for (; i; ) {
- const a = i.ec;
- if (a) {
- for (let c = 0; c < a.length; c++) if (a[c](e, s, l) === !1) return;
- }
- i = i.parent;
- }
- const u = t.appContext.config.errorHandler;
- if (u) {
- bn(u, null, 10, [e, s, l]);
- return;
- }
- }
- Yg(e, n, o, r);
- }
- function Yg(e, t, n, r = !0) {
- {
- const o = yl[t];
- if (
- (n && Ei(n),
- q(`Unhandled error${o ? ` during execution of ${o}` : ''}`),
- n && Si(),
- r)
- )
- throw e;
- console.error(e);
- }
- }
- let Eo = !1,
- ya = !1;
- const tt = [];
- let Wt = 0;
- const Ir = [];
- let zt = null,
- Cn = 0;
- const Zf = Promise.resolve();
- let vl = null;
- const Jg = 100;
- function Pt(e) {
- const t = vl || Zf;
- return e ? t.then(this ? e.bind(this) : e) : t;
- }
- function Qg(e) {
- let t = Wt + 1,
- n = tt.length;
- for (; t < n; ) {
- const r = (t + n) >>> 1;
- So(tt[r]) < e ? (t = r + 1) : (n = r);
- }
- return t;
- }
- function ps(e) {
- (!tt.length || !tt.includes(e, Eo && e.allowRecurse ? Wt + 1 : Wt)) &&
- (e.id == null ? tt.push(e) : tt.splice(Qg(e.id), 0, e), ed());
- }
- function ed() {
- !Eo && !ya && ((ya = !0), (vl = Zf.then(rd)));
- }
- function Xg(e) {
- const t = tt.indexOf(e);
- t > Wt && tt.splice(t, 1);
- }
- function td(e) {
- le(e)
- ? Ir.push(...e)
- : (!zt || !zt.includes(e, e.allowRecurse ? Cn + 1 : Cn)) && Ir.push(e),
- ed();
- }
- function Ec(e, t = Eo ? Wt + 1 : 0) {
- for (e = e || new Map(); t < tt.length; t++) {
- const n = tt[t];
- if (n && n.pre) {
- if (bl(e, n)) continue;
- tt.splice(t, 1), t--, n();
- }
- }
- }
- function nd(e) {
- if (Ir.length) {
- const t = [...new Set(Ir)];
- if (((Ir.length = 0), zt)) {
- zt.push(...t);
- return;
- }
- for (
- zt = t, e = e || new Map(), zt.sort((n, r) => So(n) - So(r)), Cn = 0;
- Cn < zt.length;
- Cn++
- )
- bl(e, zt[Cn]) || zt[Cn]();
- (zt = null), (Cn = 0);
- }
- }
- const So = e => (e.id == null ? 1 / 0 : e.id),
- Zg = (e, t) => {
- const n = So(e) - So(t);
- if (n === 0) {
- if (e.pre && !t.pre) return -1;
- if (t.pre && !e.pre) return 1;
- }
- return n;
- };
- function rd(e) {
- (ya = !1), (Eo = !0), (e = e || new Map()), tt.sort(Zg);
- const t = n => bl(e, n);
- try {
- for (Wt = 0; Wt < tt.length; Wt++) {
- const n = tt[Wt];
- if (n && n.active !== !1) {
- if (t(n)) continue;
- bn(n, null, 14);
- }
- }
- } finally {
- (Wt = 0),
- (tt.length = 0),
- nd(e),
- (Eo = !1),
- (vl = null),
- (tt.length || Ir.length) && rd(e);
- }
- }
- function bl(e, t) {
- if (!e.has(t)) e.set(t, 1);
- else {
- const n = e.get(t);
- if (n > Jg) {
- const r = t.ownerInstance,
- o = r && Cl(r.type);
- return (
- q(
- `Maximum recursive updates exceeded${
- o ? ` in component <${o}>` : ''
- }. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`
- ),
- !0
- );
- } else e.set(t, n + 1);
- }
- }
- let Dn = !1;
- const Ar = new Set();
- Fi().__VUE_HMR_RUNTIME__ = {
- createRecord: Us(od),
- rerender: Us(ny),
- reload: Us(ry)
- };
- const dr = new Map();
- function ey(e) {
- const t = e.type.__hmrId;
- let n = dr.get(t);
- n || (od(t, e.type), (n = dr.get(t))), n.instances.add(e);
- }
- function ty(e) {
- dr.get(e.type.__hmrId).instances.delete(e);
- }
- function od(e, t) {
- return dr.has(e)
- ? !1
- : (dr.set(e, { initialDef: co(t), instances: new Set() }), !0);
- }
- function co(e) {
- return Fd(e) ? e.__vccOpts : e;
- }
- function ny(e, t) {
- const n = dr.get(e);
- n &&
- ((n.initialDef.render = t),
- [...n.instances].forEach(r => {
- t && ((r.render = t), (co(r.type).render = t)),
- (r.renderCache = []),
- (Dn = !0),
- r.update(),
- (Dn = !1);
- }));
- }
- function ry(e, t) {
- const n = dr.get(e);
- if (!n) return;
- (t = co(t)), Sc(n.initialDef, t);
- const r = [...n.instances];
- for (const o of r) {
- const i = co(o.type);
- Ar.has(i) || (i !== n.initialDef && Sc(i, t), Ar.add(i)),
- o.appContext.propsCache.delete(o.type),
- o.appContext.emitsCache.delete(o.type),
- o.appContext.optionsCache.delete(o.type),
- o.ceReload
- ? (Ar.add(i), o.ceReload(t.styles), Ar.delete(i))
- : o.parent
- ? ps(o.parent.update)
- : o.appContext.reload
- ? o.appContext.reload()
- : typeof window < 'u'
- ? window.location.reload()
- : console.warn(
- '[HMR] Root or manually mounted instance modified. Full reload required.'
- );
- }
- td(() => {
- for (const o of r) Ar.delete(co(o.type));
- });
- }
- function Sc(e, t) {
- Ie(e, t);
- for (const n in e) n !== '__file' && !(n in t) && delete e[n];
- }
- function Us(e) {
- return (t, n) => {
- try {
- return e(t, n);
- } catch (r) {
- console.error(r),
- console.warn(
- '[HMR] Something went wrong during Vue component hot-reload. Full reload required.'
- );
- }
- };
- }
- let Kt,
- io = [],
- va = !1;
- function Do(e, ...t) {
- Kt ? Kt.emit(e, ...t) : va || io.push({ event: e, args: t });
- }
- function id(e, t) {
- var n, r;
- (Kt = e),
- Kt
- ? ((Kt.enabled = !0),
- io.forEach(({ event: o, args: i }) => Kt.emit(o, ...i)),
- (io = []))
- : typeof window < 'u' &&
- window.HTMLElement &&
- !(
- (r = (n = window.navigator) == null ? void 0 : n.userAgent) != null &&
- r.includes('jsdom')
- )
- ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ =
- t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push(i => {
- id(i, t);
- }),
- setTimeout(() => {
- Kt || ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null), (va = !0), (io = []));
- }, 3e3))
- : ((va = !0), (io = []));
- }
- function oy(e, t) {
- Do('app:init', e, t, { Fragment: Je, Text: Uo, Comment: ft, Static: xi });
- }
- function iy(e) {
- Do('app:unmount', e);
- }
- const sy = _l('component:added'),
- sd = _l('component:updated'),
- ay = _l('component:removed'),
- ly = e => {
- Kt &&
- typeof Kt.cleanupBuffer == 'function' &&
- !Kt.cleanupBuffer(e) &&
- ay(e);
- };
- function _l(e) {
- return t => {
- Do(e, t.appContext.app, t.uid, t.parent ? t.parent.uid : void 0, t);
- };
- }
- const cy = ad('perf:start'),
- uy = ad('perf:end');
- function ad(e) {
- return (t, n, r) => {
- Do(e, t.appContext.app, t.uid, t, n, r);
- };
- }
- function fy(e, t, n) {
- Do('component:emit', e.appContext.app, e, t, n);
- }
- function dy(e, t, ...n) {
- if (e.isUnmounted) return;
- const r = e.vnode.props || Ce;
- {
- const {
- emitsOptions: c,
- propsOptions: [f]
- } = e;
- if (c)
- if (!(t in c))
- (!f || !(Xn(t) in f)) &&
- q(
- `Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Xn(
- t
- )}" prop.`
- );
- else {
- const d = c[t];
- de(d) &&
- (d(...n) ||
- q(
- `Invalid event arguments: event validation failed for event "${t}".`
- ));
- }
- }
- let o = n;
- const i = t.startsWith('update:'),
- s = i && t.slice(7);
- if (s && s in r) {
- const c = `${s === 'modelValue' ? 'model' : s}Modifiers`,
- { number: f, trim: d } = r[c] || Ce;
- d && (o = n.map(h => (Re(h) ? h.trim() : h))), f && (o = n.map(Gm));
- }
- fy(e, t, o);
- {
- const c = t.toLowerCase();
- c !== t &&
- r[Xn(c)] &&
- q(
- `Event "${c}" is emitted in component ${_s(
- e,
- e.type
- )} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Xt(
- t
- )}" instead of "${t}".`
- );
- }
- let l,
- u = r[(l = Xn(t))] || r[(l = Xn(Qt(t)))];
- !u && i && (u = r[(l = Xn(Xt(t)))]), u && kt(u, e, 6, o);
- const a = r[l + 'Once'];
- if (a) {
- if (!e.emitted) e.emitted = {};
- else if (e.emitted[l]) return;
- (e.emitted[l] = !0), kt(a, e, 6, o);
- }
- }
- function ld(e, t, n = !1) {
- const r = t.emitsCache,
- o = r.get(e);
- if (o !== void 0) return o;
- const i = e.emits;
- let s = {},
- l = !1;
- if (!de(e)) {
- const u = a => {
- const c = ld(a, t, !0);
- c && ((l = !0), Ie(s, c));
- };
- !n && t.mixins.length && t.mixins.forEach(u),
- e.extends && u(e.extends),
- e.mixins && e.mixins.forEach(u);
- }
- return !i && !l
- ? ($e(e) && r.set(e, null), null)
- : (le(i) ? i.forEach(u => (s[u] = null)) : Ie(s, i),
- $e(e) && r.set(e, s),
- s);
- }
- function hs(e, t) {
- return !e || !Bo(t)
- ? !1
- : ((t = t.slice(2).replace(/Once$/, '')),
- be(e, t[0].toLowerCase() + t.slice(1)) || be(e, Xt(t)) || be(e, t));
- }
- let nt = null,
- cd = null;
- function ji(e) {
- const t = nt;
- return (nt = e), (cd = (e && e.type.__scopeId) || null), t;
- }
- function py(e, t = nt, n) {
- if (!t || e._n) return e;
- const r = (...o) => {
- r._d && Lc(-1);
- const i = ji(t);
- let s;
- try {
- s = e(...o);
- } finally {
- ji(i), r._d && Lc(1);
- }
- return sd(t), s;
- };
- return (r._n = !0), (r._c = !0), (r._d = !0), r;
- }
- let ba = !1;
- function Ui() {
- ba = !0;
- }
- function Hs(e) {
- const {
- type: t,
- vnode: n,
- proxy: r,
- withProxy: o,
- props: i,
- propsOptions: [s],
- slots: l,
- attrs: u,
- emit: a,
- render: c,
- renderCache: f,
- data: d,
- setupState: h,
- ctx: g,
- inheritAttrs: _
- } = e;
- let w, b;
- const A = ji(e);
- ba = !1;
- try {
- if (n.shapeFlag & 4) {
- const I = o || r;
- (w = Dt(c.call(I, I, f, i, h, d, g))), (b = u);
- } else {
- const I = t;
- u === i && Ui(),
- (w = Dt(
- I.length > 1
- ? I(i, {
- get attrs() {
- return Ui(), u;
- },
- slots: l,
- emit: a
- })
- : I(i, null)
- )),
- (b = t.props ? u : my(u));
- }
- } catch (I) {
- (uo.length = 0), ds(I, e, 1), (w = S(ft));
- }
- let M = w,
- Z;
- if (
- (w.patchFlag > 0 && w.patchFlag & 2048 && ([M, Z] = hy(w)), b && _ !== !1)
- ) {
- const I = Object.keys(b),
- { shapeFlag: Q } = M;
- if (I.length) {
- if (Q & 7) s && I.some(ki) && (b = gy(b, s)), (M = en(M, b));
- else if (!ba && M.type !== ft) {
- const F = Object.keys(u),
- K = [],
- D = [];
- for (let O = 0, B = F.length; O < B; O++) {
- const P = F[O];
- Bo(P) ? ki(P) || K.push(P[2].toLowerCase() + P.slice(3)) : D.push(P);
- }
- D.length &&
- q(
- `Extraneous non-props attributes (${D.join(
- ', '
- )}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
- ),
- K.length &&
- q(
- `Extraneous non-emits event listeners (${K.join(
- ', '
- )}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`
- );
- }
- }
- }
- return (
- n.dirs &&
- (Oc(M) ||
- q(
- 'Runtime directive used on component with non-element root node. The directives will not function as intended.'
- ),
- (M = en(M)),
- (M.dirs = M.dirs ? M.dirs.concat(n.dirs) : n.dirs)),
- n.transition &&
- (Oc(M) ||
- q(
- 'Component inside <Transition> renders non-element root node that cannot be animated.'
- ),
- (M.transition = n.transition)),
- Z ? Z(M) : (w = M),
- ji(A),
- w
- );
- }
- const hy = e => {
- const t = e.children,
- n = e.dynamicChildren,
- r = ud(t);
- if (!r) return [e, void 0];
- const o = t.indexOf(r),
- i = n ? n.indexOf(r) : -1,
- s = l => {
- (t[o] = l),
- n &&
- (i > -1
- ? (n[i] = l)
- : l.patchFlag > 0 && (e.dynamicChildren = [...n, l]));
- };
- return [Dt(r), s];
- };
- function ud(e) {
- let t;
- for (let n = 0; n < e.length; n++) {
- const r = e[n];
- if (Fr(r)) {
- if (r.type !== ft || r.children === 'v-if') {
- if (t) return;
- t = r;
- }
- } else return;
- }
- return t;
- }
- const my = e => {
- let t;
- for (const n in e)
- (n === 'class' || n === 'style' || Bo(n)) && ((t || (t = {}))[n] = e[n]);
- return t;
- },
- gy = (e, t) => {
- const n = {};
- for (const r in e) (!ki(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
- return n;
- },
- Oc = e => e.shapeFlag & 7 || e.type === ft;
- function yy(e, t, n) {
- const { props: r, children: o, component: i } = e,
- { props: s, children: l, patchFlag: u } = t,
- a = i.emitsOptions;
- if (((o || l) && Dn) || t.dirs || t.transition) return !0;
- if (n && u >= 0) {
- if (u & 1024) return !0;
- if (u & 16) return r ? xc(r, s, a) : !!s;
- if (u & 8) {
- const c = t.dynamicProps;
- for (let f = 0; f < c.length; f++) {
- const d = c[f];
- if (s[d] !== r[d] && !hs(a, d)) return !0;
- }
- }
- } else
- return (o || l) && (!l || !l.$stable)
- ? !0
- : r === s
- ? !1
- : r
- ? s
- ? xc(r, s, a)
- : !0
- : !!s;
- return !1;
- }
- function xc(e, t, n) {
- const r = Object.keys(t);
- if (r.length !== Object.keys(e).length) return !0;
- for (let o = 0; o < r.length; o++) {
- const i = r[o];
- if (t[i] !== e[i] && !hs(n, i)) return !0;
- }
- return !1;
- }
- function vy({ vnode: e, parent: t }, n) {
- for (; t && t.subTree === e; ) ((e = t.vnode).el = n), (t = t.parent);
- }
- const by = e => e.__isSuspense;
- function _y(e, t) {
- t && t.pendingBranch
- ? le(e)
- ? t.effects.push(...e)
- : t.effects.push(e)
- : td(e);
- }
- function wy(e, t) {
- return wl(e, null, t);
- }
- const ui = {};
- function Ke(e, t, n) {
- return (
- de(t) ||
- q(
- '`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature.'
- ),
- wl(e, t, n)
- );
- }
- function wl(
- e,
- t,
- { immediate: n, deep: r, flush: o, onTrack: i, onTrigger: s } = Ce
- ) {
- var l;
- t ||
- (n !== void 0 &&
- q(
- 'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
- ),
- r !== void 0 &&
- q(
- 'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
- ));
- const u = I => {
- q(
- 'Invalid watch source: ',
- I,
- 'A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.'
- );
- },
- a = Rf() === ((l = De) == null ? void 0 : l.scope) ? De : null;
- let c,
- f = !1,
- d = !1;
- if (
- (Pe(e)
- ? ((c = () => e.value), (f = Li(e)))
- : Yt(e)
- ? ((c = () => e), (r = !0))
- : le(e)
- ? ((d = !0),
- (f = e.some(I => Yt(I) || Li(I))),
- (c = () =>
- e.map(I => {
- if (Pe(I)) return I.value;
- if (Yt(I)) return or(I);
- if (de(I)) return bn(I, a, 2);
- u(I);
- })))
- : de(e)
- ? t
- ? (c = () => bn(e, a, 2))
- : (c = () => {
- if (!(a && a.isUnmounted)) return h && h(), kt(e, a, 3, [g]);
- })
- : ((c = yt), u(e)),
- t && r)
- ) {
- const I = c;
- c = () => or(I());
- }
- let h,
- g = I => {
- h = M.onStop = () => {
- bn(I, a, 4);
- };
- },
- _;
- if (Co)
- if (
- ((g = yt),
- t ? n && kt(t, a, 3, [c(), d ? [] : void 0, g]) : c(),
- o === 'sync')
- ) {
- const I = Iv();
- _ = I.__watcherHandles || (I.__watcherHandles = []);
- } else return yt;
- let w = d ? new Array(e.length).fill(ui) : ui;
- const b = () => {
- if (M.active)
- if (t) {
- const I = M.run();
- (r || f || (d ? I.some((Q, F) => _o(Q, w[F])) : _o(I, w))) &&
- (h && h(),
- kt(t, a, 3, [I, w === ui ? void 0 : d && w[0] === ui ? [] : w, g]),
- (w = I));
- } else M.run();
- };
- b.allowRecurse = !!t;
- let A;
- o === 'sync'
- ? (A = b)
- : o === 'post'
- ? (A = () => pt(b, a && a.suspense))
- : ((b.pre = !0), a && (b.id = a.uid), (A = () => ps(b)));
- const M = new hl(c, A);
- (M.onTrack = i),
- (M.onTrigger = s),
- t
- ? n
- ? b()
- : (w = M.run())
- : o === 'post'
- ? pt(M.run.bind(M), a && a.suspense)
- : M.run();
- const Z = () => {
- M.stop(), a && a.scope && sl(a.scope.effects, M);
- };
- return _ && _.push(Z), Z;
- }
- function Ey(e, t, n) {
- const r = this.proxy,
- o = Re(e) ? (e.includes('.') ? fd(r, e) : () => r[e]) : e.bind(r, r);
- let i;
- de(t) ? (i = t) : ((i = t.handler), (n = t));
- const s = De;
- Br(this);
- const l = wl(o, i.bind(r), n);
- return s ? Br(s) : lr(), l;
- }
- function fd(e, t) {
- const n = t.split('.');
- return () => {
- let r = e;
- for (let o = 0; o < n.length && r; o++) r = r[n[o]];
- return r;
- };
- }
- function or(e, t) {
- if (!$e(e) || e.__v_skip || ((t = t || new Set()), t.has(e))) return e;
- if ((t.add(e), Pe(e))) or(e.value, t);
- else if (le(e)) for (let n = 0; n < e.length; n++) or(e[n], t);
- else if (Hm(e) || Pr(e))
- e.forEach(n => {
- or(n, t);
- });
- else if (zm(e)) for (const n in e) or(e[n], t);
- return e;
- }
- function dd(e) {
- Vm(e) && q('Do not use built-in directive ids as custom directive id: ' + e);
- }
- function pd(e, t) {
- const n = nt;
- if (n === null)
- return q('withDirectives can only be used inside render functions.'), e;
- const r = bs(n) || n.proxy,
- o = e.dirs || (e.dirs = []);
- for (let i = 0; i < t.length; i++) {
- let [s, l, u, a = Ce] = t[i];
- s &&
- (de(s) && (s = { mounted: s, updated: s }),
- s.deep && or(l),
- o.push({
- dir: s,
- instance: r,
- value: l,
- oldValue: void 0,
- arg: u,
- modifiers: a
- }));
- }
- return e;
- }
- function Gn(e, t, n, r) {
- const o = e.dirs,
- i = t && t.dirs;
- for (let s = 0; s < o.length; s++) {
- const l = o[s];
- i && (l.oldValue = i[s].value);
- let u = l.dir[r];
- u && (mr(), kt(u, n, 8, [e.el, l, e, t]), gr());
- }
- }
- function hd() {
- const e = {
- isMounted: !1,
- isLeaving: !1,
- isUnmounting: !1,
- leavingVNodes: new Map()
- };
- return (
- wn(() => {
- e.isMounted = !0;
- }),
- ys(() => {
- e.isUnmounting = !0;
- }),
- e
- );
- }
- const Tt = [Function, Array],
- md = {
- mode: String,
- appear: Boolean,
- persisted: Boolean,
- onBeforeEnter: Tt,
- onEnter: Tt,
- onAfterEnter: Tt,
- onEnterCancelled: Tt,
- onBeforeLeave: Tt,
- onLeave: Tt,
- onAfterLeave: Tt,
- onLeaveCancelled: Tt,
- onBeforeAppear: Tt,
- onAppear: Tt,
- onAfterAppear: Tt,
- onAppearCancelled: Tt
- },
- Sy = {
- name: 'BaseTransition',
- props: md,
- setup(e, { slots: t }) {
- const n = Ut(),
- r = hd();
- let o;
- return () => {
- const i = t.default && El(t.default(), !0);
- if (!i || !i.length) return;
- let s = i[0];
- if (i.length > 1) {
- let _ = !1;
- for (const w of i)
- if (w.type !== ft) {
- if (_) {
- q(
- '<transition> can only be used on a single element or component. Use <transition-group> for lists.'
- );
- break;
- }
- (s = w), (_ = !0);
- }
- }
- const l = fe(e),
- { mode: u } = l;
- if (
- (u &&
- u !== 'in-out' &&
- u !== 'out-in' &&
- u !== 'default' &&
- q(`invalid <transition> mode: ${u}`),
- r.isLeaving)
- )
- return qs(s);
- const a = Ac(s);
- if (!a) return qs(s);
- const c = Oo(a, l, r, n);
- xo(a, c);
- const f = n.subTree,
- d = f && Ac(f);
- let h = !1;
- const { getTransitionKey: g } = a.type;
- if (g) {
- const _ = g();
- o === void 0 ? (o = _) : _ !== o && ((o = _), (h = !0));
- }
- if (d && d.type !== ft && (!er(a, d) || h)) {
- const _ = Oo(d, l, r, n);
- if ((xo(d, _), u === 'out-in'))
- return (
- (r.isLeaving = !0),
- (_.afterLeave = () => {
- (r.isLeaving = !1), n.update.active !== !1 && n.update();
- }),
- qs(s)
- );
- u === 'in-out' &&
- a.type !== ft &&
- (_.delayLeave = (w, b, A) => {
- const M = gd(r, d);
- (M[String(d.key)] = d),
- (w._leaveCb = () => {
- b(), (w._leaveCb = void 0), delete c.delayedLeave;
- }),
- (c.delayedLeave = A);
- });
- }
- return s;
- };
- }
- },
- Oy = Sy;
- function gd(e, t) {
- const { leavingVNodes: n } = e;
- let r = n.get(t.type);
- return r || ((r = Object.create(null)), n.set(t.type, r)), r;
- }
- function Oo(e, t, n, r) {
- const {
- appear: o,
- mode: i,
- persisted: s = !1,
- onBeforeEnter: l,
- onEnter: u,
- onAfterEnter: a,
- onEnterCancelled: c,
- onBeforeLeave: f,
- onLeave: d,
- onAfterLeave: h,
- onLeaveCancelled: g,
- onBeforeAppear: _,
- onAppear: w,
- onAfterAppear: b,
- onAppearCancelled: A
- } = t,
- M = String(e.key),
- Z = gd(n, e),
- I = (K, D) => {
- K && kt(K, r, 9, D);
- },
- Q = (K, D) => {
- const O = D[1];
- I(K, D),
- le(K) ? K.every(B => B.length <= 1) && O() : K.length <= 1 && O();
- },
- F = {
- mode: i,
- persisted: s,
- beforeEnter(K) {
- let D = l;
- if (!n.isMounted)
- if (o) D = _ || l;
- else return;
- K._leaveCb && K._leaveCb(!0);
- const O = Z[M];
- O && er(e, O) && O.el._leaveCb && O.el._leaveCb(), I(D, [K]);
- },
- enter(K) {
- let D = u,
- O = a,
- B = c;
- if (!n.isMounted)
- if (o) (D = w || u), (O = b || a), (B = A || c);
- else return;
- let P = !1;
- const R = (K._enterCb = U => {
- P ||
- ((P = !0),
- U ? I(B, [K]) : I(O, [K]),
- F.delayedLeave && F.delayedLeave(),
- (K._enterCb = void 0));
- });
- D ? Q(D, [K, R]) : R();
- },
- leave(K, D) {
- const O = String(e.key);
- if ((K._enterCb && K._enterCb(!0), n.isUnmounting)) return D();
- I(f, [K]);
- let B = !1;
- const P = (K._leaveCb = R => {
- B ||
- ((B = !0),
- D(),
- R ? I(g, [K]) : I(h, [K]),
- (K._leaveCb = void 0),
- Z[O] === e && delete Z[O]);
- });
- (Z[O] = e), d ? Q(d, [K, P]) : P();
- },
- clone(K) {
- return Oo(K, t, n, r);
- }
- };
- return F;
- }
- function qs(e) {
- if (Lo(e)) return (e = en(e)), (e.children = null), e;
- }
- function Ac(e) {
- return Lo(e) ? (e.children ? e.children[0] : void 0) : e;
- }
- function xo(e, t) {
- e.shapeFlag & 6 && e.component
- ? xo(e.component.subTree, t)
- : e.shapeFlag & 128
- ? ((e.ssContent.transition = t.clone(e.ssContent)),
- (e.ssFallback.transition = t.clone(e.ssFallback)))
- : (e.transition = t);
- }
- function El(e, t = !1, n) {
- let r = [],
- o = 0;
- for (let i = 0; i < e.length; i++) {
- let s = e[i];
- const l = n == null ? s.key : String(n) + String(s.key != null ? s.key : i);
- s.type === Je
- ? (s.patchFlag & 128 && o++, (r = r.concat(El(s.children, t, l))))
- : (t || s.type !== ft) && r.push(l != null ? en(s, { key: l }) : s);
- }
- if (o > 1) for (let i = 0; i < r.length; i++) r[i].patchFlag = -2;
- return r;
- }
- function Ge(e, t) {
- return de(e) ? (() => Ie({ name: e.name }, t, { setup: e }))() : e;
- }
- const Oi = e => !!e.type.__asyncLoader,
- Lo = e => e.type.__isKeepAlive;
- function ms(e, t) {
- yd(e, 'a', t);
- }
- function No(e, t) {
- yd(e, 'da', t);
- }
- function yd(e, t, n = De) {
- const r =
- e.__wdc ||
- (e.__wdc = () => {
- let o = n;
- for (; o; ) {
- if (o.isDeactivated) return;
- o = o.parent;
- }
- return e();
- });
- if ((gs(t, r, n), n)) {
- let o = n.parent;
- for (; o && o.parent; )
- Lo(o.parent.vnode) && xy(r, t, n, o), (o = o.parent);
- }
- }
- function xy(e, t, n, r) {
- const o = gs(t, e, r, !0);
- jo(() => {
- sl(r[t], o);
- }, n);
- }
- function gs(e, t, n = De, r = !1) {
- if (n) {
- const o = n[e] || (n[e] = []),
- i =
- t.__weh ||
- (t.__weh = (...s) => {
- if (n.isUnmounted) return;
- mr(), Br(n);
- const l = kt(t, n, e, s);
- return lr(), gr(), l;
- });
- return r ? o.unshift(i) : o.push(i), i;
- } else {
- const o = Xn(yl[e].replace(/ hook$/, ''));
- q(
- `${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
- );
- }
- }
- const _n =
- e =>
- (t, n = De) =>
- (!Co || e === 'sp') && gs(e, (...r) => t(...r), n),
- Ay = _n('bm'),
- wn = _n('m'),
- Ty = _n('bu'),
- vd = _n('u'),
- ys = _n('bum'),
- jo = _n('um'),
- Cy = _n('sp'),
- $y = _n('rtg'),
- Py = _n('rtc');
- function Iy(e, t = De) {
- gs('ec', e, t);
- }
- const _a = 'components',
- Ry = 'directives';
- function ky(e, t) {
- return bd(_a, e, !0, t) || e;
- }
- const My = Symbol.for('v-ndc');
- function zx(e) {
- return bd(Ry, e);
- }
- function bd(e, t, n = !0, r = !1) {
- const o = nt || De;
- if (o) {
- const i = o.type;
- if (e === _a) {
- const l = Cl(i, !1);
- if (l && (l === t || l === Qt(t) || l === fr(Qt(t)))) return i;
- }
- const s = Tc(o[e] || i[e], t) || Tc(o.appContext[e], t);
- if (!s && r) return i;
- if (n && !s) {
- const l =
- e === _a
- ? `
- If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`
- : '';
- q(`Failed to resolve ${e.slice(0, -1)}: ${t}${l}`);
- }
- return s;
- } else
- q(`resolve${fr(e.slice(0, -1))} can only be used in render() or setup().`);
- }
- function Tc(e, t) {
- return e && (e[t] || e[Qt(t)] || e[fr(Qt(t))]);
- }
- const wa = e => (e ? (kd(e) ? bs(e) || e.proxy : wa(e.parent)) : null),
- ar = Ie(Object.create(null), {
- $: e => e,
- $el: e => e.vnode.el,
- $data: e => e.data,
- $props: e => oo(e.props),
- $attrs: e => oo(e.attrs),
- $slots: e => oo(e.slots),
- $refs: e => oo(e.refs),
- $parent: e => wa(e.parent),
- $root: e => wa(e.root),
- $emit: e => e.emit,
- $options: e => Ol(e),
- $forceUpdate: e => e.f || (e.f = () => ps(e.update)),
- $nextTick: e => e.n || (e.n = Pt.bind(e.proxy)),
- $watch: e => Ey.bind(e)
- }),
- Sl = e => e === '_' || e === '$',
- zs = (e, t) => e !== Ce && !e.__isScriptSetup && be(e, t),
- _d = {
- get({ _: e }, t) {
- const {
- ctx: n,
- setupState: r,
- data: o,
- props: i,
- accessCache: s,
- type: l,
- appContext: u
- } = e;
- if (t === '__isVue') return !0;
- let a;
- if (t[0] !== '$') {
- const h = s[t];
- if (h !== void 0)
- switch (h) {
- case 1:
- return r[t];
- case 2:
- return o[t];
- case 4:
- return n[t];
- case 3:
- return i[t];
- }
- else {
- if (zs(r, t)) return (s[t] = 1), r[t];
- if (o !== Ce && be(o, t)) return (s[t] = 2), o[t];
- if ((a = e.propsOptions[0]) && be(a, t)) return (s[t] = 3), i[t];
- if (n !== Ce && be(n, t)) return (s[t] = 4), n[t];
- Ea && (s[t] = 0);
- }
- }
- const c = ar[t];
- let f, d;
- if (c)
- return (
- t === '$attrs'
- ? (ot(e, 'get', t), Ui())
- : t === '$slots' && ot(e, 'get', t),
- c(e)
- );
- if ((f = l.__cssModules) && (f = f[t])) return f;
- if (n !== Ce && be(n, t)) return (s[t] = 4), n[t];
- if (((d = u.config.globalProperties), be(d, t))) return d[t];
- nt &&
- (!Re(t) || t.indexOf('__v') !== 0) &&
- (o !== Ce && Sl(t[0]) && be(o, t)
- ? q(
- `Property ${JSON.stringify(
- t
- )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
- )
- : e === nt &&
- q(
- `Property ${JSON.stringify(
- t
- )} was accessed during render but is not defined on instance.`
- ));
- },
- set({ _: e }, t, n) {
- const { data: r, setupState: o, ctx: i } = e;
- return zs(o, t)
- ? ((o[t] = n), !0)
- : o.__isScriptSetup && be(o, t)
- ? (q(`Cannot mutate <script setup> binding "${t}" from Options API.`),
- !1)
- : r !== Ce && be(r, t)
- ? ((r[t] = n), !0)
- : be(e.props, t)
- ? (q(`Attempting to mutate prop "${t}". Props are readonly.`), !1)
- : t[0] === '$' && t.slice(1) in e
- ? (q(
- `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
- ),
- !1)
- : (t in e.appContext.config.globalProperties
- ? Object.defineProperty(i, t, {
- enumerable: !0,
- configurable: !0,
- value: n
- })
- : (i[t] = n),
- !0);
- },
- has(
- {
- _: {
- data: e,
- setupState: t,
- accessCache: n,
- ctx: r,
- appContext: o,
- propsOptions: i
- }
- },
- s
- ) {
- let l;
- return (
- !!n[s] ||
- (e !== Ce && be(e, s)) ||
- zs(t, s) ||
- ((l = i[0]) && be(l, s)) ||
- be(r, s) ||
- be(ar, s) ||
- be(o.config.globalProperties, s)
- );
- },
- defineProperty(e, t, n) {
- return (
- n.get != null
- ? (e._.accessCache[t] = 0)
- : be(n, 'value') && this.set(e, t, n.value, null),
- Reflect.defineProperty(e, t, n)
- );
- }
- };
- _d.ownKeys = e => (
- q(
- 'Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.'
- ),
- Reflect.ownKeys(e)
- );
- function Fy(e) {
- const t = {};
- return (
- Object.defineProperty(t, '_', {
- configurable: !0,
- enumerable: !1,
- get: () => e
- }),
- Object.keys(ar).forEach(n => {
- Object.defineProperty(t, n, {
- configurable: !0,
- enumerable: !1,
- get: () => ar[n](e),
- set: yt
- });
- }),
- t
- );
- }
- function By(e) {
- const {
- ctx: t,
- propsOptions: [n]
- } = e;
- n &&
- Object.keys(n).forEach(r => {
- Object.defineProperty(t, r, {
- enumerable: !0,
- configurable: !0,
- get: () => e.props[r],
- set: yt
- });
- });
- }
- function Dy(e) {
- const { ctx: t, setupState: n } = e;
- Object.keys(fe(n)).forEach(r => {
- if (!n.__isScriptSetup) {
- if (Sl(r[0])) {
- q(
- `setup() return property ${JSON.stringify(
- r
- )} should not start with "$" or "_" which are reserved prefixes for Vue internals.`
- );
- return;
- }
- Object.defineProperty(t, r, {
- enumerable: !0,
- configurable: !0,
- get: () => n[r],
- set: yt
- });
- }
- });
- }
- function Cc(e) {
- return le(e) ? e.reduce((t, n) => ((t[n] = null), t), {}) : e;
- }
- function Ly() {
- const e = Object.create(null);
- return (t, n) => {
- e[n]
- ? q(`${t} property "${n}" is already defined in ${e[n]}.`)
- : (e[n] = t);
- };
- }
- let Ea = !0;
- function Ny(e) {
- const t = Ol(e),
- n = e.proxy,
- r = e.ctx;
- (Ea = !1), t.beforeCreate && $c(t.beforeCreate, e, 'bc');
- const {
- data: o,
- computed: i,
- methods: s,
- watch: l,
- provide: u,
- inject: a,
- created: c,
- beforeMount: f,
- mounted: d,
- beforeUpdate: h,
- updated: g,
- activated: _,
- deactivated: w,
- beforeDestroy: b,
- beforeUnmount: A,
- destroyed: M,
- unmounted: Z,
- render: I,
- renderTracked: Q,
- renderTriggered: F,
- errorCaptured: K,
- serverPrefetch: D,
- expose: O,
- inheritAttrs: B,
- components: P,
- directives: R,
- filters: U
- } = t,
- H = Ly();
- {
- const [k] = e.propsOptions;
- if (k) for (const z in k) H('Props', z);
- }
- if ((a && jy(a, r, H), s))
- for (const k in s) {
- const z = s[k];
- de(z)
- ? (Object.defineProperty(r, k, {
- value: z.bind(n),
- configurable: !0,
- enumerable: !0,
- writable: !0
- }),
- H('Methods', k))
- : q(
- `Method "${k}" has type "${typeof z}" in the component definition. Did you reference the function correctly?`
- );
- }
- if (o) {
- de(o) ||
- q(
- 'The data option must be a function. Plain object usage is no longer supported.'
- );
- const k = o.call(n, n);
- if (
- (ll(k) &&
- q(
- 'data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.'
- ),
- !$e(k))
- )
- q('data() should return an object.');
- else {
- e.data = vt(k);
- for (const z in k)
- H('Data', z),
- Sl(z[0]) ||
- Object.defineProperty(r, z, {
- configurable: !0,
- enumerable: !0,
- get: () => k[z],
- set: yt
- });
- }
- }
- if (((Ea = !0), i))
- for (const k in i) {
- const z = i[k],
- oe = de(z) ? z.bind(n, n) : de(z.get) ? z.get.bind(n, n) : yt;
- oe === yt && q(`Computed property "${k}" has no getter.`);
- const he =
- !de(z) && de(z.set)
- ? z.set.bind(n)
- : () => {
- q(
- `Write operation failed: computed property "${k}" is readonly.`
- );
- },
- we = Me({ get: oe, set: he });
- Object.defineProperty(r, k, {
- enumerable: !0,
- configurable: !0,
- get: () => we.value,
- set: ge => (we.value = ge)
- }),
- H('Computed', k);
- }
- if (l) for (const k in l) wd(l[k], r, n, k);
- if (u) {
- const k = de(u) ? u.call(n) : u;
- Reflect.ownKeys(k).forEach(z => {
- Rr(z, k[z]);
- });
- }
- c && $c(c, e, 'c');
- function ee(k, z) {
- le(z) ? z.forEach(oe => k(oe.bind(n))) : z && k(z.bind(n));
- }
- if (
- (ee(Ay, f),
- ee(wn, d),
- ee(Ty, h),
- ee(vd, g),
- ee(ms, _),
- ee(No, w),
- ee(Iy, K),
- ee(Py, Q),
- ee($y, F),
- ee(ys, A),
- ee(jo, Z),
- ee(Cy, D),
- le(O))
- )
- if (O.length) {
- const k = e.exposed || (e.exposed = {});
- O.forEach(z => {
- Object.defineProperty(k, z, {
- get: () => n[z],
- set: oe => (n[z] = oe)
- });
- });
- } else e.exposed || (e.exposed = {});
- I && e.render === yt && (e.render = I),
- B != null && (e.inheritAttrs = B),
- P && (e.components = P),
- R && (e.directives = R);
- }
- function jy(e, t, n = yt) {
- le(e) && (e = Sa(e));
- for (const r in e) {
- const o = e[r];
- let i;
- $e(o)
- ? 'default' in o
- ? (i = rt(o.from || r, o.default, !0))
- : (i = rt(o.from || r))
- : (i = rt(o)),
- Pe(i)
- ? Object.defineProperty(t, r, {
- enumerable: !0,
- configurable: !0,
- get: () => i.value,
- set: s => (i.value = s)
- })
- : (t[r] = i),
- n('Inject', r);
- }
- }
- function $c(e, t, n) {
- kt(le(e) ? e.map(r => r.bind(t.proxy)) : e.bind(t.proxy), t, n);
- }
- function wd(e, t, n, r) {
- const o = r.includes('.') ? fd(n, r) : () => n[r];
- if (Re(e)) {
- const i = t[e];
- de(i) ? Ke(o, i) : q(`Invalid watch handler specified by key "${e}"`, i);
- } else if (de(e)) Ke(o, e.bind(n));
- else if ($e(e))
- if (le(e)) e.forEach(i => wd(i, t, n, r));
- else {
- const i = de(e.handler) ? e.handler.bind(n) : t[e.handler];
- de(i)
- ? Ke(o, i, e)
- : q(`Invalid watch handler specified by key "${e.handler}"`, i);
- }
- else q(`Invalid watch option: "${r}"`, e);
- }
- function Ol(e) {
- const t = e.type,
- { mixins: n, extends: r } = t,
- {
- mixins: o,
- optionsCache: i,
- config: { optionMergeStrategies: s }
- } = e.appContext,
- l = i.get(t);
- let u;
- return (
- l
- ? (u = l)
- : !o.length && !n && !r
- ? (u = t)
- : ((u = {}), o.length && o.forEach(a => Hi(u, a, s, !0)), Hi(u, t, s)),
- $e(t) && i.set(t, u),
- u
- );
- }
- function Hi(e, t, n, r = !1) {
- const { mixins: o, extends: i } = t;
- i && Hi(e, i, n, !0), o && o.forEach(s => Hi(e, s, n, !0));
- for (const s in t)
- if (r && s === 'expose')
- q(
- '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
- );
- else {
- const l = Uy[s] || (n && n[s]);
- e[s] = l ? l(e[s], t[s]) : t[s];
- }
- return e;
- }
- const Uy = {
- data: Pc,
- props: Ic,
- emits: Ic,
- methods: so,
- computed: so,
- beforeCreate: ct,
- created: ct,
- beforeMount: ct,
- mounted: ct,
- beforeUpdate: ct,
- updated: ct,
- beforeDestroy: ct,
- beforeUnmount: ct,
- destroyed: ct,
- unmounted: ct,
- activated: ct,
- deactivated: ct,
- errorCaptured: ct,
- serverPrefetch: ct,
- components: so,
- directives: so,
- watch: qy,
- provide: Pc,
- inject: Hy
- };
- function Pc(e, t) {
- return t
- ? e
- ? function () {
- return Ie(
- de(e) ? e.call(this, this) : e,
- de(t) ? t.call(this, this) : t
- );
- }
- : t
- : e;
- }
- function Hy(e, t) {
- return so(Sa(e), Sa(t));
- }
- function Sa(e) {
- if (le(e)) {
- const t = {};
- for (let n = 0; n < e.length; n++) t[e[n]] = e[n];
- return t;
- }
- return e;
- }
- function ct(e, t) {
- return e ? [...new Set([].concat(e, t))] : t;
- }
- function so(e, t) {
- return e ? Ie(Object.create(null), e, t) : t;
- }
- function Ic(e, t) {
- return e
- ? le(e) && le(t)
- ? [...new Set([...e, ...t])]
- : Ie(Object.create(null), Cc(e), Cc(t != null ? t : {}))
- : t;
- }
- function qy(e, t) {
- if (!e) return t;
- if (!t) return e;
- const n = Ie(Object.create(null), e);
- for (const r in t) n[r] = ct(e[r], t[r]);
- return n;
- }
- function Ed() {
- return {
- app: null,
- config: {
- isNativeTag: Cf,
- performance: !1,
- globalProperties: {},
- optionMergeStrategies: {},
- errorHandler: void 0,
- warnHandler: void 0,
- compilerOptions: {}
- },
- mixins: [],
- components: {},
- directives: {},
- provides: Object.create(null),
- optionsCache: new WeakMap(),
- propsCache: new WeakMap(),
- emitsCache: new WeakMap()
- };
- }
- let zy = 0;
- function Vy(e, t) {
- return function (r, o = null) {
- de(r) || (r = Ie({}, r)),
- o != null &&
- !$e(o) &&
- (q('root props passed to app.mount() must be an object.'), (o = null));
- const i = Ed();
- Object.defineProperty(i.config, 'unwrapInjectedRef', {
- get() {
- return !0;
- },
- set() {
- q(
- 'app.config.unwrapInjectedRef has been deprecated. 3.3 now alawys unwraps injected refs in Options API.'
- );
- }
- });
- const s = new Set();
- let l = !1;
- const u = (i.app = {
- _uid: zy++,
- _component: r,
- _props: o,
- _container: null,
- _context: i,
- _instance: null,
- version: Uc,
- get config() {
- return i.config;
- },
- set config(a) {
- q('app.config cannot be replaced. Modify individual options instead.');
- },
- use(a, ...c) {
- return (
- s.has(a)
- ? q('Plugin has already been applied to target app.')
- : a && de(a.install)
- ? (s.add(a), a.install(u, ...c))
- : de(a)
- ? (s.add(a), a(u, ...c))
- : q(
- 'A plugin must either be a function or an object with an "install" function.'
- ),
- u
- );
- },
- mixin(a) {
- return (
- i.mixins.includes(a)
- ? q(
- 'Mixin has already been applied to target app' +
- (a.name ? `: ${a.name}` : '')
- )
- : i.mixins.push(a),
- u
- );
- },
- component(a, c) {
- return (
- Ca(a, i.config),
- c
- ? (i.components[a] &&
- q(
- `Component "${a}" has already been registered in target app.`
- ),
- (i.components[a] = c),
- u)
- : i.components[a]
- );
- },
- directive(a, c) {
- return (
- dd(a),
- c
- ? (i.directives[a] &&
- q(
- `Directive "${a}" has already been registered in target app.`
- ),
- (i.directives[a] = c),
- u)
- : i.directives[a]
- );
- },
- mount(a, c, f) {
- if (l)
- q(
- 'App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`'
- );
- else {
- a.__vue_app__ &&
- q(
- 'There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.'
- );
- const d = S(r, o);
- return (
- (d.appContext = i),
- (i.reload = () => {
- e(en(d), a, f);
- }),
- c && t ? t(d, a) : e(d, a, f),
- (l = !0),
- (u._container = a),
- (a.__vue_app__ = u),
- (u._instance = d.component),
- oy(u, Uc),
- bs(d.component) || d.component.proxy
- );
- }
- },
- unmount() {
- l
- ? (e(null, u._container),
- (u._instance = null),
- iy(u),
- delete u._container.__vue_app__)
- : q('Cannot unmount an app that is not mounted.');
- },
- provide(a, c) {
- return (
- a in i.provides &&
- q(
- `App already provides property with key "${String(
- a
- )}". It will be overwritten with the new value.`
- ),
- (i.provides[a] = c),
- u
- );
- },
- runWithContext(a) {
- Ao = u;
- try {
- return a();
- } finally {
- Ao = null;
- }
- }
- });
- return u;
- };
- }
- let Ao = null;
- function Rr(e, t) {
- if (!De) q('provide() can only be used inside setup().');
- else {
- let n = De.provides;
- const r = De.parent && De.parent.provides;
- r === n && (n = De.provides = Object.create(r)), (n[e] = t);
- }
- }
- function rt(e, t, n = !1) {
- const r = De || nt;
- if (r || Ao) {
- const o = r
- ? r.parent == null
- ? r.vnode.appContext && r.vnode.appContext.provides
- : r.parent.provides
- : Ao._context.provides;
- if (o && e in o) return o[e];
- if (arguments.length > 1) return n && de(t) ? t.call(r && r.proxy) : t;
- q(`injection "${String(e)}" not found.`);
- } else
- q('inject() can only be used inside setup() or functional components.');
- }
- function Wy() {
- return !!(De || nt || Ao);
- }
- function Ky(e, t, n, r = !1) {
- const o = {},
- i = {};
- Mi(i, vs, 1), (e.propsDefaults = Object.create(null)), Sd(e, t, o, i);
- for (const s in e.propsOptions[0]) s in o || (o[s] = void 0);
- xd(t || {}, o, e),
- n
- ? (e.props = r ? o : Bg(o))
- : e.type.props
- ? (e.props = o)
- : (e.props = i),
- (e.attrs = i);
- }
- function Gy(e) {
- for (; e; ) {
- if (e.type.__hmrId) return !0;
- e = e.parent;
- }
- }
- function Yy(e, t, n, r) {
- const {
- props: o,
- attrs: i,
- vnode: { patchFlag: s }
- } = e,
- l = fe(o),
- [u] = e.propsOptions;
- let a = !1;
- if (!Gy(e) && (r || s > 0) && !(s & 16)) {
- if (s & 8) {
- const c = e.vnode.dynamicProps;
- for (let f = 0; f < c.length; f++) {
- let d = c[f];
- if (hs(e.emitsOptions, d)) continue;
- const h = t[d];
- if (u)
- if (be(i, d)) h !== i[d] && ((i[d] = h), (a = !0));
- else {
- const g = Qt(d);
- o[g] = Oa(u, l, g, h, e, !1);
- }
- else h !== i[d] && ((i[d] = h), (a = !0));
- }
- }
- } else {
- Sd(e, t, o, i) && (a = !0);
- let c;
- for (const f in l)
- (!t || (!be(t, f) && ((c = Xt(f)) === f || !be(t, c)))) &&
- (u
- ? n &&
- (n[f] !== void 0 || n[c] !== void 0) &&
- (o[f] = Oa(u, l, f, void 0, e, !0))
- : delete o[f]);
- if (i !== l)
- for (const f in i) (!t || !be(t, f)) && (delete i[f], (a = !0));
- }
- a && Zt(e, 'set', '$attrs'), xd(t || {}, o, e);
- }
- function Sd(e, t, n, r) {
- const [o, i] = e.propsOptions;
- let s = !1,
- l;
- if (t)
- for (let u in t) {
- if (wi(u)) continue;
- const a = t[u];
- let c;
- o && be(o, (c = Qt(u)))
- ? !i || !i.includes(c)
- ? (n[c] = a)
- : ((l || (l = {}))[c] = a)
- : hs(e.emitsOptions, u) ||
- ((!(u in r) || a !== r[u]) && ((r[u] = a), (s = !0)));
- }
- if (i) {
- const u = fe(n),
- a = l || Ce;
- for (let c = 0; c < i.length; c++) {
- const f = i[c];
- n[f] = Oa(o, u, f, a[f], e, !be(a, f));
- }
- }
- return s;
- }
- function Oa(e, t, n, r, o, i) {
- const s = e[n];
- if (s != null) {
- const l = be(s, 'default');
- if (l && r === void 0) {
- const u = s.default;
- if (s.type !== Function && !s.skipFactory && de(u)) {
- const { propsDefaults: a } = o;
- n in a ? (r = a[n]) : (Br(o), (r = a[n] = u.call(null, t)), lr());
- } else r = u;
- }
- s[0] &&
- (i && !l ? (r = !1) : s[1] && (r === '' || r === Xt(n)) && (r = !0));
- }
- return r;
- }
- function Od(e, t, n = !1) {
- const r = t.propsCache,
- o = r.get(e);
- if (o) return o;
- const i = e.props,
- s = {},
- l = [];
- let u = !1;
- if (!de(e)) {
- const c = f => {
- u = !0;
- const [d, h] = Od(f, t, !0);
- Ie(s, d), h && l.push(...h);
- };
- !n && t.mixins.length && t.mixins.forEach(c),
- e.extends && c(e.extends),
- e.mixins && e.mixins.forEach(c);
- }
- if (!i && !u) return $e(e) && r.set(e, $r), $r;
- if (le(i))
- for (let c = 0; c < i.length; c++) {
- Re(i[c]) || q('props must be strings when using array syntax.', i[c]);
- const f = Qt(i[c]);
- Rc(f) && (s[f] = Ce);
- }
- else if (i) {
- $e(i) || q('invalid props options', i);
- for (const c in i) {
- const f = Qt(c);
- if (Rc(f)) {
- const d = i[c],
- h = (s[f] = le(d) || de(d) ? { type: d } : Ie({}, d));
- if (h) {
- const g = Mc(Boolean, h.type),
- _ = Mc(String, h.type);
- (h[0] = g > -1),
- (h[1] = _ < 0 || g < _),
- (g > -1 || be(h, 'default')) && l.push(f);
- }
- }
- }
- }
- const a = [s, l];
- return $e(e) && r.set(e, a), a;
- }
- function Rc(e) {
- return e[0] !== '$'
- ? !0
- : (q(`Invalid prop name: "${e}" is a reserved property.`), !1);
- }
- function xa(e) {
- const t = e && e.toString().match(/^\s*(function|class) (\w+)/);
- return t ? t[2] : e === null ? 'null' : '';
- }
- function kc(e, t) {
- return xa(e) === xa(t);
- }
- function Mc(e, t) {
- return le(t) ? t.findIndex(n => kc(n, e)) : de(t) && kc(t, e) ? 0 : -1;
- }
- function xd(e, t, n) {
- const r = fe(t),
- o = n.propsOptions[0];
- for (const i in o) {
- let s = o[i];
- s != null && Jy(i, r[i], s, !be(e, i) && !be(e, Xt(i)));
- }
- }
- function Jy(e, t, n, r) {
- const { type: o, required: i, validator: s, skipCheck: l } = n;
- if (i && r) {
- q('Missing required prop: "' + e + '"');
- return;
- }
- if (!(t == null && !i)) {
- if (o != null && o !== !0 && !l) {
- let u = !1;
- const a = le(o) ? o : [o],
- c = [];
- for (let f = 0; f < a.length && !u; f++) {
- const { valid: d, expectedType: h } = Xy(t, a[f]);
- c.push(h || ''), (u = d);
- }
- if (!u) {
- q(Zy(e, t, c));
- return;
- }
- }
- s &&
- !s(t) &&
- q('Invalid prop: custom validator check failed for prop "' + e + '".');
- }
- }
- const Qy = qn('String,Number,Boolean,Function,Symbol,BigInt');
- function Xy(e, t) {
- let n;
- const r = xa(t);
- if (Qy(r)) {
- const o = typeof e;
- (n = o === r.toLowerCase()), !n && o === 'object' && (n = e instanceof t);
- } else
- r === 'Object'
- ? (n = $e(e))
- : r === 'Array'
- ? (n = le(e))
- : r === 'null'
- ? (n = e === null)
- : (n = e instanceof t);
- return { valid: n, expectedType: r };
- }
- function Zy(e, t, n) {
- let r = `Invalid prop: type check failed for prop "${e}". Expected ${n
- .map(fr)
- .join(' | ')}`;
- const o = n[0],
- i = cl(t),
- s = Fc(t, o),
- l = Fc(t, i);
- return (
- n.length === 1 && Bc(o) && !ev(o, i) && (r += ` with value ${s}`),
- (r += `, got ${i} `),
- Bc(i) && (r += `with value ${l}.`),
- r
- );
- }
- function Fc(e, t) {
- return t === 'String' ? `"${e}"` : t === 'Number' ? `${Number(e)}` : `${e}`;
- }
- function Bc(e) {
- return ['string', 'number', 'boolean'].some(n => e.toLowerCase() === n);
- }
- function ev(...e) {
- return e.some(t => t.toLowerCase() === 'boolean');
- }
- const Ad = e => e[0] === '_' || e === '$stable',
- xl = e => (le(e) ? e.map(Dt) : [Dt(e)]),
- tv = (e, t, n) => {
- if (t._n) return t;
- const r = py(
- (...o) => (
- De &&
- q(
- `Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
- ),
- xl(t(...o))
- ),
- n
- );
- return (r._c = !1), r;
- },
- Td = (e, t, n) => {
- const r = e._ctx;
- for (const o in e) {
- if (Ad(o)) continue;
- const i = e[o];
- if (de(i)) t[o] = tv(o, i, r);
- else if (i != null) {
- q(
- `Non-function value encountered for slot "${o}". Prefer function slots for better performance.`
- );
- const s = xl(i);
- t[o] = () => s;
- }
- }
- },
- Cd = (e, t) => {
- Lo(e.vnode) ||
- q(
- 'Non-function value encountered for default slot. Prefer function slots for better performance.'
- );
- const n = xl(t);
- e.slots.default = () => n;
- },
- nv = (e, t) => {
- if (e.vnode.shapeFlag & 32) {
- const n = t._;
- n ? ((e.slots = fe(t)), Mi(t, '_', n)) : Td(t, (e.slots = {}));
- } else (e.slots = {}), t && Cd(e, t);
- Mi(e.slots, vs, 1);
- },
- rv = (e, t, n) => {
- const { vnode: r, slots: o } = e;
- let i = !0,
- s = Ce;
- if (r.shapeFlag & 32) {
- const l = t._;
- l
- ? Dn
- ? (Ie(o, t), Zt(e, 'set', '$slots'))
- : n && l === 1
- ? (i = !1)
- : (Ie(o, t), !n && l === 1 && delete o._)
- : ((i = !t.$stable), Td(t, o)),
- (s = t);
- } else t && (Cd(e, t), (s = { default: 1 }));
- if (i) for (const l in o) !Ad(l) && !(l in s) && delete o[l];
- };
- function Aa(e, t, n, r, o = !1) {
- if (le(e)) {
- e.forEach((d, h) => Aa(d, t && (le(t) ? t[h] : t), n, r, o));
- return;
- }
- if (Oi(r) && !o) return;
- const i = r.shapeFlag & 4 ? bs(r.component) || r.component.proxy : r.el,
- s = o ? null : i,
- { i: l, r: u } = e;
- if (!l) {
- q(
- 'Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.'
- );
- return;
- }
- const a = t && t.r,
- c = l.refs === Ce ? (l.refs = {}) : l.refs,
- f = l.setupState;
- if (
- (a != null &&
- a !== u &&
- (Re(a)
- ? ((c[a] = null), be(f, a) && (f[a] = null))
- : Pe(a) && (a.value = null)),
- de(u))
- )
- bn(u, l, 12, [s, c]);
- else {
- const d = Re(u),
- h = Pe(u);
- if (d || h) {
- const g = () => {
- if (e.f) {
- const _ = d ? (be(f, u) ? f[u] : c[u]) : u.value;
- o
- ? le(_) && sl(_, i)
- : le(_)
- ? _.includes(i) || _.push(i)
- : d
- ? ((c[u] = [i]), be(f, u) && (f[u] = c[u]))
- : ((u.value = [i]), e.k && (c[e.k] = u.value));
- } else
- d
- ? ((c[u] = s), be(f, u) && (f[u] = s))
- : h
- ? ((u.value = s), e.k && (c[e.k] = s))
- : q('Invalid template ref type:', u, `(${typeof u})`);
- };
- s ? ((g.id = -1), pt(g, n)) : g();
- } else q('Invalid template ref type:', u, `(${typeof u})`);
- }
- }
- let Yr, Rn;
- function pn(e, t) {
- e.appContext.config.performance && qi() && Rn.mark(`vue-${t}-${e.uid}`),
- cy(e, t, qi() ? Rn.now() : Date.now());
- }
- function hn(e, t) {
- if (e.appContext.config.performance && qi()) {
- const n = `vue-${t}-${e.uid}`,
- r = n + ':end';
- Rn.mark(r),
- Rn.measure(`<${_s(e, e.type)}> ${t}`, n, r),
- Rn.clearMarks(n),
- Rn.clearMarks(r);
- }
- uy(e, t, qi() ? Rn.now() : Date.now());
- }
- function qi() {
- return (
- Yr !== void 0 ||
- (typeof window < 'u' && window.performance
- ? ((Yr = !0), (Rn = window.performance))
- : (Yr = !1)),
- Yr
- );
- }
- function ov() {
- const e = [];
- if (e.length) {
- const t = e.length > 1;
- console.warn(`Feature flag${t ? 's' : ''} ${e.join(', ')} ${
- t ? 'are' : 'is'
- } not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
- For more details, see https://link.vuejs.org/feature-flags.`);
- }
- }
- const pt = _y;
- function iv(e) {
- return sv(e);
- }
- function sv(e, t) {
- ov();
- const n = Fi();
- (n.__VUE__ = !0), id(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
- const {
- insert: r,
- remove: o,
- patchProp: i,
- createElement: s,
- createText: l,
- createComment: u,
- setText: a,
- setElementText: c,
- parentNode: f,
- nextSibling: d,
- setScopeId: h = yt,
- insertStaticContent: g
- } = e,
- _ = (
- m,
- y,
- E,
- $ = null,
- C = null,
- G = null,
- X = !1,
- V = null,
- J = Dn ? !1 : !!y.dynamicChildren
- ) => {
- if (m === y) return;
- m && !er(m, y) && (($ = L(m)), Ee(m, C, G, !0), (m = null)),
- y.patchFlag === -2 && ((J = !1), (y.dynamicChildren = null));
- const { type: j, ref: re, shapeFlag: ne } = y;
- switch (j) {
- case Uo:
- w(m, y, E, $);
- break;
- case ft:
- b(m, y, E, $);
- break;
- case xi:
- m == null ? A(y, E, $, X) : M(m, y, E, X);
- break;
- case Je:
- R(m, y, E, $, C, G, X, V, J);
- break;
- default:
- ne & 1
- ? Q(m, y, E, $, C, G, X, V, J)
- : ne & 6
- ? U(m, y, E, $, C, G, X, V, J)
- : ne & 64 || ne & 128
- ? j.process(m, y, E, $, C, G, X, V, J, te)
- : q('Invalid VNode type:', j, `(${typeof j})`);
- }
- re != null && C && Aa(re, m && m.ref, G, y || m, !y);
- },
- w = (m, y, E, $) => {
- if (m == null) r((y.el = l(y.children)), E, $);
- else {
- const C = (y.el = m.el);
- y.children !== m.children && a(C, y.children);
- }
- },
- b = (m, y, E, $) => {
- m == null ? r((y.el = u(y.children || '')), E, $) : (y.el = m.el);
- },
- A = (m, y, E, $) => {
- [m.el, m.anchor] = g(m.children, y, E, $, m.el, m.anchor);
- },
- M = (m, y, E, $) => {
- if (y.children !== m.children) {
- const C = d(m.anchor);
- I(m), ([y.el, y.anchor] = g(y.children, E, C, $));
- } else (y.el = m.el), (y.anchor = m.anchor);
- },
- Z = ({ el: m, anchor: y }, E, $) => {
- let C;
- for (; m && m !== y; ) (C = d(m)), r(m, E, $), (m = C);
- r(y, E, $);
- },
- I = ({ el: m, anchor: y }) => {
- let E;
- for (; m && m !== y; ) (E = d(m)), o(m), (m = E);
- o(y);
- },
- Q = (m, y, E, $, C, G, X, V, J) => {
- (X = X || y.type === 'svg'),
- m == null ? F(y, E, $, C, G, X, V, J) : O(m, y, C, G, X, V, J);
- },
- F = (m, y, E, $, C, G, X, V) => {
- let J, j;
- const {
- type: re,
- props: ne,
- shapeFlag: ie,
- transition: ue,
- dirs: me
- } = m;
- if (
- ((J = m.el = s(m.type, G, ne && ne.is, ne)),
- ie & 8
- ? c(J, m.children)
- : ie & 16 &&
- D(m.children, J, null, $, C, G && re !== 'foreignObject', X, V),
- me && Gn(m, null, $, 'created'),
- K(J, m, m.scopeId, X, $),
- ne)
- ) {
- for (const se in ne)
- se !== 'value' &&
- !wi(se) &&
- i(J, se, null, ne[se], G, m.children, $, C, x);
- 'value' in ne && i(J, 'value', null, ne.value),
- (j = ne.onVnodeBeforeMount) && Ht(j, $, m);
- }
- Object.defineProperty(J, '__vnode', { value: m, enumerable: !1 }),
- Object.defineProperty(J, '__vueParentComponent', {
- value: $,
- enumerable: !1
- }),
- me && Gn(m, null, $, 'beforeMount');
- const N = (!C || (C && !C.pendingBranch)) && ue && !ue.persisted;
- N && ue.beforeEnter(J),
- r(J, y, E),
- ((j = ne && ne.onVnodeMounted) || N || me) &&
- pt(() => {
- j && Ht(j, $, m), N && ue.enter(J), me && Gn(m, null, $, 'mounted');
- }, C);
- },
- K = (m, y, E, $, C) => {
- if ((E && h(m, E), $)) for (let G = 0; G < $.length; G++) h(m, $[G]);
- if (C) {
- let G = C.subTree;
- if (
- (G.patchFlag > 0 && G.patchFlag & 2048 && (G = ud(G.children) || G),
- y === G)
- ) {
- const X = C.vnode;
- K(m, X, X.scopeId, X.slotScopeIds, C.parent);
- }
- }
- },
- D = (m, y, E, $, C, G, X, V, J = 0) => {
- for (let j = J; j < m.length; j++) {
- const re = (m[j] = V ? $n(m[j]) : Dt(m[j]));
- _(null, re, y, E, $, C, G, X, V);
- }
- },
- O = (m, y, E, $, C, G, X) => {
- const V = (y.el = m.el);
- let { patchFlag: J, dynamicChildren: j, dirs: re } = y;
- J |= m.patchFlag & 16;
- const ne = m.props || Ce,
- ie = y.props || Ce;
- let ue;
- E && Yn(E, !1),
- (ue = ie.onVnodeBeforeUpdate) && Ht(ue, E, y, m),
- re && Gn(y, m, E, 'beforeUpdate'),
- E && Yn(E, !0),
- Dn && ((J = 0), (X = !1), (j = null));
- const me = C && y.type !== 'foreignObject';
- if (
- (j
- ? (B(m.dynamicChildren, j, V, E, $, me, G), zi(m, y))
- : X || oe(m, y, V, null, E, $, me, G, !1),
- J > 0)
- ) {
- if (J & 16) P(V, y, ne, ie, E, $, C);
- else if (
- (J & 2 && ne.class !== ie.class && i(V, 'class', null, ie.class, C),
- J & 4 && i(V, 'style', ne.style, ie.style, C),
- J & 8)
- ) {
- const N = y.dynamicProps;
- for (let se = 0; se < N.length; se++) {
- const ye = N[se],
- Ue = ne[ye],
- nn = ie[ye];
- (nn !== Ue || ye === 'value') &&
- i(V, ye, Ue, nn, C, m.children, E, $, x);
- }
- }
- J & 1 && m.children !== y.children && c(V, y.children);
- } else !X && j == null && P(V, y, ne, ie, E, $, C);
- ((ue = ie.onVnodeUpdated) || re) &&
- pt(() => {
- ue && Ht(ue, E, y, m), re && Gn(y, m, E, 'updated');
- }, $);
- },
- B = (m, y, E, $, C, G, X) => {
- for (let V = 0; V < y.length; V++) {
- const J = m[V],
- j = y[V],
- re =
- J.el && (J.type === Je || !er(J, j) || J.shapeFlag & 70)
- ? f(J.el)
- : E;
- _(J, j, re, null, $, C, G, X, !0);
- }
- },
- P = (m, y, E, $, C, G, X) => {
- if (E !== $) {
- if (E !== Ce)
- for (const V in E)
- !wi(V) && !(V in $) && i(m, V, E[V], null, X, y.children, C, G, x);
- for (const V in $) {
- if (wi(V)) continue;
- const J = $[V],
- j = E[V];
- J !== j && V !== 'value' && i(m, V, j, J, X, y.children, C, G, x);
- }
- 'value' in $ && i(m, 'value', E.value, $.value);
- }
- },
- R = (m, y, E, $, C, G, X, V, J) => {
- const j = (y.el = m ? m.el : l('')),
- re = (y.anchor = m ? m.anchor : l(''));
- let { patchFlag: ne, dynamicChildren: ie, slotScopeIds: ue } = y;
- (Dn || ne & 2048) && ((ne = 0), (J = !1), (ie = null)),
- ue && (V = V ? V.concat(ue) : ue),
- m == null
- ? (r(j, E, $), r(re, E, $), D(y.children, E, re, C, G, X, V, J))
- : ne > 0 && ne & 64 && ie && m.dynamicChildren
- ? (B(m.dynamicChildren, ie, E, C, G, X, V), zi(m, y))
- : oe(m, y, E, re, C, G, X, V, J);
- },
- U = (m, y, E, $, C, G, X, V, J) => {
- (y.slotScopeIds = V),
- m == null
- ? y.shapeFlag & 512
- ? C.ctx.activate(y, E, $, X, J)
- : H(y, E, $, C, G, X, J)
- : ee(m, y, J);
- },
- H = (m, y, E, $, C, G, X) => {
- const V = (m.component = _v(m, $, C));
- if (
- (V.type.__hmrId && ey(V),
- Ei(m),
- pn(V, 'mount'),
- Lo(m) && (V.ctx.renderer = te),
- pn(V, 'init'),
- Ev(V),
- hn(V, 'init'),
- V.asyncDep)
- ) {
- if ((C && C.registerDep(V, k), !m.el)) {
- const J = (V.subTree = S(ft));
- b(null, J, y, E);
- }
- return;
- }
- k(V, m, y, E, C, G, X), Si(), hn(V, 'mount');
- },
- ee = (m, y, E) => {
- const $ = (y.component = m.component);
- if (yy(m, y, E))
- if ($.asyncDep && !$.asyncResolved) {
- Ei(y), z($, y, E), Si();
- return;
- } else ($.next = y), Xg($.update), $.update();
- else (y.el = m.el), ($.vnode = y);
- },
- k = (m, y, E, $, C, G, X) => {
- const V = () => {
- if (m.isMounted) {
- let { next: re, bu: ne, u: ie, parent: ue, vnode: me } = m,
- N = re,
- se;
- Ei(re || m.vnode),
- Yn(m, !1),
- re ? ((re.el = me.el), z(m, re, X)) : (re = me),
- ne && Gr(ne),
- (se = re.props && re.props.onVnodeBeforeUpdate) &&
- Ht(se, ue, re, me),
- Yn(m, !0),
- pn(m, 'render');
- const ye = Hs(m);
- hn(m, 'render');
- const Ue = m.subTree;
- (m.subTree = ye),
- pn(m, 'patch'),
- _(Ue, ye, f(Ue.el), L(Ue), m, C, G),
- hn(m, 'patch'),
- (re.el = ye.el),
- N === null && vy(m, ye.el),
- ie && pt(ie, C),
- (se = re.props && re.props.onVnodeUpdated) &&
- pt(() => Ht(se, ue, re, me), C),
- sd(m),
- Si();
- } else {
- let re;
- const { el: ne, props: ie } = y,
- { bm: ue, m: me, parent: N } = m,
- se = Oi(y);
- if (
- (Yn(m, !1),
- ue && Gr(ue),
- !se && (re = ie && ie.onVnodeBeforeMount) && Ht(re, N, y),
- Yn(m, !0),
- ne && ve)
- ) {
- const ye = () => {
- pn(m, 'render'),
- (m.subTree = Hs(m)),
- hn(m, 'render'),
- pn(m, 'hydrate'),
- ve(ne, m.subTree, m, C, null),
- hn(m, 'hydrate');
- };
- se
- ? y.type.__asyncLoader().then(() => !m.isUnmounted && ye())
- : ye();
- } else {
- pn(m, 'render');
- const ye = (m.subTree = Hs(m));
- hn(m, 'render'),
- pn(m, 'patch'),
- _(null, ye, E, $, m, C, G),
- hn(m, 'patch'),
- (y.el = ye.el);
- }
- if ((me && pt(me, C), !se && (re = ie && ie.onVnodeMounted))) {
- const ye = y;
- pt(() => Ht(re, N, ye), C);
- }
- (y.shapeFlag & 256 ||
- (N && Oi(N.vnode) && N.vnode.shapeFlag & 256)) &&
- m.a &&
- pt(m.a, C),
- (m.isMounted = !0),
- sy(m),
- (y = E = $ = null);
- }
- },
- J = (m.effect = new hl(V, () => ps(j), m.scope)),
- j = (m.update = () => J.run());
- (j.id = m.uid),
- Yn(m, !0),
- (J.onTrack = m.rtc ? re => Gr(m.rtc, re) : void 0),
- (J.onTrigger = m.rtg ? re => Gr(m.rtg, re) : void 0),
- (j.ownerInstance = m),
- j();
- },
- z = (m, y, E) => {
- y.component = m;
- const $ = m.vnode.props;
- (m.vnode = y),
- (m.next = null),
- Yy(m, y.props, $, E),
- rv(m, y.children, E),
- mr(),
- Ec(),
- gr();
- },
- oe = (m, y, E, $, C, G, X, V, J = !1) => {
- const j = m && m.children,
- re = m ? m.shapeFlag : 0,
- ne = y.children,
- { patchFlag: ie, shapeFlag: ue } = y;
- if (ie > 0) {
- if (ie & 128) {
- we(j, ne, E, $, C, G, X, V, J);
- return;
- } else if (ie & 256) {
- he(j, ne, E, $, C, G, X, V, J);
- return;
- }
- }
- ue & 8
- ? (re & 16 && x(j, C, G), ne !== j && c(E, ne))
- : re & 16
- ? ue & 16
- ? we(j, ne, E, $, C, G, X, V, J)
- : x(j, C, G, !0)
- : (re & 8 && c(E, ''), ue & 16 && D(ne, E, $, C, G, X, V, J));
- },
- he = (m, y, E, $, C, G, X, V, J) => {
- (m = m || $r), (y = y || $r);
- const j = m.length,
- re = y.length,
- ne = Math.min(j, re);
- let ie;
- for (ie = 0; ie < ne; ie++) {
- const ue = (y[ie] = J ? $n(y[ie]) : Dt(y[ie]));
- _(m[ie], ue, E, null, C, G, X, V, J);
- }
- j > re ? x(m, C, G, !0, !1, ne) : D(y, E, $, C, G, X, V, J, ne);
- },
- we = (m, y, E, $, C, G, X, V, J) => {
- let j = 0;
- const re = y.length;
- let ne = m.length - 1,
- ie = re - 1;
- for (; j <= ne && j <= ie; ) {
- const ue = m[j],
- me = (y[j] = J ? $n(y[j]) : Dt(y[j]));
- if (er(ue, me)) _(ue, me, E, null, C, G, X, V, J);
- else break;
- j++;
- }
- for (; j <= ne && j <= ie; ) {
- const ue = m[ne],
- me = (y[ie] = J ? $n(y[ie]) : Dt(y[ie]));
- if (er(ue, me)) _(ue, me, E, null, C, G, X, V, J);
- else break;
- ne--, ie--;
- }
- if (j > ne) {
- if (j <= ie) {
- const ue = ie + 1,
- me = ue < re ? y[ue].el : $;
- for (; j <= ie; )
- _(null, (y[j] = J ? $n(y[j]) : Dt(y[j])), E, me, C, G, X, V, J),
- j++;
- }
- } else if (j > ie) for (; j <= ne; ) Ee(m[j], C, G, !0), j++;
- else {
- const ue = j,
- me = j,
- N = new Map();
- for (j = me; j <= ie; j++) {
- const Ye = (y[j] = J ? $n(y[j]) : Dt(y[j]));
- Ye.key != null &&
- (N.has(Ye.key) &&
- q(
- 'Duplicate keys found during update:',
- JSON.stringify(Ye.key),
- 'Make sure keys are unique.'
- ),
- N.set(Ye.key, j));
- }
- let se,
- ye = 0;
- const Ue = ie - me + 1;
- let nn = !1,
- zr = 0;
- const at = new Array(Ue);
- for (j = 0; j < Ue; j++) at[j] = 0;
- for (j = ue; j <= ne; j++) {
- const Ye = m[j];
- if (ye >= Ue) {
- Ee(Ye, C, G, !0);
- continue;
- }
- let wt;
- if (Ye.key != null) wt = N.get(Ye.key);
- else
- for (se = me; se <= ie; se++)
- if (at[se - me] === 0 && er(Ye, y[se])) {
- wt = se;
- break;
- }
- wt === void 0
- ? Ee(Ye, C, G, !0)
- : ((at[wt - me] = j + 1),
- wt >= zr ? (zr = wt) : (nn = !0),
- _(Ye, y[wt], E, null, C, G, X, V, J),
- ye++);
- }
- const rn = nn ? av(at) : $r;
- for (se = rn.length - 1, j = Ue - 1; j >= 0; j--) {
- const Ye = me + j,
- wt = y[Ye],
- Vr = Ye + 1 < re ? y[Ye + 1].el : $;
- at[j] === 0
- ? _(null, wt, E, Vr, C, G, X, V, J)
- : nn && (se < 0 || j !== rn[se] ? ge(wt, E, Vr, 2) : se--);
- }
- }
- },
- ge = (m, y, E, $, C = null) => {
- const { el: G, type: X, transition: V, children: J, shapeFlag: j } = m;
- if (j & 6) {
- ge(m.component.subTree, y, E, $);
- return;
- }
- if (j & 128) {
- m.suspense.move(y, E, $);
- return;
- }
- if (j & 64) {
- X.move(m, y, E, te);
- return;
- }
- if (X === Je) {
- r(G, y, E);
- for (let ne = 0; ne < J.length; ne++) ge(J[ne], y, E, $);
- r(m.anchor, y, E);
- return;
- }
- if (X === xi) {
- Z(m, y, E);
- return;
- }
- if ($ !== 2 && j & 1 && V)
- if ($ === 0) V.beforeEnter(G), r(G, y, E), pt(() => V.enter(G), C);
- else {
- const { leave: ne, delayLeave: ie, afterLeave: ue } = V,
- me = () => r(G, y, E),
- N = () => {
- ne(G, () => {
- me(), ue && ue();
- });
- };
- ie ? ie(G, me, N) : N();
- }
- else r(G, y, E);
- },
- Ee = (m, y, E, $ = !1, C = !1) => {
- const {
- type: G,
- props: X,
- ref: V,
- children: J,
- dynamicChildren: j,
- shapeFlag: re,
- patchFlag: ne,
- dirs: ie
- } = m;
- if ((V != null && Aa(V, null, E, m, !0), re & 256)) {
- y.ctx.deactivate(m);
- return;
- }
- const ue = re & 1 && ie,
- me = !Oi(m);
- let N;
- if ((me && (N = X && X.onVnodeBeforeUnmount) && Ht(N, y, m), re & 6))
- je(m.component, E, $);
- else {
- if (re & 128) {
- m.suspense.unmount(E, $);
- return;
- }
- ue && Gn(m, null, y, 'beforeUnmount'),
- re & 64
- ? m.type.remove(m, y, E, C, te, $)
- : j && (G !== Je || (ne > 0 && ne & 64))
- ? x(j, y, E, !1, !0)
- : ((G === Je && ne & 384) || (!C && re & 16)) && x(J, y, E),
- $ && Fe(m);
- }
- ((me && (N = X && X.onVnodeUnmounted)) || ue) &&
- pt(() => {
- N && Ht(N, y, m), ue && Gn(m, null, y, 'unmounted');
- }, E);
- },
- Fe = m => {
- const { type: y, el: E, anchor: $, transition: C } = m;
- if (y === Je) {
- m.patchFlag > 0 && m.patchFlag & 2048 && C && !C.persisted
- ? m.children.forEach(X => {
- X.type === ft ? o(X.el) : Fe(X);
- })
- : Ne(E, $);
- return;
- }
- if (y === xi) {
- I(m);
- return;
- }
- const G = () => {
- o(E), C && !C.persisted && C.afterLeave && C.afterLeave();
- };
- if (m.shapeFlag & 1 && C && !C.persisted) {
- const { leave: X, delayLeave: V } = C,
- J = () => X(E, G);
- V ? V(m.el, G, J) : J();
- } else G();
- },
- Ne = (m, y) => {
- let E;
- for (; m !== y; ) (E = d(m)), o(m), (m = E);
- o(y);
- },
- je = (m, y, E) => {
- m.type.__hmrId && ty(m);
- const { bum: $, scope: C, update: G, subTree: X, um: V } = m;
- $ && Gr($),
- C.stop(),
- G && ((G.active = !1), Ee(X, m, y, E)),
- V && pt(V, y),
- pt(() => {
- m.isUnmounted = !0;
- }, y),
- y &&
- y.pendingBranch &&
- !y.isUnmounted &&
- m.asyncDep &&
- !m.asyncResolved &&
- m.suspenseId === y.pendingId &&
- (y.deps--, y.deps === 0 && y.resolve()),
- ly(m);
- },
- x = (m, y, E, $ = !1, C = !1, G = 0) => {
- for (let X = G; X < m.length; X++) Ee(m[X], y, E, $, C);
- },
- L = m =>
- m.shapeFlag & 6
- ? L(m.component.subTree)
- : m.shapeFlag & 128
- ? m.suspense.next()
- : d(m.anchor || m.el),
- W = (m, y, E) => {
- m == null
- ? y._vnode && Ee(y._vnode, null, null, !0)
- : _(y._vnode || null, m, y, null, null, null, E),
- Ec(),
- nd(),
- (y._vnode = m);
- },
- te = {
- p: _,
- um: Ee,
- m: ge,
- r: Fe,
- mt: H,
- mc: D,
- pc: oe,
- pbc: B,
- n: L,
- o: e
- };
- let ce, ve;
- return (
- t && ([ce, ve] = t(te)), { render: W, hydrate: ce, createApp: Vy(W, ce) }
- );
- }
- function Yn({ effect: e, update: t }, n) {
- e.allowRecurse = t.allowRecurse = n;
- }
- function zi(e, t, n = !1) {
- const r = e.children,
- o = t.children;
- if (le(r) && le(o))
- for (let i = 0; i < r.length; i++) {
- const s = r[i];
- let l = o[i];
- l.shapeFlag & 1 &&
- !l.dynamicChildren &&
- ((l.patchFlag <= 0 || l.patchFlag === 32) &&
- ((l = o[i] = $n(o[i])), (l.el = s.el)),
- n || zi(s, l)),
- l.type === Uo && (l.el = s.el),
- l.type === ft && !l.el && (l.el = s.el);
- }
- }
- function av(e) {
- const t = e.slice(),
- n = [0];
- let r, o, i, s, l;
- const u = e.length;
- for (r = 0; r < u; r++) {
- const a = e[r];
- if (a !== 0) {
- if (((o = n[n.length - 1]), e[o] < a)) {
- (t[r] = o), n.push(r);
- continue;
- }
- for (i = 0, s = n.length - 1; i < s; )
- (l = (i + s) >> 1), e[n[l]] < a ? (i = l + 1) : (s = l);
- a < e[n[i]] && (i > 0 && (t[r] = n[i - 1]), (n[i] = r));
- }
- }
- for (i = n.length, s = n[i - 1]; i-- > 0; ) (n[i] = s), (s = t[s]);
- return n;
- }
- const lv = e => e.__isTeleport,
- kr = e => e && (e.disabled || e.disabled === ''),
- Dc = e => typeof SVGElement < 'u' && e instanceof SVGElement,
- Ta = (e, t) => {
- const n = e && e.to;
- if (Re(n))
- if (t) {
- const r = t(n);
- return (
- r ||
- q(
- `Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`
- ),
- r
- );
- } else
- return (
- q(
- 'Current renderer does not support string target for Teleports. (missing querySelector renderer option)'
- ),
- null
- );
- else return !n && !kr(e) && q(`Invalid Teleport target: ${n}`), n;
- },
- cv = {
- __isTeleport: !0,
- process(e, t, n, r, o, i, s, l, u, a) {
- const {
- mc: c,
- pc: f,
- pbc: d,
- o: { insert: h, querySelector: g, createText: _, createComment: w }
- } = a,
- b = kr(t.props);
- let { shapeFlag: A, children: M, dynamicChildren: Z } = t;
- if ((Dn && ((u = !1), (Z = null)), e == null)) {
- const I = (t.el = w('teleport start')),
- Q = (t.anchor = w('teleport end'));
- h(I, n, r), h(Q, n, r);
- const F = (t.target = Ta(t.props, g)),
- K = (t.targetAnchor = _(''));
- F
- ? (h(K, F), (s = s || Dc(F)))
- : b || q('Invalid Teleport target on mount:', F, `(${typeof F})`);
- const D = (O, B) => {
- A & 16 && c(M, O, B, o, i, s, l, u);
- };
- b ? D(n, Q) : F && D(F, K);
- } else {
- t.el = e.el;
- const I = (t.anchor = e.anchor),
- Q = (t.target = e.target),
- F = (t.targetAnchor = e.targetAnchor),
- K = kr(e.props),
- D = K ? n : Q,
- O = K ? I : F;
- if (
- ((s = s || Dc(Q)),
- Z
- ? (d(e.dynamicChildren, Z, D, o, i, s, l), zi(e, t, !0))
- : u || f(e, t, D, O, o, i, s, l, !1),
- b)
- )
- K || fi(t, n, I, a, 1);
- else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
- const B = (t.target = Ta(t.props, g));
- B
- ? fi(t, B, null, a, 0)
- : q('Invalid Teleport target on update:', Q, `(${typeof Q})`);
- } else K && fi(t, Q, F, a, 1);
- }
- $d(t);
- },
- remove(e, t, n, r, { um: o, o: { remove: i } }, s) {
- const {
- shapeFlag: l,
- children: u,
- anchor: a,
- targetAnchor: c,
- target: f,
- props: d
- } = e;
- if ((f && i(c), (s || !kr(d)) && (i(a), l & 16)))
- for (let h = 0; h < u.length; h++) {
- const g = u[h];
- o(g, t, n, !0, !!g.dynamicChildren);
- }
- },
- move: fi,
- hydrate: uv
- };
- function fi(e, t, n, { o: { insert: r }, m: o }, i = 2) {
- i === 0 && r(e.targetAnchor, t, n);
- const { el: s, anchor: l, shapeFlag: u, children: a, props: c } = e,
- f = i === 2;
- if ((f && r(s, t, n), (!f || kr(c)) && u & 16))
- for (let d = 0; d < a.length; d++) o(a[d], t, n, 2);
- f && r(l, t, n);
- }
- function uv(
- e,
- t,
- n,
- r,
- o,
- i,
- { o: { nextSibling: s, parentNode: l, querySelector: u } },
- a
- ) {
- const c = (t.target = Ta(t.props, u));
- if (c) {
- const f = c._lpa || c.firstChild;
- if (t.shapeFlag & 16)
- if (kr(t.props))
- (t.anchor = a(s(e), t, l(e), n, r, o, i)), (t.targetAnchor = f);
- else {
- t.anchor = s(e);
- let d = f;
- for (; d; )
- if (
- ((d = s(d)), d && d.nodeType === 8 && d.data === 'teleport anchor')
- ) {
- (t.targetAnchor = d),
- (c._lpa = t.targetAnchor && s(t.targetAnchor));
- break;
- }
- a(f, t, c, n, r, o, i);
- }
- $d(t);
- }
- return t.anchor && s(t.anchor);
- }
- const fv = cv;
- function $d(e) {
- const t = e.ctx;
- if (t && t.ut) {
- let n = e.children[0].el;
- for (; n !== e.targetAnchor; )
- n.nodeType === 1 && n.setAttribute('data-v-owner', t.uid),
- (n = n.nextSibling);
- t.ut();
- }
- }
- const Je = Symbol.for('v-fgt'),
- Uo = Symbol.for('v-txt'),
- ft = Symbol.for('v-cmt'),
- xi = Symbol.for('v-stc'),
- uo = [];
- let Lt = null;
- function Vx(e = !1) {
- uo.push((Lt = e ? null : []));
- }
- function dv() {
- uo.pop(), (Lt = uo[uo.length - 1] || null);
- }
- let To = 1;
- function Lc(e) {
- To += e;
- }
- function pv(e) {
- return (
- (e.dynamicChildren = To > 0 ? Lt || $r : null),
- dv(),
- To > 0 && Lt && Lt.push(e),
- e
- );
- }
- function Wx(e, t, n, r, o, i) {
- return pv(Id(e, t, n, r, o, i, !0));
- }
- function Fr(e) {
- return e ? e.__v_isVNode === !0 : !1;
- }
- function er(e, t) {
- return t.shapeFlag & 6 && Ar.has(t.type)
- ? ((e.shapeFlag &= -257), (t.shapeFlag &= -513), !1)
- : e.type === t.type && e.key === t.key;
- }
- const hv = (...e) => mv(...e),
- vs = '__vInternal',
- Pd = ({ key: e }) => (e != null ? e : null),
- Ai = ({ ref: e, ref_key: t, ref_for: n }) => (
- typeof e == 'number' && (e = '' + e),
- e != null
- ? Re(e) || Pe(e) || de(e)
- ? { i: nt, r: e, k: t, f: !!n }
- : e
- : null
- );
- function Id(
- e,
- t = null,
- n = null,
- r = 0,
- o = null,
- i = e === Je ? 0 : 1,
- s = !1,
- l = !1
- ) {
- const u = {
- __v_isVNode: !0,
- __v_skip: !0,
- type: e,
- props: t,
- key: t && Pd(t),
- ref: t && Ai(t),
- scopeId: cd,
- slotScopeIds: null,
- children: n,
- component: null,
- suspense: null,
- ssContent: null,
- ssFallback: null,
- dirs: null,
- transition: null,
- el: null,
- anchor: null,
- target: null,
- targetAnchor: null,
- staticCount: 0,
- shapeFlag: i,
- patchFlag: r,
- dynamicProps: o,
- dynamicChildren: null,
- appContext: null,
- ctx: nt
- };
- return (
- l
- ? (Al(u, n), i & 128 && e.normalize(u))
- : n && (u.shapeFlag |= Re(n) ? 8 : 16),
- u.key !== u.key &&
- q('VNode created with invalid key (NaN). VNode type:', u.type),
- To > 0 &&
- !s &&
- Lt &&
- (u.patchFlag > 0 || i & 6) &&
- u.patchFlag !== 32 &&
- Lt.push(u),
- u
- );
- }
- const S = hv;
- function mv(e, t = null, n = null, r = 0, o = null, i = !1) {
- if (
- ((!e || e === My) &&
- (e || q(`Invalid vnode type when creating vnode: ${e}.`), (e = ft)),
- Fr(e))
- ) {
- const l = en(e, t, !0);
- return (
- n && Al(l, n),
- To > 0 &&
- !i &&
- Lt &&
- (l.shapeFlag & 6 ? (Lt[Lt.indexOf(e)] = l) : Lt.push(l)),
- (l.patchFlag |= -2),
- l
- );
- }
- if ((Fd(e) && (e = e.__vccOpts), t)) {
- t = gv(t);
- let { class: l, style: u } = t;
- l && !Re(l) && (t.class = dl(l)),
- $e(u) && (Ni(u) && !le(u) && (u = Ie({}, u)), (t.style = fl(u)));
- }
- const s = Re(e) ? 1 : by(e) ? 128 : lv(e) ? 64 : $e(e) ? 4 : de(e) ? 2 : 0;
- return (
- s & 4 &&
- Ni(e) &&
- ((e = fe(e)),
- q(
- 'Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.',
- `
- Component that was made reactive: `,
- e
- )),
- Id(e, t, n, r, o, s, i, !0)
- );
- }
- function gv(e) {
- return e ? (Ni(e) || vs in e ? Ie({}, e) : e) : null;
- }
- function en(e, t, n = !1) {
- const { props: r, ref: o, patchFlag: i, children: s } = e,
- l = t ? yr(r || {}, t) : r;
- return {
- __v_isVNode: !0,
- __v_skip: !0,
- type: e.type,
- props: l,
- key: l && Pd(l),
- ref:
- t && t.ref
- ? n && o
- ? le(o)
- ? o.concat(Ai(t))
- : [o, Ai(t)]
- : Ai(t)
- : o,
- scopeId: e.scopeId,
- slotScopeIds: e.slotScopeIds,
- children: i === -1 && le(s) ? s.map(Rd) : s,
- target: e.target,
- targetAnchor: e.targetAnchor,
- staticCount: e.staticCount,
- shapeFlag: e.shapeFlag,
- patchFlag: t && e.type !== Je ? (i === -1 ? 16 : i | 16) : i,
- dynamicProps: e.dynamicProps,
- dynamicChildren: e.dynamicChildren,
- appContext: e.appContext,
- dirs: e.dirs,
- transition: e.transition,
- component: e.component,
- suspense: e.suspense,
- ssContent: e.ssContent && en(e.ssContent),
- ssFallback: e.ssFallback && en(e.ssFallback),
- el: e.el,
- anchor: e.anchor,
- ctx: e.ctx,
- ce: e.ce
- };
- }
- function Rd(e) {
- const t = en(e);
- return le(e.children) && (t.children = e.children.map(Rd)), t;
- }
- function yv(e = ' ', t = 0) {
- return S(Uo, null, e, t);
- }
- function Dt(e) {
- return e == null || typeof e == 'boolean'
- ? S(ft)
- : le(e)
- ? S(Je, null, e.slice())
- : typeof e == 'object'
- ? $n(e)
- : S(Uo, null, String(e));
- }
- function $n(e) {
- return (e.el === null && e.patchFlag !== -1) || e.memo ? e : en(e);
- }
- function Al(e, t) {
- let n = 0;
- const { shapeFlag: r } = e;
- if (t == null) t = null;
- else if (le(t)) n = 16;
- else if (typeof t == 'object')
- if (r & 65) {
- const o = t.default;
- o && (o._c && (o._d = !1), Al(e, o()), o._c && (o._d = !0));
- return;
- } else {
- n = 32;
- const o = t._;
- !o && !(vs in t)
- ? (t._ctx = nt)
- : o === 3 &&
- nt &&
- (nt.slots._ === 1 ? (t._ = 1) : ((t._ = 2), (e.patchFlag |= 1024)));
- }
- else
- de(t)
- ? ((t = { default: t, _ctx: nt }), (n = 32))
- : ((t = String(t)), r & 64 ? ((n = 16), (t = [yv(t)])) : (n = 8));
- (e.children = t), (e.shapeFlag |= n);
- }
- function yr(...e) {
- const t = {};
- for (let n = 0; n < e.length; n++) {
- const r = e[n];
- for (const o in r)
- if (o === 'class')
- t.class !== r.class && (t.class = dl([t.class, r.class]));
- else if (o === 'style') t.style = fl([t.style, r.style]);
- else if (Bo(o)) {
- const i = t[o],
- s = r[o];
- s &&
- i !== s &&
- !(le(i) && i.includes(s)) &&
- (t[o] = i ? [].concat(i, s) : s);
- } else o !== '' && (t[o] = r[o]);
- }
- return t;
- }
- function Ht(e, t, n, r = null) {
- kt(e, t, 7, [n, r]);
- }
- const vv = Ed();
- let bv = 0;
- function _v(e, t, n) {
- const r = e.type,
- o = (t ? t.appContext : e.appContext) || vv,
- i = {
- uid: bv++,
- vnode: e,
- type: r,
- parent: t,
- appContext: o,
- root: null,
- next: null,
- subTree: null,
- effect: null,
- update: null,
- scope: new Pf(!0),
- render: null,
- proxy: null,
- exposed: null,
- exposeProxy: null,
- withProxy: null,
- provides: t ? t.provides : Object.create(o.provides),
- accessCache: null,
- renderCache: [],
- components: null,
- directives: null,
- propsOptions: Od(r, o),
- emitsOptions: ld(r, o),
- emit: null,
- emitted: null,
- propsDefaults: Ce,
- inheritAttrs: r.inheritAttrs,
- ctx: Ce,
- data: Ce,
- props: Ce,
- attrs: Ce,
- slots: Ce,
- refs: Ce,
- setupState: Ce,
- setupContext: null,
- attrsProxy: null,
- slotsProxy: null,
- suspense: n,
- suspenseId: n ? n.pendingId : 0,
- asyncDep: null,
- asyncResolved: !1,
- isMounted: !1,
- isUnmounted: !1,
- isDeactivated: !1,
- bc: null,
- c: null,
- bm: null,
- m: null,
- bu: null,
- u: null,
- um: null,
- bum: null,
- da: null,
- a: null,
- rtg: null,
- rtc: null,
- ec: null,
- sp: null
- };
- return (
- (i.ctx = Fy(i)),
- (i.root = t ? t.root : i),
- (i.emit = dy.bind(null, i)),
- e.ce && e.ce(i),
- i
- );
- }
- let De = null;
- const Ut = () => De || nt;
- let Tl,
- _r,
- Nc = '__VUE_INSTANCE_SETTERS__';
- (_r = Fi()[Nc]) || (_r = Fi()[Nc] = []),
- _r.push(e => (De = e)),
- (Tl = e => {
- _r.length > 1 ? _r.forEach(t => t(e)) : _r[0](e);
- });
- const Br = e => {
- Tl(e), e.scope.on();
- },
- lr = () => {
- De && De.scope.off(), Tl(null);
- },
- wv = qn('slot,component');
- function Ca(e, t) {
- const n = t.isNativeTag || Cf;
- (wv(e) || n(e)) &&
- q('Do not use built-in or reserved HTML elements as component id: ' + e);
- }
- function kd(e) {
- return e.vnode.shapeFlag & 4;
- }
- let Co = !1;
- function Ev(e, t = !1) {
- Co = t;
- const { props: n, children: r } = e.vnode,
- o = kd(e);
- Ky(e, n, o, t), nv(e, r);
- const i = o ? Sv(e, t) : void 0;
- return (Co = !1), i;
- }
- function Sv(e, t) {
- var n;
- const r = e.type;
- {
- if ((r.name && Ca(r.name, e.appContext.config), r.components)) {
- const i = Object.keys(r.components);
- for (let s = 0; s < i.length; s++) Ca(i[s], e.appContext.config);
- }
- if (r.directives) {
- const i = Object.keys(r.directives);
- for (let s = 0; s < i.length; s++) dd(i[s]);
- }
- r.compilerOptions &&
- Ov() &&
- q(
- '"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
- );
- }
- (e.accessCache = Object.create(null)),
- (e.proxy = vn(new Proxy(e.ctx, _d))),
- By(e);
- const { setup: o } = r;
- if (o) {
- const i = (e.setupContext = o.length > 1 ? Tv(e) : null);
- Br(e), mr();
- const s = bn(o, e, 0, [oo(e.props), i]);
- if ((gr(), lr(), ll(s))) {
- if ((s.then(lr, lr), t))
- return s
- .then(l => {
- jc(e, l, t);
- })
- .catch(l => {
- ds(l, e, 0);
- });
- if (((e.asyncDep = s), !e.suspense)) {
- const l = (n = r.name) != null ? n : 'Anonymous';
- q(
- `Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
- );
- }
- } else jc(e, s, t);
- } else Md(e, t);
- }
- function jc(e, t, n) {
- de(t)
- ? e.type.__ssrInlineRender
- ? (e.ssrRender = t)
- : (e.render = t)
- : $e(t)
- ? (Fr(t) &&
- q(
- 'setup() should not return VNodes directly - return a render function instead.'
- ),
- (e.devtoolsRawSetupState = t),
- (e.setupState = Jf(t)),
- Dy(e))
- : t !== void 0 &&
- q(
- `setup() should return an object. Received: ${
- t === null ? 'null' : typeof t
- }`
- ),
- Md(e, n);
- }
- let $a;
- const Ov = () => !$a;
- function Md(e, t, n) {
- const r = e.type;
- if (!e.render) {
- if (!t && $a && !r.render) {
- const o = r.template || Ol(e).template;
- if (o) {
- pn(e, 'compile');
- const { isCustomElement: i, compilerOptions: s } = e.appContext.config,
- { delimiters: l, compilerOptions: u } = r,
- a = Ie(Ie({ isCustomElement: i, delimiters: l }, s), u);
- (r.render = $a(o, a)), hn(e, 'compile');
- }
- }
- e.render = r.render || yt;
- }
- Br(e),
- mr(),
- Ny(e),
- gr(),
- lr(),
- !r.render &&
- e.render === yt &&
- !t &&
- (r.template
- ? q(
- 'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'
- )
- : q('Component is missing template or render function.'));
- }
- function xv(e) {
- return (
- e.attrsProxy ||
- (e.attrsProxy = new Proxy(e.attrs, {
- get(t, n) {
- return Ui(), ot(e, 'get', '$attrs'), t[n];
- },
- set() {
- return q('setupContext.attrs is readonly.'), !1;
- },
- deleteProperty() {
- return q('setupContext.attrs is readonly.'), !1;
- }
- }))
- );
- }
- function Av(e) {
- return (
- e.slotsProxy ||
- (e.slotsProxy = new Proxy(e.slots, {
- get(t, n) {
- return ot(e, 'get', '$slots'), t[n];
- }
- }))
- );
- }
- function Tv(e) {
- return Object.freeze({
- get attrs() {
- return xv(e);
- },
- get slots() {
- return Av(e);
- },
- get emit() {
- return (n, ...r) => e.emit(n, ...r);
- },
- expose: n => {
- if (
- (e.exposed && q('expose() should be called only once per setup().'),
- n != null)
- ) {
- let r = typeof n;
- r === 'object' && (le(n) ? (r = 'array') : Pe(n) && (r = 'ref')),
- r !== 'object' &&
- q(`expose() should be passed a plain object, received ${r}.`);
- }
- e.exposed = n || {};
- }
- });
- }
- function bs(e) {
- if (e.exposed)
- return (
- e.exposeProxy ||
- (e.exposeProxy = new Proxy(Jf(vn(e.exposed)), {
- get(t, n) {
- if (n in t) return t[n];
- if (n in ar) return ar[n](e);
- },
- has(t, n) {
- return n in t || n in ar;
- }
- }))
- );
- }
- const Cv = /(?:^|[-_])(\w)/g,
- $v = e => e.replace(Cv, t => t.toUpperCase()).replace(/[-_]/g, '');
- function Cl(e, t = !0) {
- return de(e) ? e.displayName || e.name : e.name || (t && e.__name);
- }
- function _s(e, t, n = !1) {
- let r = Cl(t);
- if (!r && t.__file) {
- const o = t.__file.match(/([^/\\]+)\.\w+$/);
- o && (r = o[1]);
- }
- if (!r && e && e.parent) {
- const o = i => {
- for (const s in i) if (i[s] === t) return s;
- };
- r =
- o(e.components || e.parent.type.components) || o(e.appContext.components);
- }
- return r ? $v(r) : n ? 'App' : 'Anonymous';
- }
- function Fd(e) {
- return de(e) && '__vccOpts' in e;
- }
- const Me = (e, t) => qg(e, t, Co);
- function Ho(e, t, n) {
- const r = arguments.length;
- return r === 2
- ? $e(t) && !le(t)
- ? Fr(t)
- ? S(e, null, [t])
- : S(e, t)
- : S(e, null, t)
- : (r > 3
- ? (n = Array.prototype.slice.call(arguments, 2))
- : r === 3 && Fr(n) && (n = [n]),
- S(e, t, n));
- }
- const Pv = Symbol.for('v-scx'),
- Iv = () => {
- {
- const e = rt(Pv);
- return (
- e ||
- q(
- 'Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.'
- ),
- e
- );
- }
- };
- function Vs(e) {
- return !!(e && e.__v_isShallow);
- }
- function Rv() {
- if (typeof window > 'u') return;
- const e = { style: 'color:#3ba776' },
- t = { style: 'color:#0b1bc9' },
- n = { style: 'color:#b62e24' },
- r = { style: 'color:#9d288c' },
- o = {
- header(f) {
- return $e(f)
- ? f.__isVue
- ? ['div', e, 'VueInstance']
- : Pe(f)
- ? ['div', {}, ['span', e, c(f)], '<', l(f.value), '>']
- : Yt(f)
- ? [
- 'div',
- {},
- ['span', e, Vs(f) ? 'ShallowReactive' : 'Reactive'],
- '<',
- l(f),
- `>${jn(f) ? ' (readonly)' : ''}`
- ]
- : jn(f)
- ? [
- 'div',
- {},
- ['span', e, Vs(f) ? 'ShallowReadonly' : 'Readonly'],
- '<',
- l(f),
- '>'
- ]
- : null
- : null;
- },
- hasBody(f) {
- return f && f.__isVue;
- },
- body(f) {
- if (f && f.__isVue) return ['div', {}, ...i(f.$)];
- }
- };
- function i(f) {
- const d = [];
- f.type.props && f.props && d.push(s('props', fe(f.props))),
- f.setupState !== Ce && d.push(s('setup', f.setupState)),
- f.data !== Ce && d.push(s('data', fe(f.data)));
- const h = u(f, 'computed');
- h && d.push(s('computed', h));
- const g = u(f, 'inject');
- return (
- g && d.push(s('injected', g)),
- d.push([
- 'div',
- {},
- ['span', { style: r.style + ';opacity:0.66' }, '$ (internal): '],
- ['object', { object: f }]
- ]),
- d
- );
- }
- function s(f, d) {
- return (
- (d = Ie({}, d)),
- Object.keys(d).length
- ? [
- 'div',
- { style: 'line-height:1.25em;margin-bottom:0.6em' },
- ['div', { style: 'color:#476582' }, f],
- [
- 'div',
- { style: 'padding-left:1.25em' },
- ...Object.keys(d).map(h => [
- 'div',
- {},
- ['span', r, h + ': '],
- l(d[h], !1)
- ])
- ]
- ]
- : ['span', {}]
- );
- }
- function l(f, d = !0) {
- return typeof f == 'number'
- ? ['span', t, f]
- : typeof f == 'string'
- ? ['span', n, JSON.stringify(f)]
- : typeof f == 'boolean'
- ? ['span', r, f]
- : $e(f)
- ? ['object', { object: d ? fe(f) : f }]
- : ['span', n, String(f)];
- }
- function u(f, d) {
- const h = f.type;
- if (de(h)) return;
- const g = {};
- for (const _ in f.ctx) a(h, _, d) && (g[_] = f.ctx[_]);
- return g;
- }
- function a(f, d, h) {
- const g = f[h];
- if (
- (le(g) && g.includes(d)) ||
- ($e(g) && d in g) ||
- (f.extends && a(f.extends, d, h)) ||
- (f.mixins && f.mixins.some(_ => a(_, d, h)))
- )
- return !0;
- }
- function c(f) {
- return Vs(f) ? 'ShallowRef' : f.effect ? 'ComputedRef' : 'Ref';
- }
- window.devtoolsFormatters
- ? window.devtoolsFormatters.push(o)
- : (window.devtoolsFormatters = [o]);
- }
- const Uc = '3.3.4',
- kv = 'http://www.w3.org/2000/svg',
- tr = typeof document < 'u' ? document : null,
- Hc = tr && tr.createElement('template'),
- Mv = {
- insert: (e, t, n) => {
- t.insertBefore(e, n || null);
- },
- remove: e => {
- const t = e.parentNode;
- t && t.removeChild(e);
- },
- createElement: (e, t, n, r) => {
- const o = t
- ? tr.createElementNS(kv, e)
- : tr.createElement(e, n ? { is: n } : void 0);
- return (
- e === 'select' &&
- r &&
- r.multiple != null &&
- o.setAttribute('multiple', r.multiple),
- o
- );
- },
- createText: e => tr.createTextNode(e),
- createComment: e => tr.createComment(e),
- setText: (e, t) => {
- e.nodeValue = t;
- },
- setElementText: (e, t) => {
- e.textContent = t;
- },
- parentNode: e => e.parentNode,
- nextSibling: e => e.nextSibling,
- querySelector: e => tr.querySelector(e),
- setScopeId(e, t) {
- e.setAttribute(t, '');
- },
- insertStaticContent(e, t, n, r, o, i) {
- const s = n ? n.previousSibling : t.lastChild;
- if (o && (o === i || o.nextSibling))
- for (
- ;
- t.insertBefore(o.cloneNode(!0), n),
- !(o === i || !(o = o.nextSibling));
- );
- else {
- Hc.innerHTML = r ? `<svg>${e}</svg>` : e;
- const l = Hc.content;
- if (r) {
- const u = l.firstChild;
- for (; u.firstChild; ) l.appendChild(u.firstChild);
- l.removeChild(u);
- }
- t.insertBefore(l, n);
- }
- return [
- s ? s.nextSibling : t.firstChild,
- n ? n.previousSibling : t.lastChild
- ];
- }
- };
- function Fv(e, t, n) {
- const r = e._vtc;
- r && (t = (t ? [t, ...r] : [...r]).join(' ')),
- t == null
- ? e.removeAttribute('class')
- : n
- ? e.setAttribute('class', t)
- : (e.className = t);
- }
- function Bv(e, t, n) {
- const r = e.style,
- o = Re(n);
- if (n && !o) {
- if (t && !Re(t)) for (const i in t) n[i] == null && Pa(r, i, '');
- for (const i in n) Pa(r, i, n[i]);
- } else {
- const i = r.display;
- o ? t !== n && (r.cssText = n) : t && e.removeAttribute('style'),
- '_vod' in e && (r.display = i);
- }
- }
- const Dv = /[^\\];\s*$/,
- qc = /\s*!important$/;
- function Pa(e, t, n) {
- if (le(n)) n.forEach(r => Pa(e, t, r));
- else if (
- (n == null && (n = ''),
- Dv.test(n) &&
- q(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),
- t.startsWith('--'))
- )
- e.setProperty(t, n);
- else {
- const r = Lv(e, t);
- qc.test(n)
- ? e.setProperty(Xt(r), n.replace(qc, ''), 'important')
- : (e[r] = n);
- }
- }
- const zc = ['Webkit', 'Moz', 'ms'],
- Ws = {};
- function Lv(e, t) {
- const n = Ws[t];
- if (n) return n;
- let r = Qt(t);
- if (r !== 'filter' && r in e) return (Ws[t] = r);
- r = fr(r);
- for (let o = 0; o < zc.length; o++) {
- const i = zc[o] + r;
- if (i in e) return (Ws[t] = i);
- }
- return t;
- }
- const Vc = 'http://www.w3.org/1999/xlink';
- function Nv(e, t, n, r, o) {
- if (r && t.startsWith('xlink:'))
- n == null
- ? e.removeAttributeNS(Vc, t.slice(6, t.length))
- : e.setAttributeNS(Vc, t, n);
- else {
- const i = ig(t);
- n == null || (i && !$f(n))
- ? e.removeAttribute(t)
- : e.setAttribute(t, i ? '' : n);
- }
- }
- function jv(e, t, n, r, o, i, s) {
- if (t === 'innerHTML' || t === 'textContent') {
- r && s(r, o, i), (e[t] = n == null ? '' : n);
- return;
- }
- const l = e.tagName;
- if (t === 'value' && l !== 'PROGRESS' && !l.includes('-')) {
- e._value = n;
- const a = l === 'OPTION' ? e.getAttribute('value') : e.value,
- c = n == null ? '' : n;
- a !== c && (e.value = c), n == null && e.removeAttribute(t);
- return;
- }
- let u = !1;
- if (n === '' || n == null) {
- const a = typeof e[t];
- a === 'boolean'
- ? (n = $f(n))
- : n == null && a === 'string'
- ? ((n = ''), (u = !0))
- : a === 'number' && ((n = 0), (u = !0));
- }
- try {
- e[t] = n;
- } catch (a) {
- u ||
- q(
- `Failed setting prop "${t}" on <${l.toLowerCase()}>: value ${n} is invalid.`,
- a
- );
- }
- u && e.removeAttribute(t);
- }
- function Uv(e, t, n, r) {
- e.addEventListener(t, n, r);
- }
- function Hv(e, t, n, r) {
- e.removeEventListener(t, n, r);
- }
- function qv(e, t, n, r, o = null) {
- const i = e._vei || (e._vei = {}),
- s = i[t];
- if (r && s) s.value = r;
- else {
- const [l, u] = zv(t);
- if (r) {
- const a = (i[t] = Kv(r, o));
- Uv(e, l, a, u);
- } else s && (Hv(e, l, s, u), (i[t] = void 0));
- }
- }
- const Wc = /(?:Once|Passive|Capture)$/;
- function zv(e) {
- let t;
- if (Wc.test(e)) {
- t = {};
- let r;
- for (; (r = e.match(Wc)); )
- (e = e.slice(0, e.length - r[0].length)), (t[r[0].toLowerCase()] = !0);
- }
- return [e[2] === ':' ? e.slice(3) : Xt(e.slice(2)), t];
- }
- let Ks = 0;
- const Vv = Promise.resolve(),
- Wv = () => Ks || (Vv.then(() => (Ks = 0)), (Ks = Date.now()));
- function Kv(e, t) {
- const n = r => {
- if (!r._vts) r._vts = Date.now();
- else if (r._vts <= n.attached) return;
- kt(Gv(r, n.value), t, 5, [r]);
- };
- return (n.value = e), (n.attached = Wv()), n;
- }
- function Gv(e, t) {
- if (le(t)) {
- const n = e.stopImmediatePropagation;
- return (
- (e.stopImmediatePropagation = () => {
- n.call(e), (e._stopped = !0);
- }),
- t.map(r => o => !o._stopped && r && r(o))
- );
- } else return t;
- }
- const Kc = /^on[a-z]/,
- Yv = (e, t, n, r, o = !1, i, s, l, u) => {
- t === 'class'
- ? Fv(e, r, o)
- : t === 'style'
- ? Bv(e, n, r)
- : Bo(t)
- ? ki(t) || qv(e, t, n, r, s)
- : (
- t[0] === '.'
- ? ((t = t.slice(1)), !0)
- : t[0] === '^'
- ? ((t = t.slice(1)), !1)
- : Jv(e, t, r, o)
- )
- ? jv(e, t, r, i, s, l, u)
- : (t === 'true-value'
- ? (e._trueValue = r)
- : t === 'false-value' && (e._falseValue = r),
- Nv(e, t, r, o));
- };
- function Jv(e, t, n, r) {
- return r
- ? !!(
- t === 'innerHTML' ||
- t === 'textContent' ||
- (t in e && Kc.test(t) && de(n))
- )
- : t === 'spellcheck' ||
- t === 'draggable' ||
- t === 'translate' ||
- t === 'form' ||
- (t === 'list' && e.tagName === 'INPUT') ||
- (t === 'type' && e.tagName === 'TEXTAREA') ||
- (Kc.test(t) && Re(n))
- ? !1
- : t in e;
- }
- const xn = 'transition',
- Jr = 'animation',
- ws = (e, { slots: t }) => Ho(Oy, Dd(e), t);
- ws.displayName = 'Transition';
- const Bd = {
- name: String,
- type: String,
- css: { type: Boolean, default: !0 },
- duration: [String, Number, Object],
- enterFromClass: String,
- enterActiveClass: String,
- enterToClass: String,
- appearFromClass: String,
- appearActiveClass: String,
- appearToClass: String,
- leaveFromClass: String,
- leaveActiveClass: String,
- leaveToClass: String
- },
- Qv = (ws.props = Ie({}, md, Bd)),
- Jn = (e, t = []) => {
- le(e) ? e.forEach(n => n(...t)) : e && e(...t);
- },
- Gc = e => (e ? (le(e) ? e.some(t => t.length > 1) : e.length > 1) : !1);
- function Dd(e) {
- const t = {};
- for (const P in e) P in Bd || (t[P] = e[P]);
- if (e.css === !1) return t;
- const {
- name: n = 'v',
- type: r,
- duration: o,
- enterFromClass: i = `${n}-enter-from`,
- enterActiveClass: s = `${n}-enter-active`,
- enterToClass: l = `${n}-enter-to`,
- appearFromClass: u = i,
- appearActiveClass: a = s,
- appearToClass: c = l,
- leaveFromClass: f = `${n}-leave-from`,
- leaveActiveClass: d = `${n}-leave-active`,
- leaveToClass: h = `${n}-leave-to`
- } = e,
- g = Xv(o),
- _ = g && g[0],
- w = g && g[1],
- {
- onBeforeEnter: b,
- onEnter: A,
- onEnterCancelled: M,
- onLeave: Z,
- onLeaveCancelled: I,
- onBeforeAppear: Q = b,
- onAppear: F = A,
- onAppearCancelled: K = M
- } = t,
- D = (P, R, U) => {
- Tn(P, R ? c : l), Tn(P, R ? a : s), U && U();
- },
- O = (P, R) => {
- (P._isLeaving = !1), Tn(P, f), Tn(P, h), Tn(P, d), R && R();
- },
- B = P => (R, U) => {
- const H = P ? F : A,
- ee = () => D(R, P, U);
- Jn(H, [R, ee]),
- Yc(() => {
- Tn(R, P ? u : i), mn(R, P ? c : l), Gc(H) || Jc(R, r, _, ee);
- });
- };
- return Ie(t, {
- onBeforeEnter(P) {
- Jn(b, [P]), mn(P, i), mn(P, s);
- },
- onBeforeAppear(P) {
- Jn(Q, [P]), mn(P, u), mn(P, a);
- },
- onEnter: B(!1),
- onAppear: B(!0),
- onLeave(P, R) {
- P._isLeaving = !0;
- const U = () => O(P, R);
- mn(P, f),
- Nd(),
- mn(P, d),
- Yc(() => {
- P._isLeaving && (Tn(P, f), mn(P, h), Gc(Z) || Jc(P, r, w, U));
- }),
- Jn(Z, [P, U]);
- },
- onEnterCancelled(P) {
- D(P, !1), Jn(M, [P]);
- },
- onAppearCancelled(P) {
- D(P, !0), Jn(K, [P]);
- },
- onLeaveCancelled(P) {
- O(P), Jn(I, [P]);
- }
- });
- }
- function Xv(e) {
- if (e == null) return null;
- if ($e(e)) return [Gs(e.enter), Gs(e.leave)];
- {
- const t = Gs(e);
- return [t, t];
- }
- }
- function Gs(e) {
- const t = Ym(e);
- return Gg(t, '<transition> explicit duration'), t;
- }
- function mn(e, t) {
- t.split(/\s+/).forEach(n => n && e.classList.add(n)),
- (e._vtc || (e._vtc = new Set())).add(t);
- }
- function Tn(e, t) {
- t.split(/\s+/).forEach(r => r && e.classList.remove(r));
- const { _vtc: n } = e;
- n && (n.delete(t), n.size || (e._vtc = void 0));
- }
- function Yc(e) {
- requestAnimationFrame(() => {
- requestAnimationFrame(e);
- });
- }
- let Zv = 0;
- function Jc(e, t, n, r) {
- const o = (e._endId = ++Zv),
- i = () => {
- o === e._endId && r();
- };
- if (n) return setTimeout(i, n);
- const { type: s, timeout: l, propCount: u } = Ld(e, t);
- if (!s) return r();
- const a = s + 'end';
- let c = 0;
- const f = () => {
- e.removeEventListener(a, d), i();
- },
- d = h => {
- h.target === e && ++c >= u && f();
- };
- setTimeout(() => {
- c < u && f();
- }, l + 1),
- e.addEventListener(a, d);
- }
- function Ld(e, t) {
- const n = window.getComputedStyle(e),
- r = g => (n[g] || '').split(', '),
- o = r(`${xn}Delay`),
- i = r(`${xn}Duration`),
- s = Qc(o, i),
- l = r(`${Jr}Delay`),
- u = r(`${Jr}Duration`),
- a = Qc(l, u);
- let c = null,
- f = 0,
- d = 0;
- t === xn
- ? s > 0 && ((c = xn), (f = s), (d = i.length))
- : t === Jr
- ? a > 0 && ((c = Jr), (f = a), (d = u.length))
- : ((f = Math.max(s, a)),
- (c = f > 0 ? (s > a ? xn : Jr) : null),
- (d = c ? (c === xn ? i.length : u.length) : 0));
- const h =
- c === xn && /\b(transform|all)(,|$)/.test(r(`${xn}Property`).toString());
- return { type: c, timeout: f, propCount: d, hasTransform: h };
- }
- function Qc(e, t) {
- for (; e.length < t.length; ) e = e.concat(e);
- return Math.max(...t.map((n, r) => Xc(n) + Xc(e[r])));
- }
- function Xc(e) {
- return Number(e.slice(0, -1).replace(',', '.')) * 1e3;
- }
- function Nd() {
- return document.body.offsetHeight;
- }
- const jd = new WeakMap(),
- Ud = new WeakMap(),
- Hd = {
- name: 'TransitionGroup',
- props: Ie({}, Qv, { tag: String, moveClass: String }),
- setup(e, { slots: t }) {
- const n = Ut(),
- r = hd();
- let o, i;
- return (
- vd(() => {
- if (!o.length) return;
- const s = e.moveClass || `${e.name || 'v'}-move`;
- if (!ob(o[0].el, n.vnode.el, s)) return;
- o.forEach(tb), o.forEach(nb);
- const l = o.filter(rb);
- Nd(),
- l.forEach(u => {
- const a = u.el,
- c = a.style;
- mn(a, s),
- (c.transform = c.webkitTransform = c.transitionDuration = '');
- const f = (a._moveCb = d => {
- (d && d.target !== a) ||
- ((!d || /transform$/.test(d.propertyName)) &&
- (a.removeEventListener('transitionend', f),
- (a._moveCb = null),
- Tn(a, s)));
- });
- a.addEventListener('transitionend', f);
- });
- }),
- () => {
- const s = fe(e),
- l = Dd(s);
- let u = s.tag || Je;
- (o = i), (i = t.default ? El(t.default()) : []);
- for (let a = 0; a < i.length; a++) {
- const c = i[a];
- c.key != null
- ? xo(c, Oo(c, l, r, n))
- : q('<TransitionGroup> children must be keyed.');
- }
- if (o)
- for (let a = 0; a < o.length; a++) {
- const c = o[a];
- xo(c, Oo(c, l, r, n)), jd.set(c, c.el.getBoundingClientRect());
- }
- return S(u, null, i);
- }
- );
- }
- },
- eb = e => delete e.mode;
- Hd.props;
- const Kx = Hd;
- function tb(e) {
- const t = e.el;
- t._moveCb && t._moveCb(), t._enterCb && t._enterCb();
- }
- function nb(e) {
- Ud.set(e, e.el.getBoundingClientRect());
- }
- function rb(e) {
- const t = jd.get(e),
- n = Ud.get(e),
- r = t.left - n.left,
- o = t.top - n.top;
- if (r || o) {
- const i = e.el.style;
- return (
- (i.transform = i.webkitTransform = `translate(${r}px,${o}px)`),
- (i.transitionDuration = '0s'),
- e
- );
- }
- }
- function ob(e, t, n) {
- const r = e.cloneNode();
- e._vtc &&
- e._vtc.forEach(s => {
- s.split(/\s+/).forEach(l => l && r.classList.remove(l));
- }),
- n.split(/\s+/).forEach(s => s && r.classList.add(s)),
- (r.style.display = 'none');
- const o = t.nodeType === 1 ? t : t.parentNode;
- o.appendChild(r);
- const { hasTransform: i } = Ld(r);
- return o.removeChild(r), i;
- }
- const ib = {
- esc: 'escape',
- space: ' ',
- up: 'arrow-up',
- left: 'arrow-left',
- right: 'arrow-right',
- down: 'arrow-down',
- delete: 'backspace'
- },
- sb = (e, t) => n => {
- if (!('key' in n)) return;
- const r = Xt(n.key);
- if (t.some(o => o === r || ib[o] === r)) return e(n);
- },
- qd = {
- beforeMount(e, { value: t }, { transition: n }) {
- (e._vod = e.style.display === 'none' ? '' : e.style.display),
- n && t ? n.beforeEnter(e) : Qr(e, t);
- },
- mounted(e, { value: t }, { transition: n }) {
- n && t && n.enter(e);
- },
- updated(e, { value: t, oldValue: n }, { transition: r }) {
- !t != !n &&
- (r
- ? t
- ? (r.beforeEnter(e), Qr(e, !0), r.enter(e))
- : r.leave(e, () => {
- Qr(e, !1);
- })
- : Qr(e, t));
- },
- beforeUnmount(e, { value: t }) {
- Qr(e, t);
- }
- };
- function Qr(e, t) {
- e.style.display = t ? e._vod : 'none';
- }
- const ab = Ie({ patchProp: Yv }, Mv);
- let Zc;
- function lb() {
- return Zc || (Zc = iv(ab));
- }
- const zd = (...e) => {
- const t = lb().createApp(...e);
- cb(t), ub(t);
- const { mount: n } = t;
- return (
- (t.mount = r => {
- const o = fb(r);
- if (!o) return;
- const i = t._component;
- !de(i) && !i.render && !i.template && (i.template = o.innerHTML),
- (o.innerHTML = '');
- const s = n(o, !1, o instanceof SVGElement);
- return (
- o instanceof Element &&
- (o.removeAttribute('v-cloak'), o.setAttribute('data-v-app', '')),
- s
- );
- }),
- t
- );
- };
- function cb(e) {
- Object.defineProperty(e.config, 'isNativeTag', {
- value: t => ng(t) || rg(t),
- writable: !1
- });
- }
- function ub(e) {
- {
- const t = e.config.isCustomElement;
- Object.defineProperty(e.config, 'isCustomElement', {
- get() {
- return t;
- },
- set() {
- q(
- 'The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.'
- );
- }
- });
- const n = e.config.compilerOptions,
- r =
- 'The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';
- Object.defineProperty(e.config, 'compilerOptions', {
- get() {
- return q(r), n;
- },
- set() {
- q(r);
- }
- });
- }
- }
- function fb(e) {
- if (Re(e)) {
- const t = document.querySelector(e);
- return (
- t ||
- q(`Failed to mount app: mount target selector "${e}" returned null.`),
- t
- );
- }
- return (
- window.ShadowRoot &&
- e instanceof window.ShadowRoot &&
- e.mode === 'closed' &&
- q(
- 'mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'
- ),
- e
- );
- }
- function db() {
- Rv();
- }
- db();
- const pb = Ge({
- name: 'App',
- setup() {
- return () => S(Je, null, [S(ky('router-view'), null, null)]);
- }
- });
- var Nt =
- typeof globalThis < 'u'
- ? globalThis
- : typeof window < 'u'
- ? window
- : typeof global < 'u'
- ? global
- : typeof self < 'u'
- ? self
- : {};
- function $l(e) {
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, 'default')
- ? e.default
- : e;
- }
- function hb(e) {
- if (e.__esModule) return e;
- var t = e.default;
- if (typeof t == 'function') {
- var n = function r() {
- if (this instanceof r) {
- var o = [null];
- o.push.apply(o, arguments);
- var i = Function.bind.apply(t, o);
- return new i();
- }
- return t.apply(this, arguments);
- };
- n.prototype = t.prototype;
- } else n = {};
- return (
- Object.defineProperty(n, '__esModule', { value: !0 }),
- Object.keys(e).forEach(function (r) {
- var o = Object.getOwnPropertyDescriptor(e, r);
- Object.defineProperty(
- n,
- r,
- o.get
- ? o
- : {
- enumerable: !0,
- get: function () {
- return e[r];
- }
- }
- );
- }),
- n
- );
- }
- var Vd = { exports: {} };
- /*! @preserve
- * numeral.js
- * version : 2.0.6
- * author : Adam Draper
- * license : MIT
- * http://adamwdraper.github.com/Numeral-js/
- */ (function (e) {
- (function (t, n) {
- e.exports ? (e.exports = n()) : (t.numeral = n());
- })(Nt, function () {
- var t,
- n,
- r = '2.0.6',
- o = {},
- i = {},
- s = {
- currentLocale: 'en',
- zeroFormat: null,
- nullFormat: null,
- defaultFormat: '0,0',
- scalePercentBy100: !0
- },
- l = {
- currentLocale: s.currentLocale,
- zeroFormat: s.zeroFormat,
- nullFormat: s.nullFormat,
- defaultFormat: s.defaultFormat,
- scalePercentBy100: s.scalePercentBy100
- };
- function u(a, c) {
- (this._input = a), (this._value = c);
- }
- return (
- (t = function (a) {
- var c, f, d, h;
- if (t.isNumeral(a)) c = a.value();
- else if (a === 0 || typeof a > 'u') c = 0;
- else if (a === null || n.isNaN(a)) c = null;
- else if (typeof a == 'string')
- if (l.zeroFormat && a === l.zeroFormat) c = 0;
- else if (
- (l.nullFormat && a === l.nullFormat) ||
- !a.replace(/[^0-9]+/g, '').length
- )
- c = null;
- else {
- for (f in o)
- if (
- ((h =
- typeof o[f].regexps.unformat == 'function'
- ? o[f].regexps.unformat()
- : o[f].regexps.unformat),
- h && a.match(h))
- ) {
- d = o[f].unformat;
- break;
- }
- (d = d || t._.stringToNumber), (c = d(a));
- }
- else c = Number(a) || null;
- return new u(a, c);
- }),
- (t.version = r),
- (t.isNumeral = function (a) {
- return a instanceof u;
- }),
- (t._ = n =
- {
- numberToFormat: function (a, c, f) {
- var d = i[t.options.currentLocale],
- h = !1,
- g = !1,
- _ = 0,
- w = '',
- b = 1e12,
- A = 1e9,
- M = 1e6,
- Z = 1e3,
- I = '',
- Q = !1,
- F,
- K,
- D,
- O,
- B,
- P,
- R;
- if (
- ((a = a || 0),
- (K = Math.abs(a)),
- t._.includes(c, '(')
- ? ((h = !0), (c = c.replace(/[\(|\)]/g, '')))
- : (t._.includes(c, '+') || t._.includes(c, '-')) &&
- ((B = t._.includes(c, '+')
- ? c.indexOf('+')
- : a < 0
- ? c.indexOf('-')
- : -1),
- (c = c.replace(/[\+|\-]/g, ''))),
- t._.includes(c, 'a') &&
- ((F = c.match(/a(k|m|b|t)?/)),
- (F = F ? F[1] : !1),
- t._.includes(c, ' a') && (w = ' '),
- (c = c.replace(new RegExp(w + 'a[kmbt]?'), '')),
- (K >= b && !F) || F === 't'
- ? ((w += d.abbreviations.trillion), (a = a / b))
- : (K < b && K >= A && !F) || F === 'b'
- ? ((w += d.abbreviations.billion), (a = a / A))
- : (K < A && K >= M && !F) || F === 'm'
- ? ((w += d.abbreviations.million), (a = a / M))
- : ((K < M && K >= Z && !F) || F === 'k') &&
- ((w += d.abbreviations.thousand), (a = a / Z))),
- t._.includes(c, '[.]') && ((g = !0), (c = c.replace('[.]', '.'))),
- (D = a.toString().split('.')[0]),
- (O = c.split('.')[1]),
- (P = c.indexOf(',')),
- (_ = (c.split('.')[0].split(',')[0].match(/0/g) || []).length),
- O
- ? (t._.includes(O, '[')
- ? ((O = O.replace(']', '')),
- (O = O.split('[')),
- (I = t._.toFixed(
- a,
- O[0].length + O[1].length,
- f,
- O[1].length
- )))
- : (I = t._.toFixed(a, O.length, f)),
- (D = I.split('.')[0]),
- t._.includes(I, '.')
- ? (I = d.delimiters.decimal + I.split('.')[1])
- : (I = ''),
- g && Number(I.slice(1)) === 0 && (I = ''))
- : (D = t._.toFixed(a, 0, f)),
- w && !F && Number(D) >= 1e3 && w !== d.abbreviations.trillion)
- )
- switch (((D = String(Number(D) / 1e3)), w)) {
- case d.abbreviations.thousand:
- w = d.abbreviations.million;
- break;
- case d.abbreviations.million:
- w = d.abbreviations.billion;
- break;
- case d.abbreviations.billion:
- w = d.abbreviations.trillion;
- break;
- }
- if (
- (t._.includes(D, '-') && ((D = D.slice(1)), (Q = !0)),
- D.length < _)
- )
- for (var U = _ - D.length; U > 0; U--) D = '0' + D;
- return (
- P > -1 &&
- (D = D.toString().replace(
- /(\d)(?=(\d{3})+(?!\d))/g,
- '$1' + d.delimiters.thousands
- )),
- c.indexOf('.') === 0 && (D = ''),
- (R = D + I + (w || '')),
- h
- ? (R = (h && Q ? '(' : '') + R + (h && Q ? ')' : ''))
- : B >= 0
- ? (R = B === 0 ? (Q ? '-' : '+') + R : R + (Q ? '-' : '+'))
- : Q && (R = '-' + R),
- R
- );
- },
- stringToNumber: function (a) {
- var c = i[l.currentLocale],
- f = a,
- d = { thousand: 3, million: 6, billion: 9, trillion: 12 },
- h,
- g,
- _;
- if (l.zeroFormat && a === l.zeroFormat) g = 0;
- else if (
- (l.nullFormat && a === l.nullFormat) ||
- !a.replace(/[^0-9]+/g, '').length
- )
- g = null;
- else {
- (g = 1),
- c.delimiters.decimal !== '.' &&
- (a = a.replace(/\./g, '').replace(c.delimiters.decimal, '.'));
- for (h in d)
- if (
- ((_ = new RegExp(
- '[^a-zA-Z]' +
- c.abbreviations[h] +
- '(?:\\)|(\\' +
- c.currency.symbol +
- ')?(?:\\))?)?$'
- )),
- f.match(_))
- ) {
- g *= Math.pow(10, d[h]);
- break;
- }
- (g *=
- (a.split('-').length +
- Math.min(a.split('(').length - 1, a.split(')').length - 1)) %
- 2
- ? 1
- : -1),
- (a = a.replace(/[^0-9\.]+/g, '')),
- (g *= Number(a));
- }
- return g;
- },
- isNaN: function (a) {
- return typeof a == 'number' && isNaN(a);
- },
- includes: function (a, c) {
- return a.indexOf(c) !== -1;
- },
- insert: function (a, c, f) {
- return a.slice(0, f) + c + a.slice(f);
- },
- reduce: function (a, c) {
- if (this === null)
- throw new TypeError(
- 'Array.prototype.reduce called on null or undefined'
- );
- if (typeof c != 'function')
- throw new TypeError(c + ' is not a function');
- var f = Object(a),
- d = f.length >>> 0,
- h = 0,
- g;
- if (arguments.length === 3) g = arguments[2];
- else {
- for (; h < d && !(h in f); ) h++;
- if (h >= d)
- throw new TypeError(
- 'Reduce of empty array with no initial value'
- );
- g = f[h++];
- }
- for (; h < d; h++) h in f && (g = c(g, f[h], h, f));
- return g;
- },
- multiplier: function (a) {
- var c = a.toString().split('.');
- return c.length < 2 ? 1 : Math.pow(10, c[1].length);
- },
- correctionFactor: function () {
- var a = Array.prototype.slice.call(arguments);
- return a.reduce(function (c, f) {
- var d = n.multiplier(f);
- return c > d ? c : d;
- }, 1);
- },
- toFixed: function (a, c, f, d) {
- var h = a.toString().split('.'),
- g = c - (d || 0),
- _,
- w,
- b,
- A;
- return (
- h.length === 2
- ? (_ = Math.min(Math.max(h[1].length, g), c))
- : (_ = g),
- (b = Math.pow(10, _)),
- (A = (f(a + 'e+' + _) / b).toFixed(_)),
- d > c - _ &&
- ((w = new RegExp('\\.?0{1,' + (d - (c - _)) + '}$')),
- (A = A.replace(w, ''))),
- A
- );
- }
- }),
- (t.options = l),
- (t.formats = o),
- (t.locales = i),
- (t.locale = function (a) {
- return a && (l.currentLocale = a.toLowerCase()), l.currentLocale;
- }),
- (t.localeData = function (a) {
- if (!a) return i[l.currentLocale];
- if (((a = a.toLowerCase()), !i[a]))
- throw new Error('Unknown locale : ' + a);
- return i[a];
- }),
- (t.reset = function () {
- for (var a in s) l[a] = s[a];
- }),
- (t.zeroFormat = function (a) {
- l.zeroFormat = typeof a == 'string' ? a : null;
- }),
- (t.nullFormat = function (a) {
- l.nullFormat = typeof a == 'string' ? a : null;
- }),
- (t.defaultFormat = function (a) {
- l.defaultFormat = typeof a == 'string' ? a : '0.0';
- }),
- (t.register = function (a, c, f) {
- if (((c = c.toLowerCase()), this[a + 's'][c]))
- throw new TypeError(c + ' ' + a + ' already registered.');
- return (this[a + 's'][c] = f), f;
- }),
- (t.validate = function (a, c) {
- var f, d, h, g, _, w, b, A;
- if (
- (typeof a != 'string' &&
- ((a += ''),
- console.warn &&
- console.warn(
- 'Numeral.js: Value is not string. It has been co-erced to: ',
- a
- )),
- (a = a.trim()),
- a.match(/^\d+$/))
- )
- return !0;
- if (a === '') return !1;
- try {
- b = t.localeData(c);
- } catch (M) {
- b = t.localeData(t.locale());
- }
- return (
- (h = b.currency.symbol),
- (_ = b.abbreviations),
- (f = b.delimiters.decimal),
- b.delimiters.thousands === '.'
- ? (d = '\\.')
- : (d = b.delimiters.thousands),
- (A = a.match(/^[^\d]+/)),
- (A !== null && ((a = a.substr(1)), A[0] !== h)) ||
- ((A = a.match(/[^\d]+$/)),
- A !== null &&
- ((a = a.slice(0, -1)),
- A[0] !== _.thousand &&
- A[0] !== _.million &&
- A[0] !== _.billion &&
- A[0] !== _.trillion))
- ? !1
- : ((w = new RegExp(d + '{2}')),
- a.match(/[^\d.,]/g)
- ? !1
- : ((g = a.split(f)),
- g.length > 2
- ? !1
- : g.length < 2
- ? !!g[0].match(/^\d+.*\d$/) && !g[0].match(w)
- : g[0].length === 1
- ? !!g[0].match(/^\d+$/) &&
- !g[0].match(w) &&
- !!g[1].match(/^\d+$/)
- : !!g[0].match(/^\d+.*\d$/) &&
- !g[0].match(w) &&
- !!g[1].match(/^\d+$/)))
- );
- }),
- (t.fn = u.prototype =
- {
- clone: function () {
- return t(this);
- },
- format: function (a, c) {
- var f = this._value,
- d = a || l.defaultFormat,
- h,
- g,
- _;
- if (((c = c || Math.round), f === 0 && l.zeroFormat !== null))
- g = l.zeroFormat;
- else if (f === null && l.nullFormat !== null) g = l.nullFormat;
- else {
- for (h in o)
- if (d.match(o[h].regexps.format)) {
- _ = o[h].format;
- break;
- }
- (_ = _ || t._.numberToFormat), (g = _(f, d, c));
- }
- return g;
- },
- value: function () {
- return this._value;
- },
- input: function () {
- return this._input;
- },
- set: function (a) {
- return (this._value = Number(a)), this;
- },
- add: function (a) {
- var c = n.correctionFactor.call(null, this._value, a);
- function f(d, h, g, _) {
- return d + Math.round(c * h);
- }
- return (this._value = n.reduce([this._value, a], f, 0) / c), this;
- },
- subtract: function (a) {
- var c = n.correctionFactor.call(null, this._value, a);
- function f(d, h, g, _) {
- return d - Math.round(c * h);
- }
- return (
- (this._value = n.reduce([a], f, Math.round(this._value * c)) / c),
- this
- );
- },
- multiply: function (a) {
- function c(f, d, h, g) {
- var _ = n.correctionFactor(f, d);
- return (
- (Math.round(f * _) * Math.round(d * _)) / Math.round(_ * _)
- );
- }
- return (this._value = n.reduce([this._value, a], c, 1)), this;
- },
- divide: function (a) {
- function c(f, d, h, g) {
- var _ = n.correctionFactor(f, d);
- return Math.round(f * _) / Math.round(d * _);
- }
- return (this._value = n.reduce([this._value, a], c)), this;
- },
- difference: function (a) {
- return Math.abs(t(this._value).subtract(a).value());
- }
- }),
- t.register('locale', 'en', {
- delimiters: { thousands: ',', decimal: '.' },
- abbreviations: {
- thousand: 'k',
- million: 'm',
- billion: 'b',
- trillion: 't'
- },
- ordinal: function (a) {
- var c = a % 10;
- return ~~((a % 100) / 10) === 1
- ? 'th'
- : c === 1
- ? 'st'
- : c === 2
- ? 'nd'
- : c === 3
- ? 'rd'
- : 'th';
- },
- currency: { symbol: '$' }
- }),
- (function () {
- t.register('format', 'bps', {
- regexps: { format: /(BPS)/, unformat: /(BPS)/ },
- format: function (a, c, f) {
- var d = t._.includes(c, ' BPS') ? ' ' : '',
- h;
- return (
- (a = a * 1e4),
- (c = c.replace(/\s?BPS/, '')),
- (h = t._.numberToFormat(a, c, f)),
- t._.includes(h, ')')
- ? ((h = h.split('')),
- h.splice(-1, 0, d + 'BPS'),
- (h = h.join('')))
- : (h = h + d + 'BPS'),
- h
- );
- },
- unformat: function (a) {
- return +(t._.stringToNumber(a) * 1e-4).toFixed(15);
- }
- });
- })(),
- (function () {
- var a = {
- base: 1e3,
- suffixes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
- },
- c = {
- base: 1024,
- suffixes: [
- 'B',
- 'KiB',
- 'MiB',
- 'GiB',
- 'TiB',
- 'PiB',
- 'EiB',
- 'ZiB',
- 'YiB'
- ]
- },
- f = a.suffixes.concat(
- c.suffixes.filter(function (h) {
- return a.suffixes.indexOf(h) < 0;
- })
- ),
- d = f.join('|');
- (d = '(' + d.replace('B', 'B(?!PS)') + ')'),
- t.register('format', 'bytes', {
- regexps: { format: /([0\s]i?b)/, unformat: new RegExp(d) },
- format: function (h, g, _) {
- var w,
- b = t._.includes(g, 'ib') ? c : a,
- A = t._.includes(g, ' b') || t._.includes(g, ' ib') ? ' ' : '',
- M,
- Z,
- I;
- for (
- g = g.replace(/\s?i?b/, ''), M = 0;
- M <= b.suffixes.length;
- M++
- )
- if (
- ((Z = Math.pow(b.base, M)),
- (I = Math.pow(b.base, M + 1)),
- h === null || h === 0 || (h >= Z && h < I))
- ) {
- (A += b.suffixes[M]), Z > 0 && (h = h / Z);
- break;
- }
- return (w = t._.numberToFormat(h, g, _)), w + A;
- },
- unformat: function (h) {
- var g = t._.stringToNumber(h),
- _,
- w;
- if (g) {
- for (_ = a.suffixes.length - 1; _ >= 0; _--) {
- if (t._.includes(h, a.suffixes[_])) {
- w = Math.pow(a.base, _);
- break;
- }
- if (t._.includes(h, c.suffixes[_])) {
- w = Math.pow(c.base, _);
- break;
- }
- }
- g *= w || 1;
- }
- return g;
- }
- });
- })(),
- (function () {
- t.register('format', 'currency', {
- regexps: { format: /(\$)/ },
- format: function (a, c, f) {
- var d = t.locales[t.options.currentLocale],
- h = {
- before: c.match(/^([\+|\-|\(|\s|\$]*)/)[0],
- after: c.match(/([\+|\-|\)|\s|\$]*)$/)[0]
- },
- g,
- _,
- w;
- for (
- c = c.replace(/\s?\$\s?/, ''),
- g = t._.numberToFormat(a, c, f),
- a >= 0
- ? ((h.before = h.before.replace(/[\-\(]/, '')),
- (h.after = h.after.replace(/[\-\)]/, '')))
- : a < 0 &&
- !t._.includes(h.before, '-') &&
- !t._.includes(h.before, '(') &&
- (h.before = '-' + h.before),
- w = 0;
- w < h.before.length;
- w++
- )
- switch (((_ = h.before[w]), _)) {
- case '$':
- g = t._.insert(g, d.currency.symbol, w);
- break;
- case ' ':
- g = t._.insert(g, ' ', w + d.currency.symbol.length - 1);
- break;
- }
- for (w = h.after.length - 1; w >= 0; w--)
- switch (((_ = h.after[w]), _)) {
- case '$':
- g =
- w === h.after.length - 1
- ? g + d.currency.symbol
- : t._.insert(
- g,
- d.currency.symbol,
- -(h.after.length - (1 + w))
- );
- break;
- case ' ':
- g =
- w === h.after.length - 1
- ? g + ' '
- : t._.insert(
- g,
- ' ',
- -(
- h.after.length -
- (1 + w) +
- d.currency.symbol.length -
- 1
- )
- );
- break;
- }
- return g;
- }
- });
- })(),
- (function () {
- t.register('format', 'exponential', {
- regexps: { format: /(e\+|e-)/, unformat: /(e\+|e-)/ },
- format: function (a, c, f) {
- var d,
- h =
- typeof a == 'number' && !t._.isNaN(a)
- ? a.toExponential()
- : '0e+0',
- g = h.split('e');
- return (
- (c = c.replace(/e[\+|\-]{1}0/, '')),
- (d = t._.numberToFormat(Number(g[0]), c, f)),
- d + 'e' + g[1]
- );
- },
- unformat: function (a) {
- var c = t._.includes(a, 'e+') ? a.split('e+') : a.split('e-'),
- f = Number(c[0]),
- d = Number(c[1]);
- d = t._.includes(a, 'e-') ? (d *= -1) : d;
- function h(g, _, w, b) {
- var A = t._.correctionFactor(g, _),
- M = (g * A * (_ * A)) / (A * A);
- return M;
- }
- return t._.reduce([f, Math.pow(10, d)], h, 1);
- }
- });
- })(),
- (function () {
- t.register('format', 'ordinal', {
- regexps: { format: /(o)/ },
- format: function (a, c, f) {
- var d = t.locales[t.options.currentLocale],
- h,
- g = t._.includes(c, ' o') ? ' ' : '';
- return (
- (c = c.replace(/\s?o/, '')),
- (g += d.ordinal(a)),
- (h = t._.numberToFormat(a, c, f)),
- h + g
- );
- }
- });
- })(),
- (function () {
- t.register('format', 'percentage', {
- regexps: { format: /(%)/, unformat: /(%)/ },
- format: function (a, c, f) {
- var d = t._.includes(c, ' %') ? ' ' : '',
- h;
- return (
- t.options.scalePercentBy100 && (a = a * 100),
- (c = c.replace(/\s?\%/, '')),
- (h = t._.numberToFormat(a, c, f)),
- t._.includes(h, ')')
- ? ((h = h.split('')),
- h.splice(-1, 0, d + '%'),
- (h = h.join('')))
- : (h = h + d + '%'),
- h
- );
- },
- unformat: function (a) {
- var c = t._.stringToNumber(a);
- return t.options.scalePercentBy100 ? c * 0.01 : c;
- }
- });
- })(),
- (function () {
- t.register('format', 'time', {
- regexps: { format: /(:)/, unformat: /(:)/ },
- format: function (a, c, f) {
- var d = Math.floor(a / 60 / 60),
- h = Math.floor((a - d * 60 * 60) / 60),
- g = Math.round(a - d * 60 * 60 - h * 60);
- return (
- d + ':' + (h < 10 ? '0' + h : h) + ':' + (g < 10 ? '0' + g : g)
- );
- },
- unformat: function (a) {
- var c = a.split(':'),
- f = 0;
- return (
- c.length === 3
- ? ((f = f + Number(c[0]) * 60 * 60),
- (f = f + Number(c[1]) * 60),
- (f = f + Number(c[2])))
- : c.length === 2 &&
- ((f = f + Number(c[0]) * 60), (f = f + Number(c[1]))),
- Number(f)
- );
- }
- });
- })(),
- t
- );
- });
- })(Vd);
- var mb = Vd.exports;
- const gb = $l(mb);
- var Ys = { exports: {} },
- eu;
- function Wd() {
- return (
- eu ||
- ((eu = 1),
- (function (e, t) {
- (function (n, r) {
- e.exports = r();
- })(Nt, function () {
- var n = 1e3,
- r = 6e4,
- o = 36e5,
- i = 'millisecond',
- s = 'second',
- l = 'minute',
- u = 'hour',
- a = 'day',
- c = 'week',
- f = 'month',
- d = 'quarter',
- h = 'year',
- g = 'date',
- _ = 'Invalid Date',
- w =
- /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
- b =
- /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
- A = {
- name: 'en',
- weekdays:
- 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
- '_'
- ),
- months:
- 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
- '_'
- ),
- ordinal: function (R) {
- var U = ['th', 'st', 'nd', 'rd'],
- H = R % 100;
- return '[' + R + (U[(H - 20) % 10] || U[H] || U[0]) + ']';
- }
- },
- M = function (R, U, H) {
- var ee = String(R);
- return !ee || ee.length >= U
- ? R
- : '' + Array(U + 1 - ee.length).join(H) + R;
- },
- Z = {
- s: M,
- z: function (R) {
- var U = -R.utcOffset(),
- H = Math.abs(U),
- ee = Math.floor(H / 60),
- k = H % 60;
- return (
- (U <= 0 ? '+' : '-') + M(ee, 2, '0') + ':' + M(k, 2, '0')
- );
- },
- m: function R(U, H) {
- if (U.date() < H.date()) return -R(H, U);
- var ee = 12 * (H.year() - U.year()) + (H.month() - U.month()),
- k = U.clone().add(ee, f),
- z = H - k < 0,
- oe = U.clone().add(ee + (z ? -1 : 1), f);
- return +(-(ee + (H - k) / (z ? k - oe : oe - k)) || 0);
- },
- a: function (R) {
- return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
- },
- p: function (R) {
- return (
- { M: f, y: h, w: c, d: a, D: g, h: u, m: l, s, ms: i, Q: d }[
- R
- ] ||
- String(R || '')
- .toLowerCase()
- .replace(/s$/, '')
- );
- },
- u: function (R) {
- return R === void 0;
- }
- },
- I = 'en',
- Q = {};
- Q[I] = A;
- var F = function (R) {
- return R instanceof B;
- },
- K = function R(U, H, ee) {
- var k;
- if (!U) return I;
- if (typeof U == 'string') {
- var z = U.toLowerCase();
- Q[z] && (k = z), H && ((Q[z] = H), (k = z));
- var oe = U.split('-');
- if (!k && oe.length > 1) return R(oe[0]);
- } else {
- var he = U.name;
- (Q[he] = U), (k = he);
- }
- return !ee && k && (I = k), k || (!ee && I);
- },
- D = function (R, U) {
- if (F(R)) return R.clone();
- var H = typeof U == 'object' ? U : {};
- return (H.date = R), (H.args = arguments), new B(H);
- },
- O = Z;
- (O.l = K),
- (O.i = F),
- (O.w = function (R, U) {
- return D(R, {
- locale: U.$L,
- utc: U.$u,
- x: U.$x,
- $offset: U.$offset
- });
- });
- var B = (function () {
- function R(H) {
- (this.$L = K(H.locale, null, !0)), this.parse(H);
- }
- var U = R.prototype;
- return (
- (U.parse = function (H) {
- (this.$d = (function (ee) {
- var k = ee.date,
- z = ee.utc;
- if (k === null) return new Date(NaN);
- if (O.u(k)) return new Date();
- if (k instanceof Date) return new Date(k);
- if (typeof k == 'string' && !/Z$/i.test(k)) {
- var oe = k.match(w);
- if (oe) {
- var he = oe[2] - 1 || 0,
- we = (oe[7] || '0').substring(0, 3);
- return z
- ? new Date(
- Date.UTC(
- oe[1],
- he,
- oe[3] || 1,
- oe[4] || 0,
- oe[5] || 0,
- oe[6] || 0,
- we
- )
- )
- : new Date(
- oe[1],
- he,
- oe[3] || 1,
- oe[4] || 0,
- oe[5] || 0,
- oe[6] || 0,
- we
- );
- }
- }
- return new Date(k);
- })(H)),
- (this.$x = H.x || {}),
- this.init();
- }),
- (U.init = function () {
- var H = this.$d;
- (this.$y = H.getFullYear()),
- (this.$M = H.getMonth()),
- (this.$D = H.getDate()),
- (this.$W = H.getDay()),
- (this.$H = H.getHours()),
- (this.$m = H.getMinutes()),
- (this.$s = H.getSeconds()),
- (this.$ms = H.getMilliseconds());
- }),
- (U.$utils = function () {
- return O;
- }),
- (U.isValid = function () {
- return this.$d.toString() !== _;
- }),
- (U.isSame = function (H, ee) {
- var k = D(H);
- return this.startOf(ee) <= k && k <= this.endOf(ee);
- }),
- (U.isAfter = function (H, ee) {
- return D(H) < this.startOf(ee);
- }),
- (U.isBefore = function (H, ee) {
- return this.endOf(ee) < D(H);
- }),
- (U.$g = function (H, ee, k) {
- return O.u(H) ? this[ee] : this.set(k, H);
- }),
- (U.unix = function () {
- return Math.floor(this.valueOf() / 1e3);
- }),
- (U.valueOf = function () {
- return this.$d.getTime();
- }),
- (U.startOf = function (H, ee) {
- var k = this,
- z = !!O.u(ee) || ee,
- oe = O.p(H),
- he = function (L, W) {
- var te = O.w(
- k.$u ? Date.UTC(k.$y, W, L) : new Date(k.$y, W, L),
- k
- );
- return z ? te : te.endOf(a);
- },
- we = function (L, W) {
- return O.w(
- k
- .toDate()
- [L].apply(
- k.toDate('s'),
- (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)
- ),
- k
- );
- },
- ge = this.$W,
- Ee = this.$M,
- Fe = this.$D,
- Ne = 'set' + (this.$u ? 'UTC' : '');
- switch (oe) {
- case h:
- return z ? he(1, 0) : he(31, 11);
- case f:
- return z ? he(1, Ee) : he(0, Ee + 1);
- case c:
- var je = this.$locale().weekStart || 0,
- x = (ge < je ? ge + 7 : ge) - je;
- return he(z ? Fe - x : Fe + (6 - x), Ee);
- case a:
- case g:
- return we(Ne + 'Hours', 0);
- case u:
- return we(Ne + 'Minutes', 1);
- case l:
- return we(Ne + 'Seconds', 2);
- case s:
- return we(Ne + 'Milliseconds', 3);
- default:
- return this.clone();
- }
- }),
- (U.endOf = function (H) {
- return this.startOf(H, !1);
- }),
- (U.$set = function (H, ee) {
- var k,
- z = O.p(H),
- oe = 'set' + (this.$u ? 'UTC' : ''),
- he = ((k = {}),
- (k[a] = oe + 'Date'),
- (k[g] = oe + 'Date'),
- (k[f] = oe + 'Month'),
- (k[h] = oe + 'FullYear'),
- (k[u] = oe + 'Hours'),
- (k[l] = oe + 'Minutes'),
- (k[s] = oe + 'Seconds'),
- (k[i] = oe + 'Milliseconds'),
- k)[z],
- we = z === a ? this.$D + (ee - this.$W) : ee;
- if (z === f || z === h) {
- var ge = this.clone().set(g, 1);
- ge.$d[he](we),
- ge.init(),
- (this.$d = ge.set(
- g,
- Math.min(this.$D, ge.daysInMonth())
- ).$d);
- } else he && this.$d[he](we);
- return this.init(), this;
- }),
- (U.set = function (H, ee) {
- return this.clone().$set(H, ee);
- }),
- (U.get = function (H) {
- return this[O.p(H)]();
- }),
- (U.add = function (H, ee) {
- var k,
- z = this;
- H = Number(H);
- var oe = O.p(ee),
- he = function (Ee) {
- var Fe = D(z);
- return O.w(Fe.date(Fe.date() + Math.round(Ee * H)), z);
- };
- if (oe === f) return this.set(f, this.$M + H);
- if (oe === h) return this.set(h, this.$y + H);
- if (oe === a) return he(1);
- if (oe === c) return he(7);
- var we =
- ((k = {}), (k[l] = r), (k[u] = o), (k[s] = n), k)[oe] ||
- 1,
- ge = this.$d.getTime() + H * we;
- return O.w(ge, this);
- }),
- (U.subtract = function (H, ee) {
- return this.add(-1 * H, ee);
- }),
- (U.format = function (H) {
- var ee = this,
- k = this.$locale();
- if (!this.isValid()) return k.invalidDate || _;
- var z = H || 'YYYY-MM-DDTHH:mm:ssZ',
- oe = O.z(this),
- he = this.$H,
- we = this.$m,
- ge = this.$M,
- Ee = k.weekdays,
- Fe = k.months,
- Ne = function (W, te, ce, ve) {
- return (W && (W[te] || W(ee, z))) || ce[te].slice(0, ve);
- },
- je = function (W) {
- return O.s(he % 12 || 12, W, '0');
- },
- x =
- k.meridiem ||
- function (W, te, ce) {
- var ve = W < 12 ? 'AM' : 'PM';
- return ce ? ve.toLowerCase() : ve;
- },
- L = {
- YY: String(this.$y).slice(-2),
- YYYY: O.s(this.$y, 4, '0'),
- M: ge + 1,
- MM: O.s(ge + 1, 2, '0'),
- MMM: Ne(k.monthsShort, ge, Fe, 3),
- MMMM: Ne(Fe, ge),
- D: this.$D,
- DD: O.s(this.$D, 2, '0'),
- d: String(this.$W),
- dd: Ne(k.weekdaysMin, this.$W, Ee, 2),
- ddd: Ne(k.weekdaysShort, this.$W, Ee, 3),
- dddd: Ee[this.$W],
- H: String(he),
- HH: O.s(he, 2, '0'),
- h: je(1),
- hh: je(2),
- a: x(he, we, !0),
- A: x(he, we, !1),
- m: String(we),
- mm: O.s(we, 2, '0'),
- s: String(this.$s),
- ss: O.s(this.$s, 2, '0'),
- SSS: O.s(this.$ms, 3, '0'),
- Z: oe
- };
- return z.replace(b, function (W, te) {
- return te || L[W] || oe.replace(':', '');
- });
- }),
- (U.utcOffset = function () {
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
- }),
- (U.diff = function (H, ee, k) {
- var z,
- oe = O.p(ee),
- he = D(H),
- we = (he.utcOffset() - this.utcOffset()) * r,
- ge = this - he,
- Ee = O.m(this, he);
- return (
- (Ee =
- ((z = {}),
- (z[h] = Ee / 12),
- (z[f] = Ee),
- (z[d] = Ee / 3),
- (z[c] = (ge - we) / 6048e5),
- (z[a] = (ge - we) / 864e5),
- (z[u] = ge / o),
- (z[l] = ge / r),
- (z[s] = ge / n),
- z)[oe] || ge),
- k ? Ee : O.a(Ee)
- );
- }),
- (U.daysInMonth = function () {
- return this.endOf(f).$D;
- }),
- (U.$locale = function () {
- return Q[this.$L];
- }),
- (U.locale = function (H, ee) {
- if (!H) return this.$L;
- var k = this.clone(),
- z = K(H, ee, !0);
- return z && (k.$L = z), k;
- }),
- (U.clone = function () {
- return O.w(this.$d, this);
- }),
- (U.toDate = function () {
- return new Date(this.valueOf());
- }),
- (U.toJSON = function () {
- return this.isValid() ? this.toISOString() : null;
- }),
- (U.toISOString = function () {
- return this.$d.toISOString();
- }),
- (U.toString = function () {
- return this.$d.toUTCString();
- }),
- R
- );
- })(),
- P = B.prototype;
- return (
- (D.prototype = P),
- [
- ['$ms', i],
- ['$s', s],
- ['$m', l],
- ['$H', u],
- ['$W', a],
- ['$M', f],
- ['$y', h],
- ['$D', g]
- ].forEach(function (R) {
- P[R[1]] = function (U) {
- return this.$g(U, R[0], R[1]);
- };
- }),
- (D.extend = function (R, U) {
- return R.$i || (R(U, B, D), (R.$i = !0)), D;
- }),
- (D.locale = K),
- (D.isDayjs = F),
- (D.unix = function (R) {
- return D(1e3 * R);
- }),
- (D.en = Q[I]),
- (D.Ls = Q),
- (D.p = {}),
- D
- );
- });
- })(Ys)),
- Ys.exports
- );
- }
- var yb = Wd();
- const vb = $l(yb),
- qo = () => {
- const e = navigator.userAgent;
- return {
- trident: e.indexOf('Trident') > -1,
- presto: e.indexOf('Presto') > -1,
- webKit: e.indexOf('AppleWebKit') > -1,
- gecko: e.indexOf('Gecko') > -1 && e.indexOf('KHTML') == -1,
- mobile: !!e.match(/AppleWebKit.*Mobile.*/),
- ios: !!e.match(/Mac OS X/),
- android: e.indexOf('COLEXIUSTUDENT') > -1 || e.indexOf('Adr') > -1,
- iPhone: e.indexOf('COLEXIUAPPI') > -1,
- isApp:
- e.indexOf('COLEXIUAPPI') > -1 ||
- e.indexOf('COLEXIUAPPA') > -1 ||
- e.indexOf('Adr') > -1,
- iPad: e.indexOf('iPad') > -1,
- webApp: e.indexOf('Safari') == -1,
- weixin: e.indexOf('MicroMessenger') > -1,
- alipay: e.indexOf('AlipayClient') > -1,
- huawei: !!e.match(/huawei/i) || !!e.match(/honor/i),
- xiaomi: !!e.match(/mi\s/i) || !!e.match(/redmi/i) || !!e.match(/mix/i)
- };
- },
- Gx = (e = 'code') => {
- const t = location.search,
- n = new Object();
- if (t.indexOf('?') != -1) {
- const o = t.substr(1).split('&');
- for (let i = 0; i < o.length; i++)
- n[o[i].split('=')[0]] = o[i].split('=')[1];
- }
- return console.log(n, 'theRequest'), n[e];
- },
- Kd = () => '' + new Date().getTime() + Math.floor(Math.random() * 1e6);
- function Yx(e) {
- return /^((13[0-9])|(14(0|[5-7]|9))|(15([0-3]|[5-9]))|(16(2|[5-7]))|(17[0-8])|(18[0-9])|(19([0-3]|[5-9])))\d{8}$/.test(
- e
- );
- }
- const Jx = (e, t) => {
- if (isNaN(e)) return '00:00';
- const n = Math.floor(e / 60)
- .toString()
- .padStart(2, '0'),
- r = Math.floor(e % 60)
- .toString()
- .padStart(2, '0');
- return t === 'cn' ? n + '分' + r + '秒' : n + ':' + r;
- },
- Qx = (e, t = '0,0.00') => gb(e).format(t),
- Un = e => e != null,
- Vi = e => typeof e == 'function',
- zo = e => e !== null && typeof e == 'object',
- bb = e => zo(e) && Vi(e.then) && Vi(e.catch),
- Gd = e => typeof e == 'number' || /^\d+(\.\d+)?$/.test(e),
- _b = () =>
- Es ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : !1;
- function $o() {}
- const _t = Object.assign,
- Es = typeof window < 'u';
- function tu(e, t) {
- const n = t.split('.');
- let r = e;
- return (
- n.forEach(o => {
- var i;
- r = zo(r) && (i = r[o]) != null ? i : '';
- }),
- r
- );
- }
- function Yd(e, t, n) {
- return t.reduce((r, o) => ((!n || e[o] !== void 0) && (r[o] = e[o]), r), {});
- }
- const Xx = (e, t) => JSON.stringify(e) === JSON.stringify(t),
- Zx = e => (Array.isArray(e) ? e : [e]),
- Po = null,
- it = [Number, String],
- It = { type: Boolean, default: !0 },
- e1 = e => ({ type: e, required: !0 }),
- t1 = () => ({ type: Array, default: () => [] }),
- wb = e => ({ type: Number, default: e }),
- n1 = e => ({ type: it, default: e }),
- Qe = e => ({ type: String, default: e });
- var bt = typeof window < 'u';
- function Wi(e) {
- return bt ? requestAnimationFrame(e) : -1;
- }
- function Eb(e) {
- bt && cancelAnimationFrame(e);
- }
- function r1(e) {
- Wi(() => Wi(e));
- }
- var Sb = e => e === window,
- nu = (e, t) => ({
- top: 0,
- left: 0,
- right: e,
- bottom: t,
- width: e,
- height: t
- }),
- Vo = e => {
- const t = Rt(e);
- if (Sb(t)) {
- const n = t.innerWidth,
- r = t.innerHeight;
- return nu(n, r);
- }
- return t != null && t.getBoundingClientRect
- ? t.getBoundingClientRect()
- : nu(0, 0);
- };
- function Ob(e) {
- const t = rt(e, null);
- if (t) {
- const n = Ut(),
- { link: r, unlink: o, internalChildren: i } = t;
- r(n), jo(() => o(n));
- const s = Me(() => i.indexOf(n));
- return { parent: t, index: s };
- }
- return { parent: null, index: Ae(-1) };
- }
- function xb(e) {
- const t = [],
- n = r => {
- Array.isArray(r) &&
- r.forEach(o => {
- var i;
- Fr(o) &&
- (t.push(o),
- (i = o.component) != null &&
- i.subTree &&
- (t.push(o.component.subTree), n(o.component.subTree.children)),
- o.children && n(o.children));
- });
- };
- return n(e), t;
- }
- var ru = (e, t) => {
- const n = e.indexOf(t);
- return n === -1
- ? e.findIndex(
- r =>
- t.key !== void 0 &&
- t.key !== null &&
- r.type === t.type &&
- r.key === t.key
- )
- : n;
- };
- function Ab(e, t, n) {
- const r = xb(e.subTree.children);
- n.sort((i, s) => ru(r, i.vnode) - ru(r, s.vnode));
- const o = n.map(i => i.proxy);
- t.sort((i, s) => {
- const l = o.indexOf(i),
- u = o.indexOf(s);
- return l - u;
- });
- }
- function Tb(e) {
- const t = vt([]),
- n = vt([]),
- r = Ut();
- return {
- children: t,
- linkChildren: i => {
- Rr(
- e,
- Object.assign(
- {
- link: u => {
- u.proxy && (n.push(u), t.push(u.proxy), Ab(r, t, n));
- },
- unlink: u => {
- const a = n.indexOf(u);
- t.splice(a, 1), n.splice(a, 1);
- },
- children: t,
- internalChildren: n
- },
- i
- )
- );
- }
- };
- }
- var Ia = 1e3,
- Ra = 60 * Ia,
- ka = 60 * Ra,
- ou = 24 * ka;
- function Cb(e) {
- const t = Math.floor(e / ou),
- n = Math.floor((e % ou) / ka),
- r = Math.floor((e % ka) / Ra),
- o = Math.floor((e % Ra) / Ia),
- i = Math.floor(e % Ia);
- return {
- total: e,
- days: t,
- hours: n,
- minutes: r,
- seconds: o,
- milliseconds: i
- };
- }
- function $b(e, t) {
- return Math.floor(e / 1e3) === Math.floor(t / 1e3);
- }
- function o1(e) {
- let t, n, r, o;
- const i = Ae(e.time),
- s = Me(() => Cb(i.value)),
- l = () => {
- (r = !1), Eb(t);
- },
- u = () => Math.max(n - Date.now(), 0),
- a = _ => {
- var w, b;
- (i.value = _),
- (w = e.onChange) == null || w.call(e, s.value),
- _ === 0 && (l(), (b = e.onFinish) == null || b.call(e));
- },
- c = () => {
- t = Wi(() => {
- r && (a(u()), i.value > 0 && c());
- });
- },
- f = () => {
- t = Wi(() => {
- if (r) {
- const _ = u();
- (!$b(_, i.value) || _ === 0) && a(_), i.value > 0 && f();
- }
- });
- },
- d = () => {
- bt && (e.millisecond ? c() : f());
- },
- h = () => {
- r || ((n = Date.now() + i.value), (r = !0), d());
- },
- g = (_ = e.time) => {
- l(), (i.value = _);
- };
- return (
- ys(l),
- ms(() => {
- o && ((r = !0), (o = !1), d());
- }),
- No(() => {
- r && (l(), (o = !0));
- }),
- { start: h, pause: l, reset: g, current: s }
- );
- }
- function Jd(e) {
- let t;
- wn(() => {
- e(),
- Pt(() => {
- t = !0;
- });
- }),
- ms(() => {
- t && e();
- });
- }
- function Pl(e, t, n = {}) {
- if (!bt) return;
- const { target: r = window, passive: o = !1, capture: i = !1 } = n;
- let s = !1,
- l;
- const u = f => {
- if (s) return;
- const d = Rt(f);
- d &&
- !l &&
- (d.addEventListener(e, t, { capture: i, passive: o }), (l = !0));
- },
- a = f => {
- if (s) return;
- const d = Rt(f);
- d && l && (d.removeEventListener(e, t, i), (l = !1));
- };
- jo(() => a(r)), No(() => a(r)), Jd(() => u(r));
- let c;
- return (
- Pe(r) &&
- (c = Ke(r, (f, d) => {
- a(d), u(f);
- })),
- () => {
- c == null || c(), a(r), (s = !0);
- }
- );
- }
- function i1(e, t, n = {}) {
- if (!bt) return;
- const { eventName: r = 'click' } = n;
- Pl(
- r,
- i => {
- (Array.isArray(e) ? e : [e]).every(u => {
- const a = Rt(u);
- return a && !a.contains(i.target);
- }) && t(i);
- },
- { target: document }
- );
- }
- var di, Js;
- function Pb() {
- if (!di && ((di = Ae(0)), (Js = Ae(0)), bt)) {
- const e = () => {
- (di.value = window.innerWidth), (Js.value = window.innerHeight);
- };
- e(),
- window.addEventListener('resize', e, { passive: !0 }),
- window.addEventListener('orientationchange', e, { passive: !0 });
- }
- return { width: di, height: Js };
- }
- var Ib = /scroll|auto|overlay/i,
- Qd = bt ? window : void 0;
- function Rb(e) {
- return e.tagName !== 'HTML' && e.tagName !== 'BODY' && e.nodeType === 1;
- }
- function Il(e, t = Qd) {
- let n = e;
- for (; n && n !== t && Rb(n); ) {
- const { overflowY: r } = window.getComputedStyle(n);
- if (Ib.test(r)) return n;
- n = n.parentNode;
- }
- return t;
- }
- function s1(e, t = Qd) {
- const n = Ae();
- return (
- wn(() => {
- e.value && (n.value = Il(e.value, t));
- }),
- n
- );
- }
- var pi;
- function a1() {
- if (!pi && ((pi = Ae('visible')), bt)) {
- const e = () => {
- pi.value = document.hidden ? 'hidden' : 'visible';
- };
- e(), window.addEventListener('visibilitychange', e);
- }
- return pi;
- }
- var kb = Symbol('van-field');
- function l1(e) {
- const t = rt(kb, null);
- t &&
- !t.customValue.value &&
- ((t.customValue.value = e),
- Ke(e, () => {
- t.resetValidation(), t.validateWithTrigger('onChange');
- }));
- }
- function Mb(e) {
- const t = 'scrollTop' in e ? e.scrollTop : e.pageYOffset;
- return Math.max(t, 0);
- }
- function iu(e, t) {
- 'scrollTop' in e ? (e.scrollTop = t) : e.scrollTo(e.scrollX, t);
- }
- function Xd() {
- return (
- window.pageYOffset ||
- document.documentElement.scrollTop ||
- document.body.scrollTop ||
- 0
- );
- }
- function Fb(e) {
- iu(window, e), iu(document.body, e);
- }
- function c1(e, t) {
- if (e === window) return 0;
- const n = t ? Mb(t) : Xd();
- return Vo(e).top + n;
- }
- const Bb = _b();
- function u1() {
- Bb && Fb(Xd());
- }
- const Db = e => e.stopPropagation();
- function Rl(e, t) {
- (typeof e.cancelable != 'boolean' || e.cancelable) && e.preventDefault(),
- t && Db(e);
- }
- function f1(e) {
- const t = Rt(e);
- if (!t) return !1;
- const n = window.getComputedStyle(t),
- r = n.display === 'none',
- o = t.offsetParent === null && n.position !== 'fixed';
- return r || o;
- }
- const { width: Zd, height: ep } = Pb();
- function $t(e) {
- if (Un(e)) return Gd(e) ? `${e}px` : String(e);
- }
- function tp(e) {
- if (Un(e)) {
- if (Array.isArray(e)) return { width: $t(e[0]), height: $t(e[1]) };
- const t = $t(e);
- return { width: t, height: t };
- }
- }
- function np(e) {
- const t = {};
- return e !== void 0 && (t.zIndex = +e), t;
- }
- let Qs;
- function Lb() {
- if (!Qs) {
- const e = document.documentElement,
- t = e.style.fontSize || window.getComputedStyle(e).fontSize;
- Qs = parseFloat(t);
- }
- return Qs;
- }
- function Nb(e) {
- return (e = e.replace(/rem/g, '')), +e * Lb();
- }
- function jb(e) {
- return (e = e.replace(/vw/g, '')), (+e * Zd.value) / 100;
- }
- function Ub(e) {
- return (e = e.replace(/vh/g, '')), (+e * ep.value) / 100;
- }
- function d1(e) {
- if (typeof e == 'number') return e;
- if (Es) {
- if (e.includes('rem')) return Nb(e);
- if (e.includes('vw')) return jb(e);
- if (e.includes('vh')) return Ub(e);
- }
- return parseFloat(e);
- }
- const Hb = /-(\w)/g,
- rp = e => e.replace(Hb, (t, n) => n.toUpperCase());
- function p1(e, t = 2) {
- let n = e + '';
- for (; n.length < t; ) n = '0' + n;
- return n;
- }
- const h1 = (e, t, n) => Math.min(Math.max(e, t), n);
- function su(e, t, n) {
- const r = e.indexOf(t);
- return r === -1
- ? e
- : t === '-' && r !== 0
- ? e.slice(0, r)
- : e.slice(0, r + 1) + e.slice(r).replace(n, '');
- }
- function m1(e, t = !0, n = !0) {
- t ? (e = su(e, '.', /\./g)) : (e = e.split('.')[0]),
- n ? (e = su(e, '-', /-/g)) : (e = e.replace(/-/, ''));
- const r = t ? /[^-0-9.]/g : /[^-0-9]/g;
- return e.replace(r, '');
- }
- function g1(e, t) {
- return Math.round((e + t) * 1e10) / 1e10;
- }
- const { hasOwnProperty: qb } = Object.prototype;
- function zb(e, t, n) {
- const r = t[n];
- Un(r) &&
- (!qb.call(e, n) || !zo(r) ? (e[n] = r) : (e[n] = op(Object(e[n]), r)));
- }
- function op(e, t) {
- return (
- Object.keys(t).forEach(n => {
- zb(e, t, n);
- }),
- e
- );
- }
- var Vb = {
- name: '姓名',
- tel: '电话',
- save: '保存',
- clear: '清空',
- cancel: '取消',
- confirm: '确认',
- delete: '删除',
- loading: '加载中...',
- noCoupon: '暂无优惠券',
- nameEmpty: '请填写姓名',
- addContact: '添加联系人',
- telInvalid: '请填写正确的电话',
- vanCalendar: {
- end: '结束',
- start: '开始',
- title: '日期选择',
- weekdays: ['日', '一', '二', '三', '四', '五', '六'],
- monthTitle: (e, t) => `${e}年${t}月`,
- rangePrompt: e => `最多选择 ${e} 天`
- },
- vanCascader: { select: '请选择' },
- vanPagination: { prev: '上一页', next: '下一页' },
- vanPullRefresh: { pulling: '下拉即可刷新...', loosing: '释放即可刷新...' },
- vanSubmitBar: { label: '合计:' },
- vanCoupon: {
- unlimited: '无门槛',
- discount: e => `${e}折`,
- condition: e => `满${e}元可用`
- },
- vanCouponCell: { title: '优惠券', count: e => `${e}张可用` },
- vanCouponList: {
- exchange: '兑换',
- close: '不使用',
- enable: '可用',
- disabled: '不可用',
- placeholder: '输入优惠码'
- },
- vanAddressEdit: {
- area: '地区',
- areaEmpty: '请选择地区',
- addressEmpty: '请填写详细地址',
- addressDetail: '详细地址',
- defaultAddress: '设为默认收货地址'
- },
- vanAddressList: { add: '新增地址' }
- };
- const au = Ae('zh-CN'),
- lu = vt({ 'zh-CN': Vb }),
- Wb = {
- messages() {
- return lu[au.value];
- },
- use(e, t) {
- (au.value = e), this.add({ [e]: t });
- },
- add(e = {}) {
- op(lu, e);
- }
- };
- var Kb = Wb;
- function Gb(e) {
- const t = rp(e) + '.';
- return (n, ...r) => {
- const o = Kb.messages(),
- i = tu(o, t + n) || tu(o, n);
- return Vi(i) ? i(...r) : i;
- };
- }
- function Ma(e, t) {
- return t
- ? typeof t == 'string'
- ? ` ${e}--${t}`
- : Array.isArray(t)
- ? t.reduce((n, r) => n + Ma(e, r), '')
- : Object.keys(t).reduce((n, r) => n + (t[r] ? Ma(e, r) : ''), '')
- : '';
- }
- function Yb(e) {
- return (t, n) => (
- t && typeof t != 'string' && ((n = t), (t = '')),
- (t = t ? `${e}__${t}` : e),
- `${t}${Ma(t, n)}`
- );
- }
- function Ot(e) {
- const t = `van-${e}`;
- return [t, Yb(t), Gb(t)];
- }
- const Ur = 'van-hairline',
- Jb = `${Ur}--top`,
- Qb = `${Ur}--left`,
- Xb = `${Ur}--bottom`,
- Zb = `${Ur}--surround`,
- y1 = `${Ur}--top-bottom`,
- v1 = `${Ur}-unset--top-bottom`,
- Fa = 'van-haptics-feedback',
- b1 = Symbol('van-form'),
- _1 = 500,
- cu = 5;
- function ip(e, { args: t = [], done: n, canceled: r }) {
- if (e) {
- const o = e.apply(null, t);
- bb(o)
- ? o
- .then(i => {
- i ? n() : r && r();
- })
- .catch($o)
- : o
- ? n()
- : r && r();
- } else n();
- }
- function Mt(e) {
- return (
- (e.install = t => {
- const { name: n } = e;
- n && (t.component(n, e), t.component(rp(`-${n}`), e));
- }),
- e
- );
- }
- const sp = Symbol();
- function e_(e) {
- const t = rt(sp, null);
- t &&
- Ke(t, n => {
- n && e();
- });
- }
- const t_ = (e, t) => {
- const n = Ae(),
- r = () => {
- n.value = Vo(e).height;
- };
- return (
- wn(() => {
- if ((Pt(r), t)) for (let o = 1; o <= 3; o++) setTimeout(r, 100 * o);
- }),
- e_(() => Pt(r)),
- Ke([Zd, ep], r),
- n
- );
- };
- function ap(e, t) {
- const n = t_(e, !0);
- return r =>
- S(
- 'div',
- {
- class: t('placeholder'),
- style: { height: n.value ? `${n.value}px` : void 0 }
- },
- [r()]
- );
- }
- const [lp, uu] = Ot('action-bar'),
- cp = Symbol(lp),
- n_ = { placeholder: Boolean, safeAreaInsetBottom: It };
- var r_ = Ge({
- name: lp,
- props: n_,
- setup(e, { slots: t }) {
- const n = Ae(),
- r = ap(n, uu),
- { linkChildren: o } = Tb(cp);
- o();
- const i = () => {
- var s;
- return S(
- 'div',
- {
- ref: n,
- class: [uu(), { 'van-safe-area-bottom': e.safeAreaInsetBottom }]
- },
- [(s = t.default) == null ? void 0 : s.call(t)]
- );
- };
- return () => (e.placeholder ? r(i) : i());
- }
- });
- const o_ = Mt(r_);
- function kl(e) {
- const t = Ut();
- t && _t(t.proxy, e);
- }
- const up = { to: [String, Object], url: String, replace: Boolean };
- function i_({ to: e, url: t, replace: n, $router: r }) {
- e && r
- ? r[n ? 'replace' : 'push'](e)
- : t && (n ? location.replace(t) : (location.href = t));
- }
- function fp() {
- const e = Ut().proxy;
- return () => i_(e);
- }
- const [s_, fu] = Ot('badge'),
- a_ = {
- dot: Boolean,
- max: it,
- tag: Qe('div'),
- color: String,
- offset: Array,
- content: it,
- showZero: It,
- position: Qe('top-right')
- };
- var l_ = Ge({
- name: s_,
- props: a_,
- setup(e, { slots: t }) {
- const n = () => {
- if (t.content) return !0;
- const { content: l, showZero: u } = e;
- return Un(l) && l !== '' && (u || (l !== 0 && l !== '0'));
- },
- r = () => {
- const { dot: l, max: u, content: a } = e;
- if (!l && n())
- return t.content
- ? t.content()
- : Un(u) && Gd(a) && +a > +u
- ? `${u}+`
- : a;
- },
- o = l => (l.startsWith('-') ? l.replace('-', '') : `-${l}`),
- i = Me(() => {
- const l = { background: e.color };
- if (e.offset) {
- const [u, a] = e.offset,
- { position: c } = e,
- [f, d] = c.split('-');
- t.default
- ? (typeof a == 'number'
- ? (l[f] = $t(f === 'top' ? a : -a))
- : (l[f] = f === 'top' ? $t(a) : o(a)),
- typeof u == 'number'
- ? (l[d] = $t(d === 'left' ? u : -u))
- : (l[d] = d === 'left' ? $t(u) : o(u)))
- : ((l.marginTop = $t(a)), (l.marginLeft = $t(u)));
- }
- return l;
- }),
- s = () => {
- if (n() || e.dot)
- return S(
- 'div',
- {
- class: fu([e.position, { dot: e.dot, fixed: !!t.default }]),
- style: i.value
- },
- [r()]
- );
- };
- return () => {
- if (t.default) {
- const { tag: l } = e;
- return S(
- l,
- { class: fu('wrapper') },
- { default: () => [t.default(), s()] }
- );
- }
- return s();
- };
- }
- });
- const c_ = Mt(l_);
- let u_ = 2e3;
- const f_ = () => ++u_,
- [d_, w1] = Ot('config-provider'),
- p_ = Symbol(d_),
- [h_, du] = Ot('icon'),
- m_ = e => (e == null ? void 0 : e.includes('/')),
- g_ = {
- dot: Boolean,
- tag: Qe('i'),
- name: String,
- size: it,
- badge: it,
- color: String,
- badgeProps: Object,
- classPrefix: String
- };
- var y_ = Ge({
- name: h_,
- props: g_,
- setup(e, { slots: t }) {
- const n = rt(p_, null),
- r = Me(
- () => e.classPrefix || (n == null ? void 0 : n.iconPrefix) || du()
- );
- return () => {
- const { tag: o, dot: i, name: s, size: l, badge: u, color: a } = e,
- c = m_(s);
- return S(
- c_,
- yr(
- {
- dot: i,
- tag: o,
- class: [r.value, c ? '' : `${r.value}-${s}`],
- style: { color: a, fontSize: $t(l) },
- content: u
- },
- e.badgeProps
- ),
- {
- default: () => {
- var f;
- return [
- (f = t.default) == null ? void 0 : f.call(t),
- c && S('img', { class: du('image'), src: s }, null)
- ];
- }
- }
- );
- };
- }
- });
- const Ss = Mt(y_),
- [v_, fo] = Ot('loading'),
- b_ = Array(12)
- .fill(null)
- .map((e, t) => S('i', { class: fo('line', String(t + 1)) }, null)),
- __ = S('svg', { class: fo('circular'), viewBox: '25 25 50 50' }, [
- S('circle', { cx: '50', cy: '50', r: '20', fill: 'none' }, null)
- ]),
- w_ = {
- size: it,
- type: Qe('circular'),
- color: String,
- vertical: Boolean,
- textSize: it,
- textColor: String
- };
- var E_ = Ge({
- name: v_,
- props: w_,
- setup(e, { slots: t }) {
- const n = Me(() => _t({ color: e.color }, tp(e.size))),
- r = () => {
- const i = e.type === 'spinner' ? b_ : __;
- return S('span', { class: fo('spinner', e.type), style: n.value }, [
- t.icon ? t.icon() : i
- ]);
- },
- o = () => {
- var i;
- if (t.default)
- return S(
- 'span',
- {
- class: fo('text'),
- style: {
- fontSize: $t(e.textSize),
- color: (i = e.textColor) != null ? i : e.color
- }
- },
- [t.default()]
- );
- };
- return () => {
- const { type: i, vertical: s } = e;
- return S(
- 'div',
- {
- class: fo([i, { vertical: s }]),
- 'aria-live': 'polite',
- 'aria-busy': !0
- },
- [r(), o()]
- );
- };
- }
- });
- const dp = Mt(E_),
- [S_, wr] = Ot('button'),
- O_ = _t({}, up, {
- tag: Qe('button'),
- text: String,
- icon: String,
- type: Qe('default'),
- size: Qe('normal'),
- color: String,
- block: Boolean,
- plain: Boolean,
- round: Boolean,
- square: Boolean,
- loading: Boolean,
- hairline: Boolean,
- disabled: Boolean,
- iconPrefix: String,
- nativeType: Qe('button'),
- loadingSize: it,
- loadingText: String,
- loadingType: String,
- iconPosition: Qe('left')
- });
- var x_ = Ge({
- name: S_,
- props: O_,
- emits: ['click'],
- setup(e, { emit: t, slots: n }) {
- const r = fp(),
- o = () =>
- n.loading
- ? n.loading()
- : S(
- dp,
- {
- size: e.loadingSize,
- type: e.loadingType,
- class: wr('loading')
- },
- null
- ),
- i = () => {
- if (e.loading) return o();
- if (n.icon) return S('div', { class: wr('icon') }, [n.icon()]);
- if (e.icon)
- return S(
- Ss,
- { name: e.icon, class: wr('icon'), classPrefix: e.iconPrefix },
- null
- );
- },
- s = () => {
- let a;
- if (
- (e.loading
- ? (a = e.loadingText)
- : (a = n.default ? n.default() : e.text),
- a)
- )
- return S('span', { class: wr('text') }, [a]);
- },
- l = () => {
- const { color: a, plain: c } = e;
- if (a) {
- const f = { color: c ? a : 'white' };
- return (
- c || (f.background = a),
- a.includes('gradient') ? (f.border = 0) : (f.borderColor = a),
- f
- );
- }
- },
- u = a => {
- e.loading ? Rl(a) : e.disabled || (t('click', a), r());
- };
- return () => {
- const {
- tag: a,
- type: c,
- size: f,
- block: d,
- round: h,
- plain: g,
- square: _,
- loading: w,
- disabled: b,
- hairline: A,
- nativeType: M,
- iconPosition: Z
- } = e,
- I = [
- wr([
- c,
- f,
- {
- plain: g,
- block: d,
- round: h,
- square: _,
- loading: w,
- disabled: b,
- hairline: A
- }
- ]),
- { [Zb]: A }
- ];
- return S(
- a,
- { type: M, class: I, style: l(), disabled: b, onClick: u },
- {
- default: () => [
- S('div', { class: wr('content') }, [
- Z === 'left' && i(),
- s(),
- Z === 'right' && i()
- ])
- ]
- }
- );
- };
- }
- });
- const Ki = Mt(x_),
- [A_, T_] = Ot('action-bar-button'),
- C_ = _t({}, up, {
- type: String,
- text: String,
- icon: String,
- color: String,
- loading: Boolean,
- disabled: Boolean
- });
- var $_ = Ge({
- name: A_,
- props: C_,
- setup(e, { slots: t }) {
- const n = fp(),
- { parent: r, index: o } = Ob(cp),
- i = Me(() => {
- if (r) {
- const l = r.children[o.value - 1];
- return !(l && 'isButton' in l);
- }
- }),
- s = Me(() => {
- if (r) {
- const l = r.children[o.value + 1];
- return !(l && 'isButton' in l);
- }
- });
- return (
- kl({ isButton: !0 }),
- () => {
- const {
- type: l,
- icon: u,
- text: a,
- color: c,
- loading: f,
- disabled: d
- } = e;
- return S(
- Ki,
- {
- class: T_([l, { last: s.value, first: i.value }]),
- size: 'large',
- type: l,
- icon: u,
- color: c,
- loading: f,
- disabled: d,
- onClick: n
- },
- { default: () => [t.default ? t.default() : a] }
- );
- }
- );
- }
- });
- const pu = Mt($_),
- Ml = {
- show: Boolean,
- zIndex: it,
- overlay: It,
- duration: it,
- teleport: [String, Object],
- lockScroll: It,
- lazyRender: It,
- beforeClose: Function,
- overlayStyle: Object,
- overlayClass: Po,
- transitionAppear: Boolean,
- closeOnClickOverlay: It
- },
- P_ = Object.keys(Ml);
- function I_(e, t) {
- return e > t ? 'horizontal' : t > e ? 'vertical' : '';
- }
- function R_() {
- const e = Ae(0),
- t = Ae(0),
- n = Ae(0),
- r = Ae(0),
- o = Ae(0),
- i = Ae(0),
- s = Ae(''),
- l = Ae(!0),
- u = () => s.value === 'vertical',
- a = () => s.value === 'horizontal',
- c = () => {
- (n.value = 0),
- (r.value = 0),
- (o.value = 0),
- (i.value = 0),
- (s.value = ''),
- (l.value = !0);
- };
- return {
- move: h => {
- const g = h.touches[0];
- (n.value = (g.clientX < 0 ? 0 : g.clientX) - e.value),
- (r.value = g.clientY - t.value),
- (o.value = Math.abs(n.value)),
- (i.value = Math.abs(r.value));
- const _ = 10;
- (!s.value || (o.value < _ && i.value < _)) &&
- (s.value = I_(o.value, i.value)),
- l.value && (o.value > cu || i.value > cu) && (l.value = !1);
- },
- start: h => {
- c(), (e.value = h.touches[0].clientX), (t.value = h.touches[0].clientY);
- },
- reset: c,
- startX: e,
- startY: t,
- deltaX: n,
- deltaY: r,
- offsetX: o,
- offsetY: i,
- direction: s,
- isVertical: u,
- isHorizontal: a,
- isTap: l
- };
- }
- let Xr = 0;
- const hu = 'van-overflow-hidden';
- function k_(e, t) {
- const n = R_(),
- r = '01',
- o = '10',
- i = c => {
- n.move(c);
- const f = n.deltaY.value > 0 ? o : r,
- d = Il(c.target, e.value),
- { scrollHeight: h, offsetHeight: g, scrollTop: _ } = d;
- let w = '11';
- _ === 0 ? (w = g >= h ? '00' : '01') : _ + g >= h && (w = '10'),
- w !== '11' &&
- n.isVertical() &&
- !(parseInt(w, 2) & parseInt(f, 2)) &&
- Rl(c, !0);
- },
- s = () => {
- document.addEventListener('touchstart', n.start),
- document.addEventListener('touchmove', i, { passive: !1 }),
- Xr || document.body.classList.add(hu),
- Xr++;
- },
- l = () => {
- Xr &&
- (document.removeEventListener('touchstart', n.start),
- document.removeEventListener('touchmove', i),
- Xr--,
- Xr || document.body.classList.remove(hu));
- },
- u = () => t() && s(),
- a = () => t() && l();
- Jd(u),
- No(a),
- ys(a),
- Ke(t, c => {
- c ? s() : l();
- });
- }
- function pp(e) {
- const t = Ae(!1);
- return (
- Ke(
- e,
- n => {
- n && (t.value = n);
- },
- { immediate: !0 }
- ),
- n => () => t.value ? n() : null
- );
- }
- const [M_, F_] = Ot('overlay'),
- B_ = {
- show: Boolean,
- zIndex: it,
- duration: it,
- className: Po,
- lockScroll: It,
- lazyRender: It,
- customStyle: Object
- };
- var D_ = Ge({
- name: M_,
- props: B_,
- setup(e, { slots: t }) {
- const n = Ae(),
- r = pp(() => e.show || !e.lazyRender),
- o = s => {
- e.lockScroll && Rl(s, !0);
- },
- i = r(() => {
- var s;
- const l = _t(np(e.zIndex), e.customStyle);
- return (
- Un(e.duration) && (l.animationDuration = `${e.duration}s`),
- pd(
- S('div', { ref: n, style: l, class: [F_(), e.className] }, [
- (s = t.default) == null ? void 0 : s.call(t)
- ]),
- [[qd, e.show]]
- )
- );
- });
- return (
- Pl('touchmove', o, { target: n }),
- () => S(ws, { name: 'van-fade', appear: !0 }, { default: i })
- );
- }
- });
- const L_ = Mt(D_),
- N_ = _t({}, Ml, {
- round: Boolean,
- position: Qe('center'),
- closeIcon: Qe('cross'),
- closeable: Boolean,
- transition: String,
- iconPrefix: String,
- closeOnPopstate: Boolean,
- closeIconPosition: Qe('top-right'),
- safeAreaInsetTop: Boolean,
- safeAreaInsetBottom: Boolean
- }),
- [j_, mu] = Ot('popup');
- var U_ = Ge({
- name: j_,
- inheritAttrs: !1,
- props: N_,
- emits: [
- 'open',
- 'close',
- 'opened',
- 'closed',
- 'keydown',
- 'update:show',
- 'clickOverlay',
- 'clickCloseIcon'
- ],
- setup(e, { emit: t, attrs: n, slots: r }) {
- let o, i;
- const s = Ae(),
- l = Ae(),
- u = pp(() => e.show || !e.lazyRender),
- a = Me(() => {
- const Q = { zIndex: s.value };
- if (Un(e.duration)) {
- const F =
- e.position === 'center'
- ? 'animationDuration'
- : 'transitionDuration';
- Q[F] = `${e.duration}s`;
- }
- return Q;
- }),
- c = () => {
- o ||
- ((o = !0),
- (s.value = e.zIndex !== void 0 ? +e.zIndex : f_()),
- t('open'));
- },
- f = () => {
- o &&
- ip(e.beforeClose, {
- done() {
- (o = !1), t('close'), t('update:show', !1);
- }
- });
- },
- d = Q => {
- t('clickOverlay', Q), e.closeOnClickOverlay && f();
- },
- h = () => {
- if (e.overlay)
- return S(
- L_,
- {
- show: e.show,
- class: e.overlayClass,
- zIndex: s.value,
- duration: e.duration,
- customStyle: e.overlayStyle,
- role: e.closeOnClickOverlay ? 'button' : void 0,
- tabindex: e.closeOnClickOverlay ? 0 : void 0,
- onClick: d
- },
- { default: r['overlay-content'] }
- );
- },
- g = Q => {
- t('clickCloseIcon', Q), f();
- },
- _ = () => {
- if (e.closeable)
- return S(
- Ss,
- {
- role: 'button',
- tabindex: 0,
- name: e.closeIcon,
- class: [mu('close-icon', e.closeIconPosition), Fa],
- classPrefix: e.iconPrefix,
- onClick: g
- },
- null
- );
- };
- let w;
- const b = () => {
- w && clearTimeout(w),
- (w = setTimeout(() => {
- t('opened');
- }));
- },
- A = () => t('closed'),
- M = Q => t('keydown', Q),
- Z = u(() => {
- var Q;
- const {
- round: F,
- position: K,
- safeAreaInsetTop: D,
- safeAreaInsetBottom: O
- } = e;
- return pd(
- S(
- 'div',
- yr(
- {
- ref: l,
- style: a.value,
- role: 'dialog',
- tabindex: 0,
- class: [
- mu({ round: F, [K]: K }),
- { 'van-safe-area-top': D, 'van-safe-area-bottom': O }
- ],
- onKeydown: M
- },
- n
- ),
- [(Q = r.default) == null ? void 0 : Q.call(r), _()]
- ),
- [[qd, e.show]]
- );
- }),
- I = () => {
- const { position: Q, transition: F, transitionAppear: K } = e,
- D = Q === 'center' ? 'van-fade' : `van-popup-slide-${Q}`;
- return S(
- ws,
- { name: F || D, appear: K, onAfterEnter: b, onAfterLeave: A },
- { default: Z }
- );
- };
- return (
- Ke(
- () => e.show,
- Q => {
- Q &&
- !o &&
- (c(),
- n.tabindex === 0 &&
- Pt(() => {
- var F;
- (F = l.value) == null || F.focus();
- })),
- !Q && o && ((o = !1), t('close'));
- }
- ),
- kl({ popupRef: l }),
- k_(l, () => e.show && e.lockScroll),
- Pl('popstate', () => {
- e.closeOnPopstate && (f(), (i = !1));
- }),
- wn(() => {
- e.show && c();
- }),
- ms(() => {
- i && (t('update:show', !0), (i = !1));
- }),
- No(() => {
- e.show && e.teleport && (f(), (i = !0));
- }),
- Rr(sp, () => e.show),
- () =>
- e.teleport
- ? S(fv, { to: e.teleport }, { default: () => [h(), I()] })
- : S(Je, null, [h(), I()])
- );
- }
- });
- const hp = Mt(U_);
- let H_ = 0;
- function q_() {
- const e = Ut(),
- { name: t = 'unknown' } = (e == null ? void 0 : e.type) || {};
- return `${t}-${++H_}`;
- }
- let Zr = 0;
- function z_(e) {
- e
- ? (Zr || document.body.classList.add('van-toast--unclickable'), Zr++)
- : Zr &&
- (Zr--, Zr || document.body.classList.remove('van-toast--unclickable'));
- }
- const [V_, Er] = Ot('toast'),
- W_ = [
- 'show',
- 'overlay',
- 'teleport',
- 'transition',
- 'overlayClass',
- 'overlayStyle',
- 'closeOnClickOverlay'
- ],
- K_ = {
- icon: String,
- show: Boolean,
- type: Qe('text'),
- overlay: Boolean,
- message: it,
- iconSize: it,
- duration: wb(2e3),
- position: Qe('middle'),
- teleport: [String, Object],
- wordBreak: String,
- className: Po,
- iconPrefix: String,
- transition: Qe('van-fade'),
- loadingType: String,
- forbidClick: Boolean,
- overlayClass: Po,
- overlayStyle: Object,
- closeOnClick: Boolean,
- closeOnClickOverlay: Boolean
- };
- var mp = Ge({
- name: V_,
- props: K_,
- emits: ['update:show'],
- setup(e, { emit: t, slots: n }) {
- let r,
- o = !1;
- const i = () => {
- const f = e.show && e.forbidClick;
- o !== f && ((o = f), z_(o));
- },
- s = f => t('update:show', f),
- l = () => {
- e.closeOnClick && s(!1);
- },
- u = () => clearTimeout(r),
- a = () => {
- const {
- icon: f,
- type: d,
- iconSize: h,
- iconPrefix: g,
- loadingType: _
- } = e;
- if (f || d === 'success' || d === 'fail')
- return S(
- Ss,
- { name: f || d, size: h, class: Er('icon'), classPrefix: g },
- null
- );
- if (d === 'loading')
- return S(dp, { class: Er('loading'), size: h, type: _ }, null);
- },
- c = () => {
- const { type: f, message: d } = e;
- if (n.message) return S('div', { class: Er('text') }, [n.message()]);
- if (Un(d) && d !== '')
- return f === 'html'
- ? S(
- 'div',
- { key: 0, class: Er('text'), innerHTML: String(d) },
- null
- )
- : S('div', { class: Er('text') }, [d]);
- };
- return (
- Ke(() => [e.show, e.forbidClick], i),
- Ke(
- () => [e.show, e.type, e.message, e.duration],
- () => {
- u(),
- e.show &&
- e.duration > 0 &&
- (r = setTimeout(() => {
- s(!1);
- }, e.duration));
- }
- ),
- wn(i),
- jo(i),
- () =>
- S(
- hp,
- yr(
- {
- class: [
- Er([
- e.position,
- e.wordBreak === 'normal' ? 'break-normal' : e.wordBreak,
- { [e.type]: !e.icon }
- ]),
- e.className
- ],
- lockScroll: !1,
- onClick: l,
- onClosed: u,
- 'onUpdate:show': s
- },
- Yd(e, W_)
- ),
- { default: () => [a(), c()] }
- )
- );
- }
- });
- function gp() {
- const e = vt({ show: !1 }),
- t = o => {
- e.show = o;
- },
- n = o => {
- _t(e, o, { transitionAppear: !0 }), t(!0);
- },
- r = () => t(!1);
- return (
- kl({ open: n, close: r, toggle: t }),
- { open: n, close: r, state: e, toggle: t }
- );
- }
- function yp(e) {
- const t = zd(e),
- n = document.createElement('div');
- return (
- document.body.appendChild(n),
- {
- instance: t.mount(n),
- unmount() {
- t.unmount(), document.body.removeChild(n);
- }
- }
- );
- }
- const G_ = {
- icon: '',
- type: 'text',
- message: '',
- className: '',
- overlay: !1,
- onClose: void 0,
- onOpened: void 0,
- duration: 2e3,
- teleport: 'body',
- iconSize: void 0,
- iconPrefix: void 0,
- position: 'middle',
- transition: 'van-fade',
- forbidClick: !1,
- loadingType: void 0,
- overlayClass: '',
- overlayStyle: void 0,
- closeOnClick: !1,
- closeOnClickOverlay: !1
- };
- let kn = [],
- Y_ = !1,
- gu = _t({}, G_);
- const J_ = new Map();
- function vp(e) {
- return zo(e) ? e : { message: e };
- }
- function Q_() {
- const { instance: e, unmount: t } = yp({
- setup() {
- const n = Ae(''),
- { open: r, state: o, close: i, toggle: s } = gp(),
- l = () => {},
- u = () => S(mp, yr(o, { onClosed: l, 'onUpdate:show': s }), null);
- return (
- Ke(n, a => {
- o.message = a;
- }),
- (Ut().render = u),
- { open: r, close: i, message: n }
- );
- }
- });
- return e;
- }
- function X_() {
- if (!kn.length || Y_) {
- const e = Q_();
- kn.push(e);
- }
- return kn[kn.length - 1];
- }
- function Ba(e = {}) {
- if (!Es) return {};
- const t = X_(),
- n = vp(e);
- return t.open(_t({}, gu, J_.get(n.type || gu.type), n)), t;
- }
- const bp = e => t => Ba(_t({ type: e }, vp(t))),
- Z_ = bp('loading'),
- E1 = bp('success'),
- e0 = e => {
- kn.length &&
- (e
- ? (kn.forEach(t => {
- t.close();
- }),
- (kn = []))
- : kn[0].close());
- };
- Mt(mp);
- const yu =
- bt &&
- 'IntersectionObserver' in window &&
- 'IntersectionObserverEntry' in window &&
- 'intersectionRatio' in window.IntersectionObserverEntry.prototype,
- Qn = { event: 'event', observer: 'observer' };
- function ao(e, t) {
- if (!e.length) return;
- const n = e.indexOf(t);
- if (n > -1) return e.splice(n, 1);
- }
- function vu(e, t) {
- if (e.tagName !== 'IMG' || !e.getAttribute('data-srcset')) return;
- let n = e.getAttribute('data-srcset');
- const o = e.parentNode.offsetWidth * t;
- let i, s, l;
- n = n.trim().split(',');
- const u = n.map(
- f => (
- (f = f.trim()),
- (i = f.lastIndexOf(' ')),
- i === -1
- ? ((s = f), (l = 999998))
- : ((s = f.substr(0, i)),
- (l = parseInt(f.substr(i + 1, f.length - i - 2), 10))),
- [l, s]
- )
- );
- u.sort((f, d) => {
- if (f[0] < d[0]) return 1;
- if (f[0] > d[0]) return -1;
- if (f[0] === d[0]) {
- if (d[1].indexOf('.webp', d[1].length - 5) !== -1) return 1;
- if (f[1].indexOf('.webp', f[1].length - 5) !== -1) return -1;
- }
- return 0;
- });
- let a = '',
- c;
- for (let f = 0; f < u.length; f++) {
- (c = u[f]), (a = c[1]);
- const d = u[f + 1];
- if (d && d[0] < o) {
- a = c[1];
- break;
- } else if (!d) {
- a = c[1];
- break;
- }
- }
- return a;
- }
- const t0 = (e = 1) => (bt && window.devicePixelRatio) || e;
- function n0() {
- if (!bt) return !1;
- let e = !0;
- try {
- const t = document.createElement('canvas');
- t.getContext &&
- t.getContext('2d') &&
- (e = t.toDataURL('image/webp').indexOf('data:image/webp') === 0);
- } catch (t) {
- e = !1;
- }
- return e;
- }
- function r0(e, t) {
- let n = null,
- r = 0;
- return function (...o) {
- if (n) return;
- const i = Date.now() - r,
- s = () => {
- (r = Date.now()), (n = !1), e.apply(this, o);
- };
- i >= t ? s() : (n = setTimeout(s, t));
- };
- }
- function o0(e, t, n) {
- e.addEventListener(t, n, { capture: !1, passive: !0 });
- }
- function i0(e, t, n) {
- e.removeEventListener(t, n, !1);
- }
- const Da = (e, t, n) => {
- const r = new Image();
- if (!e || !e.src) return n(new Error('image src is required'));
- (r.src = e.src),
- e.cors && (r.crossOrigin = e.cors),
- (r.onload = () =>
- t({
- naturalHeight: r.naturalHeight,
- naturalWidth: r.naturalWidth,
- src: r.src
- })),
- (r.onerror = o => n(o));
- };
- class s0 {
- constructor({ max: t }) {
- (this.options = { max: t || 100 }), (this.caches = []);
- }
- has(t) {
- return this.caches.indexOf(t) > -1;
- }
- add(t) {
- this.has(t) ||
- (this.caches.push(t),
- this.caches.length > this.options.max && this.free());
- }
- free() {
- this.caches.shift();
- }
- }
- const [a0, hi] = Ot('empty'),
- l0 = {
- image: Qe('default'),
- imageSize: [Number, String, Array],
- description: String
- };
- var c0 = Ge({
- name: a0,
- props: l0,
- setup(e, { slots: t }) {
- const n = () => {
- const b = t.description ? t.description() : e.description;
- if (b) return S('p', { class: hi('description') }, [b]);
- },
- r = () => {
- if (t.default) return S('div', { class: hi('bottom') }, [t.default()]);
- },
- o = q_(),
- i = b => `${o}-${b}`,
- s = b => `url(#${i(b)})`,
- l = (b, A, M) =>
- S(
- 'stop',
- { 'stop-color': b, offset: `${A}%`, 'stop-opacity': M },
- null
- ),
- u = (b, A) => [l(b, 0), l(A, 100)],
- a = b => [
- S('defs', null, [
- S(
- 'radialGradient',
- {
- id: i(b),
- cx: '50%',
- cy: '54%',
- fx: '50%',
- fy: '54%',
- r: '297%',
- gradientTransform: 'matrix(-.16 0 0 -.33 .58 .72)'
- },
- [l('#EBEDF0', 0), l('#F2F3F5', 100, 0.3)]
- )
- ]),
- S(
- 'ellipse',
- { fill: s(b), opacity: '.8', cx: '80', cy: '140', rx: '46', ry: '8' },
- null
- )
- ],
- c = () => [
- S('defs', null, [
- S(
- 'linearGradient',
- { id: i('a'), x1: '64%', y1: '100%', x2: '64%' },
- [l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
- )
- ]),
- S('g', { opacity: '.8' }, [
- S('path', { d: 'M36 131V53H16v20H2v58h34z', fill: s('a') }, null),
- S('path', { d: 'M123 15h22v14h9v77h-31V15z', fill: s('a') }, null)
- ])
- ],
- f = () => [
- S('defs', null, [
- S(
- 'linearGradient',
- { id: i('b'), x1: '64%', y1: '97%', x2: '64%', y2: '0%' },
- [l('#F2F3F5', 0, 0.3), l('#F2F3F5', 100)]
- )
- ]),
- S('g', { opacity: '.8' }, [
- S(
- 'path',
- {
- d: 'M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z',
- fill: s('b')
- },
- null
- ),
- S(
- 'path',
- {
- d: 'M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z',
- fill: s('b')
- },
- null
- )
- ])
- ],
- d = () =>
- S('svg', { viewBox: '0 0 160 160' }, [
- S('defs', null, [
- S(
- 'linearGradient',
- { id: i(1), x1: '64%', y1: '100%', x2: '64%' },
- [l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
- ),
- S('linearGradient', { id: i(2), x1: '50%', x2: '50%', y2: '84%' }, [
- l('#EBEDF0', 0),
- l('#DCDEE0', 100, 0)
- ]),
- S(
- 'linearGradient',
- { id: i(3), x1: '100%', x2: '100%', y2: '100%' },
- [u('#EAEDF0', '#DCDEE0')]
- ),
- S(
- 'radialGradient',
- {
- id: i(4),
- cx: '50%',
- cy: '0%',
- fx: '50%',
- fy: '0%',
- r: '100%',
- gradientTransform: 'matrix(0 1 -.54 0 .5 -.5)'
- },
- [l('#EBEDF0', 0), l('#FFF', 100, 0)]
- )
- ]),
- S('g', { fill: 'none' }, [
- c(),
- S('path', { fill: s(4), d: 'M0 139h160v21H0z' }, null),
- S(
- 'path',
- {
- d: 'M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z',
- fill: s(2)
- },
- null
- ),
- S(
- 'g',
- { opacity: '.6', 'stroke-linecap': 'round', 'stroke-width': '7' },
- [
- S(
- 'path',
- { d: 'M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13', stroke: s(3) },
- null
- ),
- S('path', { d: 'M53 36a34 34 0 0 0 0 48', stroke: s(3) }, null),
- S(
- 'path',
- { d: 'M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13', stroke: s(3) },
- null
- ),
- S('path', { d: 'M106 84a34 34 0 0 0 0-48', stroke: s(3) }, null)
- ]
- ),
- S('g', { transform: 'translate(31 105)' }, [
- S(
- 'rect',
- { fill: '#EBEDF0', width: '98', height: '34', rx: '2' },
- null
- ),
- S(
- 'rect',
- {
- fill: '#FFF',
- x: '9',
- y: '8',
- width: '80',
- height: '18',
- rx: '1.1'
- },
- null
- ),
- S(
- 'rect',
- {
- fill: '#EBEDF0',
- x: '15',
- y: '12',
- width: '18',
- height: '6',
- rx: '1.1'
- },
- null
- )
- ])
- ])
- ]),
- h = () =>
- S('svg', { viewBox: '0 0 160 160' }, [
- S('defs', null, [
- S(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(5) },
- [u('#F2F3F5', '#DCDEE0')]
- ),
- S(
- 'linearGradient',
- { x1: '95%', y1: '48%', x2: '5.5%', y2: '51%', id: i(6) },
- [u('#EAEDF1', '#DCDEE0')]
- ),
- S(
- 'linearGradient',
- { y1: '45%', x2: '100%', y2: '54%', id: i(7) },
- [u('#EAEDF1', '#DCDEE0')]
- )
- ]),
- c(),
- f(),
- S('g', { transform: 'translate(36 50)', fill: 'none' }, [
- S('g', { transform: 'translate(8)' }, [
- S(
- 'rect',
- {
- fill: '#EBEDF0',
- opacity: '.6',
- x: '38',
- y: '13',
- width: '36',
- height: '53',
- rx: '2'
- },
- null
- ),
- S(
- 'rect',
- { fill: s(5), width: '64', height: '66', rx: '2' },
- null
- ),
- S(
- 'rect',
- {
- fill: '#FFF',
- x: '6',
- y: '6',
- width: '52',
- height: '55',
- rx: '1'
- },
- null
- ),
- S('g', { transform: 'translate(15 17)', fill: s(6) }, [
- S('rect', { width: '34', height: '6', rx: '1' }, null),
- S('path', { d: 'M0 14h34v6H0z' }, null),
- S('rect', { y: '28', width: '34', height: '6', rx: '1' }, null)
- ])
- ]),
- S(
- 'rect',
- { fill: s(7), y: '61', width: '88', height: '28', rx: '1' },
- null
- ),
- S(
- 'rect',
- {
- fill: '#F7F8FA',
- x: '29',
- y: '72',
- width: '30',
- height: '6',
- rx: '1'
- },
- null
- )
- ])
- ]),
- g = () =>
- S('svg', { viewBox: '0 0 160 160' }, [
- S('defs', null, [
- S(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(8) },
- [u('#EAEDF1', '#DCDEE0')]
- )
- ]),
- c(),
- f(),
- a('c'),
- S(
- 'path',
- {
- d: 'm59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z',
- fill: s(8)
- },
- null
- )
- ]),
- _ = () =>
- S('svg', { viewBox: '0 0 160 160' }, [
- S('defs', null, [
- S(
- 'linearGradient',
- { x1: '50%', y1: '100%', x2: '50%', id: i(9) },
- [u('#EEE', '#D8D8D8')]
- ),
- S(
- 'linearGradient',
- { x1: '100%', y1: '50%', y2: '50%', id: i(10) },
- [u('#F2F3F5', '#DCDEE0')]
- ),
- S(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(11) },
- [u('#F2F3F5', '#DCDEE0')]
- ),
- S(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(12) },
- [u('#FFF', '#F7F8FA')]
- )
- ]),
- c(),
- f(),
- a('d'),
- S('g', { transform: 'rotate(-45 113 -4)', fill: 'none' }, [
- S(
- 'rect',
- {
- fill: s(9),
- x: '24',
- y: '52.8',
- width: '5.8',
- height: '19',
- rx: '1'
- },
- null
- ),
- S(
- 'rect',
- {
- fill: s(10),
- x: '22.1',
- y: '67.3',
- width: '9.9',
- height: '28',
- rx: '1'
- },
- null
- ),
- S(
- 'circle',
- {
- stroke: s(11),
- 'stroke-width': '8',
- cx: '27',
- cy: '27',
- r: '27'
- },
- null
- ),
- S('circle', { fill: s(12), cx: '27', cy: '27', r: '16' }, null),
- S(
- 'path',
- {
- d: 'M37 7c-8 0-15 5-16 12',
- stroke: s(11),
- 'stroke-width': '3',
- opacity: '.5',
- 'stroke-linecap': 'round',
- transform: 'rotate(45 29 13)'
- },
- null
- )
- ])
- ]),
- w = () => {
- var b;
- if (t.image) return t.image();
- const A = { error: g, search: _, network: d, default: h };
- return (
- ((b = A[e.image]) == null ? void 0 : b.call(A)) ||
- S('img', { src: e.image }, null)
- );
- };
- return () =>
- S('div', { class: hi() }, [
- S('div', { class: hi('image'), style: tp(e.imageSize) }, [w()]),
- n(),
- r()
- ]);
- }
- });
- const u0 = Mt(c0),
- [f0, Ft, mi] = Ot('dialog'),
- d0 = _t({}, Ml, {
- title: String,
- theme: String,
- width: it,
- message: [String, Function],
- callback: Function,
- allowHtml: Boolean,
- className: Po,
- transition: Qe('van-dialog-bounce'),
- messageAlign: String,
- closeOnPopstate: It,
- showCancelButton: Boolean,
- cancelButtonText: String,
- cancelButtonColor: String,
- cancelButtonDisabled: Boolean,
- confirmButtonText: String,
- confirmButtonColor: String,
- confirmButtonDisabled: Boolean,
- showConfirmButton: It,
- closeOnClickOverlay: Boolean
- }),
- p0 = [...P_, 'transition', 'closeOnPopstate'];
- var _p = Ge({
- name: f0,
- props: d0,
- emits: ['confirm', 'cancel', 'keydown', 'update:show'],
- setup(e, { emit: t, slots: n }) {
- const r = Ae(),
- o = vt({ confirm: !1, cancel: !1 }),
- i = b => t('update:show', b),
- s = b => {
- var A;
- i(!1), (A = e.callback) == null || A.call(e, b);
- },
- l = b => () => {
- e.show &&
- (t(b),
- e.beforeClose
- ? ((o[b] = !0),
- ip(e.beforeClose, {
- args: [b],
- done() {
- s(b), (o[b] = !1);
- },
- canceled() {
- o[b] = !1;
- }
- }))
- : s(b));
- },
- u = l('cancel'),
- a = l('confirm'),
- c = sb(
- b => {
- var A, M;
- if (
- b.target !==
- ((M = (A = r.value) == null ? void 0 : A.popupRef) == null
- ? void 0
- : M.value)
- )
- return;
- ({
- Enter: e.showConfirmButton ? a : $o,
- Escape: e.showCancelButton ? u : $o
- })[b.key](),
- t('keydown', b);
- },
- ['enter', 'esc']
- ),
- f = () => {
- const b = n.title ? n.title() : e.title;
- if (b)
- return S(
- 'div',
- { class: Ft('header', { isolated: !e.message && !n.default }) },
- [b]
- );
- },
- d = b => {
- const { message: A, allowHtml: M, messageAlign: Z } = e,
- I = Ft('message', { 'has-title': b, [Z]: Z }),
- Q = Vi(A) ? A() : A;
- return M && typeof Q == 'string'
- ? S('div', { class: I, innerHTML: Q }, null)
- : S('div', { class: I }, [Q]);
- },
- h = () => {
- if (n.default) return S('div', { class: Ft('content') }, [n.default()]);
- const { title: b, message: A, allowHtml: M } = e;
- if (A) {
- const Z = !!(b || n.title);
- return S(
- 'div',
- { key: M ? 1 : 0, class: Ft('content', { isolated: !Z }) },
- [d(Z)]
- );
- }
- },
- g = () =>
- S('div', { class: [Jb, Ft('footer')] }, [
- e.showCancelButton &&
- S(
- Ki,
- {
- size: 'large',
- text: e.cancelButtonText || mi('cancel'),
- class: Ft('cancel'),
- style: { color: e.cancelButtonColor },
- loading: o.cancel,
- disabled: e.cancelButtonDisabled,
- onClick: u
- },
- null
- ),
- e.showConfirmButton &&
- S(
- Ki,
- {
- size: 'large',
- text: e.confirmButtonText || mi('confirm'),
- class: [Ft('confirm'), { [Qb]: e.showCancelButton }],
- style: { color: e.confirmButtonColor },
- loading: o.confirm,
- disabled: e.confirmButtonDisabled,
- onClick: a
- },
- null
- )
- ]),
- _ = () =>
- S(
- o_,
- { class: Ft('footer') },
- {
- default: () => [
- e.showCancelButton &&
- S(
- pu,
- {
- type: 'warning',
- text: e.cancelButtonText || mi('cancel'),
- class: Ft('cancel'),
- color: e.cancelButtonColor,
- loading: o.cancel,
- disabled: e.cancelButtonDisabled,
- onClick: u
- },
- null
- ),
- e.showConfirmButton &&
- S(
- pu,
- {
- type: 'danger',
- text: e.confirmButtonText || mi('confirm'),
- class: Ft('confirm'),
- color: e.confirmButtonColor,
- loading: o.confirm,
- disabled: e.confirmButtonDisabled,
- onClick: a
- },
- null
- )
- ]
- }
- ),
- w = () =>
- n.footer ? n.footer() : e.theme === 'round-button' ? _() : g();
- return () => {
- const { width: b, title: A, theme: M, message: Z, className: I } = e;
- return S(
- hp,
- yr(
- {
- ref: r,
- role: 'dialog',
- class: [Ft([M]), I],
- style: { width: $t(b) },
- tabindex: 0,
- 'aria-labelledby': A || Z,
- onKeydown: c,
- 'onUpdate:show': i
- },
- Yd(e, p0)
- ),
- { default: () => [f(), h(), w()] }
- );
- };
- }
- });
- let La;
- const h0 = {
- title: '',
- width: '',
- theme: null,
- message: '',
- overlay: !0,
- callback: null,
- teleport: 'body',
- className: '',
- allowHtml: !1,
- lockScroll: !0,
- transition: void 0,
- beforeClose: null,
- overlayClass: '',
- overlayStyle: void 0,
- messageAlign: '',
- cancelButtonText: '',
- cancelButtonColor: null,
- cancelButtonDisabled: !1,
- confirmButtonText: '',
- confirmButtonColor: null,
- confirmButtonDisabled: !1,
- showConfirmButton: !0,
- showCancelButton: !1,
- closeOnPopstate: !0,
- closeOnClickOverlay: !1
- };
- let m0 = _t({}, h0);
- function g0() {
- ({ instance: La } = yp({
- setup() {
- const { state: t, toggle: n } = gp();
- return () => S(_p, yr(t, { 'onUpdate:show': n }), null);
- }
- }));
- }
- function wp(e) {
- return Es
- ? new Promise((t, n) => {
- La || g0(),
- La.open(
- _t({}, m0, e, {
- callback: r => {
- (r === 'confirm' ? t : n)(r);
- }
- })
- );
- })
- : Promise.resolve();
- }
- const S1 = e => wp(_t({ showCancelButton: !0 }, e)),
- O1 = Mt(_p),
- [y0, un] = Ot('nav-bar'),
- v0 = {
- title: String,
- fixed: Boolean,
- zIndex: it,
- border: It,
- leftText: String,
- rightText: String,
- leftArrow: Boolean,
- placeholder: Boolean,
- safeAreaInsetTop: Boolean,
- clickable: It
- };
- var b0 = Ge({
- name: y0,
- props: v0,
- emits: ['clickLeft', 'clickRight'],
- setup(e, { emit: t, slots: n }) {
- const r = Ae(),
- o = ap(r, un),
- i = c => t('clickLeft', c),
- s = c => t('clickRight', c),
- l = () =>
- n.left
- ? n.left()
- : [
- e.leftArrow &&
- S(Ss, { class: un('arrow'), name: 'arrow-left' }, null),
- e.leftText && S('span', { class: un('text') }, [e.leftText])
- ],
- u = () =>
- n.right ? n.right() : S('span', { class: un('text') }, [e.rightText]),
- a = () => {
- const { title: c, fixed: f, border: d, zIndex: h } = e,
- g = np(h),
- _ = e.leftArrow || e.leftText || n.left,
- w = e.rightText || n.right;
- return S(
- 'div',
- {
- ref: r,
- style: g,
- class: [
- un({ fixed: f }),
- { [Xb]: d, 'van-safe-area-top': e.safeAreaInsetTop }
- ]
- },
- [
- S('div', { class: un('content') }, [
- _ &&
- S(
- 'div',
- { class: [un('left'), e.clickable ? Fa : ''], onClick: i },
- [l()]
- ),
- S('div', { class: [un('title'), 'van-ellipsis'] }, [
- n.title ? n.title() : c
- ]),
- w &&
- S(
- 'div',
- { class: [un('right'), e.clickable ? Fa : ''], onClick: s },
- [u()]
- )
- ])
- ]
- );
- };
- return () => (e.fixed && e.placeholder ? o(a) : a());
- }
- });
- const _0 = Mt(b0);
- class w0 {
- constructor({
- el: t,
- src: n,
- error: r,
- loading: o,
- bindType: i,
- $parent: s,
- options: l,
- cors: u,
- elRenderer: a,
- imageCache: c
- }) {
- (this.el = t),
- (this.src = n),
- (this.error = r),
- (this.loading = o),
- (this.bindType = i),
- (this.attempt = 0),
- (this.cors = u),
- (this.naturalHeight = 0),
- (this.naturalWidth = 0),
- (this.options = l),
- (this.$parent = s),
- (this.elRenderer = a),
- (this.imageCache = c),
- (this.performanceData = { loadStart: 0, loadEnd: 0 }),
- this.filter(),
- this.initState(),
- this.render('loading', !1);
- }
- initState() {
- 'dataset' in this.el
- ? (this.el.dataset.src = this.src)
- : this.el.setAttribute('data-src', this.src),
- (this.state = { loading: !1, error: !1, loaded: !1, rendered: !1 });
- }
- record(t) {
- this.performanceData[t] = Date.now();
- }
- update({ src: t, loading: n, error: r }) {
- const o = this.src;
- (this.src = t),
- (this.loading = n),
- (this.error = r),
- this.filter(),
- o !== this.src && ((this.attempt = 0), this.initState());
- }
- checkInView() {
- const t = Vo(this.el);
- return (
- t.top < window.innerHeight * this.options.preLoad &&
- t.bottom > this.options.preLoadTop &&
- t.left < window.innerWidth * this.options.preLoad &&
- t.right > 0
- );
- }
- filter() {
- Object.keys(this.options.filter).forEach(t => {
- this.options.filter[t](this, this.options);
- });
- }
- renderLoading(t) {
- (this.state.loading = !0),
- Da(
- { src: this.loading, cors: this.cors },
- () => {
- this.render('loading', !1), (this.state.loading = !1), t();
- },
- () => {
- t(),
- (this.state.loading = !1),
- this.options.silent ||
- console.warn(
- `[@vant/lazyload] load failed with loading image(${this.loading})`
- );
- }
- );
- }
- load(t = $o) {
- if (this.attempt > this.options.attempt - 1 && this.state.error) {
- this.options.silent ||
- console.log(
- `[@vant/lazyload] ${this.src} tried too more than ${this.options.attempt} times`
- ),
- t();
- return;
- }
- if (!(this.state.rendered && this.state.loaded)) {
- if (this.imageCache.has(this.src))
- return (
- (this.state.loaded = !0),
- this.render('loaded', !0),
- (this.state.rendered = !0),
- t()
- );
- this.renderLoading(() => {
- var n, r;
- this.attempt++,
- (r = (n = this.options.adapter).beforeLoad) == null ||
- r.call(n, this, this.options),
- this.record('loadStart'),
- Da(
- { src: this.src, cors: this.cors },
- o => {
- (this.naturalHeight = o.naturalHeight),
- (this.naturalWidth = o.naturalWidth),
- (this.state.loaded = !0),
- (this.state.error = !1),
- this.record('loadEnd'),
- this.render('loaded', !1),
- (this.state.rendered = !0),
- this.imageCache.add(this.src),
- t();
- },
- o => {
- !this.options.silent && console.error(o),
- (this.state.error = !0),
- (this.state.loaded = !1),
- this.render('error', !1);
- }
- );
- });
- }
- }
- render(t, n) {
- this.elRenderer(this, t, n);
- }
- performance() {
- let t = 'loading',
- n = 0;
- return (
- this.state.loaded &&
- ((t = 'loaded'),
- (n =
- (this.performanceData.loadEnd - this.performanceData.loadStart) /
- 1e3)),
- this.state.error && (t = 'error'),
- { src: this.src, state: t, time: n }
- );
- }
- $destroy() {
- (this.el = null),
- (this.src = null),
- (this.error = null),
- (this.loading = null),
- (this.bindType = null),
- (this.attempt = 0);
- }
- }
- const bu =
- 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',
- E0 = [
- 'scroll',
- 'wheel',
- 'mousewheel',
- 'resize',
- 'animationend',
- 'transitionend',
- 'touchmove'
- ],
- S0 = { rootMargin: '0px', threshold: 0 };
- function O0() {
- return class {
- constructor({
- preLoad: t,
- error: n,
- throttleWait: r,
- preLoadTop: o,
- dispatchEvent: i,
- loading: s,
- attempt: l,
- silent: u = !0,
- scale: a,
- listenEvents: c,
- filter: f,
- adapter: d,
- observer: h,
- observerOptions: g
- }) {
- (this.mode = Qn.event),
- (this.listeners = []),
- (this.targetIndex = 0),
- (this.targets = []),
- (this.options = {
- silent: u,
- dispatchEvent: !!i,
- throttleWait: r || 200,
- preLoad: t || 1.3,
- preLoadTop: o || 0,
- error: n || bu,
- loading: s || bu,
- attempt: l || 3,
- scale: a || t0(a),
- ListenEvents: c || E0,
- supportWebp: n0(),
- filter: f || {},
- adapter: d || {},
- observer: !!h,
- observerOptions: g || S0
- }),
- this.initEvent(),
- (this.imageCache = new s0({ max: 200 })),
- (this.lazyLoadHandler = r0(
- this.lazyLoadHandler.bind(this),
- this.options.throttleWait
- )),
- this.setMode(this.options.observer ? Qn.observer : Qn.event);
- }
- config(t = {}) {
- Object.assign(this.options, t);
- }
- performance() {
- return this.listeners.map(t => t.performance());
- }
- addLazyBox(t) {
- this.listeners.push(t),
- bt &&
- (this.addListenerTarget(window),
- this.observer && this.observer.observe(t.el),
- t.$el &&
- t.$el.parentNode &&
- this.addListenerTarget(t.$el.parentNode));
- }
- add(t, n, r) {
- if (this.listeners.some(s => s.el === t))
- return this.update(t, n), Pt(this.lazyLoadHandler);
- const o = this.valueFormatter(n.value);
- let { src: i } = o;
- Pt(() => {
- (i = vu(t, this.options.scale) || i),
- this.observer && this.observer.observe(t);
- const s = Object.keys(n.modifiers)[0];
- let l;
- s &&
- ((l = r.context.$refs[s]),
- (l = l ? l.$el || l : document.getElementById(s))),
- l || (l = Il(t));
- const u = new w0({
- bindType: n.arg,
- $parent: l,
- el: t,
- src: i,
- loading: o.loading,
- error: o.error,
- cors: o.cors,
- elRenderer: this.elRenderer.bind(this),
- options: this.options,
- imageCache: this.imageCache
- });
- this.listeners.push(u),
- bt && (this.addListenerTarget(window), this.addListenerTarget(l)),
- this.lazyLoadHandler(),
- Pt(() => this.lazyLoadHandler());
- });
- }
- update(t, n, r) {
- const o = this.valueFormatter(n.value);
- let { src: i } = o;
- i = vu(t, this.options.scale) || i;
- const s = this.listeners.find(l => l.el === t);
- s
- ? s.update({ src: i, error: o.error, loading: o.loading })
- : this.add(t, n, r),
- this.observer && (this.observer.unobserve(t), this.observer.observe(t)),
- this.lazyLoadHandler(),
- Pt(() => this.lazyLoadHandler());
- }
- remove(t) {
- if (!t) return;
- this.observer && this.observer.unobserve(t);
- const n = this.listeners.find(r => r.el === t);
- n &&
- (this.removeListenerTarget(n.$parent),
- this.removeListenerTarget(window),
- ao(this.listeners, n),
- n.$destroy());
- }
- removeComponent(t) {
- t &&
- (ao(this.listeners, t),
- this.observer && this.observer.unobserve(t.el),
- t.$parent &&
- t.$el.parentNode &&
- this.removeListenerTarget(t.$el.parentNode),
- this.removeListenerTarget(window));
- }
- setMode(t) {
- !yu && t === Qn.observer && (t = Qn.event),
- (this.mode = t),
- t === Qn.event
- ? (this.observer &&
- (this.listeners.forEach(n => {
- this.observer.unobserve(n.el);
- }),
- (this.observer = null)),
- this.targets.forEach(n => {
- this.initListen(n.el, !0);
- }))
- : (this.targets.forEach(n => {
- this.initListen(n.el, !1);
- }),
- this.initIntersectionObserver());
- }
- addListenerTarget(t) {
- if (!t) return;
- let n = this.targets.find(r => r.el === t);
- return (
- n
- ? n.childrenCount++
- : ((n = {
- el: t,
- id: ++this.targetIndex,
- childrenCount: 1,
- listened: !0
- }),
- this.mode === Qn.event && this.initListen(n.el, !0),
- this.targets.push(n)),
- this.targetIndex
- );
- }
- removeListenerTarget(t) {
- this.targets.forEach((n, r) => {
- n.el === t &&
- (n.childrenCount--,
- n.childrenCount ||
- (this.initListen(n.el, !1), this.targets.splice(r, 1), (n = null)));
- });
- }
- initListen(t, n) {
- this.options.ListenEvents.forEach(r =>
- (n ? o0 : i0)(t, r, this.lazyLoadHandler)
- );
- }
- initEvent() {
- (this.Event = { listeners: { loading: [], loaded: [], error: [] } }),
- (this.$on = (t, n) => {
- this.Event.listeners[t] || (this.Event.listeners[t] = []),
- this.Event.listeners[t].push(n);
- }),
- (this.$once = (t, n) => {
- const r = (...o) => {
- this.$off(t, r), n.apply(this, o);
- };
- this.$on(t, r);
- }),
- (this.$off = (t, n) => {
- if (!n) {
- if (!this.Event.listeners[t]) return;
- this.Event.listeners[t].length = 0;
- return;
- }
- ao(this.Event.listeners[t], n);
- }),
- (this.$emit = (t, n, r) => {
- this.Event.listeners[t] &&
- this.Event.listeners[t].forEach(o => o(n, r));
- });
- }
- lazyLoadHandler() {
- const t = [];
- this.listeners.forEach(n => {
- (!n.el || !n.el.parentNode) && t.push(n), n.checkInView() && n.load();
- }),
- t.forEach(n => {
- ao(this.listeners, n), n.$destroy();
- });
- }
- initIntersectionObserver() {
- yu &&
- ((this.observer = new IntersectionObserver(
- this.observerHandler.bind(this),
- this.options.observerOptions
- )),
- this.listeners.length &&
- this.listeners.forEach(t => {
- this.observer.observe(t.el);
- }));
- }
- observerHandler(t) {
- t.forEach(n => {
- n.isIntersecting &&
- this.listeners.forEach(r => {
- if (r.el === n.target) {
- if (r.state.loaded) return this.observer.unobserve(r.el);
- r.load();
- }
- });
- });
- }
- elRenderer(t, n, r) {
- if (!t.el) return;
- const { el: o, bindType: i } = t;
- let s;
- switch (n) {
- case 'loading':
- s = t.loading;
- break;
- case 'error':
- s = t.error;
- break;
- default:
- ({ src: s } = t);
- break;
- }
- if (
- (i
- ? (o.style[i] = 'url("' + s + '")')
- : o.getAttribute('src') !== s && o.setAttribute('src', s),
- o.setAttribute('lazy', n),
- this.$emit(n, t, r),
- this.options.adapter[n] && this.options.adapter[n](t, this.options),
- this.options.dispatchEvent)
- ) {
- const l = new CustomEvent(n, { detail: t });
- o.dispatchEvent(l);
- }
- }
- valueFormatter(t) {
- let n = t,
- { loading: r, error: o } = this.options;
- return (
- zo(t) &&
- (!t.src &&
- !this.options.silent &&
- console.error('[@vant/lazyload] miss src with ' + t),
- ({ src: n } = t),
- (r = t.loading || this.options.loading),
- (o = t.error || this.options.error)),
- { src: n, loading: r, error: o }
- );
- }
- };
- }
- var x0 = e => ({
- props: { tag: { type: String, default: 'div' } },
- emits: ['show'],
- render() {
- return Ho(
- this.tag,
- this.show && this.$slots.default ? this.$slots.default() : null
- );
- },
- data() {
- return { el: null, state: { loaded: !1 }, show: !1 };
- },
- mounted() {
- (this.el = this.$el), e.addLazyBox(this), e.lazyLoadHandler();
- },
- beforeUnmount() {
- e.removeComponent(this);
- },
- methods: {
- checkInView() {
- const t = Vo(this.$el);
- return (
- bt &&
- t.top < window.innerHeight * e.options.preLoad &&
- t.bottom > 0 &&
- t.left < window.innerWidth * e.options.preLoad &&
- t.right > 0
- );
- },
- load() {
- (this.show = !0), (this.state.loaded = !0), this.$emit('show', this);
- },
- destroy() {
- return this.$destroy;
- }
- }
- });
- const A0 = { selector: 'img' };
- class T0 {
- constructor({ el: t, binding: n, vnode: r, lazy: o }) {
- (this.el = null),
- (this.vnode = r),
- (this.binding = n),
- (this.options = {}),
- (this.lazy = o),
- (this.queue = []),
- this.update({ el: t, binding: n });
- }
- update({ el: t, binding: n }) {
- (this.el = t),
- (this.options = Object.assign({}, A0, n.value)),
- this.getImgs().forEach(o => {
- this.lazy.add(
- o,
- Object.assign({}, this.binding, {
- value: {
- src: 'dataset' in o ? o.dataset.src : o.getAttribute('data-src'),
- error:
- ('dataset' in o
- ? o.dataset.error
- : o.getAttribute('data-error')) || this.options.error,
- loading:
- ('dataset' in o
- ? o.dataset.loading
- : o.getAttribute('data-loading')) || this.options.loading
- }
- }),
- this.vnode
- );
- });
- }
- getImgs() {
- return Array.from(this.el.querySelectorAll(this.options.selector));
- }
- clear() {
- this.getImgs().forEach(n => this.lazy.remove(n)),
- (this.vnode = null),
- (this.binding = null),
- (this.lazy = null);
- }
- }
- class C0 {
- constructor({ lazy: t }) {
- (this.lazy = t), (this.queue = []);
- }
- bind(t, n, r) {
- const o = new T0({ el: t, binding: n, vnode: r, lazy: this.lazy });
- this.queue.push(o);
- }
- update(t, n, r) {
- const o = this.queue.find(i => i.el === t);
- o && o.update({ el: t, binding: n, vnode: r });
- }
- unbind(t) {
- const n = this.queue.find(r => r.el === t);
- n && (n.clear(), ao(this.queue, n));
- }
- }
- var $0 = e => ({
- props: { src: [String, Object], tag: { type: String, default: 'img' } },
- render() {
- var t, n;
- return Ho(
- this.tag,
- { src: this.renderSrc },
- (n = (t = this.$slots).default) == null ? void 0 : n.call(t)
- );
- },
- data() {
- return {
- el: null,
- options: { src: '', error: '', loading: '', attempt: e.options.attempt },
- state: { loaded: !1, error: !1, attempt: 0 },
- renderSrc: ''
- };
- },
- watch: {
- src() {
- this.init(), e.addLazyBox(this), e.lazyLoadHandler();
- }
- },
- created() {
- this.init();
- },
- mounted() {
- (this.el = this.$el), e.addLazyBox(this), e.lazyLoadHandler();
- },
- beforeUnmount() {
- e.removeComponent(this);
- },
- methods: {
- init() {
- const { src: t, loading: n, error: r } = e.valueFormatter(this.src);
- (this.state.loaded = !1),
- (this.options.src = t),
- (this.options.error = r),
- (this.options.loading = n),
- (this.renderSrc = this.options.loading);
- },
- checkInView() {
- const t = Vo(this.$el);
- return (
- t.top < window.innerHeight * e.options.preLoad &&
- t.bottom > 0 &&
- t.left < window.innerWidth * e.options.preLoad &&
- t.right > 0
- );
- },
- load(t = $o) {
- if (this.state.attempt > this.options.attempt - 1 && this.state.error) {
- e.options.silent ||
- console.log(
- `[@vant/lazyload] ${this.options.src} tried too more than ${this.options.attempt} times`
- ),
- t();
- return;
- }
- const { src: n } = this.options;
- Da(
- { src: n },
- ({ src: r }) => {
- (this.renderSrc = r), (this.state.loaded = !0);
- },
- () => {
- this.state.attempt++,
- (this.renderSrc = this.options.error),
- (this.state.error = !0);
- }
- );
- }
- }
- });
- const P0 = {
- install(e, t = {}) {
- const n = O0(),
- r = new n(t),
- o = new C0({ lazy: r });
- (e.config.globalProperties.$Lazyload = r),
- t.lazyComponent && e.component('LazyComponent', x0(r)),
- t.lazyImage && e.component('LazyImage', $0(r)),
- e.directive('lazy', {
- beforeMount: r.add.bind(r),
- updated: r.update.bind(r),
- unmounted: r.remove.bind(r)
- }),
- e.directive('lazy-container', {
- beforeMount: o.bind.bind(o),
- updated: o.update.bind(o),
- unmounted: o.unbind.bind(o)
- });
- }
- };
- function I0() {
- return Ep().__VUE_DEVTOOLS_GLOBAL_HOOK__;
- }
- function Ep() {
- return typeof navigator < 'u' && typeof window < 'u'
- ? window
- : typeof global < 'u'
- ? global
- : {};
- }
- const R0 = typeof Proxy == 'function',
- k0 = 'devtools-plugin:setup',
- M0 = 'plugin:settings:set';
- let Sr, Na;
- function F0() {
- var e;
- return (
- Sr !== void 0 ||
- (typeof window < 'u' && window.performance
- ? ((Sr = !0), (Na = window.performance))
- : typeof global < 'u' &&
- !((e = global.perf_hooks) === null || e === void 0) &&
- e.performance
- ? ((Sr = !0), (Na = global.perf_hooks.performance))
- : (Sr = !1)),
- Sr
- );
- }
- function B0() {
- return F0() ? Na.now() : Date.now();
- }
- class D0 {
- constructor(t, n) {
- (this.target = null),
- (this.targetQueue = []),
- (this.onQueue = []),
- (this.plugin = t),
- (this.hook = n);
- const r = {};
- if (t.settings)
- for (const s in t.settings) {
- const l = t.settings[s];
- r[s] = l.defaultValue;
- }
- const o = `__vue-devtools-plugin-settings__${t.id}`;
- let i = Object.assign({}, r);
- try {
- const s = localStorage.getItem(o),
- l = JSON.parse(s);
- Object.assign(i, l);
- } catch (s) {}
- (this.fallbacks = {
- getSettings() {
- return i;
- },
- setSettings(s) {
- try {
- localStorage.setItem(o, JSON.stringify(s));
- } catch (l) {}
- i = s;
- },
- now() {
- return B0();
- }
- }),
- n &&
- n.on(M0, (s, l) => {
- s === this.plugin.id && this.fallbacks.setSettings(l);
- }),
- (this.proxiedOn = new Proxy(
- {},
- {
- get: (s, l) =>
- this.target
- ? this.target.on[l]
- : (...u) => {
- this.onQueue.push({ method: l, args: u });
- }
- }
- )),
- (this.proxiedTarget = new Proxy(
- {},
- {
- get: (s, l) =>
- this.target
- ? this.target[l]
- : l === 'on'
- ? this.proxiedOn
- : Object.keys(this.fallbacks).includes(l)
- ? (...u) => (
- this.targetQueue.push({
- method: l,
- args: u,
- resolve: () => {}
- }),
- this.fallbacks[l](...u)
- )
- : (...u) =>
- new Promise(a => {
- this.targetQueue.push({ method: l, args: u, resolve: a });
- })
- }
- ));
- }
- async setRealTarget(t) {
- this.target = t;
- for (const n of this.onQueue) this.target.on[n.method](...n.args);
- for (const n of this.targetQueue)
- n.resolve(await this.target[n.method](...n.args));
- }
- }
- function Fl(e, t) {
- const n = e,
- r = Ep(),
- o = I0(),
- i = R0 && n.enableEarlyProxy;
- if (o && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !i)) o.emit(k0, e, t);
- else {
- const s = i ? new D0(n, o) : null;
- (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
- pluginDescriptor: n,
- setupFn: t,
- proxy: s
- }),
- s && t(s.proxiedTarget);
- }
- }
- /*!
- * vue-router v4.2.2
- * (c) 2023 Eduardo San Martin Morote
- * @license MIT
- */ const gn = typeof window < 'u';
- function L0(e) {
- return e.__esModule || e[Symbol.toStringTag] === 'Module';
- }
- const xe = Object.assign;
- function Xs(e, t) {
- const n = {};
- for (const r in t) {
- const o = t[r];
- n[r] = St(o) ? o.map(e) : e(o);
- }
- return n;
- }
- const po = () => {},
- St = Array.isArray;
- function Se(e) {
- const t = Array.from(arguments).slice(1);
- console.warn.apply(console, ['[Vue Router warn]: ' + e].concat(t));
- }
- const N0 = /\/$/,
- j0 = e => e.replace(N0, '');
- function Zs(e, t, n = '/') {
- let r,
- o = {},
- i = '',
- s = '';
- const l = t.indexOf('#');
- let u = t.indexOf('?');
- return (
- l < u && l >= 0 && (u = -1),
- u > -1 &&
- ((r = t.slice(0, u)),
- (i = t.slice(u + 1, l > -1 ? l : t.length)),
- (o = e(i))),
- l > -1 && ((r = r || t.slice(0, l)), (s = t.slice(l, t.length))),
- (r = q0(r != null ? r : t, n)),
- { fullPath: r + (i && '?') + i + s, path: r, query: o, hash: s }
- );
- }
- function U0(e, t) {
- const n = t.query ? e(t.query) : '';
- return t.path + (n && '?') + n + (t.hash || '');
- }
- function _u(e, t) {
- return !t || !e.toLowerCase().startsWith(t.toLowerCase())
- ? e
- : e.slice(t.length) || '/';
- }
- function wu(e, t, n) {
- const r = t.matched.length - 1,
- o = n.matched.length - 1;
- return (
- r > -1 &&
- r === o &&
- Hn(t.matched[r], n.matched[o]) &&
- Sp(t.params, n.params) &&
- e(t.query) === e(n.query) &&
- t.hash === n.hash
- );
- }
- function Hn(e, t) {
- return (e.aliasOf || e) === (t.aliasOf || t);
- }
- function Sp(e, t) {
- if (Object.keys(e).length !== Object.keys(t).length) return !1;
- for (const n in e) if (!H0(e[n], t[n])) return !1;
- return !0;
- }
- function H0(e, t) {
- return St(e) ? Eu(e, t) : St(t) ? Eu(t, e) : e === t;
- }
- function Eu(e, t) {
- return St(t)
- ? e.length === t.length && e.every((n, r) => n === t[r])
- : e.length === 1 && e[0] === t;
- }
- function q0(e, t) {
- if (e.startsWith('/')) return e;
- if (!t.startsWith('/'))
- return (
- Se(
- `Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`
- ),
- e
- );
- if (!e) return t;
- const n = t.split('/'),
- r = e.split('/'),
- o = r[r.length - 1];
- (o === '..' || o === '.') && r.push('');
- let i = n.length - 1,
- s,
- l;
- for (s = 0; s < r.length; s++)
- if (((l = r[s]), l !== '.'))
- if (l === '..') i > 1 && i--;
- else break;
- return (
- n.slice(0, i).join('/') +
- '/' +
- r.slice(s - (s === r.length ? 1 : 0)).join('/')
- );
- }
- var Io;
- (function (e) {
- (e.pop = 'pop'), (e.push = 'push');
- })(Io || (Io = {}));
- var ho;
- (function (e) {
- (e.back = 'back'), (e.forward = 'forward'), (e.unknown = '');
- })(ho || (ho = {}));
- function z0(e) {
- if (!e)
- if (gn) {
- const t = document.querySelector('base');
- (e = (t && t.getAttribute('href')) || '/'),
- (e = e.replace(/^\w+:\/\/[^\/]+/, ''));
- } else e = '/';
- return e[0] !== '/' && e[0] !== '#' && (e = '/' + e), j0(e);
- }
- const V0 = /^[^#]+#/;
- function W0(e, t) {
- return e.replace(V0, '#') + t;
- }
- function K0(e, t) {
- const n = document.documentElement.getBoundingClientRect(),
- r = e.getBoundingClientRect();
- return {
- behavior: t.behavior,
- left: r.left - n.left - (t.left || 0),
- top: r.top - n.top - (t.top || 0)
- };
- }
- const Os = () => ({ left: window.pageXOffset, top: window.pageYOffset });
- function G0(e) {
- let t;
- if ('el' in e) {
- const n = e.el,
- r = typeof n == 'string' && n.startsWith('#');
- if (
- typeof e.el == 'string' &&
- (!r || !document.getElementById(e.el.slice(1)))
- )
- try {
- const i = document.querySelector(e.el);
- if (r && i) {
- Se(
- `The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`
- );
- return;
- }
- } catch (i) {
- Se(
- `The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`
- );
- return;
- }
- const o =
- typeof n == 'string'
- ? r
- ? document.getElementById(n.slice(1))
- : document.querySelector(n)
- : n;
- if (!o) {
- Se(
- `Couldn't find element using selector "${e.el}" returned by scrollBehavior.`
- );
- return;
- }
- t = K0(o, e);
- } else t = e;
- 'scrollBehavior' in document.documentElement.style
- ? window.scrollTo(t)
- : window.scrollTo(
- t.left != null ? t.left : window.pageXOffset,
- t.top != null ? t.top : window.pageYOffset
- );
- }
- function Su(e, t) {
- return (history.state ? history.state.position - t : -1) + e;
- }
- const ja = new Map();
- function Y0(e, t) {
- ja.set(e, t);
- }
- function J0(e) {
- const t = ja.get(e);
- return ja.delete(e), t;
- }
- let Q0 = () => location.protocol + '//' + location.host;
- function Op(e, t) {
- const { pathname: n, search: r, hash: o } = t,
- i = e.indexOf('#');
- if (i > -1) {
- let l = o.includes(e.slice(i)) ? e.slice(i).length : 1,
- u = o.slice(l);
- return u[0] !== '/' && (u = '/' + u), _u(u, '');
- }
- return _u(n, e) + r + o;
- }
- function X0(e, t, n, r) {
- let o = [],
- i = [],
- s = null;
- const l = ({ state: d }) => {
- const h = Op(e, location),
- g = n.value,
- _ = t.value;
- let w = 0;
- if (d) {
- if (((n.value = h), (t.value = d), s && s === g)) {
- s = null;
- return;
- }
- w = _ ? d.position - _.position : 0;
- } else r(h);
- o.forEach(b => {
- b(n.value, g, {
- delta: w,
- type: Io.pop,
- direction: w ? (w > 0 ? ho.forward : ho.back) : ho.unknown
- });
- });
- };
- function u() {
- s = n.value;
- }
- function a(d) {
- o.push(d);
- const h = () => {
- const g = o.indexOf(d);
- g > -1 && o.splice(g, 1);
- };
- return i.push(h), h;
- }
- function c() {
- const { history: d } = window;
- d.state && d.replaceState(xe({}, d.state, { scroll: Os() }), '');
- }
- function f() {
- for (const d of i) d();
- (i = []),
- window.removeEventListener('popstate', l),
- window.removeEventListener('beforeunload', c);
- }
- return (
- window.addEventListener('popstate', l),
- window.addEventListener('beforeunload', c, { passive: !0 }),
- { pauseListeners: u, listen: a, destroy: f }
- );
- }
- function Ou(e, t, n, r = !1, o = !1) {
- return {
- back: e,
- current: t,
- forward: n,
- replaced: r,
- position: window.history.length,
- scroll: o ? Os() : null
- };
- }
- function Z0(e) {
- const { history: t, location: n } = window,
- r = { value: Op(e, n) },
- o = { value: t.state };
- o.value ||
- i(
- r.value,
- {
- back: null,
- current: r.value,
- forward: null,
- position: t.length - 1,
- replaced: !0,
- scroll: null
- },
- !0
- );
- function i(u, a, c) {
- const f = e.indexOf('#'),
- d =
- f > -1
- ? (n.host && document.querySelector('base') ? e : e.slice(f)) + u
- : Q0() + e + u;
- try {
- t[c ? 'replaceState' : 'pushState'](a, '', d), (o.value = a);
- } catch (h) {
- Se('Error with push/replace State', h), n[c ? 'replace' : 'assign'](d);
- }
- }
- function s(u, a) {
- const c = xe({}, t.state, Ou(o.value.back, u, o.value.forward, !0), a, {
- position: o.value.position
- });
- i(u, c, !0), (r.value = u);
- }
- function l(u, a) {
- const c = xe({}, o.value, t.state, { forward: u, scroll: Os() });
- t.state ||
- Se(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
- history.replaceState(history.state, '', url)
- You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`),
- i(c.current, c, !0);
- const f = xe({}, Ou(r.value, u, null), { position: c.position + 1 }, a);
- i(u, f, !1), (r.value = u);
- }
- return { location: r, state: o, push: l, replace: s };
- }
- function ew(e) {
- e = z0(e);
- const t = Z0(e),
- n = X0(e, t.state, t.location, t.replace);
- function r(i, s = !0) {
- s || n.pauseListeners(), history.go(i);
- }
- const o = xe(
- { location: '', base: e, go: r, createHref: W0.bind(null, e) },
- t,
- n
- );
- return (
- Object.defineProperty(o, 'location', {
- enumerable: !0,
- get: () => t.location.value
- }),
- Object.defineProperty(o, 'state', {
- enumerable: !0,
- get: () => t.state.value
- }),
- o
- );
- }
- function tw(e) {
- return (
- (e = location.host ? e || location.pathname + location.search : ''),
- e.includes('#') || (e += '#'),
- !e.endsWith('#/') &&
- !e.endsWith('#') &&
- Se(`A hash base must end with a "#":
- "${e}" should be "${e.replace(/#.*$/, '#')}".`),
- ew(e)
- );
- }
- function nw(e) {
- return typeof e == 'string' || (e && typeof e == 'object');
- }
- function xp(e) {
- return typeof e == 'string' || typeof e == 'symbol';
- }
- const An = {
- path: '/',
- name: void 0,
- params: {},
- query: {},
- hash: '',
- fullPath: '/',
- matched: [],
- meta: {},
- redirectedFrom: void 0
- },
- Ap = Symbol('navigation failure');
- var xu;
- (function (e) {
- (e[(e.aborted = 4)] = 'aborted'),
- (e[(e.cancelled = 8)] = 'cancelled'),
- (e[(e.duplicated = 16)] = 'duplicated');
- })(xu || (xu = {}));
- const rw = {
- [1]({ location: e, currentLocation: t }) {
- return `No match for
- ${JSON.stringify(e)}${
- t
- ? `
- while being at
- ` + JSON.stringify(t)
- : ''
- }`;
- },
- [2]({ from: e, to: t }) {
- return `Redirected from "${e.fullPath}" to "${iw(
- t
- )}" via a navigation guard.`;
- },
- [4]({ from: e, to: t }) {
- return `Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`;
- },
- [8]({ from: e, to: t }) {
- return `Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`;
- },
- [16]({ from: e, to: t }) {
- return `Avoided redundant navigation to current location: "${e.fullPath}".`;
- }
- };
- function Dr(e, t) {
- return xe(new Error(rw[e](t)), { type: e, [Ap]: !0 }, t);
- }
- function fn(e, t) {
- return e instanceof Error && Ap in e && (t == null || !!(e.type & t));
- }
- const ow = ['params', 'query', 'hash'];
- function iw(e) {
- if (typeof e == 'string') return e;
- if ('path' in e) return e.path;
- const t = {};
- for (const n of ow) n in e && (t[n] = e[n]);
- return JSON.stringify(t, null, 2);
- }
- const Au = '[^/]+?',
- sw = { sensitive: !1, strict: !1, start: !0, end: !0 },
- aw = /[.+*?^${}()[\]/\\]/g;
- function lw(e, t) {
- const n = xe({}, sw, t),
- r = [];
- let o = n.start ? '^' : '';
- const i = [];
- for (const a of e) {
- const c = a.length ? [] : [90];
- n.strict && !a.length && (o += '/');
- for (let f = 0; f < a.length; f++) {
- const d = a[f];
- let h = 40 + (n.sensitive ? 0.25 : 0);
- if (d.type === 0)
- f || (o += '/'), (o += d.value.replace(aw, '\\$&')), (h += 40);
- else if (d.type === 1) {
- const { value: g, repeatable: _, optional: w, regexp: b } = d;
- i.push({ name: g, repeatable: _, optional: w });
- const A = b || Au;
- if (A !== Au) {
- h += 10;
- try {
- new RegExp(`(${A})`);
- } catch (Z) {
- throw new Error(
- `Invalid custom RegExp for param "${g}" (${A}): ` + Z.message
- );
- }
- }
- let M = _ ? `((?:${A})(?:/(?:${A}))*)` : `(${A})`;
- f || (M = w && a.length < 2 ? `(?:/${M})` : '/' + M),
- w && (M += '?'),
- (o += M),
- (h += 20),
- w && (h += -8),
- _ && (h += -20),
- A === '.*' && (h += -50);
- }
- c.push(h);
- }
- r.push(c);
- }
- if (n.strict && n.end) {
- const a = r.length - 1;
- r[a][r[a].length - 1] += 0.7000000000000001;
- }
- n.strict || (o += '/?'), n.end ? (o += '$') : n.strict && (o += '(?:/|$)');
- const s = new RegExp(o, n.sensitive ? '' : 'i');
- function l(a) {
- const c = a.match(s),
- f = {};
- if (!c) return null;
- for (let d = 1; d < c.length; d++) {
- const h = c[d] || '',
- g = i[d - 1];
- f[g.name] = h && g.repeatable ? h.split('/') : h;
- }
- return f;
- }
- function u(a) {
- let c = '',
- f = !1;
- for (const d of e) {
- (!f || !c.endsWith('/')) && (c += '/'), (f = !1);
- for (const h of d)
- if (h.type === 0) c += h.value;
- else if (h.type === 1) {
- const { value: g, repeatable: _, optional: w } = h,
- b = g in a ? a[g] : '';
- if (St(b) && !_)
- throw new Error(
- `Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`
- );
- const A = St(b) ? b.join('/') : b;
- if (!A)
- if (w)
- d.length < 2 &&
- (c.endsWith('/') ? (c = c.slice(0, -1)) : (f = !0));
- else throw new Error(`Missing required param "${g}"`);
- c += A;
- }
- }
- return c || '/';
- }
- return { re: s, score: r, keys: i, parse: l, stringify: u };
- }
- function cw(e, t) {
- let n = 0;
- for (; n < e.length && n < t.length; ) {
- const r = t[n] - e[n];
- if (r) return r;
- n++;
- }
- return e.length < t.length
- ? e.length === 1 && e[0] === 40 + 40
- ? -1
- : 1
- : e.length > t.length
- ? t.length === 1 && t[0] === 40 + 40
- ? 1
- : -1
- : 0;
- }
- function uw(e, t) {
- let n = 0;
- const r = e.score,
- o = t.score;
- for (; n < r.length && n < o.length; ) {
- const i = cw(r[n], o[n]);
- if (i) return i;
- n++;
- }
- if (Math.abs(o.length - r.length) === 1) {
- if (Tu(r)) return 1;
- if (Tu(o)) return -1;
- }
- return o.length - r.length;
- }
- function Tu(e) {
- const t = e[e.length - 1];
- return e.length > 0 && t[t.length - 1] < 0;
- }
- const fw = { type: 0, value: '' },
- dw = /[a-zA-Z0-9_]/;
- function pw(e) {
- if (!e) return [[]];
- if (e === '/') return [[fw]];
- if (!e.startsWith('/'))
- throw new Error(
- `Route paths should start with a "/": "${e}" should be "/${e}".`
- );
- function t(h) {
- throw new Error(`ERR (${n})/"${a}": ${h}`);
- }
- let n = 0,
- r = n;
- const o = [];
- let i;
- function s() {
- i && o.push(i), (i = []);
- }
- let l = 0,
- u,
- a = '',
- c = '';
- function f() {
- a &&
- (n === 0
- ? i.push({ type: 0, value: a })
- : n === 1 || n === 2 || n === 3
- ? (i.length > 1 &&
- (u === '*' || u === '+') &&
- t(
- `A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`
- ),
- i.push({
- type: 1,
- value: a,
- regexp: c,
- repeatable: u === '*' || u === '+',
- optional: u === '*' || u === '?'
- }))
- : t('Invalid state to consume buffer'),
- (a = ''));
- }
- function d() {
- a += u;
- }
- for (; l < e.length; ) {
- if (((u = e[l++]), u === '\\' && n !== 2)) {
- (r = n), (n = 4);
- continue;
- }
- switch (n) {
- case 0:
- u === '/' ? (a && f(), s()) : u === ':' ? (f(), (n = 1)) : d();
- break;
- case 4:
- d(), (n = r);
- break;
- case 1:
- u === '('
- ? (n = 2)
- : dw.test(u)
- ? d()
- : (f(), (n = 0), u !== '*' && u !== '?' && u !== '+' && l--);
- break;
- case 2:
- u === ')'
- ? c[c.length - 1] == '\\'
- ? (c = c.slice(0, -1) + u)
- : (n = 3)
- : (c += u);
- break;
- case 3:
- f(), (n = 0), u !== '*' && u !== '?' && u !== '+' && l--, (c = '');
- break;
- default:
- t('Unknown state');
- break;
- }
- }
- return n === 2 && t(`Unfinished custom RegExp for param "${a}"`), f(), s(), o;
- }
- function hw(e, t, n) {
- const r = lw(pw(e.path), n);
- {
- const i = new Set();
- for (const s of r.keys)
- i.has(s.name) &&
- Se(
- `Found duplicated params with name "${s.name}" for path "${e.path}". Only the last one will be available on "$route.params".`
- ),
- i.add(s.name);
- }
- const o = xe(r, { record: e, parent: t, children: [], alias: [] });
- return t && !o.record.aliasOf == !t.record.aliasOf && t.children.push(o), o;
- }
- function mw(e, t) {
- const n = [],
- r = new Map();
- t = Pu({ strict: !1, end: !0, sensitive: !1 }, t);
- function o(c) {
- return r.get(c);
- }
- function i(c, f, d) {
- const h = !d,
- g = gw(c);
- _w(g, f), (g.aliasOf = d && d.record);
- const _ = Pu(t, c),
- w = [g];
- if ('alias' in c) {
- const M = typeof c.alias == 'string' ? [c.alias] : c.alias;
- for (const Z of M)
- w.push(
- xe({}, g, {
- components: d ? d.record.components : g.components,
- path: Z,
- aliasOf: d ? d.record : g
- })
- );
- }
- let b, A;
- for (const M of w) {
- const { path: Z } = M;
- if (f && Z[0] !== '/') {
- const I = f.record.path,
- Q = I[I.length - 1] === '/' ? '' : '/';
- M.path = f.record.path + (Z && Q + Z);
- }
- if (M.path === '*')
- throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
- See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);
- if (
- ((b = hw(M, f, _)),
- f && Z[0] === '/' && ww(b, f),
- d
- ? (d.alias.push(b), bw(d, b))
- : ((A = A || b),
- A !== b && A.alias.push(b),
- h && c.name && !$u(b) && s(c.name)),
- g.children)
- ) {
- const I = g.children;
- for (let Q = 0; Q < I.length; Q++) i(I[Q], b, d && d.children[Q]);
- }
- (d = d || b),
- ((b.record.components && Object.keys(b.record.components).length) ||
- b.record.name ||
- b.record.redirect) &&
- u(b);
- }
- return A
- ? () => {
- s(A);
- }
- : po;
- }
- function s(c) {
- if (xp(c)) {
- const f = r.get(c);
- f &&
- (r.delete(c),
- n.splice(n.indexOf(f), 1),
- f.children.forEach(s),
- f.alias.forEach(s));
- } else {
- const f = n.indexOf(c);
- f > -1 &&
- (n.splice(f, 1),
- c.record.name && r.delete(c.record.name),
- c.children.forEach(s),
- c.alias.forEach(s));
- }
- }
- function l() {
- return n;
- }
- function u(c) {
- let f = 0;
- for (
- ;
- f < n.length &&
- uw(c, n[f]) >= 0 &&
- (c.record.path !== n[f].record.path || !Tp(c, n[f]));
- )
- f++;
- n.splice(f, 0, c), c.record.name && !$u(c) && r.set(c.record.name, c);
- }
- function a(c, f) {
- let d,
- h = {},
- g,
- _;
- if ('name' in c && c.name) {
- if (((d = r.get(c.name)), !d)) throw Dr(1, { location: c });
- {
- const A = Object.keys(c.params || {}).filter(
- M => !d.keys.find(Z => Z.name === M)
- );
- A.length &&
- Se(
- `Discarded invalid param(s) "${A.join(
- '", "'
- )}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`
- );
- }
- (_ = d.record.name),
- (h = xe(
- Cu(
- f.params,
- d.keys.filter(A => !A.optional).map(A => A.name)
- ),
- c.params &&
- Cu(
- c.params,
- d.keys.map(A => A.name)
- )
- )),
- (g = d.stringify(h));
- } else if ('path' in c)
- (g = c.path),
- g.startsWith('/') ||
- Se(
- `The Matcher cannot resolve relative paths but received "${g}". Unless you directly called \`matcher.resolve("${g}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/router.`
- ),
- (d = n.find(A => A.re.test(g))),
- d && ((h = d.parse(g)), (_ = d.record.name));
- else {
- if (((d = f.name ? r.get(f.name) : n.find(A => A.re.test(f.path))), !d))
- throw Dr(1, { location: c, currentLocation: f });
- (_ = d.record.name),
- (h = xe({}, f.params, c.params)),
- (g = d.stringify(h));
- }
- const w = [];
- let b = d;
- for (; b; ) w.unshift(b.record), (b = b.parent);
- return { name: _, path: g, params: h, matched: w, meta: vw(w) };
- }
- return (
- e.forEach(c => i(c)),
- {
- addRoute: i,
- resolve: a,
- removeRoute: s,
- getRoutes: l,
- getRecordMatcher: o
- }
- );
- }
- function Cu(e, t) {
- const n = {};
- for (const r of t) r in e && (n[r] = e[r]);
- return n;
- }
- function gw(e) {
- return {
- path: e.path,
- redirect: e.redirect,
- name: e.name,
- meta: e.meta || {},
- aliasOf: void 0,
- beforeEnter: e.beforeEnter,
- props: yw(e),
- children: e.children || [],
- instances: {},
- leaveGuards: new Set(),
- updateGuards: new Set(),
- enterCallbacks: {},
- components:
- 'components' in e
- ? e.components || null
- : e.component && { default: e.component }
- };
- }
- function yw(e) {
- const t = {},
- n = e.props || !1;
- if ('component' in e) t.default = n;
- else for (const r in e.components) t[r] = typeof n == 'boolean' ? n : n[r];
- return t;
- }
- function $u(e) {
- for (; e; ) {
- if (e.record.aliasOf) return !0;
- e = e.parent;
- }
- return !1;
- }
- function vw(e) {
- return e.reduce((t, n) => xe(t, n.meta), {});
- }
- function Pu(e, t) {
- const n = {};
- for (const r in e) n[r] = r in t ? t[r] : e[r];
- return n;
- }
- function Ua(e, t) {
- return (
- e.name === t.name &&
- e.optional === t.optional &&
- e.repeatable === t.repeatable
- );
- }
- function bw(e, t) {
- for (const n of e.keys)
- if (!n.optional && !t.keys.find(Ua.bind(null, n)))
- return Se(
- `Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`
- );
- for (const n of t.keys)
- if (!n.optional && !e.keys.find(Ua.bind(null, n)))
- return Se(
- `Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`
- );
- }
- function _w(e, t) {
- t &&
- t.record.name &&
- !e.name &&
- !e.path &&
- Se(
- `The route named "${String(
- t.record.name
- )}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`
- );
- }
- function ww(e, t) {
- for (const n of t.keys)
- if (!e.keys.find(Ua.bind(null, n)))
- return Se(
- `Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`
- );
- }
- function Tp(e, t) {
- return t.children.some(n => n === e || Tp(e, n));
- }
- const Cp = /#/g,
- Ew = /&/g,
- Sw = /\//g,
- Ow = /=/g,
- xw = /\?/g,
- $p = /\+/g,
- Aw = /%5B/g,
- Tw = /%5D/g,
- Pp = /%5E/g,
- Cw = /%60/g,
- Ip = /%7B/g,
- $w = /%7C/g,
- Rp = /%7D/g,
- Pw = /%20/g;
- function Bl(e) {
- return encodeURI('' + e)
- .replace($w, '|')
- .replace(Aw, '[')
- .replace(Tw, ']');
- }
- function Iw(e) {
- return Bl(e).replace(Ip, '{').replace(Rp, '}').replace(Pp, '^');
- }
- function Ha(e) {
- return Bl(e)
- .replace($p, '%2B')
- .replace(Pw, '+')
- .replace(Cp, '%23')
- .replace(Ew, '%26')
- .replace(Cw, '`')
- .replace(Ip, '{')
- .replace(Rp, '}')
- .replace(Pp, '^');
- }
- function Rw(e) {
- return Ha(e).replace(Ow, '%3D');
- }
- function kw(e) {
- return Bl(e).replace(Cp, '%23').replace(xw, '%3F');
- }
- function Mw(e) {
- return e == null ? '' : kw(e).replace(Sw, '%2F');
- }
- function Ro(e) {
- try {
- return decodeURIComponent('' + e);
- } catch (t) {
- Se(`Error decoding "${e}". Using original value`);
- }
- return '' + e;
- }
- function Fw(e) {
- const t = {};
- if (e === '' || e === '?') return t;
- const r = (e[0] === '?' ? e.slice(1) : e).split('&');
- for (let o = 0; o < r.length; ++o) {
- const i = r[o].replace($p, ' '),
- s = i.indexOf('='),
- l = Ro(s < 0 ? i : i.slice(0, s)),
- u = s < 0 ? null : Ro(i.slice(s + 1));
- if (l in t) {
- let a = t[l];
- St(a) || (a = t[l] = [a]), a.push(u);
- } else t[l] = u;
- }
- return t;
- }
- function Iu(e) {
- let t = '';
- for (let n in e) {
- const r = e[n];
- if (((n = Rw(n)), r == null)) {
- r !== void 0 && (t += (t.length ? '&' : '') + n);
- continue;
- }
- (St(r) ? r.map(i => i && Ha(i)) : [r && Ha(r)]).forEach(i => {
- i !== void 0 &&
- ((t += (t.length ? '&' : '') + n), i != null && (t += '=' + i));
- });
- }
- return t;
- }
- function Bw(e) {
- const t = {};
- for (const n in e) {
- const r = e[n];
- r !== void 0 &&
- (t[n] = St(r)
- ? r.map(o => (o == null ? null : '' + o))
- : r == null
- ? r
- : '' + r);
- }
- return t;
- }
- const Dw = Symbol('router view location matched'),
- Ru = Symbol('router view depth'),
- xs = Symbol('router'),
- Dl = Symbol('route location'),
- qa = Symbol('router view location');
- function eo() {
- let e = [];
- function t(r) {
- return (
- e.push(r),
- () => {
- const o = e.indexOf(r);
- o > -1 && e.splice(o, 1);
- }
- );
- }
- function n() {
- e = [];
- }
- return { add: t, list: () => e, reset: n };
- }
- function Pn(e, t, n, r, o) {
- const i = r && (r.enterCallbacks[o] = r.enterCallbacks[o] || []);
- return () =>
- new Promise((s, l) => {
- const u = f => {
- f === !1
- ? l(Dr(4, { from: n, to: t }))
- : f instanceof Error
- ? l(f)
- : nw(f)
- ? l(Dr(2, { from: t, to: f }))
- : (i &&
- r.enterCallbacks[o] === i &&
- typeof f == 'function' &&
- i.push(f),
- s());
- },
- a = e.call(r && r.instances[o], t, n, Lw(u, t, n));
- let c = Promise.resolve(a);
- if ((e.length < 3 && (c = c.then(u)), e.length > 2)) {
- const f = `The "next" callback was never called inside of ${
- e.name ? '"' + e.name + '"' : ''
- }:
- ${e.toString()}
- . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;
- if (typeof a == 'object' && 'then' in a)
- c = c.then(d =>
- u._called
- ? d
- : (Se(f), Promise.reject(new Error('Invalid navigation guard')))
- );
- else if (a !== void 0 && !u._called) {
- Se(f), l(new Error('Invalid navigation guard'));
- return;
- }
- }
- c.catch(f => l(f));
- });
- }
- function Lw(e, t, n) {
- let r = 0;
- return function () {
- r++ === 1 &&
- Se(
- `The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`
- ),
- (e._called = !0),
- r === 1 && e.apply(null, arguments);
- };
- }
- function ea(e, t, n, r) {
- const o = [];
- for (const i of e) {
- !i.components &&
- !i.children.length &&
- Se(
- `Record with path "${i.path}" is either missing a "component(s)" or "children" property.`
- );
- for (const s in i.components) {
- let l = i.components[s];
- {
- if (!l || (typeof l != 'object' && typeof l != 'function'))
- throw (
- (Se(
- `Component "${s}" in record with path "${
- i.path
- }" is not a valid component. Received "${String(l)}".`
- ),
- new Error('Invalid route component'))
- );
- if ('then' in l) {
- Se(
- `Component "${s}" in record with path "${i.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`
- );
- const u = l;
- l = () => u;
- } else
- l.__asyncLoader &&
- !l.__warnedDefineAsync &&
- ((l.__warnedDefineAsync = !0),
- Se(
- `Component "${s}" in record with path "${i.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`
- ));
- }
- if (!(t !== 'beforeRouteEnter' && !i.instances[s]))
- if (Nw(l)) {
- const a = (l.__vccOpts || l)[t];
- a && o.push(Pn(a, n, r, i, s));
- } else {
- let u = l();
- 'catch' in u ||
- (Se(
- `Component "${s}" in record with path "${i.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`
- ),
- (u = Promise.resolve(u))),
- o.push(() =>
- u.then(a => {
- if (!a)
- return Promise.reject(
- new Error(
- `Couldn't resolve component "${s}" at "${i.path}"`
- )
- );
- const c = L0(a) ? a.default : a;
- i.components[s] = c;
- const d = (c.__vccOpts || c)[t];
- return d && Pn(d, n, r, i, s)();
- })
- );
- }
- }
- }
- return o;
- }
- function Nw(e) {
- return (
- typeof e == 'object' ||
- 'displayName' in e ||
- 'props' in e ||
- '__vccOpts' in e
- );
- }
- function ku(e) {
- const t = rt(xs),
- n = rt(Dl),
- r = Me(() => t.resolve(Rt(e.to))),
- o = Me(() => {
- const { matched: u } = r.value,
- { length: a } = u,
- c = u[a - 1],
- f = n.matched;
- if (!c || !f.length) return -1;
- const d = f.findIndex(Hn.bind(null, c));
- if (d > -1) return d;
- const h = Mu(u[a - 2]);
- return a > 1 && Mu(c) === h && f[f.length - 1].path !== h
- ? f.findIndex(Hn.bind(null, u[a - 2]))
- : d;
- }),
- i = Me(() => o.value > -1 && qw(n.params, r.value.params)),
- s = Me(
- () =>
- o.value > -1 &&
- o.value === n.matched.length - 1 &&
- Sp(n.params, r.value.params)
- );
- function l(u = {}) {
- return Hw(u)
- ? t[Rt(e.replace) ? 'replace' : 'push'](Rt(e.to)).catch(po)
- : Promise.resolve();
- }
- if (gn) {
- const u = Ut();
- if (u) {
- const a = { route: r.value, isActive: i.value, isExactActive: s.value };
- (u.__vrl_devtools = u.__vrl_devtools || []),
- u.__vrl_devtools.push(a),
- wy(
- () => {
- (a.route = r.value),
- (a.isActive = i.value),
- (a.isExactActive = s.value);
- },
- { flush: 'post' }
- );
- }
- }
- return {
- route: r,
- href: Me(() => r.value.href),
- isActive: i,
- isExactActive: s,
- navigate: l
- };
- }
- const jw = Ge({
- name: 'RouterLink',
- compatConfig: { MODE: 3 },
- props: {
- to: { type: [String, Object], required: !0 },
- replace: Boolean,
- activeClass: String,
- exactActiveClass: String,
- custom: Boolean,
- ariaCurrentValue: { type: String, default: 'page' }
- },
- useLink: ku,
- setup(e, { slots: t }) {
- const n = vt(ku(e)),
- { options: r } = rt(xs),
- o = Me(() => ({
- [Fu(e.activeClass, r.linkActiveClass, 'router-link-active')]:
- n.isActive,
- [Fu(
- e.exactActiveClass,
- r.linkExactActiveClass,
- 'router-link-exact-active'
- )]: n.isExactActive
- }));
- return () => {
- const i = t.default && t.default(n);
- return e.custom
- ? i
- : Ho(
- 'a',
- {
- 'aria-current': n.isExactActive ? e.ariaCurrentValue : null,
- href: n.href,
- onClick: n.navigate,
- class: o.value
- },
- i
- );
- };
- }
- }),
- Uw = jw;
- function Hw(e) {
- if (
- !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) &&
- !e.defaultPrevented &&
- !(e.button !== void 0 && e.button !== 0)
- ) {
- if (e.currentTarget && e.currentTarget.getAttribute) {
- const t = e.currentTarget.getAttribute('target');
- if (/\b_blank\b/i.test(t)) return;
- }
- return e.preventDefault && e.preventDefault(), !0;
- }
- }
- function qw(e, t) {
- for (const n in t) {
- const r = t[n],
- o = e[n];
- if (typeof r == 'string') {
- if (r !== o) return !1;
- } else if (!St(o) || o.length !== r.length || r.some((i, s) => i !== o[s]))
- return !1;
- }
- return !0;
- }
- function Mu(e) {
- return e ? (e.aliasOf ? e.aliasOf.path : e.path) : '';
- }
- const Fu = (e, t, n) => (e != null ? e : t != null ? t : n),
- zw = Ge({
- name: 'RouterView',
- inheritAttrs: !1,
- props: { name: { type: String, default: 'default' }, route: Object },
- compatConfig: { MODE: 3 },
- setup(e, { attrs: t, slots: n }) {
- Vw();
- const r = rt(qa),
- o = Me(() => e.route || r.value),
- i = rt(Ru, 0),
- s = Me(() => {
- let a = Rt(i);
- const { matched: c } = o.value;
- let f;
- for (; (f = c[a]) && !f.components; ) a++;
- return a;
- }),
- l = Me(() => o.value.matched[s.value]);
- Rr(
- Ru,
- Me(() => s.value + 1)
- ),
- Rr(Dw, l),
- Rr(qa, o);
- const u = Ae();
- return (
- Ke(
- () => [u.value, l.value, e.name],
- ([a, c, f], [d, h, g]) => {
- c &&
- ((c.instances[f] = a),
- h &&
- h !== c &&
- a &&
- a === d &&
- (c.leaveGuards.size || (c.leaveGuards = h.leaveGuards),
- c.updateGuards.size || (c.updateGuards = h.updateGuards))),
- a &&
- c &&
- (!h || !Hn(c, h) || !d) &&
- (c.enterCallbacks[f] || []).forEach(_ => _(a));
- },
- { flush: 'post' }
- ),
- () => {
- const a = o.value,
- c = e.name,
- f = l.value,
- d = f && f.components[c];
- if (!d) return Bu(n.default, { Component: d, route: a });
- const h = f.props[c],
- g = h
- ? h === !0
- ? a.params
- : typeof h == 'function'
- ? h(a)
- : h
- : null,
- w = Ho(
- d,
- xe({}, g, t, {
- onVnodeUnmounted: b => {
- b.component.isUnmounted && (f.instances[c] = null);
- },
- ref: u
- })
- );
- if (gn && w.ref) {
- const b = {
- depth: s.value,
- name: f.name,
- path: f.path,
- meta: f.meta
- };
- (St(w.ref) ? w.ref.map(M => M.i) : [w.ref.i]).forEach(M => {
- M.__vrv_devtools = b;
- });
- }
- return Bu(n.default, { Component: w, route: a }) || w;
- }
- );
- }
- });
- function Bu(e, t) {
- if (!e) return null;
- const n = e(t);
- return n.length === 1 ? n[0] : n;
- }
- const kp = zw;
- function Vw() {
- const e = Ut(),
- t = e.parent && e.parent.type.name,
- n = e.parent && e.parent.subTree && e.parent.subTree.type;
- if (
- t &&
- (t === 'KeepAlive' || t.includes('Transition')) &&
- typeof n == 'object' &&
- n.name === 'RouterView'
- ) {
- const r = t === 'KeepAlive' ? 'keep-alive' : 'transition';
- Se(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
- Use slot props instead:
- <router-view v-slot="{ Component }">
- <${r}>
- <component :is="Component" />
- </${r}>
- </router-view>`);
- }
- }
- function to(e, t) {
- const n = xe({}, e, {
- matched: e.matched.map(r => eE(r, ['instances', 'children', 'aliasOf']))
- });
- return {
- _custom: {
- type: null,
- readOnly: !0,
- display: e.fullPath,
- tooltip: t,
- value: n
- }
- };
- }
- function gi(e) {
- return { _custom: { display: e } };
- }
- let Ww = 0;
- function Kw(e, t, n) {
- if (t.__hasDevtools) return;
- t.__hasDevtools = !0;
- const r = Ww++;
- Fl(
- {
- id: 'org.vuejs.router' + (r ? '.' + r : ''),
- label: 'Vue Router',
- packageName: 'vue-router',
- homepage: 'https://router.vuejs.org',
- logo: 'https://router.vuejs.org/logo.png',
- componentStateTypes: ['Routing'],
- app: e
- },
- o => {
- typeof o.now != 'function' &&
- console.warn(
- '[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.'
- ),
- o.on.inspectComponent((c, f) => {
- c.instanceData &&
- c.instanceData.state.push({
- type: 'Routing',
- key: '$route',
- editable: !1,
- value: to(t.currentRoute.value, 'Current Route')
- });
- }),
- o.on.visitComponentTree(({ treeNode: c, componentInstance: f }) => {
- if (f.__vrv_devtools) {
- const d = f.__vrv_devtools;
- c.tags.push({
- label: (d.name ? `${d.name.toString()}: ` : '') + d.path,
- textColor: 0,
- tooltip: 'This component is rendered by <router-view>',
- backgroundColor: Mp
- });
- }
- St(f.__vrl_devtools) &&
- ((f.__devtoolsApi = o),
- f.__vrl_devtools.forEach(d => {
- let h = Dp,
- g = '';
- d.isExactActive
- ? ((h = Bp), (g = 'This is exactly active'))
- : d.isActive && ((h = Fp), (g = 'This link is active')),
- c.tags.push({
- label: d.route.path,
- textColor: 0,
- tooltip: g,
- backgroundColor: h
- });
- }));
- }),
- Ke(t.currentRoute, () => {
- u(),
- o.notifyComponentUpdate(),
- o.sendInspectorTree(l),
- o.sendInspectorState(l);
- });
- const i = 'router:navigations:' + r;
- o.addTimelineLayer({
- id: i,
- label: `Router${r ? ' ' + r : ''} Navigations`,
- color: 4237508
- }),
- t.onError((c, f) => {
- o.addTimelineEvent({
- layerId: i,
- event: {
- title: 'Error during Navigation',
- subtitle: f.fullPath,
- logType: 'error',
- time: o.now(),
- data: { error: c },
- groupId: f.meta.__navigationId
- }
- });
- });
- let s = 0;
- t.beforeEach((c, f) => {
- const d = {
- guard: gi('beforeEach'),
- from: to(f, 'Current Location during this navigation'),
- to: to(c, 'Target location')
- };
- Object.defineProperty(c.meta, '__navigationId', { value: s++ }),
- o.addTimelineEvent({
- layerId: i,
- event: {
- time: o.now(),
- title: 'Start of navigation',
- subtitle: c.fullPath,
- data: d,
- groupId: c.meta.__navigationId
- }
- });
- }),
- t.afterEach((c, f, d) => {
- const h = { guard: gi('afterEach') };
- d
- ? ((h.failure = {
- _custom: {
- type: Error,
- readOnly: !0,
- display: d ? d.message : '',
- tooltip: 'Navigation Failure',
- value: d
- }
- }),
- (h.status = gi('❌')))
- : (h.status = gi('✅')),
- (h.from = to(f, 'Current Location during this navigation')),
- (h.to = to(c, 'Target location')),
- o.addTimelineEvent({
- layerId: i,
- event: {
- title: 'End of navigation',
- subtitle: c.fullPath,
- time: o.now(),
- data: h,
- logType: d ? 'warning' : 'default',
- groupId: c.meta.__navigationId
- }
- });
- });
- const l = 'router-inspector:' + r;
- o.addInspector({
- id: l,
- label: 'Routes' + (r ? ' ' + r : ''),
- icon: 'book',
- treeFilterPlaceholder: 'Search routes'
- });
- function u() {
- if (!a) return;
- const c = a;
- let f = n.getRoutes().filter(d => !d.parent);
- f.forEach(jp),
- c.filter && (f = f.filter(d => za(d, c.filter.toLowerCase()))),
- f.forEach(d => Np(d, t.currentRoute.value)),
- (c.rootNodes = f.map(Lp));
- }
- let a;
- o.on.getInspectorTree(c => {
- (a = c), c.app === e && c.inspectorId === l && u();
- }),
- o.on.getInspectorState(c => {
- if (c.app === e && c.inspectorId === l) {
- const d = n.getRoutes().find(h => h.record.__vd_id === c.nodeId);
- d && (c.state = { options: Yw(d) });
- }
- }),
- o.sendInspectorTree(l),
- o.sendInspectorState(l);
- }
- );
- }
- function Gw(e) {
- return e.optional ? (e.repeatable ? '*' : '?') : e.repeatable ? '+' : '';
- }
- function Yw(e) {
- const { record: t } = e,
- n = [{ editable: !1, key: 'path', value: t.path }];
- return (
- t.name != null && n.push({ editable: !1, key: 'name', value: t.name }),
- n.push({ editable: !1, key: 'regexp', value: e.re }),
- e.keys.length &&
- n.push({
- editable: !1,
- key: 'keys',
- value: {
- _custom: {
- type: null,
- readOnly: !0,
- display: e.keys.map(r => `${r.name}${Gw(r)}`).join(' '),
- tooltip: 'Param keys',
- value: e.keys
- }
- }
- }),
- t.redirect != null &&
- n.push({ editable: !1, key: 'redirect', value: t.redirect }),
- e.alias.length &&
- n.push({
- editable: !1,
- key: 'aliases',
- value: e.alias.map(r => r.record.path)
- }),
- Object.keys(e.record.meta).length &&
- n.push({ editable: !1, key: 'meta', value: e.record.meta }),
- n.push({
- key: 'score',
- editable: !1,
- value: {
- _custom: {
- type: null,
- readOnly: !0,
- display: e.score.map(r => r.join(', ')).join(' | '),
- tooltip: 'Score used to sort routes',
- value: e.score
- }
- }
- }),
- n
- );
- }
- const Mp = 15485081,
- Fp = 2450411,
- Bp = 8702998,
- Jw = 2282478,
- Dp = 16486972,
- Qw = 6710886;
- function Lp(e) {
- const t = [],
- { record: n } = e;
- n.name != null &&
- t.push({ label: String(n.name), textColor: 0, backgroundColor: Jw }),
- n.aliasOf && t.push({ label: 'alias', textColor: 0, backgroundColor: Dp }),
- e.__vd_match &&
- t.push({ label: 'matches', textColor: 0, backgroundColor: Mp }),
- e.__vd_exactActive &&
- t.push({ label: 'exact', textColor: 0, backgroundColor: Bp }),
- e.__vd_active &&
- t.push({ label: 'active', textColor: 0, backgroundColor: Fp }),
- n.redirect &&
- t.push({
- label:
- typeof n.redirect == 'string'
- ? `redirect: ${n.redirect}`
- : 'redirects',
- textColor: 16777215,
- backgroundColor: Qw
- });
- let r = n.__vd_id;
- return (
- r == null && ((r = String(Xw++)), (n.__vd_id = r)),
- { id: r, label: n.path, tags: t, children: e.children.map(Lp) }
- );
- }
- let Xw = 0;
- const Zw = /^\/(.*)\/([a-z]*)$/;
- function Np(e, t) {
- const n = t.matched.length && Hn(t.matched[t.matched.length - 1], e.record);
- (e.__vd_exactActive = e.__vd_active = n),
- n || (e.__vd_active = t.matched.some(r => Hn(r, e.record))),
- e.children.forEach(r => Np(r, t));
- }
- function jp(e) {
- (e.__vd_match = !1), e.children.forEach(jp);
- }
- function za(e, t) {
- const n = String(e.re).match(Zw);
- if (((e.__vd_match = !1), !n || n.length < 3)) return !1;
- if (new RegExp(n[1].replace(/\$$/, ''), n[2]).test(t))
- return (
- e.children.forEach(s => za(s, t)),
- e.record.path !== '/' || t === '/'
- ? ((e.__vd_match = e.re.test(t)), !0)
- : !1
- );
- const o = e.record.path.toLowerCase(),
- i = Ro(o);
- return (!t.startsWith('/') && (i.includes(t) || o.includes(t))) ||
- i.startsWith(t) ||
- o.startsWith(t) ||
- (e.record.name && String(e.record.name).includes(t))
- ? !0
- : e.children.some(s => za(s, t));
- }
- function eE(e, t) {
- const n = {};
- for (const r in e) t.includes(r) || (n[r] = e[r]);
- return n;
- }
- function tE(e) {
- const t = mw(e.routes, e),
- n = e.parseQuery || Fw,
- r = e.stringifyQuery || Iu,
- o = e.history;
- if (!o)
- throw new Error(
- 'Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.'
- );
- const i = eo(),
- s = eo(),
- l = eo(),
- u = Dg(An);
- let a = An;
- gn &&
- e.scrollBehavior &&
- 'scrollRestoration' in history &&
- (history.scrollRestoration = 'manual');
- const c = Xs.bind(null, x => '' + x),
- f = Xs.bind(null, Mw),
- d = Xs.bind(null, Ro);
- function h(x, L) {
- let W, te;
- return (
- xp(x) ? ((W = t.getRecordMatcher(x)), (te = L)) : (te = x),
- t.addRoute(te, W)
- );
- }
- function g(x) {
- const L = t.getRecordMatcher(x);
- L
- ? t.removeRoute(L)
- : Se(`Cannot remove non-existent route "${String(x)}"`);
- }
- function _() {
- return t.getRoutes().map(x => x.record);
- }
- function w(x) {
- return !!t.getRecordMatcher(x);
- }
- function b(x, L) {
- if (((L = xe({}, L || u.value)), typeof x == 'string')) {
- const y = Zs(n, x, L.path),
- E = t.resolve({ path: y.path }, L),
- $ = o.createHref(y.fullPath);
- return (
- $.startsWith('//')
- ? Se(
- `Location "${x}" resolved to "${$}". A resolved location cannot start with multiple slashes.`
- )
- : E.matched.length ||
- Se(`No match found for location with path "${x}"`),
- xe(y, E, {
- params: d(E.params),
- hash: Ro(y.hash),
- redirectedFrom: void 0,
- href: $
- })
- );
- }
- let W;
- if ('path' in x)
- 'params' in x &&
- !('name' in x) &&
- Object.keys(x.params).length &&
- Se(
- `Path "${x.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`
- ),
- (W = xe({}, x, { path: Zs(n, x.path, L.path).path }));
- else {
- const y = xe({}, x.params);
- for (const E in y) y[E] == null && delete y[E];
- (W = xe({}, x, { params: f(y) })), (L.params = f(L.params));
- }
- const te = t.resolve(W, L),
- ce = x.hash || '';
- ce &&
- !ce.startsWith('#') &&
- Se(
- `A \`hash\` should always start with the character "#". Replace "${ce}" with "#${ce}".`
- ),
- (te.params = c(d(te.params)));
- const ve = U0(r, xe({}, x, { hash: Iw(ce), path: te.path })),
- m = o.createHref(ve);
- return (
- m.startsWith('//')
- ? Se(
- `Location "${x}" resolved to "${m}". A resolved location cannot start with multiple slashes.`
- )
- : te.matched.length ||
- Se(
- `No match found for location with path "${
- 'path' in x ? x.path : x
- }"`
- ),
- xe(
- {
- fullPath: ve,
- hash: ce,
- query: r === Iu ? Bw(x.query) : x.query || {}
- },
- te,
- { redirectedFrom: void 0, href: m }
- )
- );
- }
- function A(x) {
- return typeof x == 'string' ? Zs(n, x, u.value.path) : xe({}, x);
- }
- function M(x, L) {
- if (a !== x) return Dr(8, { from: L, to: x });
- }
- function Z(x) {
- return F(x);
- }
- function I(x) {
- return Z(xe(A(x), { replace: !0 }));
- }
- function Q(x) {
- const L = x.matched[x.matched.length - 1];
- if (L && L.redirect) {
- const { redirect: W } = L;
- let te = typeof W == 'function' ? W(x) : W;
- if (
- (typeof te == 'string' &&
- ((te =
- te.includes('?') || te.includes('#') ? (te = A(te)) : { path: te }),
- (te.params = {})),
- !('path' in te) && !('name' in te))
- )
- throw (
- (Se(`Invalid redirect found:
- ${JSON.stringify(te, null, 2)}
- when navigating to "${
- x.fullPath
- }". A redirect must contain a name or path. This will break in production.`),
- new Error('Invalid redirect'))
- );
- return xe(
- { query: x.query, hash: x.hash, params: 'path' in te ? {} : x.params },
- te
- );
- }
- }
- function F(x, L) {
- const W = (a = b(x)),
- te = u.value,
- ce = x.state,
- ve = x.force,
- m = x.replace === !0,
- y = Q(W);
- if (y)
- return F(
- xe(A(y), {
- state: typeof y == 'object' ? xe({}, ce, y.state) : ce,
- force: ve,
- replace: m
- }),
- L || W
- );
- const E = W;
- E.redirectedFrom = L;
- let $;
- return (
- !ve &&
- wu(r, te, W) &&
- (($ = Dr(16, { to: E, from: te })), we(te, te, !0, !1)),
- ($ ? Promise.resolve($) : O(E, te))
- .catch(C => (fn(C) ? (fn(C, 2) ? C : he(C)) : z(C, E, te)))
- .then(C => {
- if (C) {
- if (fn(C, 2))
- return wu(r, b(C.to), E) &&
- L &&
- (L._count = L._count ? L._count + 1 : 1) > 30
- ? (Se(`Detected a possibly infinite redirection in a navigation guard when going from "${te.fullPath}" to "${E.fullPath}". Aborting to avoid a Stack Overflow.
- Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),
- Promise.reject(
- new Error('Infinite redirect in navigation guard')
- ))
- : F(
- xe({ replace: m }, A(C.to), {
- state:
- typeof C.to == 'object' ? xe({}, ce, C.to.state) : ce,
- force: ve
- }),
- L || E
- );
- } else C = P(E, te, !0, m, ce);
- return B(E, te, C), C;
- })
- );
- }
- function K(x, L) {
- const W = M(x, L);
- return W ? Promise.reject(W) : Promise.resolve();
- }
- function D(x) {
- const L = Fe.values().next().value;
- return L && typeof L.runWithContext == 'function'
- ? L.runWithContext(x)
- : x();
- }
- function O(x, L) {
- let W;
- const [te, ce, ve] = nE(x, L);
- W = ea(te.reverse(), 'beforeRouteLeave', x, L);
- for (const y of te)
- y.leaveGuards.forEach(E => {
- W.push(Pn(E, x, L));
- });
- const m = K.bind(null, x, L);
- return (
- W.push(m),
- je(W)
- .then(() => {
- W = [];
- for (const y of i.list()) W.push(Pn(y, x, L));
- return W.push(m), je(W);
- })
- .then(() => {
- W = ea(ce, 'beforeRouteUpdate', x, L);
- for (const y of ce)
- y.updateGuards.forEach(E => {
- W.push(Pn(E, x, L));
- });
- return W.push(m), je(W);
- })
- .then(() => {
- W = [];
- for (const y of x.matched)
- if (y.beforeEnter && !L.matched.includes(y))
- if (St(y.beforeEnter))
- for (const E of y.beforeEnter) W.push(Pn(E, x, L));
- else W.push(Pn(y.beforeEnter, x, L));
- return W.push(m), je(W);
- })
- .then(
- () => (
- x.matched.forEach(y => (y.enterCallbacks = {})),
- (W = ea(ve, 'beforeRouteEnter', x, L)),
- W.push(m),
- je(W)
- )
- )
- .then(() => {
- W = [];
- for (const y of s.list()) W.push(Pn(y, x, L));
- return W.push(m), je(W);
- })
- .catch(y => (fn(y, 8) ? y : Promise.reject(y)))
- );
- }
- function B(x, L, W) {
- for (const te of l.list()) D(() => te(x, L, W));
- }
- function P(x, L, W, te, ce) {
- const ve = M(x, L);
- if (ve) return ve;
- const m = L === An,
- y = gn ? history.state : {};
- W &&
- (te || m
- ? o.replace(x.fullPath, xe({ scroll: m && y && y.scroll }, ce))
- : o.push(x.fullPath, ce)),
- (u.value = x),
- we(x, L, W, m),
- he();
- }
- let R;
- function U() {
- R ||
- (R = o.listen((x, L, W) => {
- if (!Ne.listening) return;
- const te = b(x),
- ce = Q(te);
- if (ce) {
- F(xe(ce, { replace: !0 }), te).catch(po);
- return;
- }
- a = te;
- const ve = u.value;
- gn && Y0(Su(ve.fullPath, W.delta), Os()),
- O(te, ve)
- .catch(m =>
- fn(m, 12)
- ? m
- : fn(m, 2)
- ? (F(m.to, te)
- .then(y => {
- fn(y, 20) &&
- !W.delta &&
- W.type === Io.pop &&
- o.go(-1, !1);
- })
- .catch(po),
- Promise.reject())
- : (W.delta && o.go(-W.delta, !1), z(m, te, ve))
- )
- .then(m => {
- (m = m || P(te, ve, !1)),
- m &&
- (W.delta && !fn(m, 8)
- ? o.go(-W.delta, !1)
- : W.type === Io.pop && fn(m, 20) && o.go(-1, !1)),
- B(te, ve, m);
- })
- .catch(po);
- }));
- }
- let H = eo(),
- ee = eo(),
- k;
- function z(x, L, W) {
- he(x);
- const te = ee.list();
- return (
- te.length
- ? te.forEach(ce => ce(x, L, W))
- : (Se('uncaught error during route navigation:'), console.error(x)),
- Promise.reject(x)
- );
- }
- function oe() {
- return k && u.value !== An
- ? Promise.resolve()
- : new Promise((x, L) => {
- H.add([x, L]);
- });
- }
- function he(x) {
- return (
- k ||
- ((k = !x),
- U(),
- H.list().forEach(([L, W]) => (x ? W(x) : L())),
- H.reset()),
- x
- );
- }
- function we(x, L, W, te) {
- const { scrollBehavior: ce } = e;
- if (!gn || !ce) return Promise.resolve();
- const ve =
- (!W && J0(Su(x.fullPath, 0))) ||
- ((te || !W) && history.state && history.state.scroll) ||
- null;
- return Pt()
- .then(() => ce(x, L, ve))
- .then(m => m && G0(m))
- .catch(m => z(m, x, L));
- }
- const ge = x => o.go(x);
- let Ee;
- const Fe = new Set(),
- Ne = {
- currentRoute: u,
- listening: !0,
- addRoute: h,
- removeRoute: g,
- hasRoute: w,
- getRoutes: _,
- resolve: b,
- options: e,
- push: Z,
- replace: I,
- go: ge,
- back: () => ge(-1),
- forward: () => ge(1),
- beforeEach: i.add,
- beforeResolve: s.add,
- afterEach: l.add,
- onError: ee.add,
- isReady: oe,
- install(x) {
- const L = this;
- x.component('RouterLink', Uw),
- x.component('RouterView', kp),
- (x.config.globalProperties.$router = L),
- Object.defineProperty(x.config.globalProperties, '$route', {
- enumerable: !0,
- get: () => Rt(u)
- }),
- gn &&
- !Ee &&
- u.value === An &&
- ((Ee = !0),
- Z(o.location).catch(ce => {
- Se('Unexpected error when starting the router:', ce);
- }));
- const W = {};
- for (const ce in An) W[ce] = Me(() => u.value[ce]);
- x.provide(xs, L), x.provide(Dl, vt(W)), x.provide(qa, u);
- const te = x.unmount;
- Fe.add(x),
- (x.unmount = function () {
- Fe.delete(x),
- Fe.size < 1 &&
- ((a = An),
- R && R(),
- (R = null),
- (u.value = An),
- (Ee = !1),
- (k = !1)),
- te();
- }),
- gn && Kw(x, L, t);
- }
- };
- function je(x) {
- return x.reduce((L, W) => L.then(() => D(W)), Promise.resolve());
- }
- return Ne;
- }
- function nE(e, t) {
- const n = [],
- r = [],
- o = [],
- i = Math.max(t.matched.length, e.matched.length);
- for (let s = 0; s < i; s++) {
- const l = t.matched[s];
- l && (e.matched.find(a => Hn(a, l)) ? r.push(l) : n.push(l));
- const u = e.matched[s];
- u && (t.matched.find(a => Hn(a, u)) || o.push(u));
- }
- return [n, r, o];
- }
- function rE() {
- return rt(xs);
- }
- function oE() {
- return rt(Dl);
- }
- const iE = window.postMessage;
- window.postMessage = e => {
- iE(e, '*');
- };
- const Gi = () => {},
- mo = {},
- sE = qo();
- sE.isApp &&
- window.addEventListener('message', e => {
- var t, n, r;
- try {
- console.log('app交互接受:', e.data);
- const o = e.data
- ? typeof e.data == 'object'
- ? e.data
- : JSON.parse(e.data)
- : {},
- i = ((t = o.content) == null ? void 0 : t.uuid) || o.uuid;
- console.log(i, o.content, 'uuid');
- try {
- o.content && (o.content = JSON.parse(o.content));
- } catch (u) {}
- if (((n = o == null ? void 0 : o.content) != null && n.uuid, !i)) {
- const u = Object.keys(mo).filter(a => a.indexOf(o.api) === 0);
- for (const a of u) {
- const c = mo[a] || Gi;
- typeof c == 'function' && c(o);
- }
- return;
- }
- const s =
- ((r = o.content) == null ? void 0 : r.uuid) ||
- o.uuid ||
- o.api + o.uuid,
- l = mo[s] || Gi;
- typeof l == 'function' && l(o);
- } catch (o) {
- console.error('通信消息解析错误', o);
- }
- });
- var Ef, Sf, Of, xf, Af, Tf;
- const Va =
- window.DAYA ||
- ((Sf = (Ef = window.webkit) == null ? void 0 : Ef.messageHandlers) == null
- ? void 0
- : Sf.DAYA) ||
- window.COLEXIU ||
- ((xf = (Of = window.webkit) == null ? void 0 : Of.messageHandlers) == null
- ? void 0
- : xf.COLEXIU) ||
- window.ORCHESTRA ||
- ((Tf = (Af = window.webkit) == null ? void 0 : Af.messageHandlers) == null
- ? void 0
- : Tf.ORCHESTRA),
- Hr = (e, t) => {
- if (Va) {
- const n = Kd();
- (mo[n] = t || Gi),
- (e.content = e.content ? { ...e.content, uuid: n } : { uuid: n }),
- console.log('app交互发送:', e),
- Va.postMessage(JSON.stringify(e));
- }
- },
- A1 = (e, t) => {
- if (Va) {
- const n = e + Kd();
- mo[n] = t || Gi;
- }
- },
- aE = e =>
- new Promise(t => {
- Hr(e, n => t(n));
- }),
- lE = 'modulepreload',
- cE = function (e, t) {
- return new URL(e, t).href;
- },
- Du = {},
- Be = function (t, n, r) {
- if (!n || n.length === 0) return t();
- const o = document.getElementsByTagName('link');
- return Promise.all(
- n.map(i => {
- if (((i = cE(i, r)), i in Du)) return;
- Du[i] = !0;
- const s = i.endsWith('.css'),
- l = s ? '[rel="stylesheet"]' : '';
- if (!!r)
- for (let c = o.length - 1; c >= 0; c--) {
- const f = o[c];
- if (f.href === i && (!s || f.rel === 'stylesheet')) return;
- }
- else if (document.querySelector(`link[href="${i}"]${l}`)) return;
- const a = document.createElement('link');
- if (
- ((a.rel = s ? 'stylesheet' : lE),
- s || ((a.as = 'script'), (a.crossOrigin = '')),
- (a.href = i),
- document.head.appendChild(a),
- s)
- )
- return new Promise((c, f) => {
- a.addEventListener('load', c),
- a.addEventListener('error', () =>
- f(new Error(`Unable to preload CSS for ${i}`))
- );
- });
- })
- ).then(() => t());
- },
- uE = '_error_1i228_1',
- fE = '_info_1i228_9',
- dE = { error: uE, info: fE },
- gt = vt({
- user: { status: 'init', data: {} },
- navBarHeight: 0,
- ossUploadUrl: 'https://ks3-cn-beijing.ksyuncs.com/'
- }),
- pE = e => {
- (gt.user.status = 'login'), (gt.user.data = e);
- },
- Wa = () => {
- (gt.user.status = 'logout'), (gt.user.data = null);
- },
- Up = () => {
- (gt.user.status = 'error'), (gt.user.data = null);
- },
- T1 = (e, t) => {
- {
- const n =
- `https://online.lexiaoya.cn/getWxCode?appid=${
- e || 'wx8654c671631cfade'
- }&state=STATE&redirect_uri=` +
- encodeURIComponent(t || window.location.href);
- window.location.replace(n);
- }
- },
- Lu = 60 * 60 * 24 * 7,
- hE = ({ prefixKey: e = '', storage: t = sessionStorage } = {}) => {
- const n = class {
- constructor() {
- Ns(this, 'storage', t);
- Ns(this, 'prefixKey', e);
- }
- getKey(r) {
- return `${this.prefixKey}${r}`.toUpperCase();
- }
- set(r, o, i = Lu) {
- const s = JSON.stringify({
- value: o,
- expire: i !== null ? new Date().getTime() + i * 1e3 : null
- });
- this.storage.setItem(this.getKey(r), s);
- }
- get(r, o = null) {
- const i = this.storage.getItem(this.getKey(r));
- if (i)
- try {
- const s = JSON.parse(i),
- { value: l, expire: u } = s;
- if (u === null || u >= Date.now()) return l;
- this.remove(r);
- } catch (s) {
- return o;
- }
- return o;
- }
- remove(r) {
- this.storage.removeItem(this.getKey(r));
- }
- clear() {
- this.storage.clear();
- }
- setCookie(r, o, i = Lu) {
- document.cookie = `${this.getKey(r)}=${o}; Max-Age=${i}`;
- }
- getCookie(r) {
- const o = document.cookie.split('; ');
- for (let i = 0, s = o.length; i < s; i++) {
- const l = o[i].split('=');
- if (l[0] === this.getKey(r)) return l[1];
- }
- return '';
- }
- removeCookie(r) {
- this.setCookie(r, 1, -1);
- }
- clearCookie() {
- const r = document.cookie.match(/[^ =;]+(?==)/g);
- if (r)
- for (let o = r.length; o--; )
- document.cookie = r[o] + '=0;expire=' + new Date(0).toUTCString();
- }
- };
- return new n();
- },
- Ll = hE(),
- Nl = 'ACCESS-TOKEN';
- var mE = function () {
- if (
- typeof Symbol != 'function' ||
- typeof Object.getOwnPropertySymbols != 'function'
- )
- return !1;
- if (typeof Symbol.iterator == 'symbol') return !0;
- var t = {},
- n = Symbol('test'),
- r = Object(n);
- if (
- typeof n == 'string' ||
- Object.prototype.toString.call(n) !== '[object Symbol]' ||
- Object.prototype.toString.call(r) !== '[object Symbol]'
- )
- return !1;
- var o = 42;
- t[n] = o;
- for (n in t) return !1;
- if (
- (typeof Object.keys == 'function' && Object.keys(t).length !== 0) ||
- (typeof Object.getOwnPropertyNames == 'function' &&
- Object.getOwnPropertyNames(t).length !== 0)
- )
- return !1;
- var i = Object.getOwnPropertySymbols(t);
- if (
- i.length !== 1 ||
- i[0] !== n ||
- !Object.prototype.propertyIsEnumerable.call(t, n)
- )
- return !1;
- if (typeof Object.getOwnPropertyDescriptor == 'function') {
- var s = Object.getOwnPropertyDescriptor(t, n);
- if (s.value !== o || s.enumerable !== !0) return !1;
- }
- return !0;
- },
- Nu = typeof Symbol < 'u' && Symbol,
- gE = mE,
- yE = function () {
- return typeof Nu != 'function' ||
- typeof Symbol != 'function' ||
- typeof Nu('foo') != 'symbol' ||
- typeof Symbol('bar') != 'symbol'
- ? !1
- : gE();
- },
- ju = { foo: {} },
- vE = Object,
- bE = function () {
- return (
- { __proto__: ju }.foo === ju.foo && !({ __proto__: null } instanceof vE)
- );
- },
- _E = 'Function.prototype.bind called on incompatible ',
- ta = Array.prototype.slice,
- wE = Object.prototype.toString,
- EE = '[object Function]',
- SE = function (t) {
- var n = this;
- if (typeof n != 'function' || wE.call(n) !== EE)
- throw new TypeError(_E + n);
- for (
- var r = ta.call(arguments, 1),
- o,
- i = function () {
- if (this instanceof o) {
- var c = n.apply(this, r.concat(ta.call(arguments)));
- return Object(c) === c ? c : this;
- } else return n.apply(t, r.concat(ta.call(arguments)));
- },
- s = Math.max(0, n.length - r.length),
- l = [],
- u = 0;
- u < s;
- u++
- )
- l.push('$' + u);
- if (
- ((o = Function(
- 'binder',
- 'return function (' +
- l.join(',') +
- '){ return binder.apply(this,arguments); }'
- )(i)),
- n.prototype)
- ) {
- var a = function () {};
- (a.prototype = n.prototype),
- (o.prototype = new a()),
- (a.prototype = null);
- }
- return o;
- },
- OE = SE,
- jl = Function.prototype.bind || OE,
- xE = jl,
- AE = xE.call(Function.call, Object.prototype.hasOwnProperty),
- _e,
- Lr = SyntaxError,
- Hp = Function,
- Mr = TypeError,
- na = function (e) {
- try {
- return Hp('"use strict"; return (' + e + ').constructor;')();
- } catch (t) {}
- },
- cr = Object.getOwnPropertyDescriptor;
- if (cr)
- try {
- cr({}, '');
- } catch (e) {
- cr = null;
- }
- var ra = function () {
- throw new Mr();
- },
- TE = cr
- ? (function () {
- try {
- return arguments.callee, ra;
- } catch (e) {
- try {
- return cr(arguments, 'callee').get;
- } catch (t) {
- return ra;
- }
- }
- })()
- : ra,
- Or = yE(),
- CE = bE(),
- Ve =
- Object.getPrototypeOf ||
- (CE
- ? function (e) {
- return e.__proto__;
- }
- : null),
- Tr = {},
- $E = typeof Uint8Array > 'u' || !Ve ? _e : Ve(Uint8Array),
- ur = {
- '%AggregateError%': typeof AggregateError > 'u' ? _e : AggregateError,
- '%Array%': Array,
- '%ArrayBuffer%': typeof ArrayBuffer > 'u' ? _e : ArrayBuffer,
- '%ArrayIteratorPrototype%': Or && Ve ? Ve([][Symbol.iterator]()) : _e,
- '%AsyncFromSyncIteratorPrototype%': _e,
- '%AsyncFunction%': Tr,
- '%AsyncGenerator%': Tr,
- '%AsyncGeneratorFunction%': Tr,
- '%AsyncIteratorPrototype%': Tr,
- '%Atomics%': typeof Atomics > 'u' ? _e : Atomics,
- '%BigInt%': typeof BigInt > 'u' ? _e : BigInt,
- '%BigInt64Array%': typeof BigInt64Array > 'u' ? _e : BigInt64Array,
- '%BigUint64Array%': typeof BigUint64Array > 'u' ? _e : BigUint64Array,
- '%Boolean%': Boolean,
- '%DataView%': typeof DataView > 'u' ? _e : DataView,
- '%Date%': Date,
- '%decodeURI%': decodeURI,
- '%decodeURIComponent%': decodeURIComponent,
- '%encodeURI%': encodeURI,
- '%encodeURIComponent%': encodeURIComponent,
- '%Error%': Error,
- '%eval%': eval,
- '%EvalError%': EvalError,
- '%Float32Array%': typeof Float32Array > 'u' ? _e : Float32Array,
- '%Float64Array%': typeof Float64Array > 'u' ? _e : Float64Array,
- '%FinalizationRegistry%':
- typeof FinalizationRegistry > 'u' ? _e : FinalizationRegistry,
- '%Function%': Hp,
- '%GeneratorFunction%': Tr,
- '%Int8Array%': typeof Int8Array > 'u' ? _e : Int8Array,
- '%Int16Array%': typeof Int16Array > 'u' ? _e : Int16Array,
- '%Int32Array%': typeof Int32Array > 'u' ? _e : Int32Array,
- '%isFinite%': isFinite,
- '%isNaN%': isNaN,
- '%IteratorPrototype%': Or && Ve ? Ve(Ve([][Symbol.iterator]())) : _e,
- '%JSON%': typeof JSON == 'object' ? JSON : _e,
- '%Map%': typeof Map > 'u' ? _e : Map,
- '%MapIteratorPrototype%':
- typeof Map > 'u' || !Or || !Ve ? _e : Ve(new Map()[Symbol.iterator]()),
- '%Math%': Math,
- '%Number%': Number,
- '%Object%': Object,
- '%parseFloat%': parseFloat,
- '%parseInt%': parseInt,
- '%Promise%': typeof Promise > 'u' ? _e : Promise,
- '%Proxy%': typeof Proxy > 'u' ? _e : Proxy,
- '%RangeError%': RangeError,
- '%ReferenceError%': ReferenceError,
- '%Reflect%': typeof Reflect > 'u' ? _e : Reflect,
- '%RegExp%': RegExp,
- '%Set%': typeof Set > 'u' ? _e : Set,
- '%SetIteratorPrototype%':
- typeof Set > 'u' || !Or || !Ve ? _e : Ve(new Set()[Symbol.iterator]()),
- '%SharedArrayBuffer%':
- typeof SharedArrayBuffer > 'u' ? _e : SharedArrayBuffer,
- '%String%': String,
- '%StringIteratorPrototype%': Or && Ve ? Ve(''[Symbol.iterator]()) : _e,
- '%Symbol%': Or ? Symbol : _e,
- '%SyntaxError%': Lr,
- '%ThrowTypeError%': TE,
- '%TypedArray%': $E,
- '%TypeError%': Mr,
- '%Uint8Array%': typeof Uint8Array > 'u' ? _e : Uint8Array,
- '%Uint8ClampedArray%':
- typeof Uint8ClampedArray > 'u' ? _e : Uint8ClampedArray,
- '%Uint16Array%': typeof Uint16Array > 'u' ? _e : Uint16Array,
- '%Uint32Array%': typeof Uint32Array > 'u' ? _e : Uint32Array,
- '%URIError%': URIError,
- '%WeakMap%': typeof WeakMap > 'u' ? _e : WeakMap,
- '%WeakRef%': typeof WeakRef > 'u' ? _e : WeakRef,
- '%WeakSet%': typeof WeakSet > 'u' ? _e : WeakSet
- };
- if (Ve)
- try {
- null.error;
- } catch (e) {
- var PE = Ve(Ve(e));
- ur['%Error.prototype%'] = PE;
- }
- var IE = function e(t) {
- var n;
- if (t === '%AsyncFunction%') n = na('async function () {}');
- else if (t === '%GeneratorFunction%') n = na('function* () {}');
- else if (t === '%AsyncGeneratorFunction%') n = na('async function* () {}');
- else if (t === '%AsyncGenerator%') {
- var r = e('%AsyncGeneratorFunction%');
- r && (n = r.prototype);
- } else if (t === '%AsyncIteratorPrototype%') {
- var o = e('%AsyncGenerator%');
- o && Ve && (n = Ve(o.prototype));
- }
- return (ur[t] = n), n;
- },
- Uu = {
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
- '%ArrayPrototype%': ['Array', 'prototype'],
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
- '%AsyncGeneratorPrototype%': [
- 'AsyncGeneratorFunction',
- 'prototype',
- 'prototype'
- ],
- '%BooleanPrototype%': ['Boolean', 'prototype'],
- '%DataViewPrototype%': ['DataView', 'prototype'],
- '%DatePrototype%': ['Date', 'prototype'],
- '%ErrorPrototype%': ['Error', 'prototype'],
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
- '%FunctionPrototype%': ['Function', 'prototype'],
- '%Generator%': ['GeneratorFunction', 'prototype'],
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
- '%JSONParse%': ['JSON', 'parse'],
- '%JSONStringify%': ['JSON', 'stringify'],
- '%MapPrototype%': ['Map', 'prototype'],
- '%NumberPrototype%': ['Number', 'prototype'],
- '%ObjectPrototype%': ['Object', 'prototype'],
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
- '%PromisePrototype%': ['Promise', 'prototype'],
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
- '%Promise_all%': ['Promise', 'all'],
- '%Promise_reject%': ['Promise', 'reject'],
- '%Promise_resolve%': ['Promise', 'resolve'],
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
- '%RegExpPrototype%': ['RegExp', 'prototype'],
- '%SetPrototype%': ['Set', 'prototype'],
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
- '%StringPrototype%': ['String', 'prototype'],
- '%SymbolPrototype%': ['Symbol', 'prototype'],
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
- '%URIErrorPrototype%': ['URIError', 'prototype'],
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
- },
- Wo = jl,
- Yi = AE,
- RE = Wo.call(Function.call, Array.prototype.concat),
- kE = Wo.call(Function.apply, Array.prototype.splice),
- Hu = Wo.call(Function.call, String.prototype.replace),
- Ji = Wo.call(Function.call, String.prototype.slice),
- ME = Wo.call(Function.call, RegExp.prototype.exec),
- FE =
- /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
- BE = /\\(\\)?/g,
- DE = function (t) {
- var n = Ji(t, 0, 1),
- r = Ji(t, -1);
- if (n === '%' && r !== '%')
- throw new Lr('invalid intrinsic syntax, expected closing `%`');
- if (r === '%' && n !== '%')
- throw new Lr('invalid intrinsic syntax, expected opening `%`');
- var o = [];
- return (
- Hu(t, FE, function (i, s, l, u) {
- o[o.length] = l ? Hu(u, BE, '$1') : s || i;
- }),
- o
- );
- },
- LE = function (t, n) {
- var r = t,
- o;
- if ((Yi(Uu, r) && ((o = Uu[r]), (r = '%' + o[0] + '%')), Yi(ur, r))) {
- var i = ur[r];
- if ((i === Tr && (i = IE(r)), typeof i > 'u' && !n))
- throw new Mr(
- 'intrinsic ' +
- t +
- ' exists, but is not available. Please file an issue!'
- );
- return { alias: o, name: r, value: i };
- }
- throw new Lr('intrinsic ' + t + ' does not exist!');
- },
- Ul = function (t, n) {
- if (typeof t != 'string' || t.length === 0)
- throw new Mr('intrinsic name must be a non-empty string');
- if (arguments.length > 1 && typeof n != 'boolean')
- throw new Mr('"allowMissing" argument must be a boolean');
- if (ME(/^%?[^%]*%?$/, t) === null)
- throw new Lr(
- '`%` may not be present anywhere but at the beginning and end of the intrinsic name'
- );
- var r = DE(t),
- o = r.length > 0 ? r[0] : '',
- i = LE('%' + o + '%', n),
- s = i.name,
- l = i.value,
- u = !1,
- a = i.alias;
- a && ((o = a[0]), kE(r, RE([0, 1], a)));
- for (var c = 1, f = !0; c < r.length; c += 1) {
- var d = r[c],
- h = Ji(d, 0, 1),
- g = Ji(d, -1);
- if (
- (h === '"' ||
- h === "'" ||
- h === '`' ||
- g === '"' ||
- g === "'" ||
- g === '`') &&
- h !== g
- )
- throw new Lr('property names with quotes must have matching quotes');
- if (
- ((d === 'constructor' || !f) && (u = !0),
- (o += '.' + d),
- (s = '%' + o + '%'),
- Yi(ur, s))
- )
- l = ur[s];
- else if (l != null) {
- if (!(d in l)) {
- if (!n)
- throw new Mr(
- 'base intrinsic for ' +
- t +
- ' exists, but the property is not available.'
- );
- return;
- }
- if (cr && c + 1 >= r.length) {
- var _ = cr(l, d);
- (f = !!_),
- f && 'get' in _ && !('originalValue' in _.get)
- ? (l = _.get)
- : (l = l[d]);
- } else (f = Yi(l, d)), (l = l[d]);
- f && !u && (ur[s] = l);
- }
- }
- return l;
- },
- qp = { exports: {} };
- (function (e) {
- var t = jl,
- n = Ul,
- r = n('%Function.prototype.apply%'),
- o = n('%Function.prototype.call%'),
- i = n('%Reflect.apply%', !0) || t.call(o, r),
- s = n('%Object.getOwnPropertyDescriptor%', !0),
- l = n('%Object.defineProperty%', !0),
- u = n('%Math.max%');
- if (l)
- try {
- l({}, 'a', { value: 1 });
- } catch (c) {
- l = null;
- }
- e.exports = function (f) {
- var d = i(t, o, arguments);
- if (s && l) {
- var h = s(d, 'length');
- h.configurable &&
- l(d, 'length', { value: 1 + u(0, f.length - (arguments.length - 1)) });
- }
- return d;
- };
- var a = function () {
- return i(t, r, arguments);
- };
- l ? l(e.exports, 'apply', { value: a }) : (e.exports.apply = a);
- })(qp);
- var NE = qp.exports,
- zp = Ul,
- Vp = NE,
- jE = Vp(zp('String.prototype.indexOf')),
- UE = function (t, n) {
- var r = zp(t, !!n);
- return typeof r == 'function' && jE(t, '.prototype.') > -1 ? Vp(r) : r;
- };
- const HE = new Proxy(
- {},
- {
- get(e, t) {
- throw new Error(
- `Module "" has been externalized for browser compatibility. Cannot access ".${t}" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`
- );
- }
- }
- ),
- qE = Object.freeze(
- Object.defineProperty(
- { __proto__: null, default: HE },
- Symbol.toStringTag,
- { value: 'Module' }
- )
- ),
- zE = hb(qE);
- var Hl = typeof Map == 'function' && Map.prototype,
- oa =
- Object.getOwnPropertyDescriptor && Hl
- ? Object.getOwnPropertyDescriptor(Map.prototype, 'size')
- : null,
- Qi = Hl && oa && typeof oa.get == 'function' ? oa.get : null,
- qu = Hl && Map.prototype.forEach,
- ql = typeof Set == 'function' && Set.prototype,
- ia =
- Object.getOwnPropertyDescriptor && ql
- ? Object.getOwnPropertyDescriptor(Set.prototype, 'size')
- : null,
- Xi = ql && ia && typeof ia.get == 'function' ? ia.get : null,
- zu = ql && Set.prototype.forEach,
- VE = typeof WeakMap == 'function' && WeakMap.prototype,
- go = VE ? WeakMap.prototype.has : null,
- WE = typeof WeakSet == 'function' && WeakSet.prototype,
- yo = WE ? WeakSet.prototype.has : null,
- KE = typeof WeakRef == 'function' && WeakRef.prototype,
- Vu = KE ? WeakRef.prototype.deref : null,
- GE = Boolean.prototype.valueOf,
- YE = Object.prototype.toString,
- JE = Function.prototype.toString,
- QE = String.prototype.match,
- zl = String.prototype.slice,
- Mn = String.prototype.replace,
- XE = String.prototype.toUpperCase,
- Wu = String.prototype.toLowerCase,
- Wp = RegExp.prototype.test,
- Ku = Array.prototype.concat,
- Vt = Array.prototype.join,
- ZE = Array.prototype.slice,
- Gu = Math.floor,
- Ka = typeof BigInt == 'function' ? BigInt.prototype.valueOf : null,
- sa = Object.getOwnPropertySymbols,
- Ga =
- typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
- ? Symbol.prototype.toString
- : null,
- Nr = typeof Symbol == 'function' && typeof Symbol.iterator == 'object',
- st =
- typeof Symbol == 'function' &&
- Symbol.toStringTag &&
- (typeof Symbol.toStringTag === Nr || 'symbol')
- ? Symbol.toStringTag
- : null,
- Kp = Object.prototype.propertyIsEnumerable,
- Yu =
- (typeof Reflect == 'function'
- ? Reflect.getPrototypeOf
- : Object.getPrototypeOf) ||
- ([].__proto__ === Array.prototype
- ? function (e) {
- return e.__proto__;
- }
- : null);
- function Ju(e, t) {
- if (
- e === 1 / 0 ||
- e === -1 / 0 ||
- e !== e ||
- (e && e > -1e3 && e < 1e3) ||
- Wp.call(/e/, t)
- )
- return t;
- var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
- if (typeof e == 'number') {
- var r = e < 0 ? -Gu(-e) : Gu(e);
- if (r !== e) {
- var o = String(r),
- i = zl.call(t, o.length + 1);
- return (
- Mn.call(o, n, '$&_') +
- '.' +
- Mn.call(Mn.call(i, /([0-9]{3})/g, '$&_'), /_$/, '')
- );
- }
- }
- return Mn.call(t, n, '$&_');
- }
- var Ya = zE,
- Qu = Ya.custom,
- Xu = Yp(Qu) ? Qu : null,
- eS = function e(t, n, r, o) {
- var i = n || {};
- if (
- In(i, 'quoteStyle') &&
- i.quoteStyle !== 'single' &&
- i.quoteStyle !== 'double'
- )
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
- if (
- In(i, 'maxStringLength') &&
- (typeof i.maxStringLength == 'number'
- ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0
- : i.maxStringLength !== null)
- )
- throw new TypeError(
- 'option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'
- );
- var s = In(i, 'customInspect') ? i.customInspect : !0;
- if (typeof s != 'boolean' && s !== 'symbol')
- throw new TypeError(
- 'option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'
- );
- if (
- In(i, 'indent') &&
- i.indent !== null &&
- i.indent !== ' ' &&
- !(parseInt(i.indent, 10) === i.indent && i.indent > 0)
- )
- throw new TypeError(
- 'option "indent" must be "\\t", an integer > 0, or `null`'
- );
- if (In(i, 'numericSeparator') && typeof i.numericSeparator != 'boolean')
- throw new TypeError(
- 'option "numericSeparator", if provided, must be `true` or `false`'
- );
- var l = i.numericSeparator;
- if (typeof t > 'u') return 'undefined';
- if (t === null) return 'null';
- if (typeof t == 'boolean') return t ? 'true' : 'false';
- if (typeof t == 'string') return Qp(t, i);
- if (typeof t == 'number') {
- if (t === 0) return 1 / 0 / t > 0 ? '0' : '-0';
- var u = String(t);
- return l ? Ju(t, u) : u;
- }
- if (typeof t == 'bigint') {
- var a = String(t) + 'n';
- return l ? Ju(t, a) : a;
- }
- var c = typeof i.depth > 'u' ? 5 : i.depth;
- if ((typeof r > 'u' && (r = 0), r >= c && c > 0 && typeof t == 'object'))
- return Ja(t) ? '[Array]' : '[Object]';
- var f = vS(i, r);
- if (typeof o > 'u') o = [];
- else if (Jp(o, t) >= 0) return '[Circular]';
- function d(R, U, H) {
- if ((U && ((o = ZE.call(o)), o.push(U)), H)) {
- var ee = { depth: i.depth };
- return (
- In(i, 'quoteStyle') && (ee.quoteStyle = i.quoteStyle),
- e(R, ee, r + 1, o)
- );
- }
- return e(R, i, r + 1, o);
- }
- if (typeof t == 'function' && !Zu(t)) {
- var h = cS(t),
- g = yi(t, d);
- return (
- '[Function' +
- (h ? ': ' + h : ' (anonymous)') +
- ']' +
- (g.length > 0 ? ' { ' + Vt.call(g, ', ') + ' }' : '')
- );
- }
- if (Yp(t)) {
- var _ = Nr
- ? Mn.call(String(t), /^(Symbol\(.*\))_[^)]*$/, '$1')
- : Ga.call(t);
- return typeof t == 'object' && !Nr ? no(_) : _;
- }
- if (mS(t)) {
- for (
- var w = '<' + Wu.call(String(t.nodeName)),
- b = t.attributes || [],
- A = 0;
- A < b.length;
- A++
- )
- w += ' ' + b[A].name + '=' + Gp(tS(b[A].value), 'double', i);
- return (
- (w += '>'),
- t.childNodes && t.childNodes.length && (w += '...'),
- (w += '</' + Wu.call(String(t.nodeName)) + '>'),
- w
- );
- }
- if (Ja(t)) {
- if (t.length === 0) return '[]';
- var M = yi(t, d);
- return f && !yS(M)
- ? '[' + Qa(M, f) + ']'
- : '[ ' + Vt.call(M, ', ') + ' ]';
- }
- if (rS(t)) {
- var Z = yi(t, d);
- return !('cause' in Error.prototype) &&
- 'cause' in t &&
- !Kp.call(t, 'cause')
- ? '{ [' +
- String(t) +
- '] ' +
- Vt.call(Ku.call('[cause]: ' + d(t.cause), Z), ', ') +
- ' }'
- : Z.length === 0
- ? '[' + String(t) + ']'
- : '{ [' + String(t) + '] ' + Vt.call(Z, ', ') + ' }';
- }
- if (typeof t == 'object' && s) {
- if (Xu && typeof t[Xu] == 'function' && Ya)
- return Ya(t, { depth: c - r });
- if (s !== 'symbol' && typeof t.inspect == 'function') return t.inspect();
- }
- if (uS(t)) {
- var I = [];
- return (
- qu &&
- qu.call(t, function (R, U) {
- I.push(d(U, t, !0) + ' => ' + d(R, t));
- }),
- ef('Map', Qi.call(t), I, f)
- );
- }
- if (pS(t)) {
- var Q = [];
- return (
- zu &&
- zu.call(t, function (R) {
- Q.push(d(R, t));
- }),
- ef('Set', Xi.call(t), Q, f)
- );
- }
- if (fS(t)) return aa('WeakMap');
- if (hS(t)) return aa('WeakSet');
- if (dS(t)) return aa('WeakRef');
- if (iS(t)) return no(d(Number(t)));
- if (aS(t)) return no(d(Ka.call(t)));
- if (sS(t)) return no(GE.call(t));
- if (oS(t)) return no(d(String(t)));
- if (!nS(t) && !Zu(t)) {
- var F = yi(t, d),
- K = Yu
- ? Yu(t) === Object.prototype
- : t instanceof Object || t.constructor === Object,
- D = t instanceof Object ? '' : 'null prototype',
- O =
- !K && st && Object(t) === t && st in t
- ? zl.call(zn(t), 8, -1)
- : D
- ? 'Object'
- : '',
- B =
- K || typeof t.constructor != 'function'
- ? ''
- : t.constructor.name
- ? t.constructor.name + ' '
- : '',
- P =
- B +
- (O || D
- ? '[' + Vt.call(Ku.call([], O || [], D || []), ': ') + '] '
- : '');
- return F.length === 0
- ? P + '{}'
- : f
- ? P + '{' + Qa(F, f) + '}'
- : P + '{ ' + Vt.call(F, ', ') + ' }';
- }
- return String(t);
- };
- function Gp(e, t, n) {
- var r = (n.quoteStyle || t) === 'double' ? '"' : "'";
- return r + e + r;
- }
- function tS(e) {
- return Mn.call(String(e), /"/g, '"');
- }
- function Ja(e) {
- return (
- zn(e) === '[object Array]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function nS(e) {
- return (
- zn(e) === '[object Date]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function Zu(e) {
- return (
- zn(e) === '[object RegExp]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function rS(e) {
- return (
- zn(e) === '[object Error]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function oS(e) {
- return (
- zn(e) === '[object String]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function iS(e) {
- return (
- zn(e) === '[object Number]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function sS(e) {
- return (
- zn(e) === '[object Boolean]' && (!st || !(typeof e == 'object' && st in e))
- );
- }
- function Yp(e) {
- if (Nr) return e && typeof e == 'object' && e instanceof Symbol;
- if (typeof e == 'symbol') return !0;
- if (!e || typeof e != 'object' || !Ga) return !1;
- try {
- return Ga.call(e), !0;
- } catch (t) {}
- return !1;
- }
- function aS(e) {
- if (!e || typeof e != 'object' || !Ka) return !1;
- try {
- return Ka.call(e), !0;
- } catch (t) {}
- return !1;
- }
- var lS =
- Object.prototype.hasOwnProperty ||
- function (e) {
- return e in this;
- };
- function In(e, t) {
- return lS.call(e, t);
- }
- function zn(e) {
- return YE.call(e);
- }
- function cS(e) {
- if (e.name) return e.name;
- var t = QE.call(JE.call(e), /^function\s*([\w$]+)/);
- return t ? t[1] : null;
- }
- function Jp(e, t) {
- if (e.indexOf) return e.indexOf(t);
- for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
- return -1;
- }
- function uS(e) {
- if (!Qi || !e || typeof e != 'object') return !1;
- try {
- Qi.call(e);
- try {
- Xi.call(e);
- } catch (t) {
- return !0;
- }
- return e instanceof Map;
- } catch (t) {}
- return !1;
- }
- function fS(e) {
- if (!go || !e || typeof e != 'object') return !1;
- try {
- go.call(e, go);
- try {
- yo.call(e, yo);
- } catch (t) {
- return !0;
- }
- return e instanceof WeakMap;
- } catch (t) {}
- return !1;
- }
- function dS(e) {
- if (!Vu || !e || typeof e != 'object') return !1;
- try {
- return Vu.call(e), !0;
- } catch (t) {}
- return !1;
- }
- function pS(e) {
- if (!Xi || !e || typeof e != 'object') return !1;
- try {
- Xi.call(e);
- try {
- Qi.call(e);
- } catch (t) {
- return !0;
- }
- return e instanceof Set;
- } catch (t) {}
- return !1;
- }
- function hS(e) {
- if (!yo || !e || typeof e != 'object') return !1;
- try {
- yo.call(e, yo);
- try {
- go.call(e, go);
- } catch (t) {
- return !0;
- }
- return e instanceof WeakSet;
- } catch (t) {}
- return !1;
- }
- function mS(e) {
- return !e || typeof e != 'object'
- ? !1
- : typeof HTMLElement < 'u' && e instanceof HTMLElement
- ? !0
- : typeof e.nodeName == 'string' && typeof e.getAttribute == 'function';
- }
- function Qp(e, t) {
- if (e.length > t.maxStringLength) {
- var n = e.length - t.maxStringLength,
- r = '... ' + n + ' more character' + (n > 1 ? 's' : '');
- return Qp(zl.call(e, 0, t.maxStringLength), t) + r;
- }
- var o = Mn.call(Mn.call(e, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, gS);
- return Gp(o, 'single', t);
- }
- function gS(e) {
- var t = e.charCodeAt(0),
- n = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[t];
- return n ? '\\' + n : '\\x' + (t < 16 ? '0' : '') + XE.call(t.toString(16));
- }
- function no(e) {
- return 'Object(' + e + ')';
- }
- function aa(e) {
- return e + ' { ? }';
- }
- function ef(e, t, n, r) {
- var o = r ? Qa(n, r) : Vt.call(n, ', ');
- return e + ' (' + t + ') {' + o + '}';
- }
- function yS(e) {
- for (var t = 0; t < e.length; t++)
- if (
- Jp(
- e[t],
- `
- `
- ) >= 0
- )
- return !1;
- return !0;
- }
- function vS(e, t) {
- var n;
- if (e.indent === ' ') n = ' ';
- else if (typeof e.indent == 'number' && e.indent > 0)
- n = Vt.call(Array(e.indent + 1), ' ');
- else return null;
- return { base: n, prev: Vt.call(Array(t + 1), n) };
- }
- function Qa(e, t) {
- if (e.length === 0) return '';
- var n =
- `
- ` +
- t.prev +
- t.base;
- return (
- n +
- Vt.call(e, ',' + n) +
- `
- ` +
- t.prev
- );
- }
- function yi(e, t) {
- var n = Ja(e),
- r = [];
- if (n) {
- r.length = e.length;
- for (var o = 0; o < e.length; o++) r[o] = In(e, o) ? t(e[o], e) : '';
- }
- var i = typeof sa == 'function' ? sa(e) : [],
- s;
- if (Nr) {
- s = {};
- for (var l = 0; l < i.length; l++) s['$' + i[l]] = i[l];
- }
- for (var u in e)
- In(e, u) &&
- ((n && String(Number(u)) === u && u < e.length) ||
- (Nr && s['$' + u] instanceof Symbol) ||
- (Wp.call(/[^\w$]/, u)
- ? r.push(t(u, e) + ': ' + t(e[u], e))
- : r.push(u + ': ' + t(e[u], e))));
- if (typeof sa == 'function')
- for (var a = 0; a < i.length; a++)
- Kp.call(e, i[a]) && r.push('[' + t(i[a]) + ']: ' + t(e[i[a]], e));
- return r;
- }
- var Vl = Ul,
- qr = UE,
- bS = eS,
- _S = Vl('%TypeError%'),
- vi = Vl('%WeakMap%', !0),
- bi = Vl('%Map%', !0),
- wS = qr('WeakMap.prototype.get', !0),
- ES = qr('WeakMap.prototype.set', !0),
- SS = qr('WeakMap.prototype.has', !0),
- OS = qr('Map.prototype.get', !0),
- xS = qr('Map.prototype.set', !0),
- AS = qr('Map.prototype.has', !0),
- Wl = function (e, t) {
- for (var n = e, r; (r = n.next) !== null; n = r)
- if (r.key === t)
- return (n.next = r.next), (r.next = e.next), (e.next = r), r;
- },
- TS = function (e, t) {
- var n = Wl(e, t);
- return n && n.value;
- },
- CS = function (e, t, n) {
- var r = Wl(e, t);
- r ? (r.value = n) : (e.next = { key: t, next: e.next, value: n });
- },
- $S = function (e, t) {
- return !!Wl(e, t);
- },
- PS = function () {
- var t,
- n,
- r,
- o = {
- assert: function (i) {
- if (!o.has(i)) throw new _S('Side channel does not contain ' + bS(i));
- },
- get: function (i) {
- if (vi && i && (typeof i == 'object' || typeof i == 'function')) {
- if (t) return wS(t, i);
- } else if (bi) {
- if (n) return OS(n, i);
- } else if (r) return TS(r, i);
- },
- has: function (i) {
- if (vi && i && (typeof i == 'object' || typeof i == 'function')) {
- if (t) return SS(t, i);
- } else if (bi) {
- if (n) return AS(n, i);
- } else if (r) return $S(r, i);
- return !1;
- },
- set: function (i, s) {
- vi && i && (typeof i == 'object' || typeof i == 'function')
- ? (t || (t = new vi()), ES(t, i, s))
- : bi
- ? (n || (n = new bi()), xS(n, i, s))
- : (r || (r = { key: {}, next: null }), CS(r, i, s));
- }
- };
- return o;
- },
- IS = String.prototype.replace,
- RS = /%20/g,
- la = { RFC1738: 'RFC1738', RFC3986: 'RFC3986' },
- Kl = {
- default: la.RFC3986,
- formatters: {
- RFC1738: function (e) {
- return IS.call(e, RS, '+');
- },
- RFC3986: function (e) {
- return String(e);
- }
- },
- RFC1738: la.RFC1738,
- RFC3986: la.RFC3986
- },
- kS = Kl,
- ca = Object.prototype.hasOwnProperty,
- nr = Array.isArray,
- qt = (function () {
- for (var e = [], t = 0; t < 256; ++t)
- e.push('%' + ((t < 16 ? '0' : '') + t.toString(16)).toUpperCase());
- return e;
- })(),
- MS = function (t) {
- for (; t.length > 1; ) {
- var n = t.pop(),
- r = n.obj[n.prop];
- if (nr(r)) {
- for (var o = [], i = 0; i < r.length; ++i)
- typeof r[i] < 'u' && o.push(r[i]);
- n.obj[n.prop] = o;
- }
- }
- },
- Xp = function (t, n) {
- for (
- var r = n && n.plainObjects ? Object.create(null) : {}, o = 0;
- o < t.length;
- ++o
- )
- typeof t[o] < 'u' && (r[o] = t[o]);
- return r;
- },
- FS = function e(t, n, r) {
- if (!n) return t;
- if (typeof n != 'object') {
- if (nr(t)) t.push(n);
- else if (t && typeof t == 'object')
- ((r && (r.plainObjects || r.allowPrototypes)) ||
- !ca.call(Object.prototype, n)) &&
- (t[n] = !0);
- else return [t, n];
- return t;
- }
- if (!t || typeof t != 'object') return [t].concat(n);
- var o = t;
- return (
- nr(t) && !nr(n) && (o = Xp(t, r)),
- nr(t) && nr(n)
- ? (n.forEach(function (i, s) {
- if (ca.call(t, s)) {
- var l = t[s];
- l && typeof l == 'object' && i && typeof i == 'object'
- ? (t[s] = e(l, i, r))
- : t.push(i);
- } else t[s] = i;
- }),
- t)
- : Object.keys(n).reduce(function (i, s) {
- var l = n[s];
- return ca.call(i, s) ? (i[s] = e(i[s], l, r)) : (i[s] = l), i;
- }, o)
- );
- },
- BS = function (t, n) {
- return Object.keys(n).reduce(function (r, o) {
- return (r[o] = n[o]), r;
- }, t);
- },
- DS = function (e, t, n) {
- var r = e.replace(/\+/g, ' ');
- if (n === 'iso-8859-1') return r.replace(/%[0-9a-f]{2}/gi, unescape);
- try {
- return decodeURIComponent(r);
- } catch (o) {
- return r;
- }
- },
- LS = function (t, n, r, o, i) {
- if (t.length === 0) return t;
- var s = t;
- if (
- (typeof t == 'symbol'
- ? (s = Symbol.prototype.toString.call(t))
- : typeof t != 'string' && (s = String(t)),
- r === 'iso-8859-1')
- )
- return escape(s).replace(/%u[0-9a-f]{4}/gi, function (c) {
- return '%26%23' + parseInt(c.slice(2), 16) + '%3B';
- });
- for (var l = '', u = 0; u < s.length; ++u) {
- var a = s.charCodeAt(u);
- if (
- a === 45 ||
- a === 46 ||
- a === 95 ||
- a === 126 ||
- (a >= 48 && a <= 57) ||
- (a >= 65 && a <= 90) ||
- (a >= 97 && a <= 122) ||
- (i === kS.RFC1738 && (a === 40 || a === 41))
- ) {
- l += s.charAt(u);
- continue;
- }
- if (a < 128) {
- l = l + qt[a];
- continue;
- }
- if (a < 2048) {
- l = l + (qt[192 | (a >> 6)] + qt[128 | (a & 63)]);
- continue;
- }
- if (a < 55296 || a >= 57344) {
- l =
- l +
- (qt[224 | (a >> 12)] +
- qt[128 | ((a >> 6) & 63)] +
- qt[128 | (a & 63)]);
- continue;
- }
- (u += 1),
- (a = 65536 + (((a & 1023) << 10) | (s.charCodeAt(u) & 1023))),
- (l +=
- qt[240 | (a >> 18)] +
- qt[128 | ((a >> 12) & 63)] +
- qt[128 | ((a >> 6) & 63)] +
- qt[128 | (a & 63)]);
- }
- return l;
- },
- NS = function (t) {
- for (
- var n = [{ obj: { o: t }, prop: 'o' }], r = [], o = 0;
- o < n.length;
- ++o
- )
- for (
- var i = n[o], s = i.obj[i.prop], l = Object.keys(s), u = 0;
- u < l.length;
- ++u
- ) {
- var a = l[u],
- c = s[a];
- typeof c == 'object' &&
- c !== null &&
- r.indexOf(c) === -1 &&
- (n.push({ obj: s, prop: a }), r.push(c));
- }
- return MS(n), t;
- },
- jS = function (t) {
- return Object.prototype.toString.call(t) === '[object RegExp]';
- },
- US = function (t) {
- return !t || typeof t != 'object'
- ? !1
- : !!(
- t.constructor &&
- t.constructor.isBuffer &&
- t.constructor.isBuffer(t)
- );
- },
- HS = function (t, n) {
- return [].concat(t, n);
- },
- qS = function (t, n) {
- if (nr(t)) {
- for (var r = [], o = 0; o < t.length; o += 1) r.push(n(t[o]));
- return r;
- }
- return n(t);
- },
- Zp = {
- arrayToObject: Xp,
- assign: BS,
- combine: HS,
- compact: NS,
- decode: DS,
- encode: LS,
- isBuffer: US,
- isRegExp: jS,
- maybeMap: qS,
- merge: FS
- },
- eh = PS,
- Ti = Zp,
- vo = Kl,
- zS = Object.prototype.hasOwnProperty,
- tf = {
- brackets: function (t) {
- return t + '[]';
- },
- comma: 'comma',
- indices: function (t, n) {
- return t + '[' + n + ']';
- },
- repeat: function (t) {
- return t;
- }
- },
- yn = Array.isArray,
- VS = Array.prototype.push,
- th = function (e, t) {
- VS.apply(e, yn(t) ? t : [t]);
- },
- WS = Date.prototype.toISOString,
- nf = vo.default,
- Xe = {
- addQueryPrefix: !1,
- allowDots: !1,
- charset: 'utf-8',
- charsetSentinel: !1,
- delimiter: '&',
- encode: !0,
- encoder: Ti.encode,
- encodeValuesOnly: !1,
- format: nf,
- formatter: vo.formatters[nf],
- indices: !1,
- serializeDate: function (t) {
- return WS.call(t);
- },
- skipNulls: !1,
- strictNullHandling: !1
- },
- KS = function (t) {
- return (
- typeof t == 'string' ||
- typeof t == 'number' ||
- typeof t == 'boolean' ||
- typeof t == 'symbol' ||
- typeof t == 'bigint'
- );
- },
- ua = {},
- GS = function e(t, n, r, o, i, s, l, u, a, c, f, d, h, g, _, w) {
- for (var b = t, A = w, M = 0, Z = !1; (A = A.get(ua)) !== void 0 && !Z; ) {
- var I = A.get(t);
- if (((M += 1), typeof I < 'u')) {
- if (I === M) throw new RangeError('Cyclic object value');
- Z = !0;
- }
- typeof A.get(ua) > 'u' && (M = 0);
- }
- if (
- (typeof u == 'function'
- ? (b = u(n, b))
- : b instanceof Date
- ? (b = f(b))
- : r === 'comma' &&
- yn(b) &&
- (b = Ti.maybeMap(b, function (ee) {
- return ee instanceof Date ? f(ee) : ee;
- })),
- b === null)
- ) {
- if (i) return l && !g ? l(n, Xe.encoder, _, 'key', d) : n;
- b = '';
- }
- if (KS(b) || Ti.isBuffer(b)) {
- if (l) {
- var Q = g ? n : l(n, Xe.encoder, _, 'key', d);
- return [h(Q) + '=' + h(l(b, Xe.encoder, _, 'value', d))];
- }
- return [h(n) + '=' + h(String(b))];
- }
- var F = [];
- if (typeof b > 'u') return F;
- var K;
- if (r === 'comma' && yn(b))
- g && l && (b = Ti.maybeMap(b, l)),
- (K = [{ value: b.length > 0 ? b.join(',') || null : void 0 }]);
- else if (yn(u)) K = u;
- else {
- var D = Object.keys(b);
- K = a ? D.sort(a) : D;
- }
- for (
- var O = o && yn(b) && b.length === 1 ? n + '[]' : n, B = 0;
- B < K.length;
- ++B
- ) {
- var P = K[B],
- R = typeof P == 'object' && typeof P.value < 'u' ? P.value : b[P];
- if (!(s && R === null)) {
- var U = yn(b)
- ? typeof r == 'function'
- ? r(O, P)
- : O
- : O + (c ? '.' + P : '[' + P + ']');
- w.set(t, M);
- var H = eh();
- H.set(ua, w),
- th(
- F,
- e(
- R,
- U,
- r,
- o,
- i,
- s,
- r === 'comma' && g && yn(b) ? null : l,
- u,
- a,
- c,
- f,
- d,
- h,
- g,
- _,
- H
- )
- );
- }
- }
- return F;
- },
- YS = function (t) {
- if (!t) return Xe;
- if (
- t.encoder !== null &&
- typeof t.encoder < 'u' &&
- typeof t.encoder != 'function'
- )
- throw new TypeError('Encoder has to be a function.');
- var n = t.charset || Xe.charset;
- if (
- typeof t.charset < 'u' &&
- t.charset !== 'utf-8' &&
- t.charset !== 'iso-8859-1'
- )
- throw new TypeError(
- 'The charset option must be either utf-8, iso-8859-1, or undefined'
- );
- var r = vo.default;
- if (typeof t.format < 'u') {
- if (!zS.call(vo.formatters, t.format))
- throw new TypeError('Unknown format option provided.');
- r = t.format;
- }
- var o = vo.formatters[r],
- i = Xe.filter;
- return (
- (typeof t.filter == 'function' || yn(t.filter)) && (i = t.filter),
- {
- addQueryPrefix:
- typeof t.addQueryPrefix == 'boolean'
- ? t.addQueryPrefix
- : Xe.addQueryPrefix,
- allowDots: typeof t.allowDots > 'u' ? Xe.allowDots : !!t.allowDots,
- charset: n,
- charsetSentinel:
- typeof t.charsetSentinel == 'boolean'
- ? t.charsetSentinel
- : Xe.charsetSentinel,
- delimiter: typeof t.delimiter > 'u' ? Xe.delimiter : t.delimiter,
- encode: typeof t.encode == 'boolean' ? t.encode : Xe.encode,
- encoder: typeof t.encoder == 'function' ? t.encoder : Xe.encoder,
- encodeValuesOnly:
- typeof t.encodeValuesOnly == 'boolean'
- ? t.encodeValuesOnly
- : Xe.encodeValuesOnly,
- filter: i,
- format: r,
- formatter: o,
- serializeDate:
- typeof t.serializeDate == 'function'
- ? t.serializeDate
- : Xe.serializeDate,
- skipNulls: typeof t.skipNulls == 'boolean' ? t.skipNulls : Xe.skipNulls,
- sort: typeof t.sort == 'function' ? t.sort : null,
- strictNullHandling:
- typeof t.strictNullHandling == 'boolean'
- ? t.strictNullHandling
- : Xe.strictNullHandling
- }
- );
- },
- JS = function (e, t) {
- var n = e,
- r = YS(t),
- o,
- i;
- typeof r.filter == 'function'
- ? ((i = r.filter), (n = i('', n)))
- : yn(r.filter) && ((i = r.filter), (o = i));
- var s = [];
- if (typeof n != 'object' || n === null) return '';
- var l;
- t && t.arrayFormat in tf
- ? (l = t.arrayFormat)
- : t && 'indices' in t
- ? (l = t.indices ? 'indices' : 'repeat')
- : (l = 'indices');
- var u = tf[l];
- if (t && 'commaRoundTrip' in t && typeof t.commaRoundTrip != 'boolean')
- throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
- var a = u === 'comma' && t && t.commaRoundTrip;
- o || (o = Object.keys(n)), r.sort && o.sort(r.sort);
- for (var c = eh(), f = 0; f < o.length; ++f) {
- var d = o[f];
- (r.skipNulls && n[d] === null) ||
- th(
- s,
- GS(
- n[d],
- d,
- u,
- a,
- r.strictNullHandling,
- r.skipNulls,
- r.encode ? r.encoder : null,
- r.filter,
- r.sort,
- r.allowDots,
- r.serializeDate,
- r.format,
- r.formatter,
- r.encodeValuesOnly,
- r.charset,
- c
- )
- );
- }
- var h = s.join(r.delimiter),
- g = r.addQueryPrefix === !0 ? '?' : '';
- return (
- r.charsetSentinel &&
- (r.charset === 'iso-8859-1'
- ? (g += 'utf8=%26%2310003%3B&')
- : (g += 'utf8=%E2%9C%93&')),
- h.length > 0 ? g + h : ''
- );
- },
- jr = Zp,
- Xa = Object.prototype.hasOwnProperty,
- QS = Array.isArray,
- ze = {
- allowDots: !1,
- allowPrototypes: !1,
- allowSparse: !1,
- arrayLimit: 20,
- charset: 'utf-8',
- charsetSentinel: !1,
- comma: !1,
- decoder: jr.decode,
- delimiter: '&',
- depth: 5,
- ignoreQueryPrefix: !1,
- interpretNumericEntities: !1,
- parameterLimit: 1e3,
- parseArrays: !0,
- plainObjects: !1,
- strictNullHandling: !1
- },
- XS = function (e) {
- return e.replace(/&#(\d+);/g, function (t, n) {
- return String.fromCharCode(parseInt(n, 10));
- });
- },
- nh = function (e, t) {
- return e && typeof e == 'string' && t.comma && e.indexOf(',') > -1
- ? e.split(',')
- : e;
- },
- ZS = 'utf8=%26%2310003%3B',
- eO = 'utf8=%E2%9C%93',
- tO = function (t, n) {
- var r = { __proto__: null },
- o = n.ignoreQueryPrefix ? t.replace(/^\?/, '') : t,
- i = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit,
- s = o.split(n.delimiter, i),
- l = -1,
- u,
- a = n.charset;
- if (n.charsetSentinel)
- for (u = 0; u < s.length; ++u)
- s[u].indexOf('utf8=') === 0 &&
- (s[u] === eO ? (a = 'utf-8') : s[u] === ZS && (a = 'iso-8859-1'),
- (l = u),
- (u = s.length));
- for (u = 0; u < s.length; ++u)
- if (u !== l) {
- var c = s[u],
- f = c.indexOf(']='),
- d = f === -1 ? c.indexOf('=') : f + 1,
- h,
- g;
- d === -1
- ? ((h = n.decoder(c, ze.decoder, a, 'key')),
- (g = n.strictNullHandling ? null : ''))
- : ((h = n.decoder(c.slice(0, d), ze.decoder, a, 'key')),
- (g = jr.maybeMap(nh(c.slice(d + 1), n), function (_) {
- return n.decoder(_, ze.decoder, a, 'value');
- }))),
- g && n.interpretNumericEntities && a === 'iso-8859-1' && (g = XS(g)),
- c.indexOf('[]=') > -1 && (g = QS(g) ? [g] : g),
- Xa.call(r, h) ? (r[h] = jr.combine(r[h], g)) : (r[h] = g);
- }
- return r;
- },
- nO = function (e, t, n, r) {
- for (var o = r ? t : nh(t, n), i = e.length - 1; i >= 0; --i) {
- var s,
- l = e[i];
- if (l === '[]' && n.parseArrays) s = [].concat(o);
- else {
- s = n.plainObjects ? Object.create(null) : {};
- var u =
- l.charAt(0) === '[' && l.charAt(l.length - 1) === ']'
- ? l.slice(1, -1)
- : l,
- a = parseInt(u, 10);
- !n.parseArrays && u === ''
- ? (s = { 0: o })
- : !isNaN(a) &&
- l !== u &&
- String(a) === u &&
- a >= 0 &&
- n.parseArrays &&
- a <= n.arrayLimit
- ? ((s = []), (s[a] = o))
- : u !== '__proto__' && (s[u] = o);
- }
- o = s;
- }
- return o;
- },
- rO = function (t, n, r, o) {
- if (t) {
- var i = r.allowDots ? t.replace(/\.([^.[]+)/g, '[$1]') : t,
- s = /(\[[^[\]]*])/,
- l = /(\[[^[\]]*])/g,
- u = r.depth > 0 && s.exec(i),
- a = u ? i.slice(0, u.index) : i,
- c = [];
- if (a) {
- if (
- !r.plainObjects &&
- Xa.call(Object.prototype, a) &&
- !r.allowPrototypes
- )
- return;
- c.push(a);
- }
- for (
- var f = 0;
- r.depth > 0 && (u = l.exec(i)) !== null && f < r.depth;
- ) {
- if (
- ((f += 1),
- !r.plainObjects &&
- Xa.call(Object.prototype, u[1].slice(1, -1)) &&
- !r.allowPrototypes)
- )
- return;
- c.push(u[1]);
- }
- return u && c.push('[' + i.slice(u.index) + ']'), nO(c, n, r, o);
- }
- },
- oO = function (t) {
- if (!t) return ze;
- if (
- t.decoder !== null &&
- t.decoder !== void 0 &&
- typeof t.decoder != 'function'
- )
- throw new TypeError('Decoder has to be a function.');
- if (
- typeof t.charset < 'u' &&
- t.charset !== 'utf-8' &&
- t.charset !== 'iso-8859-1'
- )
- throw new TypeError(
- 'The charset option must be either utf-8, iso-8859-1, or undefined'
- );
- var n = typeof t.charset > 'u' ? ze.charset : t.charset;
- return {
- allowDots: typeof t.allowDots > 'u' ? ze.allowDots : !!t.allowDots,
- allowPrototypes:
- typeof t.allowPrototypes == 'boolean'
- ? t.allowPrototypes
- : ze.allowPrototypes,
- allowSparse:
- typeof t.allowSparse == 'boolean' ? t.allowSparse : ze.allowSparse,
- arrayLimit:
- typeof t.arrayLimit == 'number' ? t.arrayLimit : ze.arrayLimit,
- charset: n,
- charsetSentinel:
- typeof t.charsetSentinel == 'boolean'
- ? t.charsetSentinel
- : ze.charsetSentinel,
- comma: typeof t.comma == 'boolean' ? t.comma : ze.comma,
- decoder: typeof t.decoder == 'function' ? t.decoder : ze.decoder,
- delimiter:
- typeof t.delimiter == 'string' || jr.isRegExp(t.delimiter)
- ? t.delimiter
- : ze.delimiter,
- depth: typeof t.depth == 'number' || t.depth === !1 ? +t.depth : ze.depth,
- ignoreQueryPrefix: t.ignoreQueryPrefix === !0,
- interpretNumericEntities:
- typeof t.interpretNumericEntities == 'boolean'
- ? t.interpretNumericEntities
- : ze.interpretNumericEntities,
- parameterLimit:
- typeof t.parameterLimit == 'number'
- ? t.parameterLimit
- : ze.parameterLimit,
- parseArrays: t.parseArrays !== !1,
- plainObjects:
- typeof t.plainObjects == 'boolean' ? t.plainObjects : ze.plainObjects,
- strictNullHandling:
- typeof t.strictNullHandling == 'boolean'
- ? t.strictNullHandling
- : ze.strictNullHandling
- };
- },
- iO = function (e, t) {
- var n = oO(t);
- if (e === '' || e === null || typeof e > 'u')
- return n.plainObjects ? Object.create(null) : {};
- for (
- var r = typeof e == 'string' ? tO(e, n) : e,
- o = n.plainObjects ? Object.create(null) : {},
- i = Object.keys(r),
- s = 0;
- s < i.length;
- ++s
- ) {
- var l = i[s],
- u = rO(l, r[l], n, typeof e == 'string');
- o = jr.merge(o, u, n);
- }
- return n.allowSparse === !0 ? o : jr.compact(o);
- },
- sO = JS,
- aO = iO,
- lO = Kl,
- rh = { formats: lO, parse: aO, stringify: sO },
- et =
- (typeof globalThis < 'u' && globalThis) ||
- (typeof self < 'u' && self) ||
- (typeof et < 'u' && et),
- ht = {
- searchParams: 'URLSearchParams' in et,
- iterable: 'Symbol' in et && 'iterator' in Symbol,
- blob:
- 'FileReader' in et &&
- 'Blob' in et &&
- (function () {
- try {
- return new Blob(), !0;
- } catch (e) {
- return !1;
- }
- })(),
- formData: 'FormData' in et,
- arrayBuffer: 'ArrayBuffer' in et
- };
- function cO(e) {
- return e && DataView.prototype.isPrototypeOf(e);
- }
- if (ht.arrayBuffer)
- var uO = [
- '[object Int8Array]',
- '[object Uint8Array]',
- '[object Uint8ClampedArray]',
- '[object Int16Array]',
- '[object Uint16Array]',
- '[object Int32Array]',
- '[object Uint32Array]',
- '[object Float32Array]',
- '[object Float64Array]'
- ],
- fO =
- ArrayBuffer.isView ||
- function (e) {
- return e && uO.indexOf(Object.prototype.toString.call(e)) > -1;
- };
- function Ko(e) {
- if (
- (typeof e != 'string' && (e = String(e)),
- /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || e === '')
- )
- throw new TypeError('Invalid character in header field name: "' + e + '"');
- return e.toLowerCase();
- }
- function Gl(e) {
- return typeof e != 'string' && (e = String(e)), e;
- }
- function Yl(e) {
- var t = {
- next: function () {
- var n = e.shift();
- return { done: n === void 0, value: n };
- }
- };
- return (
- ht.iterable &&
- (t[Symbol.iterator] = function () {
- return t;
- }),
- t
- );
- }
- function Le(e) {
- (this.map = {}),
- e instanceof Le
- ? e.forEach(function (t, n) {
- this.append(n, t);
- }, this)
- : Array.isArray(e)
- ? e.forEach(function (t) {
- this.append(t[0], t[1]);
- }, this)
- : e &&
- Object.getOwnPropertyNames(e).forEach(function (t) {
- this.append(t, e[t]);
- }, this);
- }
- Le.prototype.append = function (e, t) {
- (e = Ko(e)), (t = Gl(t));
- var n = this.map[e];
- this.map[e] = n ? n + ', ' + t : t;
- };
- Le.prototype.delete = function (e) {
- delete this.map[Ko(e)];
- };
- Le.prototype.get = function (e) {
- return (e = Ko(e)), this.has(e) ? this.map[e] : null;
- };
- Le.prototype.has = function (e) {
- return this.map.hasOwnProperty(Ko(e));
- };
- Le.prototype.set = function (e, t) {
- this.map[Ko(e)] = Gl(t);
- };
- Le.prototype.forEach = function (e, t) {
- for (var n in this.map)
- this.map.hasOwnProperty(n) && e.call(t, this.map[n], n, this);
- };
- Le.prototype.keys = function () {
- var e = [];
- return (
- this.forEach(function (t, n) {
- e.push(n);
- }),
- Yl(e)
- );
- };
- Le.prototype.values = function () {
- var e = [];
- return (
- this.forEach(function (t) {
- e.push(t);
- }),
- Yl(e)
- );
- };
- Le.prototype.entries = function () {
- var e = [];
- return (
- this.forEach(function (t, n) {
- e.push([n, t]);
- }),
- Yl(e)
- );
- };
- ht.iterable && (Le.prototype[Symbol.iterator] = Le.prototype.entries);
- function fa(e) {
- if (e.bodyUsed) return Promise.reject(new TypeError('Already read'));
- e.bodyUsed = !0;
- }
- function oh(e) {
- return new Promise(function (t, n) {
- (e.onload = function () {
- t(e.result);
- }),
- (e.onerror = function () {
- n(e.error);
- });
- });
- }
- function dO(e) {
- var t = new FileReader(),
- n = oh(t);
- return t.readAsArrayBuffer(e), n;
- }
- function pO(e) {
- var t = new FileReader(),
- n = oh(t);
- return t.readAsText(e), n;
- }
- function hO(e) {
- for (
- var t = new Uint8Array(e), n = new Array(t.length), r = 0;
- r < t.length;
- r++
- )
- n[r] = String.fromCharCode(t[r]);
- return n.join('');
- }
- function rf(e) {
- if (e.slice) return e.slice(0);
- var t = new Uint8Array(e.byteLength);
- return t.set(new Uint8Array(e)), t.buffer;
- }
- function ih() {
- return (
- (this.bodyUsed = !1),
- (this._initBody = function (e) {
- (this.bodyUsed = this.bodyUsed),
- (this._bodyInit = e),
- e
- ? typeof e == 'string'
- ? (this._bodyText = e)
- : ht.blob && Blob.prototype.isPrototypeOf(e)
- ? (this._bodyBlob = e)
- : ht.formData && FormData.prototype.isPrototypeOf(e)
- ? (this._bodyFormData = e)
- : ht.searchParams && URLSearchParams.prototype.isPrototypeOf(e)
- ? (this._bodyText = e.toString())
- : ht.arrayBuffer && ht.blob && cO(e)
- ? ((this._bodyArrayBuffer = rf(e.buffer)),
- (this._bodyInit = new Blob([this._bodyArrayBuffer])))
- : ht.arrayBuffer &&
- (ArrayBuffer.prototype.isPrototypeOf(e) || fO(e))
- ? (this._bodyArrayBuffer = rf(e))
- : (this._bodyText = e = Object.prototype.toString.call(e))
- : (this._bodyText = ''),
- this.headers.get('content-type') ||
- (typeof e == 'string'
- ? this.headers.set('content-type', 'text/plain;charset=UTF-8')
- : this._bodyBlob && this._bodyBlob.type
- ? this.headers.set('content-type', this._bodyBlob.type)
- : ht.searchParams &&
- URLSearchParams.prototype.isPrototypeOf(e) &&
- this.headers.set(
- 'content-type',
- 'application/x-www-form-urlencoded;charset=UTF-8'
- ));
- }),
- ht.blob &&
- ((this.blob = function () {
- var e = fa(this);
- if (e) return e;
- if (this._bodyBlob) return Promise.resolve(this._bodyBlob);
- if (this._bodyArrayBuffer)
- return Promise.resolve(new Blob([this._bodyArrayBuffer]));
- if (this._bodyFormData)
- throw new Error('could not read FormData body as blob');
- return Promise.resolve(new Blob([this._bodyText]));
- }),
- (this.arrayBuffer = function () {
- if (this._bodyArrayBuffer) {
- var e = fa(this);
- return (
- e ||
- (ArrayBuffer.isView(this._bodyArrayBuffer)
- ? Promise.resolve(
- this._bodyArrayBuffer.buffer.slice(
- this._bodyArrayBuffer.byteOffset,
- this._bodyArrayBuffer.byteOffset +
- this._bodyArrayBuffer.byteLength
- )
- )
- : Promise.resolve(this._bodyArrayBuffer))
- );
- } else return this.blob().then(dO);
- })),
- (this.text = function () {
- var e = fa(this);
- if (e) return e;
- if (this._bodyBlob) return pO(this._bodyBlob);
- if (this._bodyArrayBuffer)
- return Promise.resolve(hO(this._bodyArrayBuffer));
- if (this._bodyFormData)
- throw new Error('could not read FormData body as text');
- return Promise.resolve(this._bodyText);
- }),
- ht.formData &&
- (this.formData = function () {
- return this.text().then(yO);
- }),
- (this.json = function () {
- return this.text().then(JSON.parse);
- }),
- this
- );
- }
- var mO = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];
- function gO(e) {
- var t = e.toUpperCase();
- return mO.indexOf(t) > -1 ? t : e;
- }
- function pr(e, t) {
- if (!(this instanceof pr))
- throw new TypeError(
- 'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
- );
- t = t || {};
- var n = t.body;
- if (e instanceof pr) {
- if (e.bodyUsed) throw new TypeError('Already read');
- (this.url = e.url),
- (this.credentials = e.credentials),
- t.headers || (this.headers = new Le(e.headers)),
- (this.method = e.method),
- (this.mode = e.mode),
- (this.signal = e.signal),
- !n && e._bodyInit != null && ((n = e._bodyInit), (e.bodyUsed = !0));
- } else this.url = String(e);
- if (
- ((this.credentials = t.credentials || this.credentials || 'same-origin'),
- (t.headers || !this.headers) && (this.headers = new Le(t.headers)),
- (this.method = gO(t.method || this.method || 'GET')),
- (this.mode = t.mode || this.mode || null),
- (this.signal = t.signal || this.signal),
- (this.referrer = null),
- (this.method === 'GET' || this.method === 'HEAD') && n)
- )
- throw new TypeError('Body not allowed for GET or HEAD requests');
- if (
- (this._initBody(n),
- (this.method === 'GET' || this.method === 'HEAD') &&
- (t.cache === 'no-store' || t.cache === 'no-cache'))
- ) {
- var r = /([?&])_=[^&]*/;
- if (r.test(this.url))
- this.url = this.url.replace(r, '$1_=' + new Date().getTime());
- else {
- var o = /\?/;
- this.url += (o.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();
- }
- }
- }
- pr.prototype.clone = function () {
- return new pr(this, { body: this._bodyInit });
- };
- function yO(e) {
- var t = new FormData();
- return (
- e
- .trim()
- .split('&')
- .forEach(function (n) {
- if (n) {
- var r = n.split('='),
- o = r.shift().replace(/\+/g, ' '),
- i = r.join('=').replace(/\+/g, ' ');
- t.append(decodeURIComponent(o), decodeURIComponent(i));
- }
- }),
- t
- );
- }
- function vO(e) {
- var t = new Le(),
- n = e.replace(/\r?\n[\t ]+/g, ' ');
- return (
- n
- .split('\r')
- .map(function (r) {
- return r.indexOf(`
- `) === 0
- ? r.substr(1, r.length)
- : r;
- })
- .forEach(function (r) {
- var o = r.split(':'),
- i = o.shift().trim();
- if (i) {
- var s = o.join(':').trim();
- t.append(i, s);
- }
- }),
- t
- );
- }
- ih.call(pr.prototype);
- function tn(e, t) {
- if (!(this instanceof tn))
- throw new TypeError(
- 'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
- );
- t || (t = {}),
- (this.type = 'default'),
- (this.status = t.status === void 0 ? 200 : t.status),
- (this.ok = this.status >= 200 && this.status < 300),
- (this.statusText = t.statusText === void 0 ? '' : '' + t.statusText),
- (this.headers = new Le(t.headers)),
- (this.url = t.url || ''),
- this._initBody(e);
- }
- ih.call(tn.prototype);
- tn.prototype.clone = function () {
- return new tn(this._bodyInit, {
- status: this.status,
- statusText: this.statusText,
- headers: new Le(this.headers),
- url: this.url
- });
- };
- tn.error = function () {
- var e = new tn(null, { status: 0, statusText: '' });
- return (e.type = 'error'), e;
- };
- var bO = [301, 302, 303, 307, 308];
- tn.redirect = function (e, t) {
- if (bO.indexOf(t) === -1) throw new RangeError('Invalid status code');
- return new tn(null, { status: t, headers: { location: e } });
- };
- var rr = et.DOMException;
- try {
- new rr();
- } catch (e) {
- (rr = function (t, n) {
- (this.message = t), (this.name = n);
- var r = Error(t);
- this.stack = r.stack;
- }),
- (rr.prototype = Object.create(Error.prototype)),
- (rr.prototype.constructor = rr);
- }
- function sh(e, t) {
- return new Promise(function (n, r) {
- var o = new pr(e, t);
- if (o.signal && o.signal.aborted) return r(new rr('Aborted', 'AbortError'));
- var i = new XMLHttpRequest();
- function s() {
- i.abort();
- }
- (i.onload = function () {
- var u = {
- status: i.status,
- statusText: i.statusText,
- headers: vO(i.getAllResponseHeaders() || '')
- };
- u.url =
- 'responseURL' in i ? i.responseURL : u.headers.get('X-Request-URL');
- var a = 'response' in i ? i.response : i.responseText;
- setTimeout(function () {
- n(new tn(a, u));
- }, 0);
- }),
- (i.onerror = function () {
- setTimeout(function () {
- r(new TypeError('Network request failed'));
- }, 0);
- }),
- (i.ontimeout = function () {
- setTimeout(function () {
- r(new TypeError('Network request failed'));
- }, 0);
- }),
- (i.onabort = function () {
- setTimeout(function () {
- r(new rr('Aborted', 'AbortError'));
- }, 0);
- });
- function l(u) {
- try {
- return u === '' && et.location.href ? et.location.href : u;
- } catch (a) {
- return u;
- }
- }
- i.open(o.method, l(o.url), !0),
- o.credentials === 'include'
- ? (i.withCredentials = !0)
- : o.credentials === 'omit' && (i.withCredentials = !1),
- 'responseType' in i &&
- (ht.blob
- ? (i.responseType = 'blob')
- : ht.arrayBuffer &&
- o.headers.get('Content-Type') &&
- o.headers
- .get('Content-Type')
- .indexOf('application/octet-stream') !== -1 &&
- (i.responseType = 'arraybuffer')),
- t && typeof t.headers == 'object' && !(t.headers instanceof Le)
- ? Object.getOwnPropertyNames(t.headers).forEach(function (u) {
- i.setRequestHeader(u, Gl(t.headers[u]));
- })
- : o.headers.forEach(function (u, a) {
- i.setRequestHeader(a, u);
- }),
- o.signal &&
- (o.signal.addEventListener('abort', s),
- (i.onreadystatechange = function () {
- i.readyState === 4 && o.signal.removeEventListener('abort', s);
- })),
- i.send(typeof o._bodyInit > 'u' ? null : o._bodyInit);
- });
- }
- sh.polyfill = !0;
- et.fetch ||
- ((et.fetch = sh), (et.Headers = Le), (et.Request = pr), (et.Response = tn));
- self.fetch.bind(self);
- function of(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (o) {
- return Object.getOwnPropertyDescriptor(e, o).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function mt(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t] != null ? arguments[t] : {};
- t % 2
- ? of(Object(n), !0).forEach(function (r) {
- _O(e, r, n[r]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : of(Object(n)).forEach(function (r) {
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
- });
- }
- return e;
- }
- function Ln(e) {
- '@babel/helpers - typeof';
- return (
- typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
- ? (Ln = function (t) {
- return typeof t;
- })
- : (Ln = function (t) {
- return t &&
- typeof Symbol == 'function' &&
- t.constructor === Symbol &&
- t !== Symbol.prototype
- ? 'symbol'
- : typeof t;
- }),
- Ln(e)
- );
- }
- function Go(e, t) {
- if (!(e instanceof t))
- throw new TypeError('Cannot call a class as a function');
- }
- function sf(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- 'value' in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- function Jl(e, t, n) {
- return t && sf(e.prototype, t), n && sf(e, n), e;
- }
- function _O(e, t, n) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
- );
- }
- function ah(e, t) {
- if (typeof t != 'function' && t !== null)
- throw new TypeError('Super expression must either be null or a function');
- (e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && Mo(e, t);
- }
- function ko(e) {
- return (
- (ko = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function (n) {
- return n.__proto__ || Object.getPrototypeOf(n);
- }),
- ko(e)
- );
- }
- function Mo(e, t) {
- return (
- (Mo =
- Object.setPrototypeOf ||
- function (r, o) {
- return (r.__proto__ = o), r;
- }),
- Mo(e, t)
- );
- }
- function lh() {
- if (typeof Reflect > 'u' || !Reflect.construct || Reflect.construct.sham)
- return !1;
- if (typeof Proxy == 'function') return !0;
- try {
- return (
- Boolean.prototype.valueOf.call(
- Reflect.construct(Boolean, [], function () {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- }
- function Ci(e, t, n) {
- return (
- lh()
- ? (Ci = Reflect.construct)
- : (Ci = function (o, i, s) {
- var l = [null];
- l.push.apply(l, i);
- var u = Function.bind.apply(o, l),
- a = new u();
- return s && Mo(a, s.prototype), a;
- }),
- Ci.apply(null, arguments)
- );
- }
- function wO(e) {
- return Function.toString.call(e).indexOf('[native code]') !== -1;
- }
- function Zi(e) {
- var t = typeof Map == 'function' ? new Map() : void 0;
- return (
- (Zi = function (r) {
- if (r === null || !wO(r)) return r;
- if (typeof r != 'function')
- throw new TypeError(
- 'Super expression must either be null or a function'
- );
- if (typeof t < 'u') {
- if (t.has(r)) return t.get(r);
- t.set(r, o);
- }
- function o() {
- return Ci(r, arguments, ko(this).constructor);
- }
- return (
- (o.prototype = Object.create(r.prototype, {
- constructor: {
- value: o,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- })),
- Mo(o, r)
- );
- }),
- Zi(e)
- );
- }
- function EO(e) {
- if (e === void 0)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- }
- function SO(e, t) {
- if (t && (typeof t == 'object' || typeof t == 'function')) return t;
- if (t !== void 0)
- throw new TypeError(
- 'Derived constructors may only return object or undefined'
- );
- return EO(e);
- }
- function ch(e) {
- var t = lh();
- return function () {
- var r = ko(e),
- o;
- if (t) {
- var i = ko(this).constructor;
- o = Reflect.construct(r, arguments, i);
- } else o = r.apply(this, arguments);
- return SO(this, o);
- };
- }
- function Gt(e) {
- return OO(e) || xO(e) || AO(e) || TO();
- }
- function OO(e) {
- if (Array.isArray(e)) return Za(e);
- }
- function xO(e) {
- if (
- (typeof Symbol < 'u' && e[Symbol.iterator] != null) ||
- e['@@iterator'] != null
- )
- return Array.from(e);
- }
- function AO(e, t) {
- if (e) {
- if (typeof e == 'string') return Za(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- if (
- (n === 'Object' && e.constructor && (n = e.constructor.name),
- n === 'Map' || n === 'Set')
- )
- return Array.from(e);
- if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
- return Za(e, t);
- }
- }
- function Za(e, t) {
- (t == null || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- }
- function TO() {
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
- }
- function CO(e) {
- if (!Array.isArray(e)) throw new TypeError('Middlewares must be an array!');
- for (var t = e.length, n = 0; n < t; n++)
- if (typeof e[n] != 'function')
- throw new TypeError('Middleware must be componsed of function');
- return function (o, i) {
- var s = -1;
- function l(u) {
- if (u <= s)
- return Promise.reject(
- new Error(
- 'next() should not be called multiple times in one middleware!'
- )
- );
- s = u;
- var a = e[u] || i;
- if (!a) return Promise.resolve();
- try {
- return Promise.resolve(
- a(o, function () {
- return l(u + 1);
- })
- );
- } catch (c) {
- return Promise.reject(c);
- }
- }
- return l(0);
- };
- }
- var jt = (function () {
- function e(t) {
- if ((Go(this, e), !Array.isArray(t)))
- throw new TypeError('Default middlewares must be an array!');
- (this.defaultMiddlewares = Gt(t)), (this.middlewares = []);
- }
- return (
- Jl(e, [
- {
- key: 'use',
- value: function (n) {
- var r =
- arguments.length > 1 && arguments[1] !== void 0
- ? arguments[1]
- : { global: !1, core: !1, defaultInstance: !1 },
- o = !1,
- i = !1,
- s = !1;
- if (
- (typeof r == 'number'
- ? (process &&
- process.env &&
- console.warn(
- 'use() options should be object, number property would be deprecated in future,please update use() options to "{ core: true }".'
- ),
- (o = !0),
- (i = !1))
- : Ln(r) === 'object' &&
- r &&
- ((i = r.global || !1),
- (o = r.core || !1),
- (s = r.defaultInstance || !1)),
- i)
- ) {
- e.globalMiddlewares.splice(
- e.globalMiddlewares.length - e.defaultGlobalMiddlewaresLength,
- 0,
- n
- );
- return;
- }
- if (o) {
- e.coreMiddlewares.splice(
- e.coreMiddlewares.length - e.defaultCoreMiddlewaresLength,
- 0,
- n
- );
- return;
- }
- if (s) {
- this.defaultMiddlewares.push(n);
- return;
- }
- this.middlewares.push(n);
- }
- },
- {
- key: 'execute',
- value: function () {
- var n =
- arguments.length > 0 && arguments[0] !== void 0
- ? arguments[0]
- : null,
- r = CO(
- [].concat(
- Gt(this.middlewares),
- Gt(this.defaultMiddlewares),
- Gt(e.globalMiddlewares),
- Gt(e.coreMiddlewares)
- )
- );
- return r(n);
- }
- }
- ]),
- e
- );
- })();
- jt.globalMiddlewares = [];
- jt.defaultGlobalMiddlewaresLength = 0;
- jt.coreMiddlewares = [];
- jt.defaultCoreMiddlewaresLength = 0;
- var $O = (function () {
- function e(t) {
- Go(this, e),
- (this.cache = new Map()),
- (this.timer = {}),
- this.extendOptions(t);
- }
- return (
- Jl(e, [
- {
- key: 'extendOptions',
- value: function (n) {
- this.maxCache = n.maxCache || 0;
- }
- },
- {
- key: 'get',
- value: function (n) {
- return this.cache.get(JSON.stringify(n));
- }
- },
- {
- key: 'set',
- value: function (n, r) {
- var o = this,
- i =
- arguments.length > 2 && arguments[2] !== void 0
- ? arguments[2]
- : 6e4;
- if (this.maxCache > 0 && this.cache.size >= this.maxCache) {
- var s = Gt(this.cache.keys())[0];
- this.cache.delete(s),
- this.timer[s] && clearTimeout(this.timer[s]);
- }
- var l = JSON.stringify(n);
- this.cache.set(l, r),
- i > 0 &&
- (this.timer[l] = setTimeout(function () {
- o.cache.delete(l), delete o.timer[l];
- }, i));
- }
- },
- {
- key: 'delete',
- value: function (n) {
- var r = JSON.stringify(n);
- return delete this.timer[r], this.cache.delete(r);
- }
- },
- {
- key: 'clear',
- value: function () {
- return (this.timer = {}), this.cache.clear();
- }
- }
- ]),
- e
- );
- })(),
- uh = (function (e) {
- ah(n, e);
- var t = ch(n);
- function n(r, o) {
- var i,
- s =
- arguments.length > 2 && arguments[2] !== void 0
- ? arguments[2]
- : 'RequestError';
- return (
- Go(this, n),
- (i = t.call(this, r)),
- (i.name = 'RequestError'),
- (i.request = o),
- (i.type = s),
- i
- );
- }
- return n;
- })(Zi(Error)),
- lo = (function (e) {
- ah(n, e);
- var t = ch(n);
- function n(r, o, i, s) {
- var l,
- u =
- arguments.length > 4 && arguments[4] !== void 0
- ? arguments[4]
- : 'ResponseError';
- return (
- Go(this, n),
- (l = t.call(this, o || r.statusText)),
- (l.name = 'ResponseError'),
- (l.data = i),
- (l.response = r),
- (l.request = s),
- (l.type = u),
- l
- );
- }
- return n;
- })(Zi(Error));
- function PO(e) {
- return new Promise(function (t, n) {
- var r = new FileReader();
- (r.onload = function () {
- t(r.result);
- }),
- (r.onerror = n),
- r.readAsText(e, 'GBK');
- });
- }
- function af(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
- n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null,
- r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
- try {
- return JSON.parse(e);
- } catch (o) {
- if (t) throw new lo(n, 'JSON.parse fail', e, r, 'ParseError');
- }
- return e;
- }
- function IO(e, t, n) {
- return new Promise(function (r, o) {
- setTimeout(function () {
- o(new uh(t || 'timeout of '.concat(e, 'ms exceeded'), n, 'Timeout'));
- }, e);
- });
- }
- function lf(e) {
- return new Promise(function (t, n) {
- e.cancelToken &&
- e.cancelToken.promise.then(function (r) {
- n(r);
- });
- });
- }
- var RO = Object.prototype.toString;
- function fh() {
- var e;
- return (
- typeof process < 'u' &&
- RO.call(process) === '[object process]' &&
- (e = 'NODE'),
- typeof XMLHttpRequest < 'u' && (e = 'BROWSER'),
- e
- );
- }
- function el(e) {
- return (
- Ln(e) === 'object' && Object.prototype.toString.call(e) === '[object Array]'
- );
- }
- function dh(e) {
- return typeof URLSearchParams < 'u' && e instanceof URLSearchParams;
- }
- function kO(e) {
- return (
- Ln(e) === 'object' && Object.prototype.toString.call(e) === '[object Date]'
- );
- }
- function cf(e) {
- return e !== null && Ln(e) === 'object';
- }
- function uf(e, t) {
- if (e)
- if ((Ln(e) !== 'object' && (e = [e]), el(e)))
- for (var n = 0; n < e.length; n++) t.call(null, e[n], n, e);
- else
- for (var r in e)
- Object.prototype.hasOwnProperty.call(e, r) && t.call(null, e[r], r, e);
- }
- function ff(e) {
- return dh(e)
- ? rh.parse(e.toString(), { strictNullHandling: !0 })
- : typeof e == 'string'
- ? [e]
- : e;
- }
- function tl(e) {
- return rh.stringify(e, { arrayFormat: 'repeat', strictNullHandling: !0 });
- }
- function ph(e, t) {
- return mt(
- mt(mt({}, e), t),
- {},
- {
- headers: mt(mt({}, e.headers), t.headers),
- params: mt(mt({}, ff(e.params)), ff(t.params)),
- method: (t.method || e.method || 'get').toLowerCase()
- }
- );
- }
- var MO = function (t) {
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
- r = n.prefix,
- o = n.suffix;
- return (
- r && (t = ''.concat(r).concat(t)),
- o && (t = ''.concat(t).concat(o)),
- { url: t, options: n }
- );
- },
- df = !1;
- function FO(e, t) {
- var n = t.method,
- r = n === void 0 ? 'get' : n;
- return r.toLowerCase() === 'get';
- }
- function BO(e, t) {
- if (!e) return t();
- var n = e.req;
- n = n === void 0 ? {} : n;
- var r = n.options,
- o = r === void 0 ? {} : r,
- i = n.url,
- s = i === void 0 ? '' : i,
- l = e.cache,
- u = e.responseInterceptors,
- a = o.timeout,
- c = a === void 0 ? 0 : a,
- f = o.timeoutMessage,
- d = o.__umiRequestCoreType__,
- h = d === void 0 ? 'normal' : d,
- g = o.useCache,
- _ = g === void 0 ? !1 : g,
- w = o.method,
- b = w === void 0 ? 'get' : w,
- A = o.params,
- M = o.ttl,
- Z = o.validateCache,
- I = Z === void 0 ? FO : Z;
- if (h !== 'normal')
- return (
- process &&
- process.env &&
- df === !1 &&
- ((df = !0),
- console.warn(
- '__umiRequestCoreType__ is a internal property that use in umi-request, change its value would affect the behavior of request! It only use when you want to extend or use request core.'
- )),
- t()
- );
- var Q = fetch;
- if (!Q) throw new Error('Global fetch not exist!');
- var F = fh() === 'BROWSER',
- K = I(s, o) && _ && F;
- if (K) {
- var D = l.get({ url: s, params: A, method: b });
- if (D) return (D = D.clone()), (D.useCache = !0), (e.res = D), t();
- }
- var O;
- return (
- c > 0
- ? (O = Promise.race([lf(o), Q(s, o), IO(c, f, e.req)]))
- : (O = Promise.race([lf(o), Q(s, o)])),
- u.forEach(function (B) {
- O = O.then(function (P) {
- var R = typeof P.clone == 'function' ? P.clone() : P;
- return B(R, o);
- });
- }),
- O.then(function (B) {
- if (K && B.status === 200) {
- var P = B.clone();
- (P.useCache = !0), l.set({ url: s, params: A, method: b }, P, M);
- }
- return (e.res = B), t();
- })
- );
- }
- function DO(e, t) {
- var n;
- return t()
- .then(function () {
- if (e) {
- var r = e.res,
- o = r === void 0 ? {} : r,
- i = e.req,
- s = i === void 0 ? {} : i,
- l = s || {},
- u = l.options;
- u = u === void 0 ? {} : u;
- var a = u.responseType,
- c = a === void 0 ? 'json' : a,
- f = u.charset,
- d = f === void 0 ? 'utf8' : f;
- u.getResponse;
- var h = u.throwErrIfParseFail,
- g = h === void 0 ? !1 : h,
- _ = u.parseResponse,
- w = _ === void 0 ? !0 : _;
- if (w && !(!o || !o.clone)) {
- if (
- ((n = fh() === 'BROWSER' ? o.clone() : o),
- (n.useCache = o.useCache || !1),
- d === 'gbk')
- )
- try {
- return o
- .blob()
- .then(PO)
- .then(function (b) {
- return af(b, !1, n, s);
- });
- } catch (b) {
- throw new lo(n, b.message, null, s, 'ParseError');
- }
- else if (c === 'json')
- return o.text().then(function (b) {
- return af(b, g, n, s);
- });
- try {
- return o[c]();
- } catch (b) {
- throw new lo(n, 'responseType not support', null, s, 'ParseError');
- }
- }
- }
- })
- .then(function (r) {
- if (e) {
- e.res;
- var o = e.req,
- i = o === void 0 ? {} : o,
- s = i || {},
- l = s.options;
- l = l === void 0 ? {} : l;
- var u = l.getResponse,
- a = u === void 0 ? !1 : u;
- if (n) {
- if (n.status >= 200 && n.status < 300) {
- if (a) {
- e.res = { data: r, response: n };
- return;
- }
- e.res = r;
- return;
- }
- throw new lo(n, 'http error', r, i, 'HttpError');
- }
- }
- })
- .catch(function (r) {
- if (r instanceof uh || r instanceof lo) throw r;
- var o = e.req,
- i = e.res;
- throw (
- ((r.request = r.request || o),
- (r.response = r.response || i),
- (r.type = r.type || r.name),
- (r.data = r.data || void 0),
- r)
- );
- });
- }
- function LO(e, t) {
- if (!e) return t();
- var n = e.req;
- n = n === void 0 ? {} : n;
- var r = n.options,
- o = r === void 0 ? {} : r,
- i = o.method,
- s = i === void 0 ? 'get' : i;
- if (['post', 'put', 'patch', 'delete'].indexOf(s.toLowerCase()) === -1)
- return t();
- var l = o.requestType,
- u = l === void 0 ? 'json' : l,
- a = o.data;
- if (a) {
- var c = Object.prototype.toString.call(a);
- c === '[object Object]' || c === '[object Array]'
- ? u === 'json'
- ? ((o.headers = mt(
- {
- Accept: 'application/json',
- 'Content-Type': 'application/json;charset=UTF-8'
- },
- o.headers
- )),
- (o.body = JSON.stringify(a)))
- : u === 'form' &&
- ((o.headers = mt(
- {
- Accept: 'application/json',
- 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
- },
- o.headers
- )),
- (o.body = tl(a)))
- : ((o.headers = mt({ Accept: 'application/json' }, o.headers)),
- (o.body = a));
- }
- return (e.req.options = o), t();
- }
- function NO(e, t) {
- var n, r;
- if (e)
- if (t) n = t(e);
- else if (dh(e)) n = e.toString();
- else if (el(e))
- (r = []),
- uf(e, function (i) {
- i === null || typeof i > 'u'
- ? r.push(i)
- : r.push(cf(i) ? JSON.stringify(i) : i);
- }),
- (n = tl(r));
- else {
- (r = {}),
- uf(e, function (i, s) {
- var l = i;
- i === null || typeof i > 'u'
- ? (r[s] = i)
- : kO(i)
- ? (l = i.toISOString())
- : el(i)
- ? (l = i)
- : cf(i) && (l = JSON.stringify(i)),
- (r[s] = l);
- });
- var o = tl(r);
- n = o;
- }
- return n;
- }
- function jO(e, t) {
- if (!e) return t();
- var n = e.req;
- n = n === void 0 ? {} : n;
- var r = n.options,
- o = r === void 0 ? {} : r,
- i = o.paramsSerializer,
- s = o.params,
- l = e.req;
- l = l === void 0 ? {} : l;
- var u = l.url,
- a = u === void 0 ? '' : u;
- (o.method = o.method ? o.method.toUpperCase() : 'GET'),
- (o.credentials = o.credentials || 'same-origin');
- var c = NO(s, i);
- if (((e.req.originUrl = a), c)) {
- var f = a.indexOf('?') !== -1 ? '&' : '?';
- e.req.url = ''.concat(a).concat(f).concat(c);
- }
- return (e.req.options = o), t();
- }
- var hh = [LO, jO, DO],
- mh = [BO];
- jt.globalMiddlewares = hh;
- jt.defaultGlobalMiddlewaresLength = hh.length;
- jt.coreMiddlewares = mh;
- jt.defaultCoreMiddlewaresLength = mh.length;
- var bo = (function () {
- function e(t) {
- Go(this, e),
- (this.onion = new jt([])),
- (this.fetchIndex = 0),
- (this.mapCache = new $O(t)),
- (this.initOptions = t),
- (this.instanceRequestInterceptors = []),
- (this.instanceResponseInterceptors = []);
- }
- return (
- Jl(
- e,
- [
- {
- key: 'use',
- value: function (n) {
- var r =
- arguments.length > 1 && arguments[1] !== void 0
- ? arguments[1]
- : { global: !1, core: !1 };
- return this.onion.use(n, r), this;
- }
- },
- {
- key: 'extendOptions',
- value: function (n) {
- (this.initOptions = ph(this.initOptions, n)),
- this.mapCache.extendOptions(n);
- }
- },
- {
- key: 'dealRequestInterceptors',
- value: function (n) {
- var r = function (s, l) {
- return s.then(function () {
- var u =
- arguments.length > 0 && arguments[0] !== void 0
- ? arguments[0]
- : {};
- return (
- (n.req.url = u.url || n.req.url),
- (n.req.options = u.options || n.req.options),
- l(n.req.url, n.req.options)
- );
- });
- },
- o = [].concat(
- Gt(e.requestInterceptors),
- Gt(this.instanceRequestInterceptors)
- );
- return o.reduce(r, Promise.resolve()).then(function () {
- var i =
- arguments.length > 0 && arguments[0] !== void 0
- ? arguments[0]
- : {};
- return (
- (n.req.url = i.url || n.req.url),
- (n.req.options = i.options || n.req.options),
- Promise.resolve()
- );
- });
- }
- },
- {
- key: 'request',
- value: function (n, r) {
- var o = this,
- i = this.onion,
- s = {
- req: { url: n, options: mt(mt({}, r), {}, { url: n }) },
- res: null,
- cache: this.mapCache,
- responseInterceptors: [].concat(
- Gt(e.responseInterceptors),
- Gt(this.instanceResponseInterceptors)
- )
- };
- if (typeof n != 'string') throw new Error('url MUST be a string');
- return new Promise(function (l, u) {
- o.dealRequestInterceptors(s)
- .then(function () {
- return i.execute(s);
- })
- .then(function () {
- l(s.res);
- })
- .catch(function (a) {
- var c = s.req.options.errorHandler;
- if (c)
- try {
- var f = c(a);
- l(f);
- } catch (d) {
- u(d);
- }
- else u(a);
- });
- });
- }
- }
- ],
- [
- {
- key: 'requestUse',
- value: function (n) {
- var r =
- arguments.length > 1 && arguments[1] !== void 0
- ? arguments[1]
- : { global: !0 };
- if (typeof n != 'function')
- throw new TypeError('Interceptor must be function!');
- r.global
- ? e.requestInterceptors.push(n)
- : this.instanceRequestInterceptors.push(n);
- }
- },
- {
- key: 'responseUse',
- value: function (n) {
- var r =
- arguments.length > 1 && arguments[1] !== void 0
- ? arguments[1]
- : { global: !0 };
- if (typeof n != 'function')
- throw new TypeError('Interceptor must be function!');
- r.global
- ? e.responseInterceptors.push(n)
- : this.instanceResponseInterceptors.push(n);
- }
- }
- ]
- ),
- e
- );
- })();
- bo.requestInterceptors = [MO];
- bo.responseInterceptors = [];
- function As(e) {
- this.message = e;
- }
- As.prototype.toString = function () {
- return this.message ? 'Cancel: '.concat(this.message) : 'Cancel';
- };
- As.prototype.__CANCEL__ = !0;
- function es(e) {
- if (typeof e != 'function')
- throw new TypeError('executor must be a function.');
- var t;
- this.promise = new Promise(function (o) {
- t = o;
- });
- var n = this;
- e(function (o) {
- n.reason || ((n.reason = new As(o)), t(n.reason));
- });
- }
- es.prototype.throwIfRequested = function () {
- if (this.reason) throw this.reason;
- };
- es.source = function () {
- var t,
- n = new es(function (o) {
- t = o;
- });
- return { token: n, cancel: t };
- };
- function UO(e) {
- return !!(e && e.__CANCEL__);
- }
- var Ql = function () {
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
- n = new bo(t),
- r = function (s) {
- var l =
- arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
- u = ph(n.initOptions, l);
- return n.request(s, u);
- };
- (r.use = n.use.bind(n)),
- (r.fetchIndex = n.fetchIndex),
- (r.interceptors = {
- request: { use: bo.requestUse.bind(n) },
- response: { use: bo.responseUse.bind(n) }
- });
- var o = ['get', 'post', 'delete', 'put', 'patch', 'head', 'options', 'rpc'];
- return (
- o.forEach(function (i) {
- r[i] = function (s, l) {
- return r(s, mt(mt({}, l), {}, { method: i }));
- };
- }),
- (r.Cancel = As),
- (r.CancelToken = es),
- (r.isCancel = UO),
- (r.extendOptions = n.extendOptions.bind(n)),
- (r.middlewares = {
- instance: n.onion.middlewares,
- defaultInstance: n.onion.defaultMiddlewares,
- global: jt.globalMiddlewares,
- core: jt.coreMiddlewares
- }),
- r
- );
- },
- HO = function (t) {
- return Ql(t);
- };
- Ql({ parseResponse: !1 });
- Ql({});
- var ts = { exports: {} };
- ts.exports;
- (function (e, t) {
- var n = 9007199254740991,
- r = '[object Arguments]',
- o = '[object Function]',
- i = '[object GeneratorFunction]',
- s = '[object Map]',
- l = '[object Object]',
- u = '[object Promise]',
- a = '[object Set]',
- c = '[object WeakMap]',
- f = '[object DataView]',
- d = /[\\^$.*+?()[\]{}|]/g,
- h = /^\[object .+?Constructor\]$/,
- g = typeof Nt == 'object' && Nt && Nt.Object === Object && Nt,
- _ = typeof self == 'object' && self && self.Object === Object && self,
- w = g || _ || Function('return this')(),
- b = t && !t.nodeType && t,
- A = b && !0 && e && !e.nodeType && e,
- M = A && A.exports === b;
- function Z(N, se) {
- return N == null ? void 0 : N[se];
- }
- function I(N) {
- var se = !1;
- if (N != null && typeof N.toString != 'function')
- try {
- se = !!(N + '');
- } catch (ye) {}
- return se;
- }
- function Q(N, se) {
- return function (ye) {
- return N(se(ye));
- };
- }
- var F = Function.prototype,
- K = Object.prototype,
- D = w['__core-js_shared__'],
- O = (function () {
- var N = /[^.]+$/.exec((D && D.keys && D.keys.IE_PROTO) || '');
- return N ? 'Symbol(src)_1.' + N : '';
- })(),
- B = F.toString,
- P = K.hasOwnProperty,
- R = K.toString,
- U = RegExp(
- '^' +
- B.call(P)
- .replace(d, '\\$&')
- .replace(
- /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
- '$1.*?'
- ) +
- '$'
- ),
- H = M ? w.Buffer : void 0,
- ee = K.propertyIsEnumerable,
- k = H ? H.isBuffer : void 0,
- z = Q(Object.keys, Object),
- oe = ve(w, 'DataView'),
- he = ve(w, 'Map'),
- we = ve(w, 'Promise'),
- ge = ve(w, 'Set'),
- Ee = ve(w, 'WeakMap'),
- Fe = !ee.call({ valueOf: 1 }, 'valueOf'),
- Ne = $(oe),
- je = $(he),
- x = $(we),
- L = $(ge),
- W = $(Ee);
- function te(N) {
- return R.call(N);
- }
- function ce(N) {
- if (!ie(N) || y(N)) return !1;
- var se = re(N) || I(N) ? U : h;
- return se.test($(N));
- }
- function ve(N, se) {
- var ye = Z(N, se);
- return ce(ye) ? ye : void 0;
- }
- var m = te;
- ((oe && m(new oe(new ArrayBuffer(1))) != f) ||
- (he && m(new he()) != s) ||
- (we && m(we.resolve()) != u) ||
- (ge && m(new ge()) != a) ||
- (Ee && m(new Ee()) != c)) &&
- (m = function (N) {
- var se = R.call(N),
- ye = se == l ? N.constructor : void 0,
- Ue = ye ? $(ye) : void 0;
- if (Ue)
- switch (Ue) {
- case Ne:
- return f;
- case je:
- return s;
- case x:
- return u;
- case L:
- return a;
- case W:
- return c;
- }
- return se;
- });
- function y(N) {
- return !!O && O in N;
- }
- function E(N) {
- var se = N && N.constructor,
- ye = (typeof se == 'function' && se.prototype) || K;
- return N === ye;
- }
- function $(N) {
- if (N != null) {
- try {
- return B.call(N);
- } catch (se) {}
- try {
- return N + '';
- } catch (se) {}
- }
- return '';
- }
- function C(N) {
- return (
- V(N) && P.call(N, 'callee') && (!ee.call(N, 'callee') || R.call(N) == r)
- );
- }
- var G = Array.isArray;
- function X(N) {
- return N != null && ne(N.length) && !re(N);
- }
- function V(N) {
- return ue(N) && X(N);
- }
- var J = k || me;
- function j(N) {
- if (
- X(N) &&
- (G(N) ||
- typeof N == 'string' ||
- typeof N.splice == 'function' ||
- J(N) ||
- C(N))
- )
- return !N.length;
- var se = m(N);
- if (se == s || se == a) return !N.size;
- if (Fe || E(N)) return !z(N).length;
- for (var ye in N) if (P.call(N, ye)) return !1;
- return !0;
- }
- function re(N) {
- var se = ie(N) ? R.call(N) : '';
- return se == o || se == i;
- }
- function ne(N) {
- return typeof N == 'number' && N > -1 && N % 1 == 0 && N <= n;
- }
- function ie(N) {
- var se = typeof N;
- return !!N && (se == 'object' || se == 'function');
- }
- function ue(N) {
- return !!N && typeof N == 'object';
- }
- function me() {
- return !1;
- }
- e.exports = j;
- })(ts, ts.exports);
- var qO = ts.exports,
- zO = '[object Object]';
- function VO(e) {
- var t = !1;
- if (e != null && typeof e.toString != 'function')
- try {
- t = !!(e + '');
- } catch (n) {}
- return t;
- }
- function WO(e, t) {
- return function (n) {
- return e(t(n));
- };
- }
- var KO = Function.prototype,
- gh = Object.prototype,
- yh = KO.toString,
- GO = gh.hasOwnProperty,
- YO = yh.call(Object),
- JO = gh.toString,
- QO = WO(Object.getPrototypeOf, Object);
- function XO(e) {
- return !!e && typeof e == 'object';
- }
- function ZO(e) {
- if (!XO(e) || JO.call(e) != zO || VO(e)) return !1;
- var t = QO(e);
- if (t === null) return !0;
- var n = GO.call(t, 'constructor') && t.constructor;
- return typeof n == 'function' && n instanceof n && yh.call(n) == YO;
- }
- var ex = ZO,
- ns = { exports: {} };
- ns.exports;
- (function (e, t) {
- var n = 200,
- r = 'Expected a function',
- o = '__lodash_hash_undefined__',
- i = 1,
- s = 2,
- l = 1 / 0,
- u = 9007199254740991,
- a = '[object Arguments]',
- c = '[object Array]',
- f = '[object Boolean]',
- d = '[object Date]',
- h = '[object Error]',
- g = '[object Function]',
- _ = '[object GeneratorFunction]',
- w = '[object Map]',
- b = '[object Number]',
- A = '[object Object]',
- M = '[object Promise]',
- Z = '[object RegExp]',
- I = '[object Set]',
- Q = '[object String]',
- F = '[object Symbol]',
- K = '[object WeakMap]',
- D = '[object ArrayBuffer]',
- O = '[object DataView]',
- B = '[object Float32Array]',
- P = '[object Float64Array]',
- R = '[object Int8Array]',
- U = '[object Int16Array]',
- H = '[object Int32Array]',
- ee = '[object Uint8Array]',
- k = '[object Uint8ClampedArray]',
- z = '[object Uint16Array]',
- oe = '[object Uint32Array]',
- he = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
- we = /^\w*$/,
- ge = /^\./,
- Ee =
- /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
- Fe = /[\\^$.*+?()[\]{}|]/g,
- Ne = /\\(\\)?/g,
- je = /^\[object .+?Constructor\]$/,
- x = /^(?:0|[1-9]\d*)$/,
- L = {};
- (L[B] = L[P] = L[R] = L[U] = L[H] = L[ee] = L[k] = L[z] = L[oe] = !0),
- (L[a] =
- L[c] =
- L[D] =
- L[f] =
- L[O] =
- L[d] =
- L[h] =
- L[g] =
- L[w] =
- L[b] =
- L[A] =
- L[Z] =
- L[I] =
- L[Q] =
- L[K] =
- !1);
- var W = typeof Nt == 'object' && Nt && Nt.Object === Object && Nt,
- te = typeof self == 'object' && self && self.Object === Object && self,
- ce = W || te || Function('return this')(),
- ve = t && !t.nodeType && t,
- m = ve && !0 && e && !e.nodeType && e,
- y = m && m.exports === ve,
- E = y && W.process,
- $ = (function () {
- try {
- return E && E.binding('util');
- } catch (p) {}
- })(),
- C = $ && $.isTypedArray;
- function G(p, v) {
- for (var T = -1, Y = p ? p.length : 0; ++T < Y && v(p[T], T, p) !== !1; );
- return p;
- }
- function X(p, v) {
- for (var T = -1, Y = p ? p.length : 0; ++T < Y; )
- if (v(p[T], T, p)) return !0;
- return !1;
- }
- function V(p) {
- return function (v) {
- return v == null ? void 0 : v[p];
- };
- }
- function J(p, v) {
- for (var T = -1, Y = Array(p); ++T < p; ) Y[T] = v(T);
- return Y;
- }
- function j(p) {
- return function (v) {
- return p(v);
- };
- }
- function re(p, v) {
- return p == null ? void 0 : p[v];
- }
- function ne(p) {
- var v = !1;
- if (p != null && typeof p.toString != 'function')
- try {
- v = !!(p + '');
- } catch (T) {}
- return v;
- }
- function ie(p) {
- var v = -1,
- T = Array(p.size);
- return (
- p.forEach(function (Y, pe) {
- T[++v] = [pe, Y];
- }),
- T
- );
- }
- function ue(p, v) {
- return function (T) {
- return p(v(T));
- };
- }
- function me(p) {
- var v = -1,
- T = Array(p.size);
- return (
- p.forEach(function (Y) {
- T[++v] = Y;
- }),
- T
- );
- }
- var N = Array.prototype,
- se = Function.prototype,
- ye = Object.prototype,
- Ue = ce['__core-js_shared__'],
- nn = (function () {
- var p = /[^.]+$/.exec((Ue && Ue.keys && Ue.keys.IE_PROTO) || '');
- return p ? 'Symbol(src)_1.' + p : '';
- })(),
- zr = se.toString,
- at = ye.hasOwnProperty,
- rn = ye.toString,
- Ye = RegExp(
- '^' +
- zr
- .call(at)
- .replace(Fe, '\\$&')
- .replace(
- /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
- '$1.*?'
- ) +
- '$'
- ),
- wt = ce.Symbol,
- Vr = ce.Uint8Array,
- Ch = ue(Object.getPrototypeOf, Object),
- $h = Object.create,
- Ph = ye.propertyIsEnumerable,
- Ih = N.splice,
- Rh = ue(Object.keys, Object),
- $s = vr(ce, 'DataView'),
- Wr = vr(ce, 'Map'),
- Ps = vr(ce, 'Promise'),
- Is = vr(ce, 'Set'),
- Rs = vr(ce, 'WeakMap'),
- Kr = vr(Object, 'create'),
- kh = Wn($s),
- Mh = Wn(Wr),
- Fh = Wn(Ps),
- Bh = Wn(Is),
- Dh = Wn(Rs),
- Yo = wt ? wt.prototype : void 0,
- ks = Yo ? Yo.valueOf : void 0,
- tc = Yo ? Yo.toString : void 0;
- function Vn(p) {
- var v = -1,
- T = p ? p.length : 0;
- for (this.clear(); ++v < T; ) {
- var Y = p[v];
- this.set(Y[0], Y[1]);
- }
- }
- function Lh() {
- this.__data__ = Kr ? Kr(null) : {};
- }
- function Nh(p) {
- return this.has(p) && delete this.__data__[p];
- }
- function jh(p) {
- var v = this.__data__;
- if (Kr) {
- var T = v[p];
- return T === o ? void 0 : T;
- }
- return at.call(v, p) ? v[p] : void 0;
- }
- function Uh(p) {
- var v = this.__data__;
- return Kr ? v[p] !== void 0 : at.call(v, p);
- }
- function Hh(p, v) {
- var T = this.__data__;
- return (T[p] = Kr && v === void 0 ? o : v), this;
- }
- (Vn.prototype.clear = Lh),
- (Vn.prototype.delete = Nh),
- (Vn.prototype.get = jh),
- (Vn.prototype.has = Uh),
- (Vn.prototype.set = Hh);
- function on(p) {
- var v = -1,
- T = p ? p.length : 0;
- for (this.clear(); ++v < T; ) {
- var Y = p[v];
- this.set(Y[0], Y[1]);
- }
- }
- function qh() {
- this.__data__ = [];
- }
- function zh(p) {
- var v = this.__data__,
- T = Qo(v, p);
- if (T < 0) return !1;
- var Y = v.length - 1;
- return T == Y ? v.pop() : Ih.call(v, T, 1), !0;
- }
- function Vh(p) {
- var v = this.__data__,
- T = Qo(v, p);
- return T < 0 ? void 0 : v[T][1];
- }
- function Wh(p) {
- return Qo(this.__data__, p) > -1;
- }
- function Kh(p, v) {
- var T = this.__data__,
- Y = Qo(T, p);
- return Y < 0 ? T.push([p, v]) : (T[Y][1] = v), this;
- }
- (on.prototype.clear = qh),
- (on.prototype.delete = zh),
- (on.prototype.get = Vh),
- (on.prototype.has = Wh),
- (on.prototype.set = Kh);
- function sn(p) {
- var v = -1,
- T = p ? p.length : 0;
- for (this.clear(); ++v < T; ) {
- var Y = p[v];
- this.set(Y[0], Y[1]);
- }
- }
- function Gh() {
- this.__data__ = { hash: new Vn(), map: new (Wr || on)(), string: new Vn() };
- }
- function Yh(p) {
- return Xo(this, p).delete(p);
- }
- function Jh(p) {
- return Xo(this, p).get(p);
- }
- function Qh(p) {
- return Xo(this, p).has(p);
- }
- function Xh(p, v) {
- return Xo(this, p).set(p, v), this;
- }
- (sn.prototype.clear = Gh),
- (sn.prototype.delete = Yh),
- (sn.prototype.get = Jh),
- (sn.prototype.has = Qh),
- (sn.prototype.set = Xh);
- function Jo(p) {
- var v = -1,
- T = p ? p.length : 0;
- for (this.__data__ = new sn(); ++v < T; ) this.add(p[v]);
- }
- function Zh(p) {
- return this.__data__.set(p, o), this;
- }
- function em(p) {
- return this.__data__.has(p);
- }
- (Jo.prototype.add = Jo.prototype.push = Zh), (Jo.prototype.has = em);
- function an(p) {
- this.__data__ = new on(p);
- }
- function tm() {
- this.__data__ = new on();
- }
- function nm(p) {
- return this.__data__.delete(p);
- }
- function rm(p) {
- return this.__data__.get(p);
- }
- function om(p) {
- return this.__data__.has(p);
- }
- function im(p, v) {
- var T = this.__data__;
- if (T instanceof on) {
- var Y = T.__data__;
- if (!Wr || Y.length < n - 1) return Y.push([p, v]), this;
- T = this.__data__ = new sn(Y);
- }
- return T.set(p, v), this;
- }
- (an.prototype.clear = tm),
- (an.prototype.delete = nm),
- (an.prototype.get = rm),
- (an.prototype.has = om),
- (an.prototype.set = im);
- function sm(p, v) {
- var T = ln(p) || cc(p) ? J(p.length, String) : [],
- Y = T.length,
- pe = !!Y;
- for (var ae in p)
- (v || at.call(p, ae)) &&
- !(pe && (ae == 'length' || ic(ae, Y))) &&
- T.push(ae);
- return T;
- }
- function Qo(p, v) {
- for (var T = p.length; T--; ) if (lc(p[T][0], v)) return T;
- return -1;
- }
- function am(p) {
- return br(p) ? $h(p) : {};
- }
- var lm = Em();
- function cm(p, v) {
- return p && lm(p, v, ni);
- }
- function nc(p, v) {
- v = Zo(v, p) ? [v] : rc(v);
- for (var T = 0, Y = v.length; p != null && T < Y; ) p = p[ei(v[T++])];
- return T && T == Y ? p : void 0;
- }
- function um(p) {
- return rn.call(p);
- }
- function fm(p, v) {
- return p != null && v in Object(p);
- }
- function Ms(p, v, T, Y, pe) {
- return p === v
- ? !0
- : p == null || v == null || (!br(p) && !ti(v))
- ? p !== p && v !== v
- : dm(p, v, Ms, T, Y, pe);
- }
- function dm(p, v, T, Y, pe, ae) {
- var Oe = ln(p),
- Te = ln(v),
- ke = c,
- He = c;
- Oe || ((ke = En(p)), (ke = ke == a ? A : ke)),
- Te || ((He = En(v)), (He = He == a ? A : He));
- var lt = ke == A && !ne(p),
- dt = He == A && !ne(v),
- qe = ke == He;
- if (qe && !lt)
- return (
- ae || (ae = new an()),
- Oe || fc(p) ? oc(p, v, T, Y, pe, ae) : Sm(p, v, ke, T, Y, pe, ae)
- );
- if (!(pe & s)) {
- var xt = lt && at.call(p, '__wrapped__'),
- At = dt && at.call(v, '__wrapped__');
- if (xt || At) {
- var Sn = xt ? p.value() : p,
- cn = At ? v.value() : v;
- return ae || (ae = new an()), T(Sn, cn, Y, pe, ae);
- }
- }
- return qe ? (ae || (ae = new an()), Om(p, v, T, Y, pe, ae)) : !1;
- }
- function pm(p, v, T, Y) {
- var pe = T.length,
- ae = pe,
- Oe = !Y;
- if (p == null) return !ae;
- for (p = Object(p); pe--; ) {
- var Te = T[pe];
- if (Oe && Te[2] ? Te[1] !== p[Te[0]] : !(Te[0] in p)) return !1;
- }
- for (; ++pe < ae; ) {
- Te = T[pe];
- var ke = Te[0],
- He = p[ke],
- lt = Te[1];
- if (Oe && Te[2]) {
- if (He === void 0 && !(ke in p)) return !1;
- } else {
- var dt = new an();
- if (Y) var qe = Y(He, lt, ke, p, v, dt);
- if (!(qe === void 0 ? Ms(lt, He, Y, i | s, dt) : qe)) return !1;
- }
- }
- return !0;
- }
- function hm(p) {
- if (!br(p) || Cm(p)) return !1;
- var v = Bs(p) || ne(p) ? Ye : je;
- return v.test(Wn(p));
- }
- function mm(p) {
- return ti(p) && Ds(p.length) && !!L[rn.call(p)];
- }
- function gm(p) {
- return typeof p == 'function'
- ? p
- : p == null
- ? Bm
- : typeof p == 'object'
- ? ln(p)
- ? bm(p[0], p[1])
- : vm(p)
- : Dm(p);
- }
- function ym(p) {
- if (!$m(p)) return Rh(p);
- var v = [];
- for (var T in Object(p)) at.call(p, T) && T != 'constructor' && v.push(T);
- return v;
- }
- function vm(p) {
- var v = xm(p);
- return v.length == 1 && v[0][2]
- ? ac(v[0][0], v[0][1])
- : function (T) {
- return T === p || pm(T, p, v);
- };
- }
- function bm(p, v) {
- return Zo(p) && sc(v)
- ? ac(ei(p), v)
- : function (T) {
- var Y = km(T, p);
- return Y === void 0 && Y === v ? Mm(T, p) : Ms(v, Y, void 0, i | s);
- };
- }
- function _m(p) {
- return function (v) {
- return nc(v, p);
- };
- }
- function wm(p) {
- if (typeof p == 'string') return p;
- if (Ls(p)) return tc ? tc.call(p) : '';
- var v = p + '';
- return v == '0' && 1 / p == -l ? '-0' : v;
- }
- function rc(p) {
- return ln(p) ? p : Pm(p);
- }
- function Em(p) {
- return function (v, T, Y) {
- for (var pe = -1, ae = Object(v), Oe = Y(v), Te = Oe.length; Te--; ) {
- var ke = Oe[p ? Te : ++pe];
- if (T(ae[ke], ke, ae) === !1) break;
- }
- return v;
- };
- }
- function oc(p, v, T, Y, pe, ae) {
- var Oe = pe & s,
- Te = p.length,
- ke = v.length;
- if (Te != ke && !(Oe && ke > Te)) return !1;
- var He = ae.get(p);
- if (He && ae.get(v)) return He == v;
- var lt = -1,
- dt = !0,
- qe = pe & i ? new Jo() : void 0;
- for (ae.set(p, v), ae.set(v, p); ++lt < Te; ) {
- var xt = p[lt],
- At = v[lt];
- if (Y) var Sn = Oe ? Y(At, xt, lt, v, p, ae) : Y(xt, At, lt, p, v, ae);
- if (Sn !== void 0) {
- if (Sn) continue;
- dt = !1;
- break;
- }
- if (qe) {
- if (
- !X(v, function (cn, Kn) {
- if (!qe.has(Kn) && (xt === cn || T(xt, cn, Y, pe, ae)))
- return qe.add(Kn);
- })
- ) {
- dt = !1;
- break;
- }
- } else if (!(xt === At || T(xt, At, Y, pe, ae))) {
- dt = !1;
- break;
- }
- }
- return ae.delete(p), ae.delete(v), dt;
- }
- function Sm(p, v, T, Y, pe, ae, Oe) {
- switch (T) {
- case O:
- if (p.byteLength != v.byteLength || p.byteOffset != v.byteOffset)
- return !1;
- (p = p.buffer), (v = v.buffer);
- case D:
- return !(p.byteLength != v.byteLength || !Y(new Vr(p), new Vr(v)));
- case f:
- case d:
- case b:
- return lc(+p, +v);
- case h:
- return p.name == v.name && p.message == v.message;
- case Z:
- case Q:
- return p == v + '';
- case w:
- var Te = ie;
- case I:
- var ke = ae & s;
- if ((Te || (Te = me), p.size != v.size && !ke)) return !1;
- var He = Oe.get(p);
- if (He) return He == v;
- (ae |= i), Oe.set(p, v);
- var lt = oc(Te(p), Te(v), Y, pe, ae, Oe);
- return Oe.delete(p), lt;
- case F:
- if (ks) return ks.call(p) == ks.call(v);
- }
- return !1;
- }
- function Om(p, v, T, Y, pe, ae) {
- var Oe = pe & s,
- Te = ni(p),
- ke = Te.length,
- He = ni(v),
- lt = He.length;
- if (ke != lt && !Oe) return !1;
- for (var dt = ke; dt--; ) {
- var qe = Te[dt];
- if (!(Oe ? qe in v : at.call(v, qe))) return !1;
- }
- var xt = ae.get(p);
- if (xt && ae.get(v)) return xt == v;
- var At = !0;
- ae.set(p, v), ae.set(v, p);
- for (var Sn = Oe; ++dt < ke; ) {
- qe = Te[dt];
- var cn = p[qe],
- Kn = v[qe];
- if (Y) var dc = Oe ? Y(Kn, cn, qe, v, p, ae) : Y(cn, Kn, qe, p, v, ae);
- if (!(dc === void 0 ? cn === Kn || T(cn, Kn, Y, pe, ae) : dc)) {
- At = !1;
- break;
- }
- Sn || (Sn = qe == 'constructor');
- }
- if (At && !Sn) {
- var ri = p.constructor,
- oi = v.constructor;
- ri != oi &&
- 'constructor' in p &&
- 'constructor' in v &&
- !(
- typeof ri == 'function' &&
- ri instanceof ri &&
- typeof oi == 'function' &&
- oi instanceof oi
- ) &&
- (At = !1);
- }
- return ae.delete(p), ae.delete(v), At;
- }
- function Xo(p, v) {
- var T = p.__data__;
- return Tm(v) ? T[typeof v == 'string' ? 'string' : 'hash'] : T.map;
- }
- function xm(p) {
- for (var v = ni(p), T = v.length; T--; ) {
- var Y = v[T],
- pe = p[Y];
- v[T] = [Y, pe, sc(pe)];
- }
- return v;
- }
- function vr(p, v) {
- var T = re(p, v);
- return hm(T) ? T : void 0;
- }
- var En = um;
- (($s && En(new $s(new ArrayBuffer(1))) != O) ||
- (Wr && En(new Wr()) != w) ||
- (Ps && En(Ps.resolve()) != M) ||
- (Is && En(new Is()) != I) ||
- (Rs && En(new Rs()) != K)) &&
- (En = function (p) {
- var v = rn.call(p),
- T = v == A ? p.constructor : void 0,
- Y = T ? Wn(T) : void 0;
- if (Y)
- switch (Y) {
- case kh:
- return O;
- case Mh:
- return w;
- case Fh:
- return M;
- case Bh:
- return I;
- case Dh:
- return K;
- }
- return v;
- });
- function Am(p, v, T) {
- v = Zo(v, p) ? [v] : rc(v);
- for (var Y, pe = -1, Oe = v.length; ++pe < Oe; ) {
- var ae = ei(v[pe]);
- if (!(Y = p != null && T(p, ae))) break;
- p = p[ae];
- }
- if (Y) return Y;
- var Oe = p ? p.length : 0;
- return !!Oe && Ds(Oe) && ic(ae, Oe) && (ln(p) || cc(p));
- }
- function ic(p, v) {
- return (
- (v = v == null ? u : v),
- !!v &&
- (typeof p == 'number' || x.test(p)) &&
- p > -1 &&
- p % 1 == 0 &&
- p < v
- );
- }
- function Zo(p, v) {
- if (ln(p)) return !1;
- var T = typeof p;
- return T == 'number' ||
- T == 'symbol' ||
- T == 'boolean' ||
- p == null ||
- Ls(p)
- ? !0
- : we.test(p) || !he.test(p) || (v != null && p in Object(v));
- }
- function Tm(p) {
- var v = typeof p;
- return v == 'string' || v == 'number' || v == 'symbol' || v == 'boolean'
- ? p !== '__proto__'
- : p === null;
- }
- function Cm(p) {
- return !!nn && nn in p;
- }
- function $m(p) {
- var v = p && p.constructor,
- T = (typeof v == 'function' && v.prototype) || ye;
- return p === T;
- }
- function sc(p) {
- return p === p && !br(p);
- }
- function ac(p, v) {
- return function (T) {
- return T == null ? !1 : T[p] === v && (v !== void 0 || p in Object(T));
- };
- }
- var Pm = Fs(function (p) {
- p = Rm(p);
- var v = [];
- return (
- ge.test(p) && v.push(''),
- p.replace(Ee, function (T, Y, pe, ae) {
- v.push(pe ? ae.replace(Ne, '$1') : Y || T);
- }),
- v
- );
- });
- function ei(p) {
- if (typeof p == 'string' || Ls(p)) return p;
- var v = p + '';
- return v == '0' && 1 / p == -l ? '-0' : v;
- }
- function Wn(p) {
- if (p != null) {
- try {
- return zr.call(p);
- } catch (v) {}
- try {
- return p + '';
- } catch (v) {}
- }
- return '';
- }
- function Fs(p, v) {
- if (typeof p != 'function' || (v && typeof v != 'function'))
- throw new TypeError(r);
- var T = function () {
- var Y = arguments,
- pe = v ? v.apply(this, Y) : Y[0],
- ae = T.cache;
- if (ae.has(pe)) return ae.get(pe);
- var Oe = p.apply(this, Y);
- return (T.cache = ae.set(pe, Oe)), Oe;
- };
- return (T.cache = new (Fs.Cache || sn)()), T;
- }
- Fs.Cache = sn;
- function lc(p, v) {
- return p === v || (p !== p && v !== v);
- }
- function cc(p) {
- return (
- Im(p) &&
- at.call(p, 'callee') &&
- (!Ph.call(p, 'callee') || rn.call(p) == a)
- );
- }
- var ln = Array.isArray;
- function uc(p) {
- return p != null && Ds(p.length) && !Bs(p);
- }
- function Im(p) {
- return ti(p) && uc(p);
- }
- function Bs(p) {
- var v = br(p) ? rn.call(p) : '';
- return v == g || v == _;
- }
- function Ds(p) {
- return typeof p == 'number' && p > -1 && p % 1 == 0 && p <= u;
- }
- function br(p) {
- var v = typeof p;
- return !!p && (v == 'object' || v == 'function');
- }
- function ti(p) {
- return !!p && typeof p == 'object';
- }
- function Ls(p) {
- return typeof p == 'symbol' || (ti(p) && rn.call(p) == F);
- }
- var fc = C ? j(C) : mm;
- function Rm(p) {
- return p == null ? '' : wm(p);
- }
- function km(p, v, T) {
- var Y = p == null ? void 0 : nc(p, v);
- return Y === void 0 ? T : Y;
- }
- function Mm(p, v) {
- return p != null && Am(p, v, fm);
- }
- function ni(p) {
- return uc(p) ? sm(p) : ym(p);
- }
- function Fm(p, v, T) {
- var Y = ln(p) || fc(p);
- if (((v = gm(v)), T == null))
- if (Y || br(p)) {
- var pe = p.constructor;
- Y ? (T = ln(p) ? new pe() : []) : (T = Bs(pe) ? am(Ch(p)) : {});
- } else T = {};
- return (
- (Y ? G : cm)(p, function (ae, Oe, Te) {
- return v(T, ae, Oe, Te);
- }),
- T
- );
- }
- function Bm(p) {
- return p;
- }
- function Dm(p) {
- return Zo(p) ? V(ei(p)) : _m(p);
- }
- e.exports = Fm;
- })(ns, ns.exports);
- var tx = ns.exports;
- const nx = qO,
- pf = ex,
- rx = tx;
- var ox = function e(
- t,
- {
- cleanKeys: n = [],
- cleanValues: r = [],
- emptyArrays: o = !0,
- emptyObjects: i = !0,
- emptyStrings: s = !0,
- NaNValues: l = !1,
- nullValues: u = !0,
- undefinedValues: a = !0
- } = {}
- ) {
- return rx(t, (c, f, d) => {
- if (
- !n.includes(d) &&
- ((Array.isArray(f) || pf(f)) &&
- (f = e(f, {
- NaNValues: l,
- cleanKeys: n,
- cleanValues: r,
- emptyArrays: o,
- emptyObjects: i,
- emptyStrings: s,
- nullValues: u,
- undefinedValues: a
- })),
- !r.includes(f) &&
- !(i && pf(f) && nx(f)) &&
- !(o && Array.isArray(f) && !f.length) &&
- !(s && f === '') &&
- !(l && Number.isNaN(f)) &&
- !(u && f === null) &&
- !(a && f === void 0))
- ) {
- if (Array.isArray(c)) return c.push(f);
- c[d] = f;
- }
- });
- };
- const hf = $l(ox),
- Xl = HO({
- noAuthorization: !1,
- hideLoading: !0,
- timeout: 2e4,
- timeoutMessage: '请求超时'
- });
- let vh = !1,
- $i;
- Xl.interceptors.request.use(
- (e, t) => {
- t.hideLoading ||
- (clearTimeout($i),
- Z_({ message: '加载中...', forbidClick: !0, duration: 0 })),
- (vh = t.initRequest || !1);
- const n = Ll.get(Nl) || '',
- r = {};
- return (
- n &&
- ![
- '/edu-app/userlogin',
- '/edu-app/smsLogin',
- '/edu-app/open/sendSms'
- ].includes(e) &&
- !t.noAuthorization &&
- (r.Authorization = n),
- {
- url: e,
- options: {
- ...t,
- params: hf(t.params),
- data: hf(t.data),
- headers: { ...t.headers, ...r }
- }
- }
- );
- },
- { global: !1 }
- );
- Xl.interceptors.response.use(
- async e => {
- if (
- (($i = setTimeout(() => {
- e0();
- }, 100)),
- e.status > 299 || e.status < 200)
- ) {
- clearTimeout($i);
- const n = '服务器错误,状态码' + e.status;
- throw (Ba(n), new Error(n));
- }
- const t = await e.clone().json();
- if (t.code !== 200 && t.errCode !== 0 && t.code !== 999) {
- let n = t.msg || t.message || '处理失败,请重试';
- vh && (t.code === 403 || t.code === 5e3 ? Wa() : Up()),
- t.code === 403 || t.code === 5e3 || (clearTimeout($i), Ba(n));
- const r = qo();
- throw (
- ((t.code === 5e3 || t.code === 403) &&
- ((n += ' authentication ' + t.code),
- r.isApp ? Hr({ api: 'login' }) : Wa()),
- new Error(n))
- );
- }
- return e;
- },
- { global: !1 }
- );
- const da = {},
- ix = Ge({
- name: 'm-header',
- props: {
- title: { type: String, default: '' },
- isBack: { type: Boolean, default: !0 },
- border: { type: Boolean, default: !1 },
- isFixed: { type: Boolean, default: !0 },
- styleName: { type: Object, default: () => ({}) },
- background: { type: String, default: 'white' },
- color: { type: String, default: '#323233' },
- rightText: { type: String, default: '' }
- },
- emits: ['rightClick'],
- setup(e, { emit: t, slots: n }) {
- const r = oE(),
- o = rE(),
- i = vt({ title: '', navBarHeight: gt.navBarHeight }),
- s = () => {
- qo().isApp ? Hr({ api: 'goBack' }) : o.back();
- },
- l = () => {
- t('rightClick');
- };
- return (
- wn(() => {
- (i.title = e.title || r.meta.title),
- (i.navBarHeight = gt.navBarHeight);
- }),
- Ke(
- () => e.title,
- () => {
- i.title = e.title || r.meta.title;
- }
- ),
- () =>
- S(Je, null, [
- n.content
- ? S(
- 'div',
- {
- style: {
- paddingTop: `${i.navBarHeight}px`,
- background: e.background
- },
- class: da.headerSection
- },
- [n.content(i.navBarHeight)]
- )
- : S(Je, null, [
- S(
- 'div',
- {
- style: {
- minHeight: `calc(var(--van-nav-bar-height) + ${i.navBarHeight}px)`
- },
- class: da.headerSection
- },
- [
- S(
- _0,
- {
- title: i.title,
- class: [da.colHeader],
- style: {
- background: e.background,
- color: e.color,
- paddingTop: `${i.navBarHeight}px`
- },
- 'left-arrow': e.isBack,
- rightText: e.rightText,
- fixed: e.isFixed,
- zIndex: 2e3,
- border: e.border,
- onClickLeft: s,
- onClickRight: l
- },
- {
- right: () => (n.right && n.right()) || e.rightText,
- title: () => (n.title && n.title()) || i.title
- }
- )
- ]
- ),
- n.default ? n.default() : null
- ])
- ])
- );
- }
- }),
- sx = '_mEmpty_fg1hz_1',
- ax = '_button_fg1hz_16',
- mf = { mEmpty: sx, button: ax },
- lx = '' + new URL('empty-a61da150.png', import.meta.url).href,
- cx = '' + new URL('network-427e6a08.png', import.meta.url).href,
- ux = '' + new URL('404-f6306b9c.png', import.meta.url).href,
- fx = Ge({
- name: 'm-empty',
- props: {
- description: { type: String, default: '' },
- image: { type: String, default: 'empty' },
- showButton: { type: Boolean, default: !1 },
- buttonText: { type: String, default: '返回' }
- },
- emits: ['click'],
- setup(e, { emit: t }) {
- const n = vt({ image: lx });
- return (
- wn(() => {
- e.image === 'network'
- ? (n.image = cx)
- : e.image === '404' && (n.image = ux);
- }),
- () =>
- S(
- u0,
- {
- style: { paddingTop: 0 },
- class: mf.mEmpty,
- image: n.image,
- description: e.description
- },
- {
- default: () => [
- e.showButton &&
- S(
- Ki,
- {
- type: 'primary',
- plain: !0,
- round: !0,
- class: mf.button,
- onClick: () => t('click')
- },
- { default: () => [e.buttonText] }
- )
- ]
- }
- )
- );
- }
- }),
- dx = Ge({
- name: 'Auth-loayout',
- data() {
- return { loading: !1 };
- },
- computed: {
- isExternal() {
- return this.$route.meta.isExternal || !1;
- },
- isNeedView() {
- return (
- gt.user.status === 'login' ||
- this.$route.path === '/login' ||
- this.isExternal
- );
- }
- },
- mounted() {
- !this.isExternal && this.setAuth();
- },
- methods: {
- async setAuth() {
- const { query: e } = this.$route,
- t = e.userInfo || e.Authorization;
- if ((t && Ll.set(Nl, t), !this.loading)) {
- if (gt.user.status === 'init' || gt.user.status === 'error') {
- this.loading = !0;
- try {
- const n = await Xl.get('/edu-app/user/getUserInfo', {
- initRequest: !0,
- requestType: 'form',
- hideLoading: !0
- });
- pE(n.data);
- } catch (n) {
- const r = n.message;
- r.indexOf('5000') === -1 && r.indexOf('authentication') === -1
- ? Up()
- : Wa();
- }
- this.loading = !1;
- }
- if (gt.user.status === 'logout')
- if (qo().isApp) Hr({ api: 'login' });
- else
- try {
- const n = this.$route,
- r = { returnUrl: this.$route.path, ...this.$route.query };
- n.meta.isRegister && (r.isRegister = n.meta.isRegister),
- this.$router.replace({ path: '/login', query: r });
- } catch (n) {}
- }
- }
- },
- render() {
- return S(Je, null, [
- gt.user.status === 'error'
- ? S('div', { class: dE.error }, [
- S(ix, null, null),
- S(
- fx,
- {
- image: 'network',
- description: '加载失败,请稍后重试',
- buttonText: '重新加载',
- showButton: !0,
- onClick: this.setAuth
- },
- null
- )
- ])
- : this.isNeedView
- ? S(kp, null, null)
- : null
- ]);
- }
- }),
- px = [
- {
- path: '/student-register',
- name: 'student-register',
- component: () =>
- Be(
- () => import('./index-8c1bf190.js'),
- [
- './index-8c1bf190.js',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index-c2e562a2.js',
- './plyr-a24de5e8.js',
- './plyr-aeb30ba4.css',
- './index-1d6b282a.css',
- './index-1cec3df4.js',
- './Checker-a18684d0.js',
- './index-c211624c.css',
- './student-register-store-f0e25580.js',
- './index-451fefb3.js',
- './index-e2c278c3.js',
- './index-02bb440b.js',
- './index-3d730154.js',
- './index-211c0d06.js',
- './index-406f5717.css',
- './index-a7cda64a.js',
- './index-f87aeb09.js',
- './index-cba12224.css'
- ],
- import.meta.url
- ),
- meta: { title: '学生登记' }
- },
- {
- path: '/goods-list',
- component: () =>
- Be(
- () => import('./index-92228bd4.js'),
- [
- './index-92228bd4.js',
- './index-c97a8cb3.js',
- './student-register-store-f0e25580.js',
- './index-489472c6.js',
- './Checker-a18684d0.js',
- './index-e2c278c3.js',
- './index-02bb440b.js',
- './index-f87aeb09.js',
- './index-eb3870af.css',
- './index-fa04e4d2.js',
- './index-bbd3900d.js',
- './index-451fefb3.js',
- './index-d83ecade.css',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index-5d2914df.css'
- ],
- import.meta.url
- ),
- meta: { title: '商品列表' }
- },
- {
- path: '/goodsDetail',
- component: () =>
- Be(
- () => import('./index-ee7b26ae.js'),
- [
- './index-ee7b26ae.js',
- './index-c97a8cb3.js',
- './student-register-store-f0e25580.js',
- './index-489472c6.js',
- './Checker-a18684d0.js',
- './index-e2c278c3.js',
- './index-02bb440b.js',
- './index-f87aeb09.js',
- './index-eb3870af.css',
- './index-a7cda64a.js',
- './index-a2e65fb3.css'
- ],
- import.meta.url
- ),
- meta: { title: '商品列表' }
- },
- {
- path: '/student-digital-tools',
- component: () =>
- Be(
- () => import('./index-59146abd.js'),
- [
- './index-59146abd.js',
- './index-c2e562a2.js',
- './plyr-a24de5e8.js',
- './plyr-aeb30ba4.css',
- './index-1d6b282a.css',
- './index-705d695c.css'
- ],
- import.meta.url
- ),
- meta: { title: '数字化乐器学练工具' }
- },
- {
- path: '/courseware-play',
- component: () =>
- Be(
- () => import('./index-5f402dde.js'),
- [
- './index-5f402dde.js',
- './plyr-a24de5e8.js',
- './plyr-aeb30ba4.css',
- './base-aba1ba3e.js',
- './index-92a77750.css'
- ],
- import.meta.url
- ),
- meta: { title: '课件播放' }
- },
- {
- path: '/co-ai',
- component: () =>
- Be(
- () => import('./index-5aa6a420.js'),
- [
- './index-5aa6a420.js',
- './index-bbd3900d.js',
- './index-451fefb3.js',
- './index-e2c278c3.js',
- './index-d83ecade.css',
- './index-42c22c63.css'
- ],
- import.meta.url
- ),
- meta: { title: '小酷AI' }
- },
- {
- path: '/payment-result',
- name: 'payment-result',
- component: () =>
- Be(
- () => import('./index-ec2ff63e.js'),
- [
- './index-ec2ff63e.js',
- './index-44ebd6f3.js',
- './index-02bb440b.js',
- './index-a7cda64a.js',
- './index-e2c278c3.js',
- './index-f87aeb09.js',
- './index-d883681a.css'
- ],
- import.meta.url
- ),
- meta: { title: '支付详情' }
- },
- {
- path: '/payCenter',
- name: 'payCenter',
- component: () =>
- Be(
- () => import('./index-5ec78b63.js'),
- ['./index-5ec78b63.js', './index-39cc4081.css'],
- import.meta.url
- ),
- meta: { title: '支付' }
- },
- {
- path: '/payDefine',
- name: 'payDefine',
- component: () =>
- Be(
- () => import('./index-135c3652.js'),
- [
- './index-135c3652.js',
- './index-a7cda64a.js',
- './index-e2c278c3.js',
- './index-41816eda.css'
- ],
- import.meta.url
- ),
- meta: { title: '支付' }
- },
- {
- path: '/payResult',
- name: 'payResult',
- component: () =>
- Be(
- () => import('./index-01feca3f.js'),
- [
- './index-01feca3f.js',
- './index-a7cda64a.js',
- './index-e2c278c3.js',
- './index-8918521d.css'
- ],
- import.meta.url
- ),
- meta: { title: '支付' }
- },
- {
- path: '/preview-protocol',
- name: 'preview-protocol',
- component: () =>
- Be(
- () => import('./index-14ec3257.js'),
- ['./index-14ec3257.js', './index-ab1e0cb3.css'],
- import.meta.url
- ),
- meta: { title: '课堂乐器注册协议' }
- },
- {
- path: '/privacy-protocol',
- name: 'privacy-protocol',
- component: () =>
- Be(
- () => import('./privacy-df88cbc7.js'),
- ['./privacy-df88cbc7.js', './privacy-dff82a6c.css'],
- import.meta.url
- ),
- meta: { title: '课堂乐器隐私政策' }
- },
- {
- path: '/:pathMatch(.*)*',
- component: () =>
- Be(() => import('./index-2d505b76.js'), [], import.meta.url),
- meta: { title: '404' }
- }
- ],
- hx = [
- {
- path: '/',
- component: dx,
- children: [
- {
- path: '/login',
- name: 'login',
- component: () =>
- Be(
- () => import('./login-3adb015b.js'),
- [
- './login-3adb015b.js',
- './index-ca2ff73d.js',
- './base-aba1ba3e.js',
- './index-a7cda64a.js',
- './index-451fefb3.js',
- './index-e2c278c3.js',
- './login-5bf32bae.css'
- ],
- import.meta.url
- ),
- meta: { isRegister: !1 }
- },
- {
- path: '/order-detail',
- name: 'order-detail',
- component: () =>
- Be(
- () => import('./order-detail-d4e8fe5c.js'),
- [
- './order-detail-d4e8fe5c.js',
- './index-e2c278c3.js',
- './index-f87aeb09.js',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index-489472c6.js',
- './Checker-a18684d0.js',
- './index-a7cda64a.js',
- './index-1cec3df4.js',
- './index-c211624c.css',
- './index-ca2ff73d.js',
- './base-aba1ba3e.js',
- './index-451fefb3.js',
- './index-211c0d06.js',
- './index-406f5717.css',
- './index-02bb440b.js',
- './order-detail-6d5d832a.css'
- ],
- import.meta.url
- ),
- meta: { title: '订单详情' }
- },
- {
- path: '/shopAddress',
- name: 'shopAddress',
- component: () =>
- Be(
- () => import('./index-cec86dcc.js'),
- [
- './index-cec86dcc.js',
- './index.module-12f0c168.js',
- './index-01fd46df.css',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index-fa04e4d2.js',
- './index-e2c278c3.js',
- './index-f87aeb09.js'
- ],
- import.meta.url
- ),
- meta: { title: '支付详情' }
- },
- {
- path: '/addressOperation',
- name: 'addressOperation',
- component: () =>
- Be(
- () => import('./address-operation-080c94b8.js'),
- [
- './address-operation-080c94b8.js',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index.module-12f0c168.js',
- './index-01fd46df.css',
- './index-a7cda64a.js',
- './index-451fefb3.js',
- './index-e2c278c3.js',
- './index-3d730154.js'
- ],
- import.meta.url
- ),
- meta: { title: '收货地址' }
- },
- {
- path: '/member-center',
- name: 'member-center',
- component: () =>
- Be(
- () => import('./index-f03422a5.js'),
- [
- './index-f03422a5.js',
- './index-211c0d06.js',
- './index-406f5717.css',
- './index-44ebd6f3.js',
- './index-e2c278c3.js',
- './index-02bb440b.js',
- './index-4ee42e5d.css'
- ],
- import.meta.url
- ),
- meta: { title: '会员中心' }
- },
- {
- path: '/knowledge-library',
- name: 'knowledge-library',
- component: () =>
- Be(
- () => import('./index-2a46b411.js'),
- [
- './index-2a46b411.js',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index.module-7eaec779.js',
- './index-a9e362b7.css',
- './index-e2c278c3.js',
- './index-02bb440b.js'
- ],
- import.meta.url
- ),
- meta: { title: '知识库' }
- },
- {
- path: '/unit-detail',
- name: 'unit-detail',
- component: () =>
- Be(
- () => import('./unit-detail-2a72d859.js'),
- [
- './unit-detail-2a72d859.js',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index.module-7eaec779.js',
- './index-a9e362b7.css',
- './index-02bb440b.js'
- ],
- import.meta.url
- ),
- meta: { title: '知识库' }
- },
- {
- path: '/wroing-book',
- name: 'wroing-book',
- component: () =>
- Be(
- () => import('./index-23638073.js'),
- [
- './index-23638073.js',
- './index-919c5bf7.js',
- './index-80afb136.css',
- './index-02bb440b.js',
- './index-627a875b.css'
- ],
- import.meta.url
- ),
- meta: { title: '错题本' }
- }
- ]
- },
- ...px
- ],
- rs = tE({
- history: tw(),
- routes: hx,
- scrollBehavior(e) {
- if (e.hash) return { el: e.hash, behavior: 'smooth' };
- }
- });
- rs.beforeEach((e, t, n) => {
- (document.title = e.meta.title || '学生端'), n();
- });
- let gf = !1;
- rs.onError(e => {
- if (e instanceof Error) {
- const t = e.name.indexOf('chunk'),
- n = rs.currentRoute.value.fullPath;
- console.log(e),
- t &&
- !gf &&
- ((gf = !0),
- wp({
- title: '更新提示',
- message: 'APP有更新请点击确定刷新页面?',
- confirmButtonColor: 'var(--van-primary)'
- }).then(() => {
- qo().isApp
- ? Hr({ api: 'back' })
- : ((location.hash = n), window.location.reload());
- }));
- }
- });
- var mx = { exports: {} };
- (function (e, t) {
- (function (n, r) {
- e.exports = r(Wd());
- })(Nt, function (n) {
- function r(s) {
- return s && typeof s == 'object' && 'default' in s ? s : { default: s };
- }
- var o = r(n),
- i = {
- name: 'zh-cn',
- weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
- weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
- weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
- months:
- '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
- '_'
- ),
- monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
- '_'
- ),
- ordinal: function (s, l) {
- return l === 'W' ? s + '周' : s + '日';
- },
- weekStart: 1,
- yearStart: 4,
- formats: {
- LT: 'HH:mm',
- LTS: 'HH:mm:ss',
- L: 'YYYY/MM/DD',
- LL: 'YYYY年M月D日',
- LLL: 'YYYY年M月D日Ah点mm分',
- LLLL: 'YYYY年M月D日ddddAh点mm分',
- l: 'YYYY/M/D',
- ll: 'YYYY年M月D日',
- lll: 'YYYY年M月D日 HH:mm',
- llll: 'YYYY年M月D日dddd HH:mm'
- },
- relativeTime: {
- future: '%s内',
- past: '%s前',
- s: '几秒',
- m: '1 分钟',
- mm: '%d 分钟',
- h: '1 小时',
- hh: '%d 小时',
- d: '1 天',
- dd: '%d 天',
- M: '1 个月',
- MM: '%d 个月',
- y: '1 年',
- yy: '%d 年'
- },
- meridiem: function (s, l) {
- var u = 100 * s + l;
- return u < 600
- ? '凌晨'
- : u < 900
- ? '早上'
- : u < 1100
- ? '上午'
- : u < 1300
- ? '中午'
- : u < 1800
- ? '下午'
- : '晚上';
- }
- };
- return o.default.locale(i, null, !0), i;
- });
- })(mx);
- var gx = !1;
- function _i(e, t, n) {
- return Array.isArray(e)
- ? ((e.length = Math.max(e.length, t)), e.splice(t, 1, n), n)
- : ((e[t] = n), n);
- }
- function pa(e, t) {
- if (Array.isArray(e)) {
- e.splice(t, 1);
- return;
- }
- delete e[t];
- }
- /*!
- * pinia v2.1.4
- * (c) 2023 Eduardo San Martin Morote
- * @license MIT
- */ let nl;
- const Fo = e => (nl = e),
- bh = Symbol('pinia');
- function hr(e) {
- return (
- e &&
- typeof e == 'object' &&
- Object.prototype.toString.call(e) === '[object Object]' &&
- typeof e.toJSON != 'function'
- );
- }
- var Jt;
- (function (e) {
- (e.direct = 'direct'),
- (e.patchObject = 'patch object'),
- (e.patchFunction = 'patch function');
- })(Jt || (Jt = {}));
- const Ts = typeof window < 'u',
- os = Ts,
- yf = (() =>
- typeof window == 'object' && window.window === window
- ? window
- : typeof self == 'object' && self.self === self
- ? self
- : typeof global == 'object' && global.global === global
- ? global
- : typeof globalThis == 'object'
- ? globalThis
- : { HTMLElement: null })();
- function yx(e, { autoBom: t = !1 } = {}) {
- return t &&
- /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(
- e.type
- )
- ? new Blob([String.fromCharCode(65279), e], { type: e.type })
- : e;
- }
- function Zl(e, t, n) {
- const r = new XMLHttpRequest();
- r.open('GET', e),
- (r.responseType = 'blob'),
- (r.onload = function () {
- Eh(r.response, t, n);
- }),
- (r.onerror = function () {
- console.error('could not download file');
- }),
- r.send();
- }
- function _h(e) {
- const t = new XMLHttpRequest();
- t.open('HEAD', e, !1);
- try {
- t.send();
- } catch (n) {}
- return t.status >= 200 && t.status <= 299;
- }
- function Pi(e) {
- try {
- e.dispatchEvent(new MouseEvent('click'));
- } catch (t) {
- const n = document.createEvent('MouseEvents');
- n.initMouseEvent(
- 'click',
- !0,
- !0,
- window,
- 0,
- 0,
- 0,
- 80,
- 20,
- !1,
- !1,
- !1,
- !1,
- 0,
- null
- ),
- e.dispatchEvent(n);
- }
- }
- const Ii = typeof navigator == 'object' ? navigator : { userAgent: '' },
- wh = (() =>
- /Macintosh/.test(Ii.userAgent) &&
- /AppleWebKit/.test(Ii.userAgent) &&
- !/Safari/.test(Ii.userAgent))(),
- Eh = Ts
- ? typeof HTMLAnchorElement < 'u' &&
- 'download' in HTMLAnchorElement.prototype &&
- !wh
- ? vx
- : 'msSaveOrOpenBlob' in Ii
- ? bx
- : _x
- : () => {};
- function vx(e, t = 'download', n) {
- const r = document.createElement('a');
- (r.download = t),
- (r.rel = 'noopener'),
- typeof e == 'string'
- ? ((r.href = e),
- r.origin !== location.origin
- ? _h(r.href)
- ? Zl(e, t, n)
- : ((r.target = '_blank'), Pi(r))
- : Pi(r))
- : ((r.href = URL.createObjectURL(e)),
- setTimeout(function () {
- URL.revokeObjectURL(r.href);
- }, 4e4),
- setTimeout(function () {
- Pi(r);
- }, 0));
- }
- function bx(e, t = 'download', n) {
- if (typeof e == 'string')
- if (_h(e)) Zl(e, t, n);
- else {
- const r = document.createElement('a');
- (r.href = e),
- (r.target = '_blank'),
- setTimeout(function () {
- Pi(r);
- });
- }
- else navigator.msSaveOrOpenBlob(yx(e, n), t);
- }
- function _x(e, t, n, r) {
- if (
- ((r = r || open('', '_blank')),
- r && (r.document.title = r.document.body.innerText = 'downloading...'),
- typeof e == 'string')
- )
- return Zl(e, t, n);
- const o = e.type === 'application/octet-stream',
- i = /constructor/i.test(String(yf.HTMLElement)) || 'safari' in yf,
- s = /CriOS\/[\d]+/.test(navigator.userAgent);
- if ((s || (o && i) || wh) && typeof FileReader < 'u') {
- const l = new FileReader();
- (l.onloadend = function () {
- let u = l.result;
- if (typeof u != 'string')
- throw ((r = null), new Error('Wrong reader.result type'));
- (u = s ? u : u.replace(/^data:[^;]*;/, 'data:attachment/file;')),
- r ? (r.location.href = u) : location.assign(u),
- (r = null);
- }),
- l.readAsDataURL(e);
- } else {
- const l = URL.createObjectURL(e);
- r ? r.location.assign(l) : (location.href = l),
- (r = null),
- setTimeout(function () {
- URL.revokeObjectURL(l);
- }, 4e4);
- }
- }
- function We(e, t) {
- const n = '🍍 ' + e;
- typeof __VUE_DEVTOOLS_TOAST__ == 'function'
- ? __VUE_DEVTOOLS_TOAST__(n, t)
- : t === 'error'
- ? console.error(n)
- : t === 'warn'
- ? console.warn(n)
- : console.log(n);
- }
- function ec(e) {
- return '_a' in e && 'install' in e;
- }
- function Sh() {
- if (!('clipboard' in navigator))
- return We("Your browser doesn't support the Clipboard API", 'error'), !0;
- }
- function Oh(e) {
- return e instanceof Error &&
- e.message.toLowerCase().includes('document is not focused')
- ? (We(
- 'You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',
- 'warn'
- ),
- !0)
- : !1;
- }
- async function wx(e) {
- if (!Sh())
- try {
- await navigator.clipboard.writeText(JSON.stringify(e.state.value)),
- We('Global state copied to clipboard.');
- } catch (t) {
- if (Oh(t)) return;
- We(
- 'Failed to serialize the state. Check the console for more details.',
- 'error'
- ),
- console.error(t);
- }
- }
- async function Ex(e) {
- if (!Sh())
- try {
- (e.state.value = JSON.parse(await navigator.clipboard.readText())),
- We('Global state pasted from clipboard.');
- } catch (t) {
- if (Oh(t)) return;
- We(
- 'Failed to deserialize the state from clipboard. Check the console for more details.',
- 'error'
- ),
- console.error(t);
- }
- }
- async function Sx(e) {
- try {
- Eh(
- new Blob([JSON.stringify(e.state.value)], {
- type: 'text/plain;charset=utf-8'
- }),
- 'pinia-state.json'
- );
- } catch (t) {
- We(
- 'Failed to export the state as JSON. Check the console for more details.',
- 'error'
- ),
- console.error(t);
- }
- }
- let dn;
- function Ox() {
- dn ||
- ((dn = document.createElement('input')),
- (dn.type = 'file'),
- (dn.accept = '.json'));
- function e() {
- return new Promise((t, n) => {
- (dn.onchange = async () => {
- const r = dn.files;
- if (!r) return t(null);
- const o = r.item(0);
- return t(o ? { text: await o.text(), file: o } : null);
- }),
- (dn.oncancel = () => t(null)),
- (dn.onerror = n),
- dn.click();
- });
- }
- return e;
- }
- async function xx(e) {
- try {
- const n = await (await Ox())();
- if (!n) return;
- const { text: r, file: o } = n;
- (e.state.value = JSON.parse(r)),
- We(`Global state imported from "${o.name}".`);
- } catch (t) {
- We(
- 'Failed to export the state as JSON. Check the console for more details.',
- 'error'
- ),
- console.error(t);
- }
- }
- function Bt(e) {
- return { _custom: { display: e } };
- }
- const xh = '🍍 Pinia (root)',
- rl = '_root';
- function Ax(e) {
- return ec(e) ? { id: rl, label: xh } : { id: e.$id, label: e.$id };
- }
- function Tx(e) {
- if (ec(e)) {
- const n = Array.from(e._s.keys()),
- r = e._s;
- return {
- state: n.map(i => ({ editable: !0, key: i, value: e.state.value[i] })),
- getters: n
- .filter(i => r.get(i)._getters)
- .map(i => {
- const s = r.get(i);
- return {
- editable: !1,
- key: i,
- value: s._getters.reduce((l, u) => ((l[u] = s[u]), l), {})
- };
- })
- };
- }
- const t = {
- state: Object.keys(e.$state).map(n => ({
- editable: !0,
- key: n,
- value: e.$state[n]
- }))
- };
- return (
- e._getters &&
- e._getters.length &&
- (t.getters = e._getters.map(n => ({
- editable: !1,
- key: n,
- value: e[n]
- }))),
- e._customProperties.size &&
- (t.customProperties = Array.from(e._customProperties).map(n => ({
- editable: !0,
- key: n,
- value: e[n]
- }))),
- t
- );
- }
- function Cx(e) {
- return e
- ? Array.isArray(e)
- ? e.reduce(
- (t, n) => (
- t.keys.push(n.key),
- t.operations.push(n.type),
- (t.oldValue[n.key] = n.oldValue),
- (t.newValue[n.key] = n.newValue),
- t
- ),
- { oldValue: {}, keys: [], operations: [], newValue: {} }
- )
- : {
- operation: Bt(e.type),
- key: Bt(e.key),
- oldValue: e.oldValue,
- newValue: e.newValue
- }
- : {};
- }
- function $x(e) {
- switch (e) {
- case Jt.direct:
- return 'mutation';
- case Jt.patchFunction:
- return '$patch';
- case Jt.patchObject:
- return '$patch';
- default:
- return 'unknown';
- }
- }
- let Cr = !0;
- const Ri = [],
- Zn = 'pinia:mutations',
- Ze = 'pinia',
- { assign: Px } = Object,
- is = e => '🍍 ' + e;
- function Ix(e, t) {
- Fl(
- {
- id: 'dev.esm.pinia',
- label: 'Pinia 🍍',
- logo: 'https://pinia.vuejs.org/logo.svg',
- packageName: 'pinia',
- homepage: 'https://pinia.vuejs.org',
- componentStateTypes: Ri,
- app: e
- },
- n => {
- typeof n.now != 'function' &&
- We(
- 'You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.'
- ),
- n.addTimelineLayer({ id: Zn, label: 'Pinia 🍍', color: 15064968 }),
- n.addInspector({
- id: Ze,
- label: 'Pinia 🍍',
- icon: 'storage',
- treeFilterPlaceholder: 'Search stores',
- actions: [
- {
- icon: 'content_copy',
- action: () => {
- wx(t);
- },
- tooltip: 'Serialize and copy the state'
- },
- {
- icon: 'content_paste',
- action: async () => {
- await Ex(t), n.sendInspectorTree(Ze), n.sendInspectorState(Ze);
- },
- tooltip: 'Replace the state with the content of your clipboard'
- },
- {
- icon: 'save',
- action: () => {
- Sx(t);
- },
- tooltip: 'Save the state as a JSON file'
- },
- {
- icon: 'folder_open',
- action: async () => {
- await xx(t), n.sendInspectorTree(Ze), n.sendInspectorState(Ze);
- },
- tooltip: 'Import the state from a JSON file'
- }
- ],
- nodeActions: [
- {
- icon: 'restore',
- tooltip: 'Reset the state (with "$reset")',
- action: r => {
- const o = t._s.get(r);
- o
- ? typeof o.$reset != 'function'
- ? We(
- `Cannot reset "${r}" store because it doesn't have a "$reset" method implemented.`,
- 'warn'
- )
- : (o.$reset(), We(`Store "${r}" reset.`))
- : We(
- `Cannot reset "${r}" store because it wasn't found.`,
- 'warn'
- );
- }
- }
- ]
- }),
- n.on.inspectComponent((r, o) => {
- const i = r.componentInstance && r.componentInstance.proxy;
- if (i && i._pStores) {
- const s = r.componentInstance.proxy._pStores;
- Object.values(s).forEach(l => {
- r.instanceData.state.push({
- type: is(l.$id),
- key: 'state',
- editable: !0,
- value: l._isOptionsAPI
- ? {
- _custom: {
- value: fe(l.$state),
- actions: [
- {
- icon: 'restore',
- tooltip: 'Reset the state of this store',
- action: () => l.$reset()
- }
- ]
- }
- }
- : Object.keys(l.$state).reduce(
- (u, a) => ((u[a] = l.$state[a]), u),
- {}
- )
- }),
- l._getters &&
- l._getters.length &&
- r.instanceData.state.push({
- type: is(l.$id),
- key: 'getters',
- editable: !1,
- value: l._getters.reduce((u, a) => {
- try {
- u[a] = l[a];
- } catch (c) {
- u[a] = c;
- }
- return u;
- }, {})
- });
- });
- }
- }),
- n.on.getInspectorTree(r => {
- if (r.app === e && r.inspectorId === Ze) {
- let o = [t];
- (o = o.concat(Array.from(t._s.values()))),
- (r.rootNodes = (
- r.filter
- ? o.filter(i =>
- '$id' in i
- ? i.$id.toLowerCase().includes(r.filter.toLowerCase())
- : xh.toLowerCase().includes(r.filter.toLowerCase())
- )
- : o
- ).map(Ax));
- }
- }),
- n.on.getInspectorState(r => {
- if (r.app === e && r.inspectorId === Ze) {
- const o = r.nodeId === rl ? t : t._s.get(r.nodeId);
- if (!o) return;
- o && (r.state = Tx(o));
- }
- }),
- n.on.editInspectorState((r, o) => {
- if (r.app === e && r.inspectorId === Ze) {
- const i = r.nodeId === rl ? t : t._s.get(r.nodeId);
- if (!i) return We(`store "${r.nodeId}" not found`, 'error');
- const { path: s } = r;
- ec(i)
- ? s.unshift('state')
- : (s.length !== 1 ||
- !i._customProperties.has(s[0]) ||
- s[0] in i.$state) &&
- s.unshift('$state'),
- (Cr = !1),
- r.set(i, s, r.state.value),
- (Cr = !0);
- }
- }),
- n.on.editComponentState(r => {
- if (r.type.startsWith('🍍')) {
- const o = r.type.replace(/^🍍\s*/, ''),
- i = t._s.get(o);
- if (!i) return We(`store "${o}" not found`, 'error');
- const { path: s } = r;
- if (s[0] !== 'state')
- return We(`Invalid path for store "${o}":
- ${s}
- Only state can be modified.`);
- (s[0] = '$state'), (Cr = !1), r.set(i, s, r.state.value), (Cr = !0);
- }
- });
- }
- );
- }
- function Rx(e, t) {
- Ri.includes(is(t.$id)) || Ri.push(is(t.$id)),
- Fl(
- {
- id: 'dev.esm.pinia',
- label: 'Pinia 🍍',
- logo: 'https://pinia.vuejs.org/logo.svg',
- packageName: 'pinia',
- homepage: 'https://pinia.vuejs.org',
- componentStateTypes: Ri,
- app: e,
- settings: {
- logStoreChanges: {
- label: 'Notify about new/deleted stores',
- type: 'boolean',
- defaultValue: !0
- }
- }
- },
- n => {
- const r = typeof n.now == 'function' ? n.now.bind(n) : Date.now;
- t.$onAction(({ after: s, onError: l, name: u, args: a }) => {
- const c = Ah++;
- n.addTimelineEvent({
- layerId: Zn,
- event: {
- time: r(),
- title: '🛫 ' + u,
- subtitle: 'start',
- data: { store: Bt(t.$id), action: Bt(u), args: a },
- groupId: c
- }
- }),
- s(f => {
- (Fn = void 0),
- n.addTimelineEvent({
- layerId: Zn,
- event: {
- time: r(),
- title: '🛬 ' + u,
- subtitle: 'end',
- data: {
- store: Bt(t.$id),
- action: Bt(u),
- args: a,
- result: f
- },
- groupId: c
- }
- });
- }),
- l(f => {
- (Fn = void 0),
- n.addTimelineEvent({
- layerId: Zn,
- event: {
- time: r(),
- logType: 'error',
- title: '💥 ' + u,
- subtitle: 'end',
- data: {
- store: Bt(t.$id),
- action: Bt(u),
- args: a,
- error: f
- },
- groupId: c
- }
- });
- });
- }, !0),
- t._customProperties.forEach(s => {
- Ke(
- () => Rt(t[s]),
- (l, u) => {
- n.notifyComponentUpdate(),
- n.sendInspectorState(Ze),
- Cr &&
- n.addTimelineEvent({
- layerId: Zn,
- event: {
- time: r(),
- title: 'Change',
- subtitle: s,
- data: { newValue: l, oldValue: u },
- groupId: Fn
- }
- });
- },
- { deep: !0 }
- );
- }),
- t.$subscribe(
- ({ events: s, type: l }, u) => {
- if ((n.notifyComponentUpdate(), n.sendInspectorState(Ze), !Cr))
- return;
- const a = {
- time: r(),
- title: $x(l),
- data: Px({ store: Bt(t.$id) }, Cx(s)),
- groupId: Fn
- };
- l === Jt.patchFunction
- ? (a.subtitle = '⤵️')
- : l === Jt.patchObject
- ? (a.subtitle = '🧩')
- : s && !Array.isArray(s) && (a.subtitle = s.type),
- s &&
- (a.data['rawEvent(s)'] = {
- _custom: {
- display: 'DebuggerEvent',
- type: 'object',
- tooltip: 'raw DebuggerEvent[]',
- value: s
- }
- }),
- n.addTimelineEvent({ layerId: Zn, event: a });
- },
- { detached: !0, flush: 'sync' }
- );
- const o = t._hotUpdate;
- t._hotUpdate = vn(s => {
- o(s),
- n.addTimelineEvent({
- layerId: Zn,
- event: {
- time: r(),
- title: '🔥 ' + t.$id,
- subtitle: 'HMR update',
- data: { store: Bt(t.$id), info: Bt('HMR update') }
- }
- }),
- n.notifyComponentUpdate(),
- n.sendInspectorTree(Ze),
- n.sendInspectorState(Ze);
- });
- const { $dispose: i } = t;
- (t.$dispose = () => {
- i(),
- n.notifyComponentUpdate(),
- n.sendInspectorTree(Ze),
- n.sendInspectorState(Ze),
- n.getSettings().logStoreChanges &&
- We(`Disposed "${t.$id}" store 🗑`);
- }),
- n.notifyComponentUpdate(),
- n.sendInspectorTree(Ze),
- n.sendInspectorState(Ze),
- n.getSettings().logStoreChanges &&
- We(`"${t.$id}" store installed 🆕`);
- }
- );
- }
- let Ah = 0,
- Fn;
- function vf(e, t, n) {
- const r = t.reduce((o, i) => ((o[i] = fe(e)[i]), o), {});
- for (const o in r)
- e[o] = function () {
- const i = Ah,
- s = n
- ? new Proxy(e, {
- get(...u) {
- return (Fn = i), Reflect.get(...u);
- },
- set(...u) {
- return (Fn = i), Reflect.set(...u);
- }
- })
- : e;
- Fn = i;
- const l = r[o].apply(s, arguments);
- return (Fn = void 0), l;
- };
- }
- function kx({ app: e, store: t, options: n }) {
- if (t.$id.startsWith('__hot:')) return;
- (t._isOptionsAPI = !!n.state), vf(t, Object.keys(n.actions), t._isOptionsAPI);
- const r = t._hotUpdate;
- (fe(t)._hotUpdate = function (o) {
- r.apply(this, arguments),
- vf(t, Object.keys(o._hmrPayload.actions), !!t._isOptionsAPI);
- }),
- Rx(e, t);
- }
- function Mx() {
- const e = If(!0),
- t = e.run(() => Ae({}));
- let n = [],
- r = [];
- const o = vn({
- install(i) {
- Fo(o),
- (o._a = i),
- i.provide(bh, o),
- (i.config.globalProperties.$pinia = o),
- os && Ix(i, o),
- r.forEach(s => n.push(s)),
- (r = []);
- },
- use(i) {
- return !this._a && !gx ? r.push(i) : n.push(i), this;
- },
- _p: n,
- _a: null,
- _e: e,
- _s: new Map(),
- state: t
- });
- return os && typeof Proxy < 'u' && o.use(kx), o;
- }
- function Th(e, t) {
- for (const n in t) {
- const r = t[n];
- if (!(n in e)) continue;
- const o = e[n];
- hr(o) && hr(r) && !Pe(r) && !Yt(r) ? (e[n] = Th(o, r)) : (e[n] = r);
- }
- return e;
- }
- const Fx = () => {};
- function bf(e, t, n, r = Fx) {
- e.push(t);
- const o = () => {
- const i = e.indexOf(t);
- i > -1 && (e.splice(i, 1), r());
- };
- return !n && Rf() && ag(o), o;
- }
- function xr(e, ...t) {
- e.slice().forEach(n => {
- n(...t);
- });
- }
- const Bx = e => e();
- function ol(e, t) {
- e instanceof Map && t instanceof Map && t.forEach((n, r) => e.set(r, n)),
- e instanceof Set && t instanceof Set && t.forEach(e.add, e);
- for (const n in t) {
- if (!t.hasOwnProperty(n)) continue;
- const r = t[n],
- o = e[n];
- hr(o) && hr(r) && e.hasOwnProperty(n) && !Pe(r) && !Yt(r)
- ? (e[n] = ol(o, r))
- : (e[n] = r);
- }
- return e;
- }
- const Dx = Symbol('pinia:skipHydration');
- function Lx(e) {
- return !hr(e) || !e.hasOwnProperty(Dx);
- }
- const { assign: Ct } = Object;
- function _f(e) {
- return !!(Pe(e) && e.effect);
- }
- function wf(e, t, n, r) {
- const { state: o, actions: i, getters: s } = t,
- l = n.state.value[e];
- let u;
- function a() {
- !l && !r && (n.state.value[e] = o ? o() : {});
- const c = wc(r ? Ae(o ? o() : {}).value : n.state.value[e]);
- return Ct(
- c,
- i,
- Object.keys(s || {}).reduce(
- (f, d) => (
- d in c &&
- console.warn(
- `[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${d}" in store "${e}".`
- ),
- (f[d] = vn(
- Me(() => {
- Fo(n);
- const h = n._s.get(e);
- return s[d].call(h, h);
- })
- )),
- f
- ),
- {}
- )
- );
- }
- return (u = il(e, a, t, n, r, !0)), u;
- }
- function il(e, t, n = {}, r, o, i) {
- let s;
- const l = Ct({ actions: {} }, n);
- if (!r._e.active) throw new Error('Pinia destroyed');
- const u = { deep: !0 };
- u.onTrigger = O => {
- a
- ? (h = O)
- : a == !1 &&
- !F._hotUpdating &&
- (Array.isArray(h)
- ? h.push(O)
- : console.error(
- '🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug.'
- ));
- };
- let a,
- c,
- f = [],
- d = [],
- h;
- const g = r.state.value[e];
- !i && !g && !o && (r.state.value[e] = {});
- const _ = Ae({});
- let w;
- function b(O) {
- let B;
- (a = c = !1),
- (h = []),
- typeof O == 'function'
- ? (O(r.state.value[e]),
- (B = { type: Jt.patchFunction, storeId: e, events: h }))
- : (ol(r.state.value[e], O),
- (B = { type: Jt.patchObject, payload: O, storeId: e, events: h }));
- const P = (w = Symbol());
- Pt().then(() => {
- w === P && (a = !0);
- }),
- (c = !0),
- xr(f, B, r.state.value[e]);
- }
- const A = i
- ? function () {
- const { state: B } = n,
- P = B ? B() : {};
- this.$patch(R => {
- Ct(R, P);
- });
- }
- : () => {
- throw new Error(
- `🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`
- );
- };
- function M() {
- s.stop(), (f = []), (d = []), r._s.delete(e);
- }
- function Z(O, B) {
- return function () {
- Fo(r);
- const P = Array.from(arguments),
- R = [],
- U = [];
- function H(z) {
- R.push(z);
- }
- function ee(z) {
- U.push(z);
- }
- xr(d, { args: P, name: O, store: F, after: H, onError: ee });
- let k;
- try {
- k = B.apply(this && this.$id === e ? this : F, P);
- } catch (z) {
- throw (xr(U, z), z);
- }
- return k instanceof Promise
- ? k.then(z => (xr(R, z), z)).catch(z => (xr(U, z), Promise.reject(z)))
- : (xr(R, k), k);
- };
- }
- const I = vn({ actions: {}, getters: {}, state: [], hotState: _ }),
- Q = {
- _p: r,
- $id: e,
- $onAction: bf.bind(null, d),
- $patch: b,
- $reset: A,
- $subscribe(O, B = {}) {
- const P = bf(f, O, B.detached, () => R()),
- R = s.run(() =>
- Ke(
- () => r.state.value[e],
- U => {
- (B.flush === 'sync' ? c : a) &&
- O({ storeId: e, type: Jt.direct, events: h }, U);
- },
- Ct({}, u, B)
- )
- );
- return P;
- },
- $dispose: M
- },
- F = vt(Ct({ _hmrPayload: I, _customProperties: vn(new Set()) }, Q));
- r._s.set(e, F);
- const K = (r._a && r._a.runWithContext) || Bx,
- D = r._e.run(() => ((s = If()), K(() => s.run(t))));
- for (const O in D) {
- const B = D[O];
- if ((Pe(B) && !_f(B)) || Yt(B))
- o
- ? _i(_.value, O, js(D, O))
- : i ||
- (g && Lx(B) && (Pe(B) ? (B.value = g[O]) : ol(B, g[O])),
- (r.state.value[e][O] = B)),
- I.state.push(O);
- else if (typeof B == 'function') {
- const P = o ? B : Z(O, B);
- (D[O] = P), (I.actions[O] = B), (l.actions[O] = B);
- } else
- _f(B) &&
- ((I.getters[O] = i ? n.getters[O] : B),
- Ts && (D._getters || (D._getters = vn([]))).push(O));
- }
- if (
- (Ct(F, D),
- Ct(fe(F), D),
- Object.defineProperty(F, '$state', {
- get: () => (o ? _.value : r.state.value[e]),
- set: O => {
- if (o) throw new Error('cannot set hotState');
- b(B => {
- Ct(B, O);
- });
- }
- }),
- (F._hotUpdate = vn(O => {
- (F._hotUpdating = !0),
- O._hmrPayload.state.forEach(B => {
- if (B in F.$state) {
- const P = O.$state[B],
- R = F.$state[B];
- typeof P == 'object' && hr(P) && hr(R)
- ? Th(P, R)
- : (O.$state[B] = R);
- }
- _i(F, B, js(O.$state, B));
- }),
- Object.keys(F.$state).forEach(B => {
- B in O.$state || pa(F, B);
- }),
- (a = !1),
- (c = !1),
- (r.state.value[e] = js(O._hmrPayload, 'hotState')),
- (c = !0),
- Pt().then(() => {
- a = !0;
- });
- for (const B in O._hmrPayload.actions) {
- const P = O[B];
- _i(F, B, Z(B, P));
- }
- for (const B in O._hmrPayload.getters) {
- const P = O._hmrPayload.getters[B],
- R = i ? Me(() => (Fo(r), P.call(F, F))) : P;
- _i(F, B, R);
- }
- Object.keys(F._hmrPayload.getters).forEach(B => {
- B in O._hmrPayload.getters || pa(F, B);
- }),
- Object.keys(F._hmrPayload.actions).forEach(B => {
- B in O._hmrPayload.actions || pa(F, B);
- }),
- (F._hmrPayload = O._hmrPayload),
- (F._getters = O._getters),
- (F._hotUpdating = !1);
- })),
- os)
- ) {
- const O = { writable: !0, configurable: !0, enumerable: !1 };
- ['_p', '_hmrPayload', '_getters', '_customProperties'].forEach(B => {
- Object.defineProperty(F, B, Ct({ value: F[B] }, O));
- });
- }
- return (
- r._p.forEach(O => {
- if (os) {
- const B = s.run(() => O({ store: F, app: r._a, pinia: r, options: l }));
- Object.keys(B || {}).forEach(P => F._customProperties.add(P)), Ct(F, B);
- } else
- Ct(
- F,
- s.run(() => O({ store: F, app: r._a, pinia: r, options: l }))
- );
- }),
- F.$state &&
- typeof F.$state == 'object' &&
- typeof F.$state.constructor == 'function' &&
- !F.$state.constructor.toString().includes('[native code]') &&
- console.warn(`[🍍]: The "state" must be a plain object. It cannot be
- state: () => new MyClass()
- Found in store "${F.$id}".`),
- g && i && n.hydrate && n.hydrate(F.$state, g),
- (a = !0),
- (c = !0),
- F
- );
- }
- function C1(e, t, n) {
- let r, o;
- const i = typeof t == 'function';
- if (typeof e == 'string') (r = e), (o = i ? n : t);
- else if (((o = e), (r = e.id), typeof r != 'string'))
- throw new Error(
- '[🍍]: "defineStore()" must be passed a store id as its first argument.'
- );
- function s(l, u) {
- const a = Wy();
- if (((l = l || (a ? rt(bh, null) : null)), l && Fo(l), !nl))
- throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
- const pinia = createPinia()
- app.use(pinia)
- This will fail in production.`);
- (l = nl), l._s.has(r) || (i ? il(r, t, o, l) : wf(r, o, l), (s._pinia = l));
- const c = l._s.get(r);
- if (u) {
- const f = '__hot:' + r,
- d = i ? il(f, t, o, l, !0) : wf(f, Ct({}, o), l, !0);
- u._hotUpdate(d), delete l.state.value[f], l._s.delete(f);
- }
- if (Ts) {
- const f = Ut();
- if (f && f.proxy && !u) {
- const d = f.proxy,
- h = '_pStores' in d ? d._pStores : (d._pStores = {});
- h[r] = c;
- }
- }
- return c;
- }
- return (s.$id = r), s;
- }
- const Nx = Mx();
- function jx(e) {
- e.use(Nx);
- }
- aE({ api: 'getToken' }).then(e => {
- const t = e.content;
- t != null && t.accessToken && Ll.set(Nl, t.tokenType + ' ' + t.accessToken);
- });
- Hr({ api: 'getNavHeight' }, e => {
- const { content: t } = e,
- n = t.dpi || 2;
- if (t.navHeight) {
- const r = t.navHeight / n;
- console.log(r, 'navHeight'), (gt.navBarHeight = r);
- }
- });
- const Cs = zd(pb);
- Cs.use(P0);
- jx(Cs);
- vb.locale('zh-ch');
- Cs.use(rs);
- Cs.mount('#app');
- export {
- ip as $,
- yv as A,
- Zb as B,
- Ki as C,
- Xl as D,
- Ba as E,
- Je as F,
- Ll as G,
- Fa as H,
- Ss as I,
- Nl as J,
- pE as K,
- dp as L,
- gt as M,
- Yx as N,
- rs as O,
- Qx as P,
- S1 as Q,
- qo as R,
- ix as S,
- ws as T,
- oE as U,
- hp as V,
- Un as W,
- kl as X,
- Pl as Y,
- Vo as Z,
- h1 as _,
- Hx as __vite_legacy_guard,
- S as a,
- A1 as a$,
- fx as a0,
- Fr as a1,
- l1 as a2,
- Po as a3,
- Tb as a4,
- y1 as a5,
- _t as a6,
- Ob as a7,
- pp as a8,
- r1 as a9,
- e_ as aA,
- Fb as aB,
- c1 as aC,
- i_ as aD,
- c_ as aE,
- up as aF,
- dl as aG,
- qx as aH,
- fl as aI,
- Rr as aJ,
- Ut as aK,
- rt as aL,
- vd as aM,
- cu as aN,
- _1 as aO,
- yp as aP,
- gp as aQ,
- ap as aR,
- pu as aS,
- a1 as aT,
- E1 as aU,
- tp as aV,
- m1 as aW,
- u1 as aX,
- g1 as aY,
- C1 as aZ,
- hE as a_,
- Wi as aa,
- Yd as ab,
- p1 as ac,
- o1 as ad,
- b1 as ae,
- e1 as af,
- t1 as ag,
- wy as ah,
- d1 as ai,
- Xx as aj,
- v1 as ak,
- O1 as al,
- Eb as am,
- Mb as an,
- iu as ao,
- Ty as ap,
- Es as aq,
- No as ar,
- ys as as,
- Jd as at,
- s1 as au,
- f1 as av,
- Zd as aw,
- ep as ax,
- q_ as ay,
- ms as az,
- n1 as b,
- Hr as b0,
- Nt as b1,
- $l as b2,
- Vx as b3,
- Wx as b4,
- wc as b5,
- ft as b6,
- Wf as b7,
- js as b8,
- Ho as b9,
- Ay as ba,
- Jx as bb,
- jo as bc,
- e0 as bd,
- Kx as be,
- Z_ as bf,
- aE as bg,
- Xd as bh,
- zo as bi,
- bb as bj,
- Vi as bk,
- kb as bl,
- Zx as bm,
- Rt as bn,
- Rf as bo,
- ag as bp,
- zx as bq,
- Gx as br,
- T1 as bs,
- fp as bt,
- Ot as c,
- Ge as d,
- Me as e,
- i1 as f,
- pd as g,
- yr as h,
- np as i,
- fv as j,
- Mt as k,
- Qb as l,
- Qe as m,
- it as n,
- $t as o,
- Rl as p,
- rE as q,
- Ae as r,
- Db as s,
- It as t,
- R_ as u,
- qd as v,
- Ke as w,
- vt as x,
- wn as y,
- Pt as z
- };
|