index-legacy.57c73898.js 1.8 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329
  1. ;(function () {
  2. function ownKeys(e, t) {
  3. var n = Object.keys(e)
  4. if (Object.getOwnPropertySymbols) {
  5. var r = Object.getOwnPropertySymbols(e)
  6. t &&
  7. (r = r.filter(function (t) {
  8. return Object.getOwnPropertyDescriptor(e, t).enumerable
  9. })),
  10. n.push.apply(n, r)
  11. }
  12. return n
  13. }
  14. function _objectSpread(e) {
  15. for (var t = 1; t < arguments.length; t++) {
  16. var n = null != arguments[t] ? arguments[t] : {}
  17. t % 2
  18. ? ownKeys(Object(n), !0).forEach(function (t) {
  19. _defineProperty2(e, t, n[t])
  20. })
  21. : Object.getOwnPropertyDescriptors
  22. ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
  23. : ownKeys(Object(n)).forEach(function (t) {
  24. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
  25. })
  26. }
  27. return e
  28. }
  29. function asyncGeneratorStep(e, t, n, r, a, o, i) {
  30. try {
  31. var s = e[o](i),
  32. l = s.value
  33. } catch (c) {
  34. return void n(c)
  35. }
  36. s.done ? t(l) : Promise.resolve(l).then(r, a)
  37. }
  38. function _asyncToGenerator(e) {
  39. return function () {
  40. var t = this,
  41. n = arguments
  42. return new Promise(function (r, a) {
  43. var o = e.apply(t, n)
  44. function i(e) {
  45. asyncGeneratorStep(o, r, a, i, s, 'next', e)
  46. }
  47. function s(e) {
  48. asyncGeneratorStep(o, r, a, i, s, 'throw', e)
  49. }
  50. i(void 0)
  51. })
  52. }
  53. }
  54. function _inherits2(e, t) {
  55. if ('function' != typeof t && null !== t)
  56. throw new TypeError('Super expression must either be null or a function')
  57. ;(e.prototype = Object.create(t && t.prototype, {
  58. constructor: { value: e, writable: !0, configurable: !0 }
  59. })),
  60. Object.defineProperty(e, 'prototype', { writable: !1 }),
  61. t && _setPrototypeOf2(e, t)
  62. }
  63. function _setPrototypeOf2(e, t) {
  64. return (
  65. (_setPrototypeOf2 =
  66. Object.setPrototypeOf ||
  67. function (e, t) {
  68. return (e.__proto__ = t), e
  69. }),
  70. _setPrototypeOf2(e, t)
  71. )
  72. }
  73. function _createSuper2(e) {
  74. var t = _isNativeReflectConstruct2()
  75. return function () {
  76. var n,
  77. r = _getPrototypeOf2(e)
  78. if (t) {
  79. var a = _getPrototypeOf2(this).constructor
  80. n = Reflect.construct(r, arguments, a)
  81. } else n = r.apply(this, arguments)
  82. return _possibleConstructorReturn2(this, n)
  83. }
  84. }
  85. function _possibleConstructorReturn2(e, t) {
  86. if (t && ('object' === _typeof2(t) || 'function' == typeof t)) return t
  87. if (void 0 !== t)
  88. throw new TypeError('Derived constructors may only return object or undefined')
  89. return _assertThisInitialized2(e)
  90. }
  91. function _assertThisInitialized2(e) {
  92. if (void 0 === e)
  93. throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
  94. return e
  95. }
  96. function _isNativeReflectConstruct2() {
  97. if ('undefined' == typeof Reflect || !Reflect.construct) return !1
  98. if (Reflect.construct.sham) return !1
  99. if ('function' == typeof Proxy) return !0
  100. try {
  101. return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
  102. } catch (e) {
  103. return !1
  104. }
  105. }
  106. function _getPrototypeOf2(e) {
  107. return (
  108. (_getPrototypeOf2 = Object.setPrototypeOf
  109. ? Object.getPrototypeOf
  110. : function (e) {
  111. return e.__proto__ || Object.getPrototypeOf(e)
  112. }),
  113. _getPrototypeOf2(e)
  114. )
  115. }
  116. function _classCallCheck2(e, t) {
  117. if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function')
  118. }
  119. function _defineProperties(e, t) {
  120. for (var n = 0; n < t.length; n++) {
  121. var r = t[n]
  122. ;(r.enumerable = r.enumerable || !1),
  123. (r.configurable = !0),
  124. 'value' in r && (r.writable = !0),
  125. Object.defineProperty(e, r.key, r)
  126. }
  127. }
  128. function _createClass2(e, t, n) {
  129. return (
  130. t && _defineProperties(e.prototype, t),
  131. n && _defineProperties(e, n),
  132. Object.defineProperty(e, 'prototype', { writable: !1 }),
  133. e
  134. )
  135. }
  136. function _typeof2(e) {
  137. return (
  138. (_typeof2 =
  139. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  140. ? function (e) {
  141. return typeof e
  142. }
  143. : function (e) {
  144. return e &&
  145. 'function' == typeof Symbol &&
  146. e.constructor === Symbol &&
  147. e !== Symbol.prototype
  148. ? 'symbol'
  149. : typeof e
  150. }),
  151. _typeof2(e)
  152. )
  153. }
  154. function _defineProperty2(e, t, n) {
  155. return (
  156. t in e
  157. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  158. : (e[t] = n),
  159. e
  160. )
  161. }
  162. function _slicedToArray(e, t) {
  163. return (
  164. _arrayWithHoles(e) ||
  165. _iterableToArrayLimit(e, t) ||
  166. _unsupportedIterableToArray2(e, t) ||
  167. _nonIterableRest()
  168. )
  169. }
  170. function _nonIterableRest() {
  171. throw new TypeError(
  172. 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
  173. )
  174. }
  175. function _iterableToArrayLimit(e, t) {
  176. var n =
  177. null == e ? null : ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
  178. if (null != n) {
  179. var r,
  180. a,
  181. o = [],
  182. i = !0,
  183. s = !1
  184. try {
  185. for (
  186. n = n.call(e);
  187. !(i = (r = n.next()).done) && (o.push(r.value), !t || o.length !== t);
  188. i = !0
  189. );
  190. } catch (l) {
  191. ;(s = !0), (a = l)
  192. } finally {
  193. try {
  194. i || null == n.return || n.return()
  195. } finally {
  196. if (s) throw a
  197. }
  198. }
  199. return o
  200. }
  201. }
  202. function _arrayWithHoles(e) {
  203. if (Array.isArray(e)) return e
  204. }
  205. function _toConsumableArray2(e) {
  206. return (
  207. _arrayWithoutHoles2(e) ||
  208. _iterableToArray2(e) ||
  209. _unsupportedIterableToArray2(e) ||
  210. _nonIterableSpread2()
  211. )
  212. }
  213. function _nonIterableSpread2() {
  214. throw new TypeError(
  215. 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
  216. )
  217. }
  218. function _iterableToArray2(e) {
  219. if (('undefined' != typeof Symbol && null != e[Symbol.iterator]) || null != e['@@iterator'])
  220. return Array.from(e)
  221. }
  222. function _arrayWithoutHoles2(e) {
  223. if (Array.isArray(e)) return _arrayLikeToArray2(e)
  224. }
  225. function _createForOfIteratorHelper(e, t) {
  226. var n = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
  227. if (!n) {
  228. if (
  229. Array.isArray(e) ||
  230. (n = _unsupportedIterableToArray2(e)) ||
  231. (t && e && 'number' == typeof e.length)
  232. ) {
  233. n && (e = n)
  234. var r = 0,
  235. a = function () {}
  236. return {
  237. s: a,
  238. n: function () {
  239. return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] }
  240. },
  241. e: function (e) {
  242. throw e
  243. },
  244. f: a
  245. }
  246. }
  247. throw new TypeError(
  248. 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
  249. )
  250. }
  251. var o,
  252. i = !0,
  253. s = !1
  254. return {
  255. s: function () {
  256. n = n.call(e)
  257. },
  258. n: function () {
  259. var e = n.next()
  260. return (i = e.done), e
  261. },
  262. e: function (e) {
  263. ;(s = !0), (o = e)
  264. },
  265. f: function () {
  266. try {
  267. i || null == n.return || n.return()
  268. } finally {
  269. if (s) throw o
  270. }
  271. }
  272. }
  273. }
  274. function _unsupportedIterableToArray2(e, t) {
  275. if (e) {
  276. if ('string' == typeof e) return _arrayLikeToArray2(e, t)
  277. var n = Object.prototype.toString.call(e).slice(8, -1)
  278. return (
  279. 'Object' === n && e.constructor && (n = e.constructor.name),
  280. 'Map' === n || 'Set' === n
  281. ? Array.from(e)
  282. : 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
  283. ? _arrayLikeToArray2(e, t)
  284. : void 0
  285. )
  286. }
  287. }
  288. function _arrayLikeToArray2(e, t) {
  289. ;(null == t || t > e.length) && (t = e.length)
  290. for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]
  291. return r
  292. }
  293. var __vite_style__ = document.createElement('style')
  294. ;(__vite_style__.innerHTML =
  295. '._error_1i228_1{background-color:#fff;display:flex;flex-direction:column;min-height:100vh;align-items:center;justify-content:center}._error_1i228_1 ._info_1i228_9{display:flex;align-items:center;margin-bottom:.8rem}._error_1i228_1 ._info_1i228_9 span{display:inline-block;margin-left:.26667rem;color:#58727e;font-size:.48rem}._error_1i228_1 .o-result-container,._error_1i228_1 .van-empty{padding-top:0}._error_1i228_1 .van-button{width:50%}._col-result_uqenj_1{padding:.37333rem;text-align:center;margin:0 auto;box-sizing:border-box;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}._col-result_uqenj_1 ._tips_uqenj_12{font-size:.37333rem;color:#333;padding:.53333rem 0}._col-result_uqenj_1 ._btn_uqenj_17{width:55%;margin:0 auto}._col-result_uqenj_1 .van-empty__image{width:5.6rem;height:5.6rem}._col-result_uqenj_1 .van-empty{padding-bottom:1.6rem}._col-result_uqenj_1 ._SMALL_uqenj_28 .van-empty__image{width:4.29333rem;height:4.29333rem}._col-result_uqenj_1 ._CERT_uqenj_32 .van-empty__image{width:6.13333rem;height:6.13333rem}._col-result_uqenj_1 ._CERT_uqenj_32 .van-empty__description{padding:0 .8rem}._colHeader_939xd_1{--van-font-weight-bold: 600;--van-nav-bar-arrow-size: .58667rem}._colHeader_939xd_1 .van-nav-bar__title,._colHeader_939xd_1 .van-icon{color:inherit!important}._colHeader_939xd_1 .van-nav-bar__title{font-size:.48rem;font-weight:500}._colHeader_939xd_1 .van-nav-bar__right>div{line-height:0}._colHeader_939xd_1 .van-nav-bar__left{padding-left:.32rem;font-size:.58667rem}._colHeader_939xd_1._transparent_939xd_20{background-color:transparent}._headerSection_939xd_23{position:relative}._error_6z2np_1{background-color:#fff;display:flex;flex-direction:column;min-height:100vh;align-items:center;justify-content:center}._error_6z2np_1 ._info_6z2np_9{display:flex;align-items:center;margin-bottom:.8rem}._error_6z2np_1 ._info_6z2np_9 span{display:inline-block;margin-left:.26667rem;color:#58727e;font-size:.48rem}._error_6z2np_1 .o-result-container,._error_6z2np_1 .van-empty{padding-top:0}._error_6z2np_1 .van-button{width:50%}._login_6z2np_27{min-height:100vh;background:url(./assets/top_bg.a1440929.png) no-repeat top center,url(./assets/bottom_student_bg.47832732.png) no-repeat bottom center;background-color:#fff;background-size:100%}._login_6z2np_27 ._loginTitle_6z2np_33{padding-top:2.66667rem;font-size:.69333rem;padding-left:.93333rem;padding-bottom:1.86667rem;line-height:.98667rem;font-weight:500}._login_6z2np_27 ._codeText_6z2np_41{color:var(--van-primary-text)}._login_6z2np_27 ._margin34_6z2np_44{margin:0 .90667rem}._login_6z2np_27 ._formTitle_6z2np_47{font-size:.48rem;color:#000;font-weight:500}._login_6z2np_27 .van-cell-group{margin-bottom:.93333rem}._login_6z2np_27 .van-field{padding-left:0;padding-right:0}._login_6z2np_27 .van-button+.van-button{margin-top:.53333rem;color:#000!important}._login_6z2np_27 ._wxPopupDialog_6z2np_63{position:relative;overflow:inherit;margin-top:-4.26667rem}._login_6z2np_27 ._wxPopupDialog_6z2np_63:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url(./assets/wx-no-top.562db7f2.png) no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._login_6z2np_27 ._popupContainer_6z2np_80{background:url(./assets/wx-no-bg.f12a4a6d.png) no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden;padding:0 .53333rem}._login_6z2np_27 ._popupContainer_6z2np_80 ._title_6z2np_87{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._login_6z2np_27 ._popupContainer_6z2np_80 ._popupTips_6z2np_94{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: .10667rem;--van-padding-xs: .21333rem;--van-padding-sm: .32rem;--van-padding-md: .42667rem;--van-padding-lg: .64rem;--van-padding-xl: .85333rem;--van-font-bold: 600;--van-font-size-xs: .26667rem;--van-font-size-sm: .32rem;--van-font-size-md: .37333rem;--van-font-size-lg: .42667rem;--van-line-height-xs: .37333rem;--van-line-height-sm: .48rem;--van-line-height-md: .53333rem;--van-line-height-lg: .58667rem;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: .02667rem;--van-radius-sm: .05333rem;--van-radius-md: .10667rem;--van-radius-lg: .21333rem;--van-radius-max: 26.64rem}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 1.33333rem}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}:root{--van-badge-size: .42667rem;--van-badge-color: var(--van-white);--van-badge-padding: 0 .08rem;--van-badge-font-size: var(--van-font-size-sm);--van-badge-font-weight: var(--van-font-bold);--van-badge-border-width: var(--van-border-width);--van-badge-background: var(--van-danger-color);--van-badge-dot-color: var(--van-danger-color);--van-badge-dot-size: .21333rem;--van-badge-font: -apple-system-font, helvetica neue, arial, sans-serif}.van-badge{display:inline-block;box-sizing:border-box;min-width:var(--van-badge-size);padding:var(--van-badge-padding);color:var(--van-badge-color);font-weight:var(--van-badge-font-weight);font-size:var(--van-badge-font-size);font-family:var(--van-badge-font);line-height:1.2;text-align:center;background:var(--van-badge-background);border:var(--van-badge-border-width) solid var(--van-background-2);border-radius:var(--van-radius-max)}.van-badge--fixed{position:absolute;transform-origin:100%}.van-badge--top-left{top:0;left:0;transform:translate(-50%,-50%)}.van-badge--top-right{top:0;right:0;transform:translate(50%,-50%)}.van-badge--bottom-left{bottom:0;left:0;transform:translate(-50%,50%)}.van-badge--bottom-right{bottom:0;right:0;transform:translate(50%,50%)}.van-badge--dot{width:var(--van-badge-dot-size);min-width:0;height:var(--van-badge-dot-size);background:var(--van-badge-dot-color);border-radius:100%;border:none;padding:0}.van-badge__wrapper{position:relative;display:inline-block}.van-icon{position:relative;display:inline-block;font:.37333rem/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon:before{display:inline-block}.van-icon-exchange:before{content:"\\e6af"}.van-icon-eye:before{content:"\\e6b0"}.van-icon-enlarge:before{content:"\\e6b1"}.van-icon-expand-o:before{content:"\\e6b2"}.van-icon-eye-o:before{content:"\\e6b3"}.van-icon-expand:before{content:"\\e6b4"}.van-icon-filter-o:before{content:"\\e6b5"}.van-icon-fire:before{content:"\\e6b6"}.van-icon-fail:before{content:"\\e6b7"}.van-icon-failure:before{content:"\\e6b8"}.van-icon-fire-o:before{content:"\\e6b9"}.van-icon-flag-o:before{content:"\\e6ba"}.van-icon-font:before{content:"\\e6bb"}.van-icon-font-o:before{content:"\\e6bc"}.van-icon-gem-o:before{content:"\\e6bd"}.van-icon-flower-o:before{content:"\\e6be"}.van-icon-gem:before{content:"\\e6bf"}.van-icon-gift-card:before{content:"\\e6c0"}.van-icon-friends:before{content:"\\e6c1"}.van-icon-friends-o:before{content:"\\e6c2"}.van-icon-gold-coin:before{content:"\\e6c3"}.van-icon-gold-coin-o:before{content:"\\e6c4"}.van-icon-good-job-o:before{content:"\\e6c5"}.van-icon-gift:before{content:"\\e6c6"}.van-icon-gift-o:before{content:"\\e6c7"}.van-icon-gift-card-o:before{content:"\\e6c8"}.van-icon-good-job:before{content:"\\e6c9"}.van-icon-home-o:before{content:"\\e6ca"}.van-icon-goods-collect:before{content:"\\e6cb"}.van-icon-graphic:before{content:"\\e6cc"}.van-icon-goods-collect-o:before{content:"\\e6cd"}.van-icon-hot-o:before{content:"\\e6ce"}.van-icon-info:before{content:"\\e6cf"}.van-icon-hotel-o:before{content:"\\e6d0"}.van-icon-info-o:before{content:"\\e6d1"}.van-icon-hot-sale-o:before{content:"\\e6d2"}.van-icon-hot:before{content:"\\e6d3"}.van-icon-like:before{content:"\\e6d4"}.van-icon-idcard:before{content:"\\e6d5"}.van-icon-invitation:before{content:"\\e6d6"}.van-icon-like-o:before{content:"\\e6d7"}.van-icon-hot-sale:before{content:"\\e6d8"}.van-icon-location-o:before{content:"\\e6d9"}.van-icon-location:before{content:"\\e6da"}.van-icon-label:before{content:"\\e6db"}.van-icon-lock:before{content:"\\e6dc"}.van-icon-label-o:before{content:"\\e6dd"}.van-icon-map-marked:before{content:"\\e6de"}.van-icon-logistics:before{content:"\\e6df"}.van-icon-manager:before{content:"\\e6e0"}.van-icon-more:before{content:"\\e6e1"}.van-icon-live:before{content:"\\e6e2"}.van-icon-manager-o:before{content:"\\e6e3"}.van-icon-medal:before{content:"\\e6e4"}.van-icon-more-o:before{content:"\\e6e5"}.van-icon-music-o:before{content:"\\e6e6"}.van-icon-music:before{content:"\\e6e7"}.van-icon-new-arrival-o:before{content:"\\e6e8"}.van-icon-medal-o:before{content:"\\e6e9"}.van-icon-new-o:before{content:"\\e6ea"}.van-icon-free-postage:before{content:"\\e6eb"}.van-icon-newspaper-o:before{content:"\\e6ec"}.van-icon-new-arrival:before{content:"\\e6ed"}.van-icon-minus:before{content:"\\e6ee"}.van-icon-orders-o:before{content:"\\e6ef"}.van-icon-new:before{content:"\\e6f0"}.van-icon-paid:before{content:"\\e6f1"}.van-icon-notes-o:before{content:"\\e6f2"}.van-icon-other-pay:before{content:"\\e6f3"}.van-icon-pause-circle:before{content:"\\e6f4"}.van-icon-pause:before{content:"\\e6f5"}.van-icon-pause-circle-o:before{content:"\\e6f6"}.van-icon-peer-pay:before{content:"\\e6f7"}.van-icon-pending-payment:before{content:"\\e6f8"}.van-icon-passed:before{content:"\\e6f9"}.van-icon-plus:before{content:"\\e6fa"}.van-icon-phone-circle-o:before{content:"\\e6fb"}.van-icon-phone-o:before{content:"\\e6fc"}.van-icon-printer:before{content:"\\e6fd"}.van-icon-photo-fail:before{content:"\\e6fe"}.van-icon-phone:before{content:"\\e6ff"}.van-icon-photo-o:before{content:"\\e700"}.van-icon-play-circle:before{content:"\\e701"}.van-icon-play:before{content:"\\e702"}.van-icon-phone-circle:before{content:"\\e703"}.van-icon-point-gift-o:before{content:"\\e704"}.van-icon-point-gift:before{content:"\\e705"}.van-icon-play-circle-o:before{content:"\\e706"}.van-icon-shrink:before{content:"\\e707"}.van-icon-photo:before{content:"\\e708"}.van-icon-qr:before{content:"\\e709"}.van-icon-qr-invalid:before{content:"\\e70a"}.van-icon-question-o:before{content:"\\e70b"}.van-icon-revoke:before{content:"\\e70c"}.van-icon-replay:before{content:"\\e70d"}.van-icon-service:before{content:"\\e70e"}.van-icon-question:before{content:"\\e70f"}.van-icon-search:before{content:"\\e710"}.van-icon-refund-o:before{content:"\\e711"}.van-icon-service-o:before{content:"\\e712"}.van-icon-scan:before{content:"\\e713"}.van-icon-share:before{content:"\\e714"}.van-icon-send-gift-o:before{content:"\\e715"}.van-icon-share-o:before{content:"\\e716"}.van-icon-setting:before{content:"\\e717"}.van-icon-points:before{content:"\\e718"}.van-icon-photograph:before{content:"\\e719"}.van-icon-shop:before{content:"\\e71a"}.van-icon-shop-o:before{content:"\\e71b"}.van-icon-shop-collect-o:before{content:"\\e71c"}.van-icon-shop-collect:before{content:"\\e71d"}.van-icon-smile:before{content:"\\e71e"}.van-icon-shopping-cart-o:before{content:"\\e71f"}.van-icon-sign:before{content:"\\e720"}.van-icon-sort:before{content:"\\e721"}.van-icon-star-o:before{content:"\\e722"}.van-icon-smile-comment-o:before{content:"\\e723"}.van-icon-stop:before{content:"\\e724"}.van-icon-stop-circle-o:before{content:"\\e725"}.van-icon-smile-o:before{content:"\\e726"}.van-icon-star:before{content:"\\e727"}.van-icon-success:before{content:"\\e728"}.van-icon-stop-circle:before{content:"\\e729"}.van-icon-records:before{content:"\\e72a"}.van-icon-shopping-cart:before{content:"\\e72b"}.van-icon-tosend:before{content:"\\e72c"}.van-icon-todo-list:before{content:"\\e72d"}.van-icon-thumb-circle-o:before{content:"\\e72e"}.van-icon-thumb-circle:before{content:"\\e72f"}.van-icon-umbrella-circle:before{content:"\\e730"}.van-icon-underway:before{content:"\\e731"}.van-icon-upgrade:before{content:"\\e732"}.van-icon-todo-list-o:before{content:"\\e733"}.van-icon-tv-o:before{content:"\\e734"}.van-icon-underway-o:before{content:"\\e735"}.van-icon-user-o:before{content:"\\e736"}.van-icon-vip-card-o:before{content:"\\e737"}.van-icon-vip-card:before{content:"\\e738"}.van-icon-send-gift:before{content:"\\e739"}.van-icon-wap-home:before{content:"\\e73a"}.van-icon-wap-nav:before{content:"\\e73b"}.van-icon-volume-o:before{content:"\\e73c"}.van-icon-video:before{content:"\\e73d"}.van-icon-wap-home-o:before{content:"\\e73e"}.van-icon-volume:before{content:"\\e73f"}.van-icon-warning:before{content:"\\e740"}.van-icon-weapp-nav:before{content:"\\e741"}.van-icon-wechat-pay:before{content:"\\e742"}.van-icon-warning-o:before{content:"\\e743"}.van-icon-wechat:before{content:"\\e744"}.van-icon-setting-o:before{content:"\\e745"}.van-icon-youzan-shield:before{content:"\\e746"}.van-icon-warn-o:before{content:"\\e747"}.van-icon-smile-comment:before{content:"\\e748"}.van-icon-user-circle-o:before{content:"\\e749"}.van-icon-video-o:before{content:"\\e74a"}.van-icon-add-square:before{content:"\\e65c"}.van-icon-add:before{content:"\\e65d"}.van-icon-arrow-down:before{content:"\\e65e"}.van-icon-arrow-up:before{content:"\\e65f"}.van-icon-arrow:before{content:"\\e660"}.van-icon-after-sale:before{content:"\\e661"}.van-icon-add-o:before{content:"\\e662"}.van-icon-alipay:before{content:"\\e663"}.van-icon-ascending:before{content:"\\e664"}.van-icon-apps-o:before{content:"\\e665"}.van-icon-aim:before{content:"\\e666"}.van-icon-award:before{content:"\\e667"}.van-icon-arrow-left:before{content:"\\e668"}.van-icon-award-o:before{content:"\\e669"}.van-icon-audio:before{content:"\\e66a"}.van-icon-bag-o:before{content:"\\e66b"}.van-icon-balance-list:before{content:"\\e66c"}.van-icon-back-top:before{content:"\\e66d"}.van-icon-bag:before{content:"\\e66e"}.van-icon-balance-pay:before{content:"\\e66f"}.van-icon-balance-o:before{content:"\\e670"}.van-icon-bar-chart-o:before{content:"\\e671"}.van-icon-bars:before{content:"\\e672"}.van-icon-balance-list-o:before{content:"\\e673"}.van-icon-birthday-cake-o:before{content:"\\e674"}.van-icon-bookmark:before{content:"\\e675"}.van-icon-bill:before{content:"\\e676"}.van-icon-bell:before{content:"\\e677"}.van-icon-browsing-history-o:before{content:"\\e678"}.van-icon-browsing-history:before{content:"\\e679"}.van-icon-bookmark-o:before{content:"\\e67a"}.van-icon-bulb-o:before{content:"\\e67b"}.van-icon-bullhorn-o:before{content:"\\e67c"}.van-icon-bill-o:before{content:"\\e67d"}.van-icon-calendar-o:before{content:"\\e67e"}.van-icon-brush-o:before{content:"\\e67f"}.van-icon-card:before{content:"\\e680"}.van-icon-cart-o:before{content:"\\e681"}.van-icon-cart-circle:before{content:"\\e682"}.van-icon-cart-circle-o:before{content:"\\e683"}.van-icon-cart:before{content:"\\e684"}.van-icon-cash-on-deliver:before{content:"\\e685"}.van-icon-cash-back-record:before{content:"\\e686"}.van-icon-cashier-o:before{content:"\\e687"}.van-icon-chart-trending-o:before{content:"\\e688"}.van-icon-certificate:before{content:"\\e689"}.van-icon-chat:before{content:"\\e68a"}.van-icon-clear:before{content:"\\e68b"}.van-icon-chat-o:before{content:"\\e68c"}.van-icon-checked:before{content:"\\e68d"}.van-icon-clock:before{content:"\\e68e"}.van-icon-clock-o:before{content:"\\e68f"}.van-icon-close:before{content:"\\e690"}.van-icon-closed-eye:before{content:"\\e691"}.van-icon-circle:before{content:"\\e692"}.van-icon-cluster-o:before{content:"\\e693"}.van-icon-column:before{content:"\\e694"}.van-icon-comment-circle-o:before{content:"\\e695"}.van-icon-cluster:before{content:"\\e696"}.van-icon-comment:before{content:"\\e697"}.van-icon-comment-o:before{content:"\\e698"}.van-icon-comment-circle:before{content:"\\e699"}.van-icon-completed:before{content:"\\e69a"}.van-icon-credit-pay:before{content:"\\e69b"}.van-icon-coupon:before{content:"\\e69c"}.van-icon-debit-pay:before{content:"\\e69d"}.van-icon-coupon-o:before{content:"\\e69e"}.van-icon-contact:before{content:"\\e69f"}.van-icon-descending:before{content:"\\e6a0"}.van-icon-desktop-o:before{content:"\\e6a1"}.van-icon-diamond-o:before{content:"\\e6a2"}.van-icon-description:before{content:"\\e6a3"}.van-icon-delete:before{content:"\\e6a4"}.van-icon-diamond:before{content:"\\e6a5"}.van-icon-delete-o:before{content:"\\e6a6"}.van-icon-cross:before{content:"\\e6a7"}.van-icon-edit:before{content:"\\e6a8"}.van-icon-ellipsis:before{content:"\\e6a9"}.van-icon-down:before{content:"\\e6aa"}.van-icon-discount:before{content:"\\e6ab"}.van-icon-ecard-pay:before{content:"\\e6ac"}.van-icon-envelop-o:before{content:"\\e6ae"}.van-icon-shield-o:before{content:"\\e74b"}.van-icon-guide-o:before{content:"\\e74c"}.van-icon-cash-o:before{content:"\\e74d"}.van-icon-qq:before{content:"\\e74e"}.van-icon-wechat-moments:before{content:"\\e74f"}.van-icon-weibo:before{content:"\\e750"}.van-icon-link-o:before{content:"\\e751"}.van-icon-miniprogram-o:before{content:"\\e752"}@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAGB8AA0AAAAA4GQAAGAgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCShEICoOYBIK8WAuDdAABNgIkA4N6BCAFhQ4HlRUb2q9VB3KPA4B0jTISIWwcCBIYh2YHatg4ANgvRWT/f0xujIEXol19pDSqSA2bSmi3ecEZvG9yaaFR6U0nSbTR4Uo40nQacEJBjzZLo9a0V+Hlm/xB5aKa+qMOFP7DzuMzsG3kT3KSvMPzbfN9BDz4nCr/KyC3J6IIyv96A4IXnoBn5XUnaGLZYYdpK6172bUy1yZWu2prq3Uudct2Zatt5Urs2NZha612xcS8FvNSWczkCX4MvVP7ZtL0QEqaA0ljaLa7b20u0yILAgtJndR7L4uv99A/0q/0qxEWNxYnBU4a2wUOkOHgl4j/uu27+5NQ4hknCadNEkhscZKFSYs6+29iBeRKqeJYrkPX8gHQ9Hik6c/fW+GpkG+bXMsSm31SBTqkAkPgyuDqeNduhHyg8SULAB8Y/1PzSugfGzz4B+Gmc3pcN0izuUyKohovc1ndhqSqW7Znlg6JLGtgL8PJIvvT+krfgSSL9DwA+C2PzC3nqzkDEdxsxM7HCMOmzgoCy5j7Zdc6BKkuvh/N9VbeFsl9VwJZYb6Vk7e7ucy8TPKBS0S5AilApasqvK+2/f9NtbedYdilfoRWTkHrSP3O4fQhpcpNd3HfG2LmvRlgMANghwOSi7CSQYDrBUDxewhQAQQWHxhyaZAKR/whxyGw2gNSKx8QlPbz6zvQKSbZXU69Xem42nKL0uUvStfrKrWFi9KlSzeliyokEPWACiMoEFRgGehB9NdaUtPcBh255FDERjGpee7jtzZNa0vpTmO9hCALcfXz81z5kTX9jz2c3e7Oj51YdeIBEkgggYS8nBBYoQjbHChDK/aiUrR7SIYAANAZcH0k6B+uW2faPj0HIqkwCWwlnHZ38wpEvB0AYk2gA5DYtRthCgBg8/UK6AFgPJ5/m9Qnu7/kLqnV4Pz9sgf5bj0ugSG3C8DDIQpK7nZ0Lq06Qmi6jih4HRlxR8J99EG/y3Xoftn94+m3tvBzdT6Ahk4noWb6sd0/D2S3H/pdruf/vRR6l7p9S7X7KtM5XKAEvQCaJXE7zorrWP3Om97tYgul7KlsMEqppv1OhzJs1Ymr0IbUSpAmNSGMZC10ZKczwyOD3uKfkb3gKIvrG6AB1TiJZlol8WY5A2wFoaYHDjlfH/dsHeWYLiXQ/wj02OCUW7LDENN0DwwITr4Y/RbJkjsiYJqMJWay7hWjBSild7ylf/eQ9kMYdblMVhYopVmwoPqxoAw4M8qgjfE8OsLs8UD1u1MyKWaQcZ7eYaPMN1Lkor6CFYe7hztvKZYDGHOn1f72JQWxAsSe+TZjRWbeJUZzazrKV6q7GXrQdhlHXdyF8/AC1PQtrBooPZbl2SGwtQknXI2qlBQJBmFsYIyE1wjz26MjxIqjwXALLG/rXPX6ROhx9MWoYxwSfs5oVKf8rQbVTzyNi82CMBGpxuJfJCqkf0+4FYBQJPDl0n+vpEZ+IsVVVc+YtSRA5m0p82TQncZzKWEkcJR8gttF/mCBbIZkun/bMlw2FYADEIpxx+hcXR9hJifvzl8kHKPk8lMw0pLuPtqdzAW8N8YAwNGpR1yj8s4g38t0uu1d06FxMuvtrepxj2V3Oewh+uIqCpD9dLq2LnOb4lKEKDVNc7VFrOWIyJZqEQTbINqotgkKLDVfmKf9KTk0JxCMZdcEOejtK8ZQE/nOZhoPLqHDaI3INg8CsyIbX0pe5pCKUyX4FkprXVNlN74s8xwx2Z7lcVHI4H3DqwImQGGvsUrzzixANBsaj0u//IPNSdmE6QVynCyHkQqD5+vVxYW3aOeB/hvIsBUVJ1918EYldS2zojiSRtdjvAEFj9j0MKUxz3nr72/zzD6/Mmur9oxH1cfhGsDXxkmnc8wO/B0Tx3LZMXeOXMGSrs9WgywmnSMeQVnzwFareRTlRdMjiqiSwIFhE1V6Gopk20/2rGI8JukGbmb/pgfPS2vV0DMLYXaWU521SC1yaeOltWub7Y7Wkk4Ijc9aOOjcOijDupSvREowLo7rZ1d1pscL4ySiAdQ46lokc5TUqQ9jXSzHxy+UUd43Xn6tWosX/cmx6pWtWZlwVdEhGcRUbIjsPcklCK0lG6Cb+RqIZI5IXR3GtnGGADFkCyI5V/JIRmsrJgD2jlgdktmm9Zmk5eOs47NoezfTGnNakyKFHi/rSiBSY2r1z5gex6Ivo6PGVDmUkM87o9KtlLI3bFY+vNosbaLLfFvBK0JHG5c4qnxUPyy63MRNcDGjCMsauztckK6f7xRb0uSqGAxwsMiHsEmxCCd8giD5ArF6cqXECICFlbuHxdhGcOLQHGkmXhlam0Rvguvm5KLKGjyvoV7mk/BgEHmXWUcZj5gZdVlXFs9AsELL3P7Q5TM8QSCjf4/kKBUAAW+dHNrZbm4XVlNVaqopy2bIbL9kWgTI/UeUuqVzGNtHL0b9n7Zb3P3WBeQy7vXJop71KiwJM4KOdEclqG7x6wzckfgghwnVPZ2I2+72z/LCqXn2xF8urPPneqUlTSFspSytJ7qSsHg1XQOBzMkXqQ5D2xjcf/9GGyrVPYkEEQIIBhp/vmfSY1El6BL3nqHVFQzgCpOJAahtki9f9Ks7qdTEObkuNX4G4hOO4d0Uq7qMBvGSMpbDReXnu+a1F/zhwLr+cl6zEetJdFeklRRhuaGmxO6BhY/Ag64vhSGlIdXlObG2S146ty5e+NOZefqYFDj4r9zOtzjrQoY+NzSvJFgQScAWklliDmBfA3B8y7Ur+2YK+fkuINvRXEpG/CWgv8E+tcmFsDWJyMRef7naFGwYv9b/hDvPAGmV9bTKfHL7WKaOHg/TqkjnCX4EkwxLIIait2qfLmljC/k+IZ+69fli8Aw+kkJhK/YcdMjEe8af9Y4qVMN8Nz3owjgfYovlJbYZSE+HXIt2mJnPs2931xVMczcREKXXYSwvJSvoCs2VdG5TlM20e7u5wCE/6LNqQTgUKMCXSMEI8gciye0cVvwmUq59rhxC5/4bEO5cc0lu52j6XISps000wHohjR457POz74runo2fexBiOpiSedc+WRwp/2y54MYpRZes7CQsDlaRBBip1SLc4Cget6M5zYDDgql9iNKlbo73h6MPQMy+Y2Nk50ah+y1ncBvkUwYHNmalL0/LkEMRTSPuRTO9m78qHW0pZQthSllHL5R2QrDW68MmbBYBsSq4JkciI1Llds5wVxZuyHAwlB4igAS7iQiiEpAJnZp2evibEcQp+fJvlhJ8L8axaIh+LUkviy3JtYbWlVUgV5/b9/uQY7OhjIUp7GBQZyi2ejuxPv9p2zgD6Spq+YA613n+b/NpogFSIwlrnKxkHtkWJZmrIzcv/llcsd9hq8j8UlumJFYrvYMVWkE/dxi0+ijP37Mx5YNbh4J8EDfFmJHzc3f3Prfbbx8OC2HCkpJ2MSreOzDfJ7Pd0UG+xVlUjLUx16vOR7/0BuX3bx70c37MEONmPsjP7HvBO+4ciYpR0pYSViEszO5/2au82CNkyroxnyfEUJi9eip/Z84qee7vN2DWMa44QJqiUC1sK4jWUzAQpZjY/s/Qtstn5YN3mwB6oNB2OuZ52ws59AUDEYHfNuSwSe1Uq66F9ujUU6SOqrIloRO68u83BpmpCzqRjuV/pzv0LmyoDLNbs1mq08fIBQyZOa5JlREi4E6ru2Daqc7VD8m9k7fi+C9kQc2A9MJUSq0rOQFzwxIYNa2ekKKs1aj4ut/XgDl2Qg7wHGSRev/36Q+HAy6/VxnJftedxUXJFqcWihcdkvT51AcIkK35GwJkEMJl4qSHBQE/CggN9eomY09f1Esh6xI3SemwRx3u27YHSw8CSVWb3psx47Vzr5lAYmdzvlwIX7GgTU5umUxY+92234WhJdenMNpHP/E5M9P95mZj86ti3CS9dwHeej5xPnnhyr2s9x66gzakkG0Uk2wFKWec/ucOKlbsEioySa5+fqolQkxH8WzJcuWqMbpj/34Q9wJb6mhYtxhiQ+bpWw+yBowWPWcpZ0jTCEI9lvxiehfobanXB0AoVlUJpUkcT3Kro4kFBYzL/umuRUSqJP7we70y9v908vcGuEEUSbFTOh33dq61k6DmSiNl5N+6e9PDhJk0t2U+oDnmWOEOnV2bSq86WEbIc4YlqHMIrWbhOuuRicAT1HIERZgZsJz9UNA99sux7/Oa/V13deOqMzV1xhgQ0aotJDRb8eZAySYSoDIKRg/qnxE6SU6omySsGIi+GJ5OVNoP4aM4e5XdI83IoEb4EdW1bFTiSrpTMYHwfKEMz+1sI70lBW1iqEBZxRSNQQQR5X5+0jSU1HWawzoq65imsWiwNDJc2Qu5djuruhYS6kC58xivDRKb63qrc3M2y385L8+uNo5VxUBBAoeVSGJ4QZcEId0yuoAM+Fr50TwrFddKGl4uS9+1oJLSqBG1XyhQKUrF9F8dldUyGFB/RPZBABpRf1w67LD1uM4sC5RjspyyrvFaDecZZGW+EQQbjGsXPLr2yWJbq7eZfsuk/Bxn+jcTPL3QmoXbO2xiCFJ1If79IcMaN8OkgF62szLrLAkhz0kvA0YFbxgEXOr7/Q+KUWPTFWjhYLgkJSEuiwQgvMhZBVANR28d20afGClu1eKNQHZGbMXg+miQa8B8Vb1dIy2pTL08pFSXebOLEc4JS/qRPb07kVqswAbJSC5+AJFePCJVC+xIJ17JjblKVW8neCGynC3lejX0TG9c6U70FU1Kda0wdKsTwJjsYT8k0g5fGTlIR2/1+giGNjzZpR7eTYTlDUNTUn/LqaxxlU7TmKKwSrEq00IScIWEEK5/TQq6fpoqmaemA9VZ5CKWr5qviNya9e92RBbT6MTdla7qxgqo9mX1YdEchqVRwZiNGpBaRbPW/WMt021t2W6MFXRCl1yZOqqK3DyoxQNFOEIfCochQAm4oaA6KT8ixAKFgaJUPAPltIAAZKgCQzX1dMgNDgb1FAxV0U20MmOqlO5gXmn1rQJpotS1of1qXRP99kfZDJn5e9C2FdVqtHUhgSya0iy0UVSfKVhn8SipbEgDzUiqQLDU4gK0e70ag53abliC7NSpOSjzm/KxhQQdyKZpDhuyoPFbdtvkZ8jrprOI3ByAMt0uPiU1MvFJQYexrbM9rsrQrS5rbjeyZrgxLIFF+arLtEgiiLwIRLYSJUG0MgCKD7AllRV9Bb5Tf+5lAxAE5XyxTXacAQKYiQyt9nBbmhgmRd22+F5lwSDUsrFSKu10SUOdYj5Cinanv4oqkToNxplJTc7ySGpk5hswXqoDrY4UNWX2eBshqVvSBD1qftvbmUghXc64EystjqyieVgsL1TF7FHuxDeKmTchRnytHrPZWEgo5SmhPKxpufdGrOK4yJrJHRr2+Xb1ZiFzOOncxu0rvVTMzzwrSO57cuJ+JTv/N14oXvntw8yWyfrbexPXn5bmCrOPc2P7nx66+lPPf8XyualLH6Q3X6y9dyB+7QlpKur2sbao95GOKPfhlijKaFMMK/lA1AJegVSMeLJGjXc/hVE5poq0qSR1ibH4RO2CRdKJK1wpRa4KQAKVbo091cts9sS4zJ99bMyXC5VNlKlliomiq2JNNkT6D32KUpxIteEm8P7+zhRHpCZkttm7UDu11Rfz09seVC3Kl59ST+OtKzsiqXB5+8PuNdpOtuW7pvKK+cb/We/DSgCUZdINjahvLyZzarcf1NN/42DlxI6Kuqy0Q89AxdxtgwtbG3U4ki+wa0DRjVndduq/i1LfK8cEtsOuQUt3TFRe47+Lo8qaUnD+Xj/nTwFL0zj+oKsP/eJdbrAR0sF4e/2UwrW6Fqtq26bFrVNH5z5eaG3a9GX3UnV9+2Vpx5UTjc+We2Ai1KiAa6o119V1xGhuqlBgfIr0c7ROfiJIs7KQkToTfml3ZnhTPfigcVqD1jRx0vgcNdZVlDhPp510kLcj/eeKX0U6ipL0rjDdN5AR4gpf3x4mrKSOUMrP3d06tfniLiBycb5d34Z2z40T0WfLkcaOGxPKurCSoBHSNqpFNeVnAhRlsSw0a5+02pEvP7cYRpMP/OrLkS++IvC6aUhWFkl8WJjKvWzZobOHmYvNyrmPqZXoXBMAF6XN3uDoiOc5JqVSZ/unv6i1cjtDuufQwbYWkBGKcNpPTONcf0Wdv5Zxk2BDJWhFm7ah7dQ0BLScaHQ8ukc76Rdlq3UtsPXEy3BhdjbzEg90mpy0k08HM+lb2eHbIwPKoTds7r2X7ZBbh5xDQdr+NLbYwBx/+7B7OGTCzNOqs/VCM41pksWsjDgRdO5MGrSHEgFlUqDWqaGeRGyoDA+T6FVGMU25+KoiB6o+R9RmicEMkXOP8sSQ5rn9LVn0jnCnox0dz91UNeMmChYTZhhNoVRqaqvRfrPQ3MzF8S4Kn3yqlLvtsNP4kEM76MqORwHlWPAGjbN61kOeE7/EXmyKRvb9tvLKOZWijquoqKMG+U+LSBgUoTavmPQJeWFJOYbpPGawg96L0ZiQONHEcKg+FEOL4JXOipGJjrUvojMDQ339Zk99tswSBhOtTOKhVsXWZyd/fyuEhMtBghPxKvMvXqq9w6qG6SChi0M98myL+YNw4qPtsa36uPDCJI8v9d9+msJArGKRTkuzFbruwgiCpVyBX/nG/q/xrMYKfd+KLjcJ6ULy0TbeAr8/bM2DP9cYQLFSJDzSjBy1NuROEQPElTrr5r8AWf5hdxvRxWZtE5AqyShfQoKwARJh4wX7Nss7rcYsPWk1vP2ucNEEDEe1rCVpnJgiNs2aXA/1HbqKz3vIvniPBR094nX4XIxVMcnEfhUINWAs2IAtUgfC9tB/I7gXQK6gJbRkh0ltJ9vEA2RIaxdn5bsx4mjH8C9C0TyLtVzAK2BJlgCYkfB5T892c6yPuPBl4gybajEQMjMUcaOEec7fuIaAewsa7m6MXJwlVlV7uY7jHDaNKsN3UZg7DDYWnh7/mSxGpE9DBjKTDy5dnCNuW/yk6Pxvgnpx851nqUQ/o9GNBAkp+6Xa9EYZ9HheCFg2cDmQYbctFUudw6MBgLIr5ZfyMl6iUtTUUT9HicdsWFjLYbj9puuGd2jdOy0vZJEHlkahyS7HcTOvsvpae+9ZB9d1eCvfktmXMBMfrKZcwi0IAAtxgNDqJwMix245FU6JZBiGkvXNjoBOoagH9XmUbSR2RLOw/ChG7Gso+yKgaib6rfdfXFp5sQdAYiqFJERJ4OpTB/1cSkWqzEAcMZmwUC9oDCNz+7sxz0PRLjmWK4TyFAAUGoxoazan8VmAkA5R3hiXR3gi8hs2LPVQCrKh7s1piIl60C5tnSUg14C1IdEUkLrGVuJaak4fF1Os6pDL5+UEDyiKihNSVoBsOo+BkYGQMSO7xoFMUfPykZaG6qYiUDxVgx0+TQAHrl3WaKGItereIaK8UG6yKuISzcLRCiv6MxvqTuKu1l8nq4RBScFsELScIjm0Wd5sgsLpib2PNpWtMP0lRnbUVNKAIUUCLXvRlnvZfpctdCKIQD6TKd46FCMnCBpge3Zu3+b9dvLJ73eef3UoN7t/KD2VK0TCdDwXbufN/r3nE8IS07eXOFZseMdZSiVOMOpZ8b5YkM+FzMvMFo0ppm/E84wv+BQ8DkLQjY4C8fFXvGz2K7K2KcnjAJeilukZ5d4V6MXln+iGiGVTAPWdh73GmtJmtOyj0bqWL6LoHaveTkBnjXeRIq/se2sFVNeKNG0eC/I0VhDyio0k0mEOei6cbNDJrWZJmGhqw4RiawCBsrwSV250lBktKj//st4W62VV+f4aj9SitRNeTeoLRVw3uz/n5AngZT6b71S8aCu+bEck0gTxvobcfGzfhS1fLMrvJlZxdgi88tEOITedL1r8XogfOP/ROjJEpM1mcpg++3cZi63Cgr2FBMnjtIL0LRlQjxJDylg/lvrmcwEiZ/pJD/Ep+DjkdnE8kDHKv534P+hYQi0+PP7/yqUb5rN6iI+SlK0PHBl51y4aVDN7bnQ65vnd3vWnxOlgRrkXXZEuh7N/djKzRADI7DEcRoxhs9oMEO9M4AhOL9EyHJAOgpN4KAWIJNjzzgZlnEa9NSKQepj4iO9LiJfDOY3YGW04bZ5NqSzBbZTHv30S5PFRHhWXGzigsAU57J1TJ8W1niuobH37w/j1ogSJXrNgXVnN5jgn4As/GOSwKKyQUDi4SyvZc6sbZgz4l5FcEVodnEBNBWo2LD11pIjBBIzxjE/RHJYxxKxio97TiPeMwCa+gaqJutqd2jdNkApH5YDwBMmFTp7WkW7pjDYAgXQvMsiwUDlCyyspSRrRfLAHWHrCoellyTFWFeOcqSQ/tsR891j6/P8UElxsPc4f6sBB62hDrw7ellyzrmojfBjr2xjmvUm2Sg0Qnrr4GA+zshVglymkqsFqW/P5hLwNA176SyF3em6xrmXi+51NlMbr0yDD7MxE2qBIboG81rgWt2aJn593kcmacXKvEL/5Nuj7yuFibeGKAP/hEuC1JE6277i4Fc2ei6esBNRSjGcF5/WnZHeBJqed85iZ8EifpiHD8bQAFeiTWcjQ4RiBauH3iR5eA30EDG5FsXDMLDW7hEs1Re5VXS/b1eJseZim0+7rLMsJPIfFWB+wkSUhwVYq3TL94sfy+R0Yb8giaY4SMRQcacV1L28UhPxYqZMmJwqUm1f/UScr+ZPCCgbu7rjVRx9FlQ6ycdu81KtFUrD2oC8nsZT2Oiz+gjuYbqZCIn12w4BWSAIssuuyOK3zcuKsMGxSsInAG84syrMacqZafCt6orMIIyzszMeIxUQKxwlBBq8HGEmqd6RJUnjeCC5G849Yn4qHjH8ONCsmNRPrG/bdLrzyupAy41mrRNggskC6+zimwVFk8Qx34xk6Y3JtOH269elUVsCVAA/k2pbKXuido5Nlc7IYeJHvAmFeY4wb/YgaUyS/z7aC6oYCo2NCSazcGmcaVOuZSECJF8PQBcMiGkOQ3y8kgXTBj/DCKJktwGUItMslvWZS2UhKmqCZCgz1Jxsp2jlGIK04oF/1waSxu21sN00V1WOqu/qT/9ad3NSgNVKHKbWlNpGJ3ISyCqLRLU8Q2/WPkbosKaXnisUKfT260e6qbBhdEC0rYGeoum6MvNtmSIN2HqUhYjPM/itQkrKiPpBI+GxWaAfIfpnhNTQcK5RW5vvCaaslktQHFmY5FmpQr9E8Cesyo9n+oPMp1QDS6qNXpeE9pEfQHkzNzhJ+yBSmTEYrhGtOZxJ9LGxbYFlmrb5tNURZz4DbEtfiJpCcStFBLU/rSNvUnRoGAoOEvjoWbLq0LBH05ecr5BL3oC/Iw9P51a5WU6th3WFfLtQfR42UmrrZVspx4ci9yeP1f0M0NbsWb0f5A43lwJ1DzmuHwFVKjU+3jtFIRx1NguM3G/crV9ZhCnqpVm0VfIcLVU+xDf7KXLEf+gZE2q59uCcwkztpmhM4CGYkmNF8/t82nonT3eKnqB7TEOynOxvcoB5jlfRmzrhrvUtgOqBNARjFVMqYYMzf2wnjttvbil5vZ5zfceUI8pCedfsxepwUSMjcwF9GTcFhFTL0NS44ZBkmcXyHjiI4UnT6UBkkISgMuI6vuslQzg3wrpxiN1S7oIJGB88yh8c3UmT1ThMcVk9u8EGQrYypruVhJRr7qSm1bxiF5VQ1dz/zoI9e7ZrsniipNRYxWj3jEm6zg0xYLzCXFEGbsOqM5r4q0ZjG09MALY1k4jgfrLoInY5ShJ+ZOXnpUHxKrRKu3c+sKWhtpEcV89LVHCVxhKlFbSXb5BXh9cnGs7tQrZ++cCKav0r2BMmcv3FWQdL74moMY6qBPeQ1krqtVanqKdWkzVoaO7rFWPWM5v7ZTxGTgLQLZHUPG5TBuvWEZulMmYubNNcVksOyu+ZU2PipP48j6UGzEqGZVA8SeNDaXcmSP7cj0bO7VRaHPLRLYbQyA92sqg1f+1WvJeYy8x6p014dkxoCUw16zG3eMMEU7+OxW8gKt5wBjL5Ng4LyBaRAkNw8kz91JWEQ5GyRWiFu8eNS2engRg42XyA/xuXMqS/ATbCZX6ZA+nS2NfiTrsjmIuVTVnVc9VJjX+ukduaw3AQgBwy0tq22NSA5aiVNjak0PFSMkI7sbINOZ9pJmVKdBIkyNqkjUWUY3o1DuEr4/6txv4Ul78WwsXJYR6j3i/yQq8Tg2zzV1SBebvb+rzueyeSpYmYnkYR0d71pbA4GJ+IKUPT+6tBC4zCoWhVWx1NzPRATayJvCFs3FbTf22IDiYOexl6qt9bQaLlWaggbleaIMk1QCj2SuSYiPDqd6xVoUX02wgfKV05RuwnEP5tUGY3pH+o5NG1BS3NeggSgj1ACf4YA71DDkT5JAniD51vVlOYAr7x1KQnTpVDHHgTMacltCaCJn4GkkuENCQjig3VGVDYKfdhPYb6iKmjynxuTHg+eau9CdGyz9Xnp3Zyf6xHaUUk7eWHL5I4bJx4NiZ2aVYLqXp/sFiIo8g0UZTMUGF0Zx+dutKB3bqcRS06+PocAx6EiL8Ly6jF09q9/fOM0MGVL9vkXr70ItEzsPt/9nV8RGC4u2Y9p8HK7P5q8/tLbtpgzf/CnsK4ZXFjkL5kDMwq6y+3uJatnWXPZtWh2LggqkCqQ5fBrMWnRXXfnwAYPlkC7Vr7nhQRn4VVwXqNDTr2fS2Tg3Y1UAbHOm0lP4fvGGSWIc2Ydyjk75DNYYVKwI3Jw6l4OBwdyma4sPEZULXN9I/jrdk334U35PJDpGdKvOyDD/tU0CLlhYWtJDN3SIEsHsLBMATxNQUtF1+VGCvB9zCoG8OFCMADsSZ6B+0rOmIpi2Ztdzl786czFwFU5BG19CMnm1WcS4xdkZBJ9YLyPPoZp3phL9QA7q0pdPZepfM2tGvS1Jj1SoFunrMjB3g38aC9m90sU9CY8vJ/6oR9jsvluXcr5VtM667Nb3zi86XMLBelJg9VPbGerChKjV+/I5hFNBj1BiwTwzcuHNzOMdj6Jxe/MCIofgYTl+FyMYn15NjFfbKHA8yzLsQI3PcZAw8JrXEclNU1jmhvVb61S7GC5zJR64zRiGJtKaX2sv480ePYLcvhAGLqQKdsVO8WFkEMGe72R0Ylee9+QMidIV3rQhwl1Ch1cmemzXJdILVnWOdez8asF5/mi+Tm61uJ6mgyFKjOsWajYy+Owh8r6NxodglOLkTdRBeBRD0OUrAztUaJGzHgcLBOP0vix8WvfOxlnJDqCl/pOptgaBxybWDLPZthj7Nuv09yzx1ATgt5WZjet+eY8znIYq2pA62q9zHi3d5rTz/3Vzgcg+S+wokvMl9CGc5gWsoJXi1GUCEwJWYxEo5gNli9MpUaqHpc8JOhXtthWtouMBtux4Ck0QxUMY2dD8MtSwHgdrtCUch1JWbHZiM5g0qFrFFsNkwLUyzyu7lAttuspSvWN+1lTFFuwRnPZkncl0QJBGowWH7QZRoL+QQfLgsfRTDCzjSC7wBLZNI3/FwwGFviuRFSJHE8Wo6rZSNKdLxHUmbxCJ7cAj2OfNf+pfQKHl8Wo+pTOGlQadEMao5g0L1Uaww9pmhatHQvwlXRyOgan/jOc+JAeb8InCtmZfxlOXwpWOMwy1Gj2W7/pi9PBXEN/TzJb6jbpZwLTg8y+79Twek4grdwS5aXIR4jcDg5bU9wBmvrkfE0jurR1LkvwIiS9SFDSINx3bJZHCLi7oqG2iKEdj7we9hLxPj6CZSfdKl6vAsFI8NIc1mHrkf1TC1XLIetQBlZOERA8Z7cPmaNnu/E7YLEcbntciduYU6DJK9PB+BkwJXeJteeIFu89vo5dq5+t1QlReTwSUyo8GJR/8vh8ptErQPDbMH1a2YEsUA3ZQLTgV61m2NNwN53GS5XB+OB4ZW7mgMcnK3wKlLh458QBkVSzIKlICuJ/woajkyTnrWtL9WsSixD0CVUrDSJU16CPBAaO0Racqo8w6RaWm0tTicGbpodzmr4kjHnfBDi/ZWM6H8xkdVRq07kNDDzNYVWMPGEKgQz5Sv0PA0tjvIZqIcYWl/2z0qp74O3a9GOK46nHyH34Ulm6Y57SL5DLJdzHCwJIf5VwGS2TYYWl/IfQvvVIz1YySG7cf9r7EvruXPP0sfCs2H9r8UxmtUg0z+9CHXa+c/FSckF65fbSuXK0KfQ6VXMazJPHao/4uMzkaLsNRrskdnHrfdzEsOP6y7+zYNi7yktjGg+AEUbvwdeHnCCAUXMFL1hwonIhY4cpVi2KIFJIVSkuXhabSk1837dmtc9wMH0hJuw7acxiU4A3WJK9VAn6cOsrC83PiJzwARacQYjInKmrrNeOij1dc3mwj4pImrJwUKWo3MHURn69l71VObNfYxg7c7iwQfpaRf6gw07uvHqSMXIP86//+Ihl6DtKUUWyi3bSNDhh6V8P4yhZ5CFFzwBLLtttzuH6gJ9e5x3D86DBmsxru7LjTINA2BW8MIy+ebu73d+Gob2SLXnAUSNqf4MvalyLdFin5pFKMSMKnpf/MUxRDWiffQ1TqmHSo4PY8dCEbrkU+z3fTYIVQ72klopzcRoDcODa85WDpx/1ZDTBJywLJR9paLK//6GI9tHcV0NFPR4moGy9evRWeiamvv2YPi2++Xaz+WmKdcQ7UN99Gd7tx3xGS1hbLuy5sMXes8Uecj/R4WSVtHB/y3Wt/1zMKONx+O/b8Bjh9meGVAAL8PvjLlPfzmjMz1NHjdjcQUqleEzODln2+u/gIrSvJ3++9hpcAPJqrGdS5meOOfnaNhrTrA4L/066a8zz8y3wJMtpRP7FDh2hxhF9QqUMMMLZrJe9k3bywWboBEym9+xM/7mdV8mCWMirXqOMnbSZKzuKUfGbDo0Dnapg8Le2EnTXj+6Y11PPyma2mc2g3yy+fdhN1LqSfH1l2YiTwlTVF4M7kaBpqoGxbpefVC3mtbDq0EDSOZNocvflQphxLaFaGV7RBdoGCrncI78aBMNmnn2VzViZcO9AW+IqL+3YsrhZbnSkjE0tvQA8s6Rug6zflG9SR5TtsEjVs20Vrrd1zVnjUlSuOURft+MwPQNPL8qHd0dHHfWuRBCS1ElYOsbPNYOUqmoGRcNeWiHj3o2xZ1fEs9IR3aHhyKDg0DCDO1FSuLCun/5/vTW8KtBROmUy+ubR+cqd54uNOlCAvhaA8aqxMRhXYOofaoZ3PL+fXd6QUBsXV5vQ8MoBhR1q91erjcHfWz7sM5mnxP3iK2qjnM6OM2azPRXApeh+s/nMwGnxysiUaZQZ3LCHdZHddIw6JuYyZl50i9kyG1ORlvtvvnxRKciRxXYL314ESsNz5PkjC/eE8H4j8ijqRYtiylRNLeBca8wiVVkTaGk995/VCFphuse0cGCV+BzcfZM36DYGz6MulI6CRN+PckDo5v6k3qSd5hJ5XiKMdIJtmA0GKB222bAFsfKIHDziUWLeCXbWFCe1Rrn84hrg3DsBAwOv4+NfUt6VUL4EExQX8rRZ/OPeFOdoc1l0sUpVHF1200GEHWr3m6szb8Lq45tX5HOa6JC/6MCh52/GCnbr0E9D0tCF+7HzgvMLsz1jWMT8i4KLMYcE+NzNQu7v2dTfH7RkfnPQM0diqF6P6zWSZLEqpS7qGwtJ5H9IFJAJC3i7Es17PoeO6kUT8lxVuOvrLdurfu7TA8XFII32SnN79fdtdB7SuQr8fFki18+qpFtj8ryK6UyIs6IEo57B9LToUGhq6HDqsH+q/6FgZYFCUVCjMHFfjUkh1xAAr5cYAMCFAYSB+huZCEChOEBmj9A9kYHLKHThPHpaQ89/ioHAzUC0y3sTH4BdqAseqCDnReUqFLlReeSK95ChggYQQM+4gnxGbkUWCiJ/egNHxxEYwOSUZnlRkeztcBEuJR/JDTxRfGtBtjxLFp4VnvMpgxV2qN0/W2XKnPxEp00mJCY402wgt/uZ7aaOI59hplrdtYB07weuaaMm8MUiqWaPNEWa/Och75nkPzPMMFmaRS9oJAu70yHG8OzPwrP9AcCvAOgeN0a7oPF2xw3FDsXtnhQf8tf7DeuH/fT+h3ZUWiNs2+F1tnVYmRkbM2GhpbE0a2LglR8pipWQgXVVM83+dDdzUYDiCECdKEDwBTmGFhzHRsq4h4owhfN4NRrAu8bH5TLjo1wKEDeVV9JNdGkZ3TBfyrAwpAtP3jb+tXDg1MuN4eHGBQRIaMHqcmrHUYAuWRSXWB8fX58YFVKY0yTq8pO9zSyzKCrIp+mdOPw8p5hTnqHc0Kf5qOcV5hVPNMzjNOERxo028XeYWas22mCAANhGEfEaqzMBQCJu7ubM3OkdAKx+v9/Pzy7zEPtvv7nD0aLD7lK2g47asXh/8PJrOL6eAqaqkgnhD61gDNaOM3bM8M3jw6+BSDHN67cQ6SDie9sX9uLHX5Kw90bmvv01zJq8/JziSPMtB3DU7u+q3nG2xWLuF5/9ldJXV9eHAKT/NlsY+cK4YQyJiYgK7PCwqBv7dj8CgKI8vDslQEqVBu+XrNQCZNArxdi4JK5P6NmNu8UeLEA8kvxDU2LeINWTUa+TlpFvCWHJR5ABqjlGq0rJFlx6o0r1F9sXZbP/UrUvu2QURKdEa2lm9oCX5qhD26Gj6joK9pwJtMMudB5m37ajLtRe20kW87YvCvFQXiiiRiiXaIigbx51nYcHHOMOq6MNs9afFG+qxLg2rhWzIQyUizIQW0fkvrV1wjaRRCFk4uJtQwA6gUBgvAphRFgBxNdVOjnQoPOBHCdZtzK5R/U3Tg2LkUciAcK5LAtoWhpGoWHKvE8DzDHBsdUJVB6lcC2XDvlD9pO7JyCh7rcL3fW67TPj5T1U6/PYpxZifkoMsbye8LfzkqAS2e8553vby0+a7vGl6MUvmayJwn5QEZbkFPYsAQ4918EdxbAkcqW4Tb/VNmmbwCYRKJIRQLzkQ/+0wS7Y5jm67BxSiiRzkyNyuDm8WFBHDBDfCUzPIsKN2eFlDuJ4BEwftPjORBN28p9telsaMbw4CEB9fp8++l/wf2GrgLm753w4KADgFICAnQr39131FejvP0/giXTT5+p5G1F0ABq34ggTmfMMr2vFCRoWmxMOBmEOQjiBiSpm6pli0wKyY4CFPLggOD0kq4hrqRVu6V8tC7eoBQzwv0Us5ADYBVzUh73vtsaAA8X39kinD3psmY5+4176cdAKjqffeyN6eovHwWnpnnvFB0BRdZZ2CYJ2ZGq/cokOFFlSx6owiYDy6Pbn84HnYA+BNYOR9jB7wrJ5nGvHXuU9DI8eR43VVu4CBtNhgZT61k2evWyC6robgOngiLNXEqE3rS9cb4rdJL0D685OnI1KKA9fuHRheCyf7aHQYRymI49fAifVO2uLLxSbMy3F7xfXbO/sQuz9dnQe6bL3IYalMB0GkNQTwPSGpztqis+nW+LA+UGxpa2pD+mzvwzPo9IDAYqL91I//cPyR8hgX36FgsVzAvvAiUKIBYFQ5/5llnnlRDPPm6AWjcbsn5iU8w/od1XnktQ+fysjHo9tBqiThs/ho5iVlj6D1Ylhs+NWlIEqjHQLKIiqo9QPrM+QrxM49lod1gErfGG8bxUcyrTycKfzLOlrzpXeOdOe1lpwHRSaD3/u5UWP7Bbz/aOKl2Utu+iX7BfRw2NF+kX6Yn6b/NS+EX4R2nEH7nCN4tyr9UGOxpb2fQ8GiksGHB/0/ie6kWrOWH2L6rYqwZ2rsluu1l612FVc94RVbtRbqzPMjdTof7wHcVw9i129Vn2BvesBvkqRwKXoTeEffiFgLz7JN+kp3ATFKvzBLvaF6mt2zIYBbJ4yD49RAAIoY/C8K3xwgoMchc1i2CCW6AGYQnHG3wf4B37l//oW/62/J2jy+l938evF4NAOL6rXC6///OLNodcOkVdiqzza2BsqWGfjS/4LgZcg+prX/5RcMsq55N4T0RqvYJH1Lgxgone0I/g3Lwfm4DLOfSP85pyVwasQ/jQH1nCEWTyEifCsBcBGuvfwPj+fhQ6EibyzamnD75LGoTnu3V/469YeW1mZE7nbhd0zmawgZS+OKtyBF05WTyYF57e8z6hmvN+SAzR5lgfvsvdfP8ZYjFuErbw4JgDWSmvqe6RYWY9BIYLpMFdCCNxHPU4xG2hO85YdO80l+mWwSxbXvCBpsu1YYgbWacAFVsw6dgkfTDs5ZrVpEipXv5hGN71Z29+s75vyUaTMMB4Cq3lhSteOfKf6UID0g4dzFBfiorTCLrj1zVlg/4TVymqJaZVhhOWleDokpqe1pyOwhR6RjVFBcMyT1ifqgz05K8ymk1876ey139ZL1/PmjkS779thOpy6k/vusIr8/fpKgH1wMoTTTMknNpfmBa5JFWQvgP5V1PIUEvgeVPgcOo/Mn8en/9hLegCSSlPN6r4vWGnS3FFm00x3dHYd3Vxba0f7gcCNtrwhulYVV5xQdtNBhB3qe7Bct0q4eKt8O9aLR3UnSVvjmo/Guk19VPg/JKCyZbyPburVM+ZHMvuQvo2bjG1HwcK3cVPffrRrE9aPYd90uCcE7DUuFpdV4ctayuTFMqUxOvuUgwg71MGfVi++suqEAizuDKLuryrVoXsAp/92POD4bwFry0HDat8B/gESrXPR8GisNEL82yU2vEzUE186ADFeeCnEC/E9bxQov9WGO5VUhc2guaD6WgdrN63t9F1yhbIiKoLMWTQLAxjIWPBPjTknDHjc44Z8yXxz+52NmzgGJTeyOzaJ0DWEkrq4t2gcHH8ltvCufvDP1eMntl/fFrUztF+6fPEt+K1bv72MaW6TMdviOsps68PaKzqlFaGLk1nJBNDn/WTGu+/PSwL50grpkgr5Mh873bDoDUvZsqUZVR8DF7mxRFWkVBapSqZVJcqiImWJanrvzBuS0JoZn7barPqJaJXiaIL1iAgEwNHolM3YeVrTgp7W0PM9a9ipCxev0WYQt2BbAmSooPGI5+cNNBW7j2PjFChQBHzHTCAM1IEyEOMk1wK74DkVArY4/fkor6I8UuX0Tpz7QBMSCKiPanqHsebcZvsoVUQtoAmpoXRs3cm+JjqHKqQVXO/yCDYokg4PKwEntLAyLvISRxGPyrnw8BNFeJV18cBmDJUTyLXwbA9g3aupLO6Nv3kpunF5eqtpQuCbAw488MH1jxrgKsxfHge4IG713gsfj4tNDC4/BsUxWBcsTpbOnifPe+fQm/pOrsPooVaRSKlmSUVAcYkGWyfnURy+fhFzMe3/DCZkBhBD7KH855/aHrJy8eIoIkQS71NujSqKFVJEv34u7Enl4A4c8w0TxlM5PIo5JEwDU7I+DLDZ62qxxo2LFecd3Aku9jM0qBbehswD7Jl+STUON/5ukz89NTq+1Z6D89hxO2rv6kPpW5G9Hxn26LIS4J8kQJa5yxvpiL2vaz7Axmn7aNgdGgWBZnoUcd7Mxblj4U6ul/4OseLhHBPGLVIrxZEIyqrD8VQT2B18o+KHvmSBK9R6Moal08t1CWqJWhcfkaoTnVQvxir2ygqNCiRMIBHI2FEW496winEjii8wngNv+TcT6+IT6rsdxNDyRTsQyfhRqz0t6RdPQeJAfehW04Eqim3IVvFdnBUlJNqR4oJhApsYtc7hc2brpGPSba0ZdX3YqBV3sIkObTKGRrO6RyKItzLKcVbIgM47/R/Y7ss/Q9//YYNfY/9UcTosgtOL8w+y0W/D0KWvZV8fDmHvDsDqsX27YJSL4QMJUzSluUnlzrXDxQsutAQFbzu4UJKsz6G0cbnOgRVWB4nywOaLAHgZH4MKpYEXBC0LAIQBQLpEScT4gBuA9BB3PgLczd+uGvqdeGpUhKr8WKiaZ7nQXQ6uwjoTbCkQDIP8OJIYWrsPdaXmv58dVCelsqxXsK6XFMIYBlpujJb5EYNmeMehAUXlZ9SYWT2nJH6mGmX5oRx3PXUV7AaAzpsM+H+Ovtf2JEi06jOsKF4JK4mkK5J+yRkS0YyaEvdLTpMM4pnhFIVYCEV5g7Br5K4uO2qvrj540EMuo2i7cnL67May8zmM6UuNeN8pKQf4H8jCiCT+gZRnMNW7qsqbCoNT0/bgz4rbENdf4xYerw7oP/szirWeWBtY0zdvno6cAlOS06gffR6gqLZ2C6aQ35NPs4bAHc/Z2ceDW10pFUNsH5ffwxm5fOahn8uHPVSR4to6+PhEL0amNqyBK9HnErKyCLkGCachrMlouQ16iQINHejCAzT+508wR2K4TPnNwFi2EcnIzECyfTPIQ9KTeVJyxvdfmtigbGks/QOWdYFyYZvYuihyofWfbTu1i6zorKOfUHGpoQ3WjeAohOcoAFj3voDRNXDu1V6+2bI+bInPkl5M5soq4iuA6s7HvjexmYUWEVdi7+0d4g319VlNUvaEel+xC33R8s7zaFfvul30IXS0D7imLdkBWr/3yWv+svCpdMv9bS/P1cmcgOM5He9zL7fdt9CpfMtfa8jv/4GhU5pnRVJhuEvMNDD1vgzspbL6mfv38Zl5p1CAfsrsv3lRP/2jiPvyfmI+cZ1q2JdGcYB66gDfv0gAx7TDUGvkya/xC9Yxxmdj7h/jY3iDnkk/Yr/xk73KpsMh9M9Cvfs5HiBqjcertIAs/oiD2NOrdwdKznhA3oTWawJjCm4IyOBvAwDY98AouNZK8IaoE3D2dG6WfwrymeoAVqiUVHU2fK376mW6/xbS18uvdF83dFZJlIXYAdVnKUiWf84AofTsMqARfWu66WhLA8WF68WK165ZjYy9ek0tuljMdbCpfKdp7Jw1e+/7YjOcSpcVc38HSKxtSmhJN817yLua9slv1cehJbtHawC33VCR/wLpXnCo4524lZfuh0V89Obpq273/xf67I+wT7oiT4T3+FVvLV1QUMBrsUgDstKbD67jlk9u/CSMrUsyUIt5mvD0yMWhqfnGN5L3bOgu7rSXjYDx1+Qud5O73Z3i595Pjif3u8s+Rc0v0FTZqHS/vhAO3OHEnCBik9CBJ/0oE+1/4rKjdqZ3c+2uOrteyfifEGrBk8rURWVDH4282XEtLPjDzYvjDgs6gnL00H7h3dkgrjm5BE/H0hoiUhp8qpl5abqvpJyNTV3LIJ8PXvIKxmhNR59Yt000rE16fXt1bsuSiaS+YT/Ka0m9LJlYZfl/UyP61ZVPqMnsptbuerILpq7eq7SUFZevzBDVtWCp0aJj33oHGA3UhdeIG0mbnwWIU7LBV68/Dr084jG56/0UtwzUAL1+eW7/r0n/fPLxpzsyfHv++DyVEL981434xAegqtPkn5xJSGU1RJfFv/K88HGWdxaracudBb679VnGX//54AcXiC6gNamBcnqPX07sX7aSHDaYzv7Pj2Qbg13I11vTWaOYw/ABN0ccHrPJL9Vm8/77AVBV0Tx+Dap+Hcg3jznrrH2Oe6kRgZWvg371nMAYm0qbSo+uzPPKe0uanZZ9xDj+GRjfhI/T3hs/Yxi/BILPxQQna4IqhtPcrNrgEA3ibqcD309qev8KvbAvi1ajhWrPNBwMmnq368aHaaVUkAbhwKopjsYKtd7X7lXWfM94+mFqy4Lr7Xc4+5emNm7UX/pl3+GgIt8grw+kWElJTOXuB3mcvPicu4xq+9KGE3VMdZdySWCeuWpJFQxQOupC58vp8DzyAf9luPJkYE1Ul1qs0nvCAKZtXNpgr2bcjc/h5IHg39nzMMkHiKrNVdJEisNhd6B3ev29zffSarYv3j7QuaV8C4alu15GLtBrcdFK3h4I1LggvifAXJax6/p11WsZf8sn2Mdv8WVPVPfu7cpIl4zUjlh2NKjoGD2Ed1jWtWT7ePH39BuPn4RMBd2q5RIEwwuJpmEBgVt7K2gqBAQpaTGlKlVpTFxieRBIY7UvEmgFqdkQBNMp7RRAIUNZQp0gpX1hGhMEJy6Ki4kuLVEdS6F990ZaVHBxzoKgznfcaxq9rnqS6Oq28uyzYLsyVxEelpkpA5pr+JuLNDH18RABWm8FZYlT+EvzDb9DB+koHf66SzEemCKVphilySmBHL+yHHmWTJYlz1mAGwM1i15cC42kTKgnK/tRxxesgMMd3Md2R7tsjJhW1YghUEuDN46wgqBkqTQ528Ecyl61rY8pjVaVNKtKS1XNJQWQS5rHGLj0OsvkCY7Zpib5SbmNw2m2Hcn+Zhfk5Vljwl1VhndZw9Ycn34P6o4WZHJfGZh1H3zXMz3b/fGzRWS7jaVHV6LdaYO1wbK9bt6EDRAruDPIIyJC0YqJClCADqIAHU3sH/Xi+mORHBFVDdWL1L8wA8xoESNFXkC5hOQHt3QGfjpgHbSCmb0bzqrPbojbakxSio/Fxh4TK41JW4tQgIxp0axh8cgYYnQeOvPlVvo5bA7gpB50LbpWoc/WMxTSnedRp9WG2xwmh9kx8PsQzDnmHHd0mOVwz244tOGsi7OsCXo8in/taR3i9U+XZOy6d0/1RMZ/awW2cgtf9lp1/fquMytn2sXHWEDUPaYmKiBcdNb65GkF1lNd7L6aqP9D/w/JPvZd6+FX3a2Np7dgWziPTI/8I7mPHoc+JpOR/luK+l0JKHuuiwhSIsXo42sQ/dp5AkR5RYFX7wrmwEIqSUoQMR8fPfM4xRX8dGRu5KliAAAAwKKDL9/YhQJUyCfR2Eo73SANcQtNl0Qm21PZNF/vBE3I5/zAv6SaIDK5D4IgMPoUYSK4jztRxkiEkoFR2AXzKPPa+2wKD6bDA+PQixr05oBVWeZzHLov8EsokUggiE1e98lU5BRCJfMJOM7gXL7r1HUZa1bfXAvzAiKmBSRmBbuJBQAA0JYwum5dTpTwFO8TCDCjknZoIdlAFmj3JgmmIxI/OPSK/Uyvh2R/+LkTPHBIXXx/SmT79Msq4ZX7RQuCyBBEJPj9oRpABsWs8VQNNxTEZ547InLlzDsSF/y1OGXxXwIsUp7boJ020dExMuIXXeYDrKpqPnKesQEcQLyZHknfVj/2BzvRr2WxitjwI+FahVZ2KD+42dAUzCM+V8wHnvF7wZvjIi+4L9rw/hD5CtkKeQiOw1SFhwEcdziDM65OKhJfBBzPJhwTqqQGubSIcVs+g1EAjFMAYsLGKU5KzJF9a7kVBobt4JdzvZywh/KYG+MOs8OEmTOR4mvII2W6eDTDbes4D9AR1MPgI81ZFcYsEfgckGt7kM4RRSbj/1BzApscnPzMA6PJmkVLVX8UJR74KKeAKTcxJmqXi7K/+9sjE7qPJXIxr06kXFjO7kKsFzy2L38m7GZXCiuRZFsa8BSGsGq+JndPb3gcdO2/L2hfNBL61wXn7a+jPN0W1Pso+O+QVL26MpiUQD8m21TkKfi8PkcsIjQnixKYjwg/7Lrs/PIBJ07hLhaLQ/JAUKA4MDhEFCIXCwWrmT4w71TP8E6FTCwLAu3f0YoDfX0kSqvWRs17H6uOXZvPs0SqlRJe8OncM4ifNECKcH0EvquaQpQrolYoQ0BX2l9EgqBPsr6qqldkE8yhISb8LFsnqq4Sr+f3uRU20e88M8si46O6GHneS9MAF+OCAYNXJjjdq90GhB5CkBOZ8s+KWE8it06tVKrruGbb19072TvDnP8m29pwa1NErbiTb8jRIzi4eGGNqaHer5HbkJ1d71/nX8sU1m5QdGP2BTqvuDAza2iIuU7Ui+DqhdWlqNbc/8SBPxdh3ETsPpTp8fd32aLltRMmhryAmfPRgcSiP1RLRc0yGvu4CKkUVrK7hc+Wb/e4YEW62OXC8spS9xChJ0izEDZMd5PPeV/4gvbFf2/7kPfnBa+7jTzqDdrmzhSHiMVid0Uc58GXzsu7fiA8YiaIkpsJInFO/ecCz6JNsmP0BFJwpVqf2hEkCZKJZYqdwz2neLAPc7VAKJaHiEKCA8WBQOCWtiAnPCtMlinPKv1PpgTgzrxM9W+pPEuWmRWWE16KGVOkyZLMlZlzHAlXfC8za+WfKVLjeGAKyPAfsMqBMwuEG1xiaHJ9WF5J6j+TC0r3HtNlJ7oyyn91x/ZeNpv8RzeLbH3tKfd0bZVvdaVbX28FA6HePeR0Abcddq7+Vo/jCAPF6QfvM/tPck6y+n84SMd1qptP2RKsbVaCzfCgs2x+H9PCbHruDNcWKE2BQu1TAoHivO/f2N+cAc5hNlL+9gnqScJqMZ1+dUcZtW59e9aGVek2/BIF/1Fpm7p3Oy8OxP/ICkMByhzY5ezeRK/4cMXkhwCADydXfJg6i0/iztnEYuwgemlSyoRlbLK9fXLMMpGStDQaxZsSBszwuwmuooXM2qXn14b5Glkyi2ZH2XC07K7yoe/POGcgZ25et5gcAUJxWD0KH5f584Xp8XGEObJpFdSlySaPYgiEkOWs7GuJ17IT1t38zDgPB1t//aRwhBpPHeGH71MYl1tEyWUG5WQlTKcMrAr0J0mhY88tnPUZSljugE8wezJ/686d9uBUf0vLWdFP7k9j+XRLVMlfW2RTTFY9sr69tJM9D3/qdd66Hjg+vuy4/LEl/htx4c/O8uuW2hjbWUr/9hgDV1X4pnPdrfnI+dxcV0RgOW8A3SJcCgbCQG1Xjmk8O22dwT52xTY0cc0MQJ2t7nHv5DXkHfyLkGMOg8/tkFs+Bt+pkKtnP+nQVHu4eT3yBEXL/Q08+HzseQrPwKOc55GhZZlhVfTxmGILa5zRkCOTop0dmurCvXdVfRHoBJx7jSnSF4sCNXt0pm5S4xzmVI9NjiXUJ8TXLXcQ9/jF0i/zVokDkvmxvNiyACGrpcId9jLF8+L5mgBJxcrP1tUKek9m/3u8QN3AF3xktx8iJhSn1n8FZe749lnvHj4ziSnYw9sjYGr0V/Zd1eUTpoNV7bLv6kcHz5r9k7KS9mdqsjTwv10Xuw4GrI5d/XOdNT4pYF9AQlk3mFw4wmXnX3gP/1yNp7eWT5arn6EQw+f4e4SEZLlYL00vGDV7vgJJuiTVZWgeYJX3H1dZOWugfi9Y0pv3APJG8jVeLdm/P9Ibg4DnG1Mf/TjTmJObY9YK6mJFqKHsBtC0hmy/H3G+hY//6Jfdhjn6QsK1xiC5RR4ge4RsHxaPBcRXQlXCyUuohq6liKvGjl4TRXGCOPFRA9IoljoCvW0QYuMhNojIgassRq4hL2LPN09SnlASEvjvBozxRvkj/E95YwGn+KoE7RFv4dXzCryeeMmPzr5PKD64xx53hfsej9Or39FO87q4/h/ok0m7PVQ9xuzsBPfdpJ5TKo83yWr9Yl1Caraa/CZQnA/DHXi/O4bh40jDbbPdNm3jtjEbxwnPw6/mGCUEM05xmE0BqmS0WK3jMaskVJRHAlSlx55DLpk6AurL/11eLg5I4cTz442eMGn1Spb+nmPG+BgnMUC4oHxbiujOAKSf3K0hmPmSUckoX1CnjDpz3LZ6h5gRxxC/tb13h4iRxJDUl9vzLxQcyvaYOLrip9qQKH2c/id9kl717uWOy+IC1QpVqUzXWBrH389PbAfS4iFGjaCGcX+dAoprhgAp/4zAB1I5hGIYzsNdThWWj30xuY7YVIQOtkS4o2FV1Bh6JNEFPTTj1TeIBYyJa6CEal5MV0F7K19E8YQoMYpC3CDKKQHW0AnuhHUUzmk42Be5c4DTYcW5w3Myt0QijO5YiHYEdZUfDH/uOG8c0A8sDza04FmqUg2h5UzoWINbp/ZdV/Jl4JyFEoOYzqAeKJ0A0blhVqs3SLP4i6A5bWx0NB+69cnY24AuWJHgTgbgY6SorpYyfMAg+EKj0T9nBvIpeoa1qYfNJe+Gla6j0zznLVsdtEQ+MD2TMCUY4YZF61LxYh04HJquaeIG9xUj5lR51bHZsAnuhOK81faQbb+9wdXVh8/LybGj9pzcvsPuer2BdWpyVmSjGRM4DhhlSWzALVhTQfpTdf6vL0BBCOzUwToN1ulr39Sng1XfqL7TWNOjvo2SPdJ+S1GXrYO02MiwCCwMo7G9NBt3rh0N8h9bk3FbP5lK1QJA1L5x7hcqJ6kecjDqkzjU//99V0UEQGWa6maSoNSyzEDlMbfnHzqhhLCkyJ+UtpHLJogUPuuw4EHJRfk4nMimDVx10Ud+9+YNV69VeQ5t0WL6UJ732Yx5162bNLbz/HZpUXLQdhA+DSBIYIK8jCvlRnevA0xgunmwLUt2w+g5r2MBZc2Ztx+fCLsBScyKtsWRFoWhdib9zO6KH7IWKHRiPb6QeTFGK05WFBPTSWVPRN9/KyC0DLm8FuvCPeCAH3W1ddr98x8MylNbKUnJQz8oIDhc2Q+ic6sdDgeOgsBeDKxQLHL/6Cj28FaHFQXLBtrLVK4D82V7gsHpYK/B9LSnh2DdlqhfsfRjfLNB9n++JJz9TT6Z5wv7kMsV5eXyMMdRQlrhsz/4unm09xA6bkXjHoXrDtvREeTfD4Gq/F+Tbt3e+m5ogXdAWcXsualHB1RSz7ZrFhG8OPnISHLrebElwdBoyNHyd/3Dvu5/4uS6dyPR2Jt8R5CxzDHaW3Wklw3u42H+gRuzMp+UbFdVuXtx0zI2F6ey9t9b40XdkbkRYM9gOgrQedRFsar2nilKt2i3Z8K0dHoEPTgGuetOcEusVvpKMVl/zAs4Gb70Xw++sPuI95nMrqD1379bwwZwrte3leuBQlg9kLir8luvFTCdvWR/qqwP7GLJ5O/htHF2IoznFwUl4xZHzfbkoCLp9vNONu3mLdc8edabF6rHtFuGPFVrq4d53r+P0F1XB24CoE2d+oRJApDp8ohN+VNkUlgC5PzwudsxZWBmWSpEYnZPmVQAEFXv/vs/lVOfxHBASfUc6i/n3tAC+XbKPGnGUbMXhRCbtfNkZyk0VwCh582fzZBA+W1H/+fQ8SHH4/I/9wAzUJt+H+LCbXib1WsOuIbfKjbvfBUKTb4iyy5PDqKs3zwMhb7aaS5OAqP7etC7VtQdxG07oWSGPlxnNnT6+iOyWze82aAiwWhT/4keGHEOAopkjvtuAwzm5vefOdM/dTt3votRkM54Cy+IRebb8DErbbd5sJhl6ge5V8FYw/fvrq/81isXBuwa9iYS1MU8tlQk1OJbnSBzaiV0mgIoY26ueO3SpT7J0zq24Og5AKtixg/tE+n+Ofs5qzabN6MQsnkiMXx/cu9rlh0repC5eSGOtAEArLPyDNT11OycwBdwqATRryTFFJimZrJRyzjeL6us5YT2T6noOHbfjUuam0XCvn9K+t9/r/9hc1cYhjDQh/3vvd+/bfJfZZZLb5soeA2ZO/9I65jVZ+foIFoUJ4oGhZL8w0SpApQ01vb7ZhZKAlQlBwoICzO00U5sXCHH0jWGFp8zPwcNBY0G9YPeqU6iQVmbsiTq6NEYtgeR7OMtcozZUZdbmnLp0ofleeE5MrkxMvuU3CjLzArPlpcRYil05OutyeF5OqlGGpgcnLI7MDl7jdFI+BNIrqlGrRMBk6PWXs0vlLo08gZFlNZPH2CiF9LNMRpMNxpfSDfRNOpUjGcaynBzc8vaOHQqM+d9SU2+NldTw2pgfZWuy9fkMGu9GyQ1AQWPp4bjLKRYyowGOE8hAJ1DAIKjAOFxeQg0DiNzp07mcXgeri/MLcua1o5PnFZSkuthUGMi79LNEwADo5Trwo1usucS7ex5tpDbCfbe0S/RaZdsdL4l2o2yrgi6nC4Gd7lawUau1/86KW42hOhDSMLgCEkjfjES4iB7rw1pZrWkBoi309rwUQuyw43hstBqiEFjVBls3RqwakrxAStmFawfWPBG/yXc0VmsqLYVcIyxbw9/8UmU0tJeHyivqj8W4rcKa8swp/Wm0vnlKlVF0SVQo7ihesPLZNmyzMxwo7wEwMXAGJ4hk2WcbFBCOvnZ7iHzqM3cKMXnx/E5vM35m/uAYBddHdvAqh/cUQdNIDb490ls9WBglXRwbfronoAtdkXEpcdFkfX/MwCyn7LYVzITroimspJPI8x3CzO9tJ7bBEd0X/YGO0dajaFkTnbJl3ML30namXY2PSBXUE4FStG96lPJwfkrDjKqGQdbgvPbUIA4EAbadqtuzDya4kgxOzCHU+0kWEPbQkGgk5SlO024kmW4QmaNvd0VWM7/60bPlwoo5Am7Up6b0Fih68w/ghxlkeXrE9E/K3f61ukrtbFtT3Zuz/2V6I8mo+7xjx6CQG2mgb4ijeRJe9lyx1e3zVd3p+UlzZO0Is1ABz/nJuf+DE6t/6mqMJzEw7W345Ky+7jtWHdUHk77j9mOe7Rj1RaffO+qFIMDAnvz5Krwm5g1279mS5jKOiywuklQxrWqn7TpMvzY8ktRD90PffkxPDRBj0+0b7+KiDNwiFH6F1VXNGljgRwBzptoAEHbafRN3bFFjlm6YzN6ZUfr1b2J3jWbWJeQULfcEQsZfYOm2VqR80dpPvV5oBENPtHPjOjtrpZ+ZOb0hRAPah54HygudaU/LS19KvVV+eF+Kh+pa+zB8A1sdb502zvi0yU73kb9933pH9znDkVC7n25fcGQIr28YP8v9/mjb4cnZX0/RwGKCzR+whyfyKggBBaLAQBgS1iAZq1VxHyH9w4AkA0c1kXI9mWBDhaJP53AF174gHPM+4ZGtPG2KCQ4VRccInmakfFL2i8lGb9IfKJ9lBSA0CkpzD5W4s6p1NuijZob3po5FFKpmBFMdw/IHYfURfcfKWw//W6N+upFcVkQkYyyuEcTJdtGkGB7TieZEEEgd2Z3BhEio7b2YGQkDKe4kHmK/LYVyH48UGDJJzNj12+t0a13q8+8A8f9jxrjMmrTVrovYEZcY92ROFaasTKspSIs3ciKO7Lpgs/p4DMhZ4JPB23eCOCxlib0EkTvQQHiyTYJkt8GnCiF12uKpFkKJEKKIIZS8xxB0/Hb/zgKk2BHixWn/2O5pLOkAm5MEtFZUFOzaq7+bp6b/RpKmhd1phRuwPQVK8D4z+4OFMj/8yELV692bYVNT/zPq5xO1/vcYxxf+MioNU8OwVpXsW52Fsgo0rRO8C1h9OzfMT23LGxQkn6vf6sjuwhxtY0UZgSSOexPv+0i9+msjNhNz4prdlZFR9gzH37kz05FL5PD9rp7yKMSLNj7EnfgVpXZbcBqw7vcsKPN+yZIHp6dFV6aOSXXBhTw5Lwmj+d9TyNQ5quY4sAsqWBw2M3zB6VZaUw789UGg9SBUG3OfvWmMgfTl3PUUk8Xs8qsyIuMzFOYxx1E2KF2H195VsZ3VMaWq9XlsZUPHUTYoXZ/uNoJA42kjpf5N4/7X272L7vcBEf6UE0fIaeNJ+Ia7UfiWOnGirCWyrA05grWMd4PC3DFutpGitID3Tm++H5gZcwDP+Qc9KXcPdj2G4qltXU+hemFmiUfLKmOrLnWvSS3ZsxO7Pzrr8+Ep02uNR6ZiHkJMBBeoiX4PmH/zn7i68meYQvG79rAiT1PaLGxyWUKpRrxagtYjb4cXs1S+n64YWZzWxJINLfIFp419cYPdtSem2un6PrOft56v8W8+u5BUMdGCEqObi2PPeYlbju5ypaNkzpJrAtLs6JC8O0pJ3DkMak2g9N26vuPFxa6AAzgdATUzvx/LqTDQGv7UIV/lyQ3kjy6nG/ul9jNbE+CST84mQQfD2LnSfu1c3NL/bAmLJJ1xNujBX6np3648fDyAmGo4VryH/X/KPL5bZMTgIE35s0zaOgb+clDrDVuJcIu0IdMhI6YkfpS2W6hnhyUQLorz/QQ7mZtLJjOoGWtoC4C83v+lC/f8UfyP0OosGD54Y0f6qnfBdLe8XZZxUjNsE+Xm9ll0jw7oocnZPaJBLcUQzP7ksH9y85hn0vHf92dMbLfbrfwI4/yOxIhcjxD3dhUX0IG+BOJuQ+UEj1LY/6Hn8QjfVxiZrNZXIWDoSjw/6r/qG6we3Jqc6s2hcxXuGR+hgoaQNKw2xPn1Hpq6+S8f3nwN2YM47iq+y88XQ6PUbLQBOVXXJeCwISqY83+bPKo22xyqcM+Dy1utSZ3DDXeQ3gv6fswB7M4hm61dLp+KgBk4MxHNUx5fUQzfN3w2aZDuDeCOYBjyv38oh21GdL4zx0YwOT88+U7lmQYCLTtlbMeo2R/9rHmqoSW6xVQvtBEHgUDeqtZQuYnZff9p+k0348t/tQn6dvff3GAdMmb32oPoc97c0+YZhxyzjDL88iDz4P/DE73rKZ4V3HCwuCg7/JjOWtkazgg3lY9eGXUOvE5MXGmwjwOE71Unlr1PyPm8MIEpl645LZYgM1WS08vDLPoyTuTN4T7+vpc8k7y+mDOpnK5mi0q8ApLK3xW0Ufdg0Cvi5jImHUM+iMgO9pDtVvvkvtqo/4PBYf3nvKdCpnyXes+L7l2NeG76vNqZCqULPJA6Klf9n/ldvnp4ClsgtXLOMHoZU3MOlB3BpnhjiofPRHmiQs+cxAdT+x1PH1A+jAA5Nfl5naG1nXAqE77U3F+2dRTb1tAZ8yr4S3deBd2SfkpOqU0TBarGeDkIYd9JTM6irfhTrdh0zD2K1LUpfa09M4d5xflk2E6fIEszajdMT7vKOM6lIE4xg8wR4yT6UBPXcOv3eWiNkB9fvMb5inmNzedfTfoez+iwXsvY+J+Qx9i1+nS3rvoIJKPfElMJe11EM8pO7q4rQvpPy23rnT8dJdMKAMX1MJjRdmHCpBftSuXMuuEtcJOoR0+GUc0k9y73MzEUKKZ6NFFMgPX9Nj9VYuwp6a4xDccWMF69rrPK2l3v+j9jh8+0lvP24Yvx2aUhJaFNXZUKRdFYWa8qL44LCckK1PFWuy+6/KynOhM//z240LJfecTWtfMO3iWZCbG+TTJo4tYrW/ObvzVzFphndAu7AQngWFloq42STl/OpCJ5BRGrB7gZ7pm0hpXpTXOuJ7MZ78Ru6D2F4iWNfttWkeqaCugImvvvvBuU/MX/fxnUHLmN/u3p8W30HUBqQHmANPwRubLQh3rAWu3ZMjGdn+z6AYeHu9x18m60I1lG9EuGfHo0SYWcrr+1f/bNQPUePz0YsrMXqIX137iDM1uky96kXrHxS8aCinbPtOkVxYkrFb0KDYo33ObZg5nhQxpym0N1vnrthfnLkp25CI/Nq42TTwK/O4vmEgiuQWWUDwE9OAM3/gQkgdC1EQzsz17TnuQi9D/2yNXz3gk5K90/MS0gP/25rW8LdiQ3zoylfEx/W0UoLTmvNaPrmbe0PxCVLqFEpVEEuymdQtwU7r5lo1yR/5+amuV6o7WjhIKgfY9L15+TerOBhQQEW7M/HdQR7LlUQ7IHmSA+HXAdeofgK3faJVzVfq2d+2bO6f6Xvp4nKycvlfxfK6tJiVEUdM297zi3nTlSQ+fl31X7Ex5xm7Thw7iqY4zP6rLKzEMEcZkF8gs8kkCBPYfdiES9vynn1C9X1r2ctbUl2djgP/aU9b5Kso/+G33F9NzxOffR90djhy+G/X9c+Lc9Av3t4P9o165qI9GRh24Y8pPrr0N+QJMh8q7Mz1N72vFbI5ZHG+zwAWMW1e7A0JtsrpKv429T5Oe/ma5elrL2+G7Xcv5vjy6P33+y3Gf7zZ9TFVMIgTUVXmk/ZH2xznhKVI9r0Cql2XKjz4L2k/Ki1VSXDDYthOeZ7vgnWAH5SnbRdm5HXax5+Ht22E6qPksamfqRx+GZ2SEy0pqSxOuZK4rPhGaSkzCHvlkXnqsnsF/NXenha3fkLqLq2mPXeRF/eK73L7uqfy9LMOay2KKlcrimLLmRmVpVKEleu9eT2gH5dyU9bnMogsK6ZKk5htLWVzCy2NIO95uKIkuC1EAombrFD9pGrE0s0wCxvfTIaqy4pj1mp1V9WL90tSljeuBOrf0fADyAIQvbD8R2ux9sPhDgp5wVyy+qycQPize4tYceqJ9YbhH2HeGnlyhVFOGbL3XV+gkNHELAoq+1aq+0CjvBBRyTYTml8GVd9zLNFIhWCVspLoDZSq4SFf/1xcwSD5xDIZevM91sb6BlgdeY0aEfTsvfMSYsE1Mlp8AfO36vt71kWYgo6su1v/mHWkBMnrM+S7uLk/4u59mL8KAeYnn5IT7uQM/q+H1HHPfcME6txpw8TDy9+zy85+DdV8Uzuxh/fcQvIggopFkD2e0ekMHefUfzA0W8aBUqor+o2Or+vCT0zMGeXKIxTvfO4tUQE72zvP7f6d7HhVSlk4RtwWvcFgyZs8WcAU1H2eDtLRlku3kbqUhvyottzt0K/n/qbSS8H69FkC3ianklQZRz/k3Nw0tpNK9FWkXH26+oN7q/UNFyjHp9bW3ZJnRd/8RLH/2VXL+rbLLWUnsDP9SXpViazmRbhRWEB4cFUyv/rHTyjiRC4a3ALqODn//IYAgoXdAW5a7m8ctnxkvSMjn0vJ/9Zrxue01L2Ct5S7c8zUI+JFRJFhIyg8fXxa0yLYMxH6gdXu5vq39qk+eb+7pbN8c1q0UTX/PO/1of1LK6+wASw7f1cdd7Le4obVxdDGnlZeXxzv9m55i25KZXGEYazY//IfGoBzbMhB3Xuv2stPaftU7zyf3dI5vNuuRRtPvx0S7+qK91yV84K39AlTfubeJ3lJwak+ZdlZEVgo+r0o2kMZRHVt3LU27qhtA/bQL3Hzr+EGoV4CPFOSe2WXwQ4VWP+zn7z/LcXr8iz2YrBUjsBC4ZIDbKojqAVkQ0f/qMuYgcZ2qTd3S8ZQNbq04HDkoK3ttBmunxxIOxqA3NmQCdDxMl3XiewzYDDAJXJxpU2Hb5LG9Y/xcfjzQJiemoxjhR7W9H5AP3RzFuToEloRyXWTfO0hDZpU+SxtfuEM/2HQOGDnUiMObiMi1CuYk6pshGKB+AIDaALKX0q7WejYPuWT4mMHyLgvrVp9X86M9zE3ap/drZ6sotijVXGiVBe7j71VfHL31PWJdWmIYI01nexVIruprkyeEKbihjgrEb4t62ZEAuMCxzPTXW3AQ4ilXAneNufVYHxEYkYRiPDJwXy9hSXspvLMPuMkp3EBgIIQlXgKaktwItojAFknYjkcGvteLxfyPIjAdEy2bGhU6NrPtXE2g0tI9G1RZrFWt9DsAXRsIkUCcPAtAp4ppG86VtppRC4/+GYB8Neos0azi25J/o+xzCJ4rMmtRQ7R9xuR+AQW5SABx9ocU8khxMLBV4Yl+tf2ndXWiRGrtebaWbdGWQr0CmNpsdfHMNlobL1rV+0IOIHJf2d5ZF9XRUZsZPf4NHuDJ5v9UcS8A9fqn28SKsK+qVabccK8lY6t6bWtkfvkIUOSbeE34N/EflpA0MQncdEXVdMO0bMf1fJhYvPnwxYZA+fHHwcUTgE9ASERMQipQkGAhQoWRCScXIZJCFCWVaDHUMLhYceIlSJQkGQAEgSFQGByBRKEx2DQgPIFIIlOoNDqDyWJzuDy+QCgSS6QyuUKpUmu0Or3BaDJbrDa7w+lye7w+PzAECoMjkCg0BovDE4gkcp4CFCqNzmCy2BxuaH6+QCgSS6QyuUKpUmu0Or3BGJEPzBarze5wutwer4+vnz8IwQiK4QRJMZgsNofL4wuEIloskcrkCqVKrdHq9AajyWyx2uwOp8vt8fow4DlVWKP5e+p9r6w68tg/CttZm/7edeCEFuPTFHfUkD9C0veMR/kTyTr3T2lm4si9s3epK2ZamjqKCKfkgdwQ0UMPoUp/uIcFNYUGNYP4eVrnftw/jZtAuxwqO+MPzetUIMBHObaWa5NQSGVgtJzfNgZJ1ACX1CAz1Prvn5E4Pm69IoeKfmVRbWwb6Z8iXUsVgx1Zho9uF3RTQJmn6LxLWMcrD7wHRx8NFWN0l/zfVnRDSIylzwT25KZotSzK8b8rnyikJqdqRPcpi7pOzEfzCu06CVSFm/EnQkqNnqKd+bJEYiv5Ih2Y9ubWHq9pFL+WiuJCkZXHmgRMvVBE7RfV+eDs2MjfJxiDtfITChJCFd1W0QrF02NiqCwLTfEv8/eiFbwcOS7qqTK5qMpK6Toaak2kVWeP2hhRsd4Yy5AfYciW+NYxQW/E4TMDf79Eso0hpZ6647aMRX5qIWQAWSkS2Woy1oafKtwAumqAlXWWZFWSCAQ6a/GE9dXoLMchfLBq+W79v3/0XpswYE2L4QxddbkJlf5aLs3JfdzcQzo929tnvr3SBhGNznK0LhGBxngbCbMKsWCezAqWdebaDiQXlEwGMW0AeiVDaKWaTwJqlzitZQ93A/FWwc0ycvs/NbBsfjgJaUzAxgq+FtfySWS/EoZePAhctE0O/RoTlE+Hq/Kb/XVmDKwB+tVgCrjYZPhybGjKhboYfhEBCwfczgfHR9nFcEegAuAyRg+G3auxy8m2DiorU9dFqA2xVli4G+jVGpNm0RGRMYuxUnm//5XbUU00dKMV1Z8IBJtMMSmzGG5NYrSMmNlHphCMuOVvVBzlbE2HEtG5ZssYHX42RzF4DfhE6Em0tQ6FjjV0QgwMyZl8H93xGZM7dOvDukrP8XcxlMTa4sXjv3xrdG4jIjrzamsStXXzo7AxG2pxw6JVJR/fUNzWHC83l4BsK1Km5pJKVOfKxSFoIJ1rdJYXjNf+WBzwxjFMYeEm6eEKTWs8FHINBICN5HgLFYO0ugYZCO9aOD/S0tE7OstrZ0Bu1x2d2b2DIaOKZlTKBHkcdxNGiG8/yQFv1LTbg4ycTzTau1d9yh+vQPo2LgmUb2Tu0Fhf2Y1AvMXlwK7HXC6PrbRrZcakxcw2vs94+X7G+ozVLv4Kh+yH3k6uzsTfGTngMXhlC/aEuP5lj+JlcqD0Fix3hMvXf7npdjO3NBSoQB5vY4bS9hs3Zi5Qm9BFA+ViFCJtasdvvcdck1bwDhkPxgrYYLmzAEHOJOAxJQAAAA==) format("woff2"),url(//at.alicdn.com/t/font_2553510_iv4v8nulyz.woff?t=1649083952952) format("woff"),url(//at.alicdn.com/t/font_2553510_iv4v8nulyz.ttf?t=1649083952952) format("truetype")}.van-icon__image{display:block;width:1em;height:1em;-o-object-fit:contain;object-fit:contain}:root{--van-skeleton-paragraph-height: .42667rem;--van-skeleton-paragraph-background: var(--van-active-color);--van-skeleton-paragraph-margin-top: var(--van-padding-sm);--van-skeleton-title-width: 40%;--van-skeleton-avatar-size: .85333rem;--van-skeleton-avatar-background: var(--van-active-color);--van-skeleton-image-size: 2.56rem;--van-skeleton-image-radius: .64rem;--van-skeleton-duration: 1.2s}.van-skeleton{display:flex;padding:0 var(--van-padding-md)}.van-skeleton-avatar{flex-shrink:0;width:var(--van-skeleton-avatar-size);height:var(--van-skeleton-avatar-size);margin-right:var(--van-padding-md);background:var(--van-skeleton-avatar-background)}.van-skeleton-avatar--round{border-radius:var(--van-radius-max)}.van-skeleton__content{width:100%}.van-skeleton-avatar+.van-skeleton__content{padding-top:var(--van-padding-xs)}.van-skeleton-paragraph,.van-skeleton-title{height:var(--van-skeleton-paragraph-height);background:var(--van-skeleton-paragraph-background)}.van-skeleton-paragraph--round,.van-skeleton-title--round{border-radius:var(--van-radius-max)}.van-skeleton-title{width:var(--van-skeleton-title-width);margin:0}.van-skeleton-paragraph:not(:first-child){margin-top:var(--van-skeleton-paragraph-margin-top)}.van-skeleton-title+.van-skeleton-paragraph{margin-top:.53333rem}.van-skeleton--animate{animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}.van-skeleton-image{display:flex;width:var(--van-skeleton-image-size);height:var(--van-skeleton-image-size);align-items:center;justify-content:center;background:var(--van-active-color)}.van-skeleton-image--round{border-radius:var(--van-skeleton-image-radius)}.van-skeleton-image__icon{width:calc(var(--van-skeleton-image-size) / 2);height:calc(var(--van-skeleton-image-size) / 2);font-size:calc(var(--van-skeleton-image-size) / 2);color:var(--van-gray-5)}@keyframes van-skeleton-blink{50%{opacity:.6}}:root{--van-rate-icon-size: .53333rem;--van-rate-icon-gutter: var(--van-padding-base);--van-rate-icon-void-color: var(--van-gray-5);--van-rate-icon-full-color: var(--van-danger-color);--van-rate-icon-disabled-color: var(--van-gray-5)}.van-rate{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:var(--van-rate-icon-gutter)}.van-rate__icon{display:block;width:1em;color:var(--van-rate-icon-void-color);font-size:var(--van-rate-icon-size)}.van-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.van-rate__icon--full{color:var(--van-rate-icon-full-color)}.van-rate__icon--disabled{color:var(--van-rate-icon-disabled-color)}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}:root{--van-notice-bar-height: 1.06667rem;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: .64rem;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: .42667rem;--van-notice-bar-icon-min-width: .64rem}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}:root{--van-nav-bar-height: 1.22667rem;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: .42667rem;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}:root{--van-image-placeholder-text-color: var(--van-text-color-2);--van-image-placeholder-font-size: var(--van-font-size-md);--van-image-placeholder-background: var(--van-background);--van-image-loading-icon-size: .85333rem;--van-image-loading-icon-color: var(--van-gray-4);--van-image-error-icon-size: .85333rem;--van-image-error-icon-color: var(--van-gray-4)}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:var(--van-radius-max)}.van-image--round .van-image__img{border-radius:inherit}.van-image--block{display:block}.van-image__img,.van-image__error,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-image-placeholder-text-color);font-size:var(--van-image-placeholder-font-size);background:var(--van-image-placeholder-background)}.van-image__loading-icon{color:var(--van-image-loading-icon-color);font-size:var(--van-image-loading-icon-size)}.van-image__error-icon{color:var(--van-image-error-icon-color);font-size:var(--van-image-error-icon-size)}:root{--van-back-top-size: 1.06667rem;--van-back-top-right: .8rem;--van-back-top-bottom: 1.06667rem;--van-back-top-icon-size: .53333rem;--van-back-top-text-color: #fff;--van-back-top-background: var(--van-blue)}.van-back-top{position:fixed;display:flex;align-items:center;justify-content:center;width:var(--van-back-top-size);height:var(--van-back-top-size);right:var(--van-back-top-right);bottom:var(--van-back-top-bottom);cursor:pointer;color:var(--van-back-top-text-color);border-radius:var(--van-radius-max);box-shadow:0 .05333rem .21333rem rgba(0,0,0,.12);transform:scale(0);transition:var(--van-duration-base) cubic-bezier(.25,.8,.5,1);background-color:var(--van-back-top-background)}.van-back-top:active{opacity:var(--van-active-opacity)}.van-back-top--active{transform:scale(1)}.van-back-top__icon{font-size:var(--van-back-top-icon-size);font-weight:var(--van-font-bold)}:root{--van-tag-padding: 0 var(--van-padding-base);--van-tag-text-color: var(--van-white);--van-tag-font-size: var(--van-font-size-sm);--van-tag-radius: .05333rem;--van-tag-line-height: .42667rem;--van-tag-medium-padding: .05333rem .16rem;--van-tag-large-padding: var(--van-padding-base) var(--van-padding-xs);--van-tag-large-radius: var(--van-radius-md);--van-tag-large-font-size: var(--van-font-size-md);--van-tag-round-radius: var(--van-radius-max);--van-tag-danger-color: var(--van-danger-color);--van-tag-primary-color: var(--van-primary-color);--van-tag-success-color: var(--van-success-color);--van-tag-warning-color: var(--van-warning-color);--van-tag-default-color: var(--van-gray-6);--van-tag-plain-background: var(--van-background-2)}.van-tag{position:relative;display:inline-flex;align-items:center;padding:var(--van-tag-padding);color:var(--van-tag-text-color);font-size:var(--van-tag-font-size);line-height:var(--van-tag-line-height);border-radius:var(--van-tag-radius)}.van-tag--default{background:var(--van-tag-default-color)}.van-tag--default.van-tag--plain{color:var(--van-tag-default-color)}.van-tag--danger{background:var(--van-tag-danger-color)}.van-tag--danger.van-tag--plain{color:var(--van-tag-danger-color)}.van-tag--primary{background:var(--van-tag-primary-color)}.van-tag--primary.van-tag--plain{color:var(--van-tag-primary-color)}.van-tag--success{background:var(--van-tag-success-color)}.van-tag--success.van-tag--plain{color:var(--van-tag-success-color)}.van-tag--warning{background:var(--van-tag-warning-color)}.van-tag--warning.van-tag--plain{color:var(--van-tag-warning-color)}.van-tag--plain{background:var(--van-tag-plain-background);border-color:currentColor}.van-tag--plain:before{position:absolute;top:0;right:0;bottom:0;left:0;border:.02667rem solid;border-color:inherit;border-radius:inherit;content:"";pointer-events:none}.van-tag--medium{padding:var(--van-tag-medium-padding)}.van-tag--large{padding:var(--van-tag-large-padding);font-size:var(--van-tag-large-font-size);border-radius:var(--van-tag-large-radius)}.van-tag--mark{border-radius:0 var(--van-tag-round-radius) var(--van-tag-round-radius) 0}.van-tag--mark:after{display:block;width:.05333rem;content:""}.van-tag--round{border-radius:var(--van-tag-round-radius)}.van-tag__close{margin-left:.05333rem}:root{--van-card-padding: var(--van-padding-xs) var(--van-padding-md);--van-card-font-size: var(--van-font-size-sm);--van-card-text-color: var(--van-text-color);--van-card-background: var(--van-background);--van-card-thumb-size: 2.34667rem;--van-card-thumb-radius: var(--van-radius-lg);--van-card-title-line-height: .42667rem;--van-card-desc-color: var(--van-text-color-2);--van-card-desc-line-height: var(--van-line-height-md);--van-card-price-color: var(--van-text-color);--van-card-origin-price-color: var(--van-text-color-2);--van-card-num-color: var(--van-text-color-2);--van-card-origin-price-font-size: var(--van-font-size-xs);--van-card-price-font-size: var(--van-font-size-sm);--van-card-price-integer-font-size: var(--van-font-size-lg);--van-card-price-font: var(--van-price-font)}.van-card{position:relative;box-sizing:border-box;padding:var(--van-card-padding);color:var(--van-card-text-color);font-size:var(--van-card-font-size);background:var(--van-card-background)}.van-card:not(:first-child){margin-top:var(--van-padding-xs)}.van-card__header{display:flex}.van-card__thumb{position:relative;flex:none;width:var(--van-card-thumb-size);height:var(--van-card-thumb-size);margin-right:var(--van-padding-xs)}.van-card__thumb img{border-radius:var(--van-card-thumb-radius)}.van-card__content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--van-card-thumb-size)}.van-card__content--centered{justify-content:center}.van-card__title,.van-card__desc{word-wrap:break-word}.van-card__title{max-height:.85333rem;font-weight:var(--van-font-bold);line-height:var(--van-card-title-line-height)}.van-card__desc{max-height:var(--van-card-desc-line-height);color:var(--van-card-desc-color);line-height:var(--van-card-desc-line-height)}.van-card__bottom{line-height:var(--van-line-height-md)}.van-card__price{display:inline-block;color:var(--van-card-price-color);font-weight:var(--van-font-bold);font-size:var(--van-card-price-font-size)}.van-card__price-integer{font-size:var(--van-card-price-integer-font-size);font-family:var(--van-card-price-font)}.van-card__price-decimal{font-family:var(--van-card-price-font)}.van-card__origin-price{display:inline-block;margin-left:.13333rem;color:var(--van-card-origin-price-color);font-size:var(--van-card-origin-price-font-size);text-decoration:line-through}.van-card__num{float:right;color:var(--van-card-num-color)}.van-card__tag{position:absolute;top:.05333rem;left:0}.van-card__footer{flex:none;text-align:right}.van-card__footer .van-button{margin-left:.13333rem}:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: .64rem;--van-cell-vertical-padding: .26667rem;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: .42667rem;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}:root{--van-coupon-cell-selected-text-color: var(--van-text-color)}.van-coupon-cell__value--selected{color:var(--van-coupon-cell-selected-text-color)}:root{--van-contact-card-padding: var(--van-padding-md);--van-contact-card-add-icon-size: 1.06667rem;--van-contact-card-add-icon-color: var(--van-primary-color);--van-contact-card-title-line-height: var(--van-line-height-md)}.van-contact-card{padding:var(--van-contact-card-padding)}.van-contact-card__title{margin-left:.13333rem;line-height:var(--van-contact-card-title-line-height)}.van-contact-card--add .van-contact-card__value{line-height:var(--van-contact-card-add-icon-size)}.van-contact-card--add .van-cell__left-icon{color:var(--van-contact-card-add-icon-color);font-size:var(--van-contact-card-add-icon-size)}.van-contact-card:before{position:absolute;right:0;bottom:0;left:0;height:.05333rem;background:repeating-linear-gradient(-45deg,var(--van-warning-color) 0,var(--van-warning-color) 20%,transparent 0,transparent 25%,var(--van-primary-color) 0,var(--van-primary-color) 45%,transparent 0,transparent 50%);background-size:2.13333rem;content:""}:root{--van-collapse-item-duration: var(--van-duration-base);--van-collapse-item-content-padding: var(--van-padding-sm) var(--van-padding-md);--van-collapse-item-content-font-size: var(--van-font-size-md);--van-collapse-item-content-line-height: 1.5;--van-collapse-item-content-text-color: var(--van-text-color-2);--van-collapse-item-content-background: var(--van-background-2);--van-collapse-item-title-disabled-color: var(--van-text-color-3)}.van-collapse-item{position:relative}.van-collapse-item--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:var(--van-padding-md);left:var(--van-padding-md);border-top:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon:before{transform:rotate(90deg) translateZ(0);transition:transform var(--van-collapse-item-duration)}.van-collapse-item__title:after{right:var(--van-padding-md);display:none}.van-collapse-item__title--expanded .van-cell__right-icon:before{transform:rotate(-90deg)}.van-collapse-item__title--expanded:after{display:block}.van-collapse-item__title--borderless:after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--van-collapse-item-title-disabled-color)}.van-collapse-item__wrapper{overflow:hidden;transition:height var(--van-collapse-item-duration) ease-in-out;will-change:height}.van-collapse-item__content{padding:var(--van-collapse-item-content-padding);color:var(--van-collapse-item-content-text-color);font-size:var(--van-collapse-item-content-font-size);line-height:var(--van-collapse-item-content-line-height);background:var(--van-collapse-item-content-background)}:root{--van-field-label-width: 6.2em;--van-field-label-color: var(--van-text-color);--van-field-label-margin-right: var(--van-padding-sm);--van-field-input-text-color: var(--van-text-color);--van-field-input-error-text-color: var(--van-danger-color);--van-field-input-disabled-text-color: var(--van-text-color-3);--van-field-placeholder-text-color: var(--van-text-color-3);--van-field-icon-size: .42667rem;--van-field-clear-icon-size: .42667rem;--van-field-clear-icon-color: var(--van-gray-5);--van-field-right-icon-color: var(--van-gray-6);--van-field-error-message-color: var(--van-danger-color);--van-field-error-message-font-size: .32rem;--van-field-text-area-min-height: 1.6rem;--van-field-word-limit-color: var(--van-gray-7);--van-field-word-limit-font-size: var(--van-font-size-sm);--van-field-word-limit-line-height: .42667rem;--van-field-disabled-text-color: var(--van-text-color-3);--van-field-required-mark-color: var(--van-red)}.van-field{flex-wrap:wrap}.van-field__label{flex:none;box-sizing:border-box;width:var(--van-field-label-width);margin-right:var(--van-field-label-margin-right);color:var(--van-field-label-color);text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field__label--top{display:flex;width:100%;text-align:left;margin-bottom:var(--van-padding-base)}.van-field__label--required:before{margin-right:.05333rem;color:var(--van-field-required-mark-color);content:"*"}.van-field--disabled .van-field__label{color:var(--van-field-disabled-text-color)}.van-field__value{overflow:visible}.van-field__body{display:flex;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--van-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.van-field__control::-moz-placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control::placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control:disabled{color:var(--van-field-input-disabled-text-color);cursor:not-allowed;opacity:1;-webkit-text-fill-color:var(--van-field-input-disabled-text-color)}.van-field__control:-moz-read-only{cursor:default}.van-field__control:read-only{cursor:default}.van-field__control--center{justify-content:center;text-align:center}.van-field__control--right{justify-content:flex-end;text-align:right}.van-field__control--custom{display:flex;align-items:center;min-height:var(--van-cell-line-height)}.van-field__control--error::-moz-placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--error,.van-field__control--error::placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--min-height{min-height:var(--van-field-text-area-min-height)}.van-field__control[type=date],.van-field__control[type=time],.van-field__control[type=datetime-local]{min-height:var(--van-cell-line-height)}.van-field__control[type=search]{-webkit-appearance:none}.van-field__clear,.van-field__icon,.van-field__button,.van-field__right-icon{flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:calc(var(--van-padding-xs) * -1);padding:0 var(--van-padding-xs);line-height:inherit}.van-field__clear{color:var(--van-field-clear-icon-color);font-size:var(--van-field-clear-icon-size);cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:var(--van-field-icon-size);line-height:inherit}.van-field__left-icon{margin-right:var(--van-padding-base)}.van-field__right-icon{color:var(--van-field-right-icon-color)}.van-field__button{padding-left:var(--van-padding-xs)}.van-field__error-message{color:var(--van-field-error-message-color);font-size:var(--van-field-error-message-font-size);text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:var(--van-padding-base);color:var(--van-field-word-limit-color);font-size:var(--van-field-word-limit-font-size);line-height:var(--van-field-word-limit-line-height);text-align:right}:root{--van-search-padding: .26667rem var(--van-padding-sm);--van-search-background: var(--van-background-2);--van-search-content-background: var(--van-background);--van-search-input-height: .90667rem;--van-search-label-padding: 0 .13333rem;--van-search-label-color: var(--van-text-color);--van-search-label-font-size: var(--van-font-size-md);--van-search-left-icon-color: var(--van-gray-6);--van-search-action-padding: 0 var(--van-padding-xs);--van-search-action-text-color: var(--van-text-color);--van-search-action-font-size: var(--van-font-size-md)}.van-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--van-search-padding);background:var(--van-search-background)}.van-search__content{display:flex;flex:1;padding-left:var(--van-padding-sm);background:var(--van-search-content-background);border-radius:var(--van-radius-sm)}.van-search__content--round{border-radius:var(--van-radius-max)}.van-search__label{padding:var(--van-search-label-padding);color:var(--van-search-label-color);font-size:var(--van-search-label-font-size);line-height:var(--van-search-input-height)}.van-search__field{flex:1;align-items:center;padding:0 var(--van-padding-xs) 0 0;height:var(--van-search-input-height);background-color:transparent}.van-search__field .van-field__left-icon{color:var(--van-search-left-icon-color)}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:var(--van-search-action-padding);color:var(--van-search-action-text-color);font-size:var(--van-search-action-font-size);line-height:var(--van-search-input-height);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-search__action:active{background-color:var(--van-active-color)}:root{--van-action-bar-icon-width: 1.28rem;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: .48rem;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}:root{--van-loading-text-color: var(--van-text-color-2);--van-loading-text-font-size: var(--van-font-size-md);--van-loading-spinner-color: var(--van-gray-5);--van-loading-spinner-size: .8rem;--van-loading-spinner-duration: .8s}.van-loading{position:relative;color:var(--van-loading-spinner-color);font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:var(--van-loading-spinner-size);max-width:100%;height:var(--van-loading-spinner-size);max-height:100%;vertical-align:middle;animation:van-rotate var(--van-loading-spinner-duration) linear infinite}.van-loading__spinner--spinner{animation-timing-function:steps(12)}.van-loading__spinner--circular{animation-duration:2s}.van-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__line:before{display:block;width:.05333rem;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:var(--van-padding-xs);color:var(--van-loading-text-color);font-size:var(--van-loading-text-font-size);vertical-align:middle}.van-loading--vertical{display:flex;flex-direction:column;align-items:center}.van-loading--vertical .van-loading__text{margin:var(--van-padding-xs) 0 0}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__line--1{transform:rotate(30deg);opacity:1}.van-loading__line--2{transform:rotate(60deg);opacity:.9375}.van-loading__line--3{transform:rotate(90deg);opacity:.875}.van-loading__line--4{transform:rotate(120deg);opacity:.8125}.van-loading__line--5{transform:rotate(150deg);opacity:.75}.van-loading__line--6{transform:rotate(180deg);opacity:.6875}.van-loading__line--7{transform:rotate(210deg);opacity:.625}.van-loading__line--8{transform:rotate(240deg);opacity:.5625}.van-loading__line--9{transform:rotate(270deg);opacity:.5}.van-loading__line--10{transform:rotate(300deg);opacity:.4375}.van-loading__line--11{transform:rotate(330deg);opacity:.375}.van-loading__line--12{transform:rotate(360deg);opacity:.3125}:root{--van-pull-refresh-head-height: 1.33333rem;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: .42667rem}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}:root{--van-number-keyboard-background: var(--van-gray-2);--van-number-keyboard-key-height: 1.28rem;--van-number-keyboard-key-font-size: .74667rem;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background: var(--van-background-2);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: .90667rem;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-link-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-theme-dark{--van-number-keyboard-background: var(--van-gray-8);--van-number-keyboard-key-background: var(--van-gray-7);--van-number-keyboard-key-active-color: var(--van-gray-6)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:.58667rem;background:var(--van-number-keyboard-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:.53333rem .53333rem 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:.16rem;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:.16rem 0 0 .16rem}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background);border-radius:var(--van-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:.16rem;bottom:.16rem;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 .16rem .16rem 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:.85333rem;height:.58667rem}.van-key__collapse-icon{width:.8rem;height:.64rem}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}:root{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 1.33333rem;--van-list-loading-icon-size: .42667rem}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}:root{--van-switch-size: .69333rem;--van-switch-width:calc(1.8em + .10667rem);--van-switch-height:calc(1em + .10667rem);--van-switch-node-size: 1em;--van-switch-node-background: var(--van-white);--van-switch-node-shadow: 0 .08rem .02667rem 0 rgba(0, 0, 0, .05);--van-switch-background: rgba(120, 120, 128, .16);--van-switch-on-background: var(--van-primary-color);--van-switch-duration: var(--van-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity)}.van-theme-dark{--van-switch-background: rgba(120, 120, 128, .32)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-duration)}.van-switch__node{position:absolute;top:.05333rem;left:.05333rem;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background);border-radius:100%;box-shadow:var(--van-switch-node-shadow);transition:transform var(--van-switch-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size) - .10667rem))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}:root{--van-button-mini-height: .64rem;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: .85333rem;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 .4rem;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 1.33333rem;--van-button-default-height: 1.17333rem;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background: var(--van-background-2);--van-button-default-border-color: var(--van-gray-4);--van-button-primary-color: var(--van-white);--van-button-primary-background: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width);--van-button-radius: var(--van-radius-md);--van-button-round-radius: var(--van-radius-max);--van-button-plain-background: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: .53333rem}.van-theme-dark{--van-button-plain-background: transparent}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-radius);cursor:pointer;transition:opacity var(--van-duration-fast);-webkit-appearance:none;-webkit-font-smoothing:auto}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background)}.van-button--plain.van-button--success{color:var(--van-button-success-background)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-radius)}.van-button--hairline.van-button--square:after{border-radius:0}:root{--van-submit-bar-height: 1.33333rem;--van-submit-bar-z-index: 100;--van-submit-bar-background: var(--van-background-2);--van-submit-bar-button-width: 2.93333rem;--van-submit-bar-price-color: var(--van-danger-color);--van-submit-bar-price-font-size: var(--van-font-size-sm);--van-submit-bar-price-integer-font-size: .53333rem;--van-submit-bar-price-font: var(--van-price-font);--van-submit-bar-currency-font-size: var(--van-font-size-md);--van-submit-bar-text-color: var(--van-text-color);--van-submit-bar-text-font-size: var(--van-font-size-md);--van-submit-bar-tip-padding: var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size: var(--van-font-size-sm);--van-submit-bar-tip-line-height: 1.5;--van-submit-bar-tip-color: var(--van-orange-dark);--van-submit-bar-tip-background: var(--van-orange-light);--van-submit-bar-tip-icon-size: .32rem;--van-submit-bar-button-height: 1.06667rem;--van-submit-bar-padding: 0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-bold);font-size:var(--van-submit-bar-price-font-size);margin-left:var(--van-padding-base)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}:root{--van-contact-edit-padding: var(--van-padding-md);--van-contact-edit-fields-radius: var(--van-radius-md);--van-contact-edit-buttons-padding: var(--van-padding-xl) 0;--van-contact-edit-button-margin-bottom: var(--van-padding-sm);--van-contact-edit-button-font-size: var(--van-font-size-lg);--van-contact-edit-field-label-width: 4.1em}.van-contact-edit{padding:var(--van-contact-edit-padding)}.van-contact-edit__fields{overflow:hidden;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__fields .van-field__label{width:var(--van-contact-edit-field-label-width)}.van-contact-edit__switch-cell{margin-top:.26667rem;padding-top:.24rem;padding-bottom:.24rem;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__buttons{padding:var(--van-contact-edit-buttons-padding)}.van-contact-edit__button{margin-bottom:var(--van-contact-edit-button-margin-bottom);font-size:var(--van-contact-edit-button-font-size)}:root{--van-action-bar-button-height: 1.06667rem;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:.13333rem;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:.13333rem;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:.34667rem}}:root{--van-overlay-z-index: 1;--van-overlay-background: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background)}:root{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: .42667rem;--van-popup-close-icon-size: .58667rem;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: .42667rem;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-moz-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}:root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: .42667rem;--van-share-sheet-icon-size: 1.28rem;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 1.28rem;--van-share-sheet-cancel-button-background: var(--van-background-2)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-share-sheet__icon,.van-share-sheet__image-icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__icon{display:flex;align-items:center;justify-content:center;color:var(--van-gray-7);border-radius:100%;background-color:var(--van-gray-2)}.van-share-sheet__icon--link,.van-share-sheet__icon--poster,.van-share-sheet__icon--qrcode{font-size:.69333rem}.van-share-sheet__icon--weapp-qrcode{font-size:.74667rem}.van-share-sheet__icon--qq,.van-share-sheet__icon--weibo,.van-share-sheet__icon--wechat,.van-share-sheet__icon--wechat-moments{font-size:.8rem;color:var(--van-white)}.van-share-sheet__icon--qq{background-color:#38b9fa}.van-share-sheet__icon--wechat{background-color:#0bc15f}.van-share-sheet__icon--weibo{background-color:#ee575e}.van-share-sheet__icon--wechat-moments{background-color:#7bc845}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}:root{--van-popover-arrow-size: .16rem;--van-popover-radius: var(--van-radius-lg);--van-popover-action-width: 3.41333rem;--van-popover-action-height: 1.17333rem;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: .53333rem;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background: var(--van-background-2);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background);box-shadow:0 .05333rem .32rem rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-ease-in)}:root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background: var(--van-primary-color);--van-notify-success-background: var(--van-success-color);--van-notify-danger-background: var(--van-danger-color);--van-notify-warning-background: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background)}.van-notify--success{background:var(--van-notify-success-background)}.van-notify--danger{background:var(--van-notify-danger-background)}.van-notify--warning{background:var(--van-notify-warning-background)}:root{--van-dialog-width: 8.53333rem;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: .42667rem;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: .64rem;--van-dialog-header-padding-top: .69333rem;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 1.28rem;--van-dialog-round-button-height: .96rem;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:2.77333rem}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:.69333rem var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}:root{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: .96rem;--van-toast-text-min-width: 2.56rem;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 2.34667rem;--van-toast-default-min-height: 2.34667rem;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;word-break:break-all;text-align:center;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--break-normal{word-break:normal;word-wrap:normal}.van-toast--break-word{word-break:normal;word-wrap:break-word}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-moz-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}:root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 1.28rem;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: .58667rem;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: .58667rem}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:.37333rem var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:.53333rem var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}:root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}:root{--van-swipe-indicator-size: .16rem;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}:root{--van-image-preview-index-text-color: var(--van-white);--van-image-preview-index-font-size: var(--van-font-size-md);--van-image-preview-index-line-height: var(--van-line-height-md);--van-image-preview-index-text-shadow: 0 .02667rem .02667rem var(--van-gray-8);--van-image-preview-overlay-background: rgba(0, 0, 0, .9);--van-image-preview-close-icon-size: .58667rem;--van-image-preview-close-icon-color: var(--van-gray-5);--van-image-preview-close-icon-margin: var(--van-padding-md);--van-image-preview-close-icon-z-index: 1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image,.van-image-preview__image-wrap{width:100%;transition-property:transform}.van-image-preview__image--vertical,.van-image-preview__image-wrap--vertical{width:auto;height:100%}.van-image-preview__image img,.van-image-preview__image-wrap img,.van-image-preview__image video,.van-image-preview__image-wrap video{-webkit-user-drag:none}.van-image-preview__image .van-image__error,.van-image-preview__image-wrap .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon,.van-image-preview__image-wrap .van-image__error-icon{font-size:.96rem}.van-image-preview__image .van-image__loading,.van-image-preview__image-wrap .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}:root{--van-uploader-size: 2.13333rem;--van-uploader-icon-size: .64rem;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: .37333rem;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: .53333rem;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: .58667rem;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: .58667rem;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 .32rem}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:.16rem;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}:root{--van-tab-text-color: var(--van-gray-7);--van-tab-active-text-color: var(--van-text-color);--van-tab-disabled-text-color: var(--van-text-color-3);--van-tab-font-size: var(--van-font-size-md);--van-tab-line-height: var(--van-line-height-md);--van-tabs-default-color: var(--van-primary-color);--van-tabs-line-height: 1.17333rem;--van-tabs-card-height: .8rem;--van-tabs-nav-background: var(--van-background-2);--van-tabs-bottom-bar-width: 1.06667rem;--van-tabs-bottom-bar-height: .08rem;--van-tabs-bottom-bar-color: var(--van-primary-color)}.van-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--van-padding-base);color:var(--van-tab-text-color);font-size:var(--van-tab-font-size);line-height:var(--van-tab-line-height);cursor:pointer}.van-tab--active{color:var(--van-tab-active-text-color);font-weight:var(--van-font-bold)}.van-tab--disabled{color:var(--van-tab-disabled-text-color);cursor:not-allowed}.van-tab--grow{flex:1 0 auto;padding:0 var(--van-padding-sm)}.van-tab--shrink{flex:none;padding:0 var(--van-padding-xs)}.van-tab--card{color:var(--van-tabs-default-color);border-right:var(--van-border-width) solid var(--van-tabs-default-color)}.van-tab--card:last-child{border-right:none}.van-tab--card.van-tab--active{color:var(--van-white);background-color:var(--van-tabs-default-color)}.van-tab--card--disabled{color:var(--van-tab-disabled-text-color)}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__nav{position:relative;display:flex;background:var(--van-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__nav--complete::-webkit-scrollbar{display:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:.4rem}.van-tabs__nav--line.van-tabs__nav--shrink,.van-tabs__nav--line.van-tabs__nav--complete{padding-right:var(--van-padding-xs);padding-left:var(--van-padding-xs)}.van-tabs__nav--card{box-sizing:border-box;height:var(--van-tabs-card-height);margin:0 var(--van-padding-md);border:var(--van-border-width) solid var(--van-tabs-default-color);border-radius:var(--van-border-radius-sm)}.van-tabs__nav--card.van-tabs__nav--shrink{display:inline-flex}.van-tabs__line{position:absolute;bottom:.4rem;left:0;z-index:1;width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}.van-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:var(--van-tabs-line-height)}.van-tabs--card>.van-tabs__wrap{height:var(--van-tabs-card-height)}.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}:root{--van-cascader-header-height: 1.28rem;--van-cascader-header-padding: 0 var(--van-padding-md);--van-cascader-title-font-size: var(--van-font-size-lg);--van-cascader-title-line-height: .53333rem;--van-cascader-close-icon-size: .58667rem;--van-cascader-close-icon-color: var(--van-gray-5);--van-cascader-selected-icon-size: .48rem;--van-cascader-tabs-height: 1.28rem;--van-cascader-active-color: var(--van-primary-color);--van-cascader-options-height: 10.24rem;--van-cascader-option-disabled-color: var(--van-text-color-3);--van-cascader-tab-color: var(--van-text-color);--van-cascader-unselected-tab-color: var(--van-text-color-2)}.van-cascader__header{display:flex;align-items:center;justify-content:space-between;height:var(--van-cascader-header-height);padding:var(--van-cascader-header-padding)}.van-cascader__title{font-weight:var(--van-font-bold);font-size:var(--van-cascader-title-font-size);line-height:var(--van-cascader-title-line-height)}.van-cascader__close-icon{color:var(--van-cascader-close-icon-color);font-size:var(--van-cascader-close-icon-size)}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:var(--van-cascader-tabs-height)}.van-cascader__tab{color:var(--van-cascader-tab-color);font-weight:var(--van-font-bold)}.van-cascader__tab--unselected{color:var(--van-cascader-unselected-tab-color);font-weight:400}.van-cascader__option{display:flex;align-items:center;justify-content:space-between;padding:.26667rem var(--van-padding-md);font-size:var(--van-font-size-md);line-height:var(--van-line-height-md);cursor:pointer}.van-cascader__option:active{background-color:var(--van-active-color)}.van-cascader__option--selected{color:var(--van-cascader-active-color);font-weight:var(--van-font-bold)}.van-cascader__option--disabled{color:var(--van-cascader-option-disabled-color);cursor:not-allowed}.van-cascader__option--disabled:active{background-color:transparent}.van-cascader__selected-icon{font-size:var(--van-cascader-selected-icon-size)}.van-cascader__options{box-sizing:border-box;height:var(--van-cascader-options-height);padding-top:.16rem;overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 1.17333rem;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}:root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:.42667rem}:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 .05333rem .26667rem rgba(125, 126, 128, .16);--van-calendar-header-title-height: 1.17333rem;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: .8rem;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 4.26667rem;--van-calendar-day-height: 1.70667rem;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: .10667rem;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 1.44rem;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: .96rem;--van-calendar-confirm-button-margin: .18667rem 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:.29333rem}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:.24rem}}.van-calendar__top-info{top:.16rem}.van-calendar__bottom-info{bottom:.16rem}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}.van-radio-group--horizontal,.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}:root{--van-checkbox-size: .53333rem;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 2.24rem;--van-coupon-content-padding: .37333rem 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 .10667rem rgba(0, 0, 0, .1);--van-coupon-head-width: 2.56rem;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: .8rem;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:.16rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:.05333rem}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:.42667rem;white-space:pre-wrap}.van-coupon__body{position:relative;flex:1}.van-coupon__name{margin-bottom:.26667rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:.02667rem dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - .26667rem)}.van-coupon--disabled .van-coupon__head{color:inherit}:root{--van-radio-size: .53333rem;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}:root{--van-contact-list-edit-icon-size: .42667rem;--van-contact-list-add-button-z-index: 999;--van-contact-list-radio-color: var(--van-primary-color);--van-contact-list-item-padding: var(--van-padding-md)}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:2.13333rem}.van-contact-list__item{padding:var(--van-contact-list-item-padding)}.van-contact-list__item-title{display:flex;align-items:center;padding-right:var(--van-padding-xl);padding-left:var(--van-padding-xs)}.van-contact-list__item-tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:var(--van-contact-list-edit-icon-size)}.van-contact-list__radio .van-radio__icon--checked .van-icon{background-color:var(--van-contact-list-radio-color);border-color:var(--van-contact-list-radio-color)}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:var(--van-contact-list-add-button-z-index);padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-contact-list__add{height:1.06667rem;margin:.13333rem 0}:root{--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 2.13333rem;--van-address-list-disabled-text-color: var(--van-text-color-2);--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;--van-address-list-disabled-text-font-size: var(--van-font-size-md);--van-address-list-disabled-text-line-height: var(--van-line-height-md);--van-address-list-add-button-z-index: 999;--van-address-list-item-padding: var(--van-padding-sm);--van-address-list-item-text-color: var(--van-text-color);--van-address-list-item-disabled-text-color: var(--van-text-color-3);--van-address-list-item-font-size: .34667rem;--van-address-list-item-line-height: var(--van-line-height-sm);--van-address-list-radio-color: var(--van-primary-color);--van-address-list-edit-icon-size: .53333rem}.van-address-list{box-sizing:border-box;height:100%;padding:var(--van-address-list-padding)}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:var(--van-address-list-add-button-z-index);box-sizing:border-box;width:100%;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-address-list__add{height:1.06667rem;margin:.13333rem 0}.van-address-list__disabled-text{padding:var(--van-address-list-disabled-text-padding);color:var(--van-address-list-disabled-text-color);font-size:var(--van-address-list-disabled-text-font-size);line-height:var(--van-address-list-disabled-text-line-height)}.van-address-item{padding:var(--van-address-list-item-padding);background-color:var(--van-background-2);border-radius:var(--van-radius-lg)}.van-address-item:not(:last-child){margin-bottom:var(--van-padding-sm)}.van-address-item__title{padding-right:1.17333rem}.van-address-item__name{display:flex;align-items:center;margin-bottom:var(--van-padding-xs);font-size:var(--van-font-size-lg);line-height:var(--van-line-height-lg)}.van-address-item__tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:var(--van-address-list-item-text-color);font-size:var(--van-address-list-item-font-size);line-height:var(--van-address-list-item-line-height)}.van-address-item--disabled .van-address-item__name,.van-address-item--disabled .van-address-item__address{color:var(--van-address-list-item-disabled-text-color)}.van-address-item__edit{position:absolute;top:50%;right:var(--van-padding-md);color:var(--van-gray-6);font-size:var(--van-address-list-edit-icon-size);transform:translateY(-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:var(--van-padding-sm)}.van-address-item .van-radio__icon--checked .van-icon{background-color:var(--van-address-list-radio-color);border-color:var(--van-address-list-radio-color)}:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: .42667rem;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}:root{--van-circle-size: 2.66667rem;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}.van-row{display:flex;flex-wrap:wrap}.van-row--nowrap{flex-wrap:nowrap}.van-row--justify-center{justify-content:center}.van-row--justify-end{justify-content:flex-end}.van-row--justify-space-between{justify-content:space-between}.van-row--justify-space-around{justify-content:space-around}.van-row--align-center{align-items:center}.van-row--align-bottom{align-items:flex-end}.van-col{display:block;box-sizing:border-box;min-height:.02667rem}.van-col--1{flex:0 0 4.16666667%;max-width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{flex:0 0 8.33333333%;max-width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{flex:0 0 12.5%;max-width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{flex:0 0 16.66666667%;max-width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{flex:0 0 20.83333333%;max-width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{flex:0 0 25%;max-width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{flex:0 0 29.16666667%;max-width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{flex:0 0 33.33333333%;max-width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{flex:0 0 37.5%;max-width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{flex:0 0 41.66666667%;max-width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{flex:0 0 45.83333333%;max-width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{flex:0 0 50%;max-width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{flex:0 0 54.16666667%;max-width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{flex:0 0 58.33333333%;max-width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{flex:0 0 62.5%;max-width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{flex:0 0 66.66666667%;max-width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{flex:0 0 70.83333333%;max-width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{flex:0 0 75%;max-width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{flex:0 0 79.16666667%;max-width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{flex:0 0 83.33333333%;max-width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{flex:0 0 87.5%;max-width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{flex:0 0 91.66666667%;max-width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{flex:0 0 95.83333333%;max-width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{flex:0 0 100%;max-width:100%}.van-col--offset-24{margin-left:100%}:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 4.26667rem;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 1.6rem;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: .64rem}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: .13333rem 0 .13333rem var(--van-padding-md);--van-coupon-list-exchange-button-height: .85333rem;--van-coupon-list-close-button-height: 1.06667rem;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:.90667rem;padding-left:var(--van-padding-sm);line-height:.90667rem;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-moz-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - .05333rem);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 .16rem .32rem -.32rem var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:1.33333rem}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:.13333rem var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}:root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: .64rem;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:.02667rem;border-color:inherit;border-style:inherit;border-width:var(--van-border-width) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}:root{--van-dropdown-menu-height: 1.28rem;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 .05333rem .32rem rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: .4rem;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-.10667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-.02667rem;transform:rotate(135deg)}:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}.van-grid{display:flex;flex-wrap:wrap}:root{--van-grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background: var(--van-background-2);--van-grid-item-content-active-color: var(--van-active-color);--van-grid-item-icon-size: .74667rem;--van-grid-item-text-color: var(--van-text-color);--van-grid-item-text-font-size: var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background:var(--van-grid-item-content-background)}.van-grid-item__content:after{z-index:1;border-width:0 var(--van-border-width) var(--van-border-width) 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{align-items:center;justify-content:center}.van-grid-item__content--horizontal{flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__text{margin:0 0 0 var(--van-padding-xs)}.van-grid-item__content--reverse{flex-direction:column-reverse}.van-grid-item__content--reverse .van-grid-item__text{margin:0 0 var(--van-padding-xs)}.van-grid-item__content--horizontal.van-grid-item__content--reverse{flex-direction:row-reverse}.van-grid-item__content--horizontal.van-grid-item__content--reverse .van-grid-item__text{margin:0 var(--van-padding-xs) 0 0}.van-grid-item__content--surround:after{border-width:var(--van-border-width)}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:var(--van-grid-item-content-active-color)}:root{--van-index-bar-sidebar-z-index: 2;--van-index-bar-index-font-size: var(--van-font-size-xs);--van-index-bar-index-line-height: var(--van-line-height-xs);--van-index-bar-index-active-color: var(--van-primary-color)}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:var(--van-index-bar-sidebar-z-index);display:flex;flex-direction:column;text-align:center;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-index-bar__index{padding:0 var(--van-padding-xs) 0 var(--van-padding-md);font-weight:var(--van-font-bold);font-size:var(--van-index-bar-index-font-size);line-height:var(--van-index-bar-index-line-height)}.van-index-bar__index--active{color:var(--van-index-bar-index-active-color);font-weight:700}:root{--van-index-anchor-z-index: 1;--van-index-anchor-padding: 0 var(--van-padding-md);--van-index-anchor-text-color: var(--van-text-color);--van-index-anchor-font-weight: var(--van-font-bold);--van-index-anchor-font-size: var(--van-font-size-md);--van-index-anchor-line-height: .85333rem;--van-index-anchor-background: transparent;--van-index-anchor-sticky-text-color: var(--van-primary-color);--van-index-anchor-sticky-background: var(--van-background-2)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background)}:root{--van-pagination-height: 1.06667rem;--van-pagination-font-size: var(--van-font-size-md);--van-pagination-item-width: .96rem;--van-pagination-item-default-color: var(--van-primary-color);--van-pagination-item-disabled-color: var(--van-gray-7);--van-pagination-item-disabled-background: var(--van-background);--van-pagination-background: var(--van-background-2);--van-pagination-desc-color: var(--van-gray-7);--van-pagination-disabled-opacity: var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:transparent}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child):after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--prev,.van-pagination__item--next{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border:after{border-width:var(--van-border-width)}.van-pagination__item--disabled{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}:root{--van-password-input-height: 1.33333rem;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: .53333rem;--van-password-input-radius: .16rem;--van-password-input-background: var(--van-background-2);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: .26667rem;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: .02667rem;--van-password-input-cursor-height: 40%;--van-password-input-cursor-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}:root{--van-progress-height: .10667rem;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 .13333rem;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}:root{--van-sidebar-width: 2.13333rem}.van-sidebar{width:var(--van-sidebar-width);overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-sidebar-font-size: var(--van-font-size-md);--van-sidebar-line-height: var(--van-line-height-md);--van-sidebar-text-color: var(--van-text-color);--van-sidebar-disabled-text-color: var(--van-text-color-3);--van-sidebar-padding: .53333rem var(--van-padding-sm);--van-sidebar-active-color: var(--van-active-color);--van-sidebar-background: var(--van-background);--van-sidebar-selected-font-weight: var(--van-font-bold);--van-sidebar-selected-text-color: var(--van-text-color);--van-sidebar-selected-border-width: .10667rem;--van-sidebar-selected-border-height: .42667rem;--van-sidebar-selected-border-color: var(--van-primary-color);--van-sidebar-selected-background: var(--van-background-2)}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:var(--van-sidebar-padding);overflow:hidden;color:var(--van-sidebar-text-color);font-size:var(--van-sidebar-font-size);line-height:var(--van-sidebar-line-height);background:var(--van-sidebar-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-sidebar-item:active{background-color:var(--van-sidebar-active-color)}.van-sidebar-item:not(:last-child):after{border-bottom-width:.02667rem}.van-sidebar-item__text{word-break:break-all}.van-sidebar-item--select{color:var(--van-sidebar-selected-text-color);font-weight:var(--van-sidebar-selected-font-weight)}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:var(--van-sidebar-selected-background)}.van-sidebar-item--select:before{position:absolute;top:50%;left:0;width:var(--van-sidebar-selected-border-width);height:var(--van-sidebar-selected-border-height);background-color:var(--van-sidebar-selected-border-color);transform:translateY(-50%);content:""}.van-sidebar-item--disabled{color:var(--van-sidebar-disabled-text-color);cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:var(--van-sidebar-background)}:root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: .37333rem var(--van-padding-sm);--van-tree-select-item-height: 1.28rem;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: .42667rem}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 .85333rem 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}:root{--van-slider-active-background: var(--van-primary-color);--van-slider-inactive-background: var(--van-gray-3);--van-slider-disabled-opacity: var(--van-disabled-opacity);--van-slider-bar-height: .05333rem;--van-slider-button-width: .64rem;--van-slider-button-height: .64rem;--van-slider-button-radius: 50%;--van-slider-button-background: var(--van-white);--van-slider-button-shadow: 0 .02667rem .05333rem rgba(0, 0, 0, .5)}.van-theme-dark{--van-slider-inactive-background: var(--van-background-3)}.van-slider{position:relative;width:100%;height:var(--van-slider-bar-height);background:var(--van-slider-inactive-background);border-radius:var(--van-radius-max);cursor:pointer}.van-slider:before{position:absolute;top:calc(var(--van-padding-xs) * -1);right:0;bottom:calc(var(--van-padding-xs) * -1);left:0;content:""}.van-slider__bar{position:absolute;width:100%;height:100%;background:var(--van-slider-active-background);border-radius:inherit;transition:all var(--van-duration-fast)}.van-slider__button{width:var(--van-slider-button-width);height:var(--van-slider-button-height);background:var(--van-slider-button-background);border-radius:var(--van-slider-button-radius);box-shadow:var(--van-slider-button-shadow)}.van-slider__button-wrapper{position:absolute;cursor:grab;top:50%}.van-slider__button-wrapper--right{right:0;transform:translate3d(50%,-50%,0)}.van-slider__button-wrapper--left{left:0;transform:translate3d(-50%,-50%,0)}.van-slider--disabled{cursor:not-allowed;opacity:var(--van-slider-disabled-opacity)}.van-slider--disabled .van-slider__button-wrapper{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:var(--van-slider-bar-height);height:100%}.van-slider--vertical .van-slider__button-wrapper--right{top:auto;right:50%;bottom:0;transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper--left{top:0;right:50%;left:auto;transform:translate3d(50%,-50%,0)}.van-slider--vertical:before{top:0;right:calc(var(--van-padding-xs) * -1);bottom:0;left:calc(var(--van-padding-xs) * -1)}.van-space{display:inline-flex}.van-space--horizontal .van-space-item{display:flex;align-items:center}.van-space--vertical{flex-direction:column}.van-space--align-baseline{align-items:baseline}.van-space--align-start{align-items:flex-start}.van-space--align-end{align-items:flex-end}.van-space--align-center{align-items:center}.van-space--wrap{flex-wrap:wrap}.van-space--fill{display:flex}:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:.26667rem .26667rem 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 .26667rem;padding-bottom:.58667rem}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}:root{--van-step-text-color: var(--van-text-color-2);--van-step-active-color: var(--van-primary-color);--van-step-process-text-color: var(--van-text-color);--van-step-font-size: var(--van-font-size-md);--van-step-line-color: var(--van-border-color);--van-step-finish-line-color: var(--van-primary-color);--van-step-finish-text-color: var(--van-text-color);--van-step-icon-size: .32rem;--van-step-circle-size: .13333rem;--van-step-circle-color: var(--van-gray-6);--van-step-horizontal-title-font-size: var(--van-font-size-sm)}.van-step{position:relative;flex:1;color:var(--van-step-text-color);font-size:var(--van-step-font-size)}.van-step__circle{display:block;width:var(--van-step-circle-size);height:var(--van-step-circle-size);background-color:var(--van-step-circle-color);border-radius:50%}.van-step__line{position:absolute;background-color:var(--van-step-line-color);transition:background-color var(--van-duration-base)}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child{position:absolute;right:.02667rem;width:auto}.van-step--horizontal:last-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:-.24rem;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:.8rem;left:calc(var(--van-padding-xs) * -1);z-index:1;padding:0 var(--van-padding-xs);background-color:var(--van-background-2);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:.08rem;font-size:var(--van-step-horizontal-title-font-size);transform:translate(-50%)}.van-step--horizontal .van-step__line{top:.8rem;left:0;width:100%;height:.02667rem}.van-step--horizontal .van-step__icon{display:block;font-size:var(--van-step-icon-size)}.van-step--horizontal .van-step--process{color:var(--van-step-process-text-color)}.van-step--vertical{display:block;float:none;padding:.26667rem .26667rem .26667rem 0;line-height:var(--van-line-height-sm)}.van-step--vertical:not(:last-child):after{border-bottom-width:.02667rem}.van-step--vertical .van-step__circle-container{position:absolute;top:.50667rem;left:-.4rem;z-index:1;font-size:var(--van-step-icon-size);line-height:1;transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:.42667rem;left:-.4rem;width:.02667rem;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:var(--van-step-finish-text-color)}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:var(--van-step-finish-line-color)}.van-step__icon,.van-step__title{transition:color var(--van-duration-base)}.van-step__icon--active,.van-step__title--active,.van-step__icon--finish,.van-step__title--finish{color:var(--van-step-active-color)}:root{--van-stepper-background: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-primary-color);--van-stepper-input-width: .85333rem;--van-stepper-input-height: .74667rem;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background: var(--van-active-color);--van-stepper-radius: var(--van-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background);border:0}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:.02667rem}.van-stepper__minus:after,.van-stepper__plus:after{width:.02667rem;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-radius) 0 0 var(--van-stepper-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-radius) var(--van-stepper-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 .05333rem;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background);border:0;border-width:.02667rem 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:-moz-read-only{cursor:default}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-2);border:.02667rem solid var(--van-stepper-button-round-theme-color)}.van-swipe-cell{position:relative;overflow:hidden;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}:root{--van-tabbar-height: 1.33333rem;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: .58667rem;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:.53333rem}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:.02667rem dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05333rem}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:0 auto}@font-face{font-family:iconfont;src:url(data:font/woff2;base64,d09GMgABAAAAAAQEAAsAAAAACMAAAAO1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDKgqERINyATYCJAMUCwwABCAFhGcHWhueB8gekiRFggQUiKBKgSFABNXavz0L95kcQqIIHZGKIjAGwUZYAhXlU5GsItT735yq1CkAqx0Bnkqs2l+KY5ysATCcAOi4l2oQ+eNe1cxp33PPIpwL4lwDg8FYLhqggO3VtUEK3itQRbGL7K5ALPI5Ap02deZ3qPfAPBRxiwgTpXAze4OkNm6pjKAgwaw0sEO7roFuLVOueSrpcboFeRn8fPzTPIJIamaecuJKLwWdex/38as0rjWO/J3XI+DpCRUZqyuzxo1m9yVSlF4l6axKum2D6Oh2iZ/x7xM/fvX5CCFOuitnu07rHx5ZERLRMNXdBL8vU/gZ53DJ/IwXV2kSMZfg91ezRLF1difa8Qm/EX5WnU+7KMVETFhTq4BFjDv7+LGNzCx8+hQZX/DkCTIj79GjjzKqFh3ascMl3X679XA8Wbx83LKRETNexcPimYls6YqRW9fuqV2wZEeCw5mxLS5vUdGq1fH5i5dHhcu3H04sXDoz8yc3H92bUrBkZWJeyIw343eGhj59PW5bP15sWuYby7NQUbt09uzS2hV17tkCXxAL0v3rVNyr+K6356QcfuZeWLQ3OuyFZymHrv7DX1DLO3nzIq8+6TuKJQztM2rGVd32341MP+j8fN8u056NPZ99fqz3mU5e/fxr8zz75u5tK2Zk1PueefZg9Icn9uWMy+4jS05Obl33e+OZ278cnhXNsmj0rCiaxVCXk3cjw79eHASl4y3SoPsk12LayT18Te4G+p9c3LrgyJi5HGNnCjwRTgyDtEzjuHL4GyFf9stDqHW01JGcAB30GheCW//Vrozs+C8otIAfM+7fQ+L+2DriHykBi3978Hzp6TO7uRc0ISkqKKpFiuaQIzbY1S6ttyb5wbI/nWfQ83G0Q2C1v64dSiBpMwVZu2l0wS9D1WUrNNrthk4reu3uMsQmidKBeRMRhH7bIen1DbJ+V9EF/xSqUR+g0e8/dDoX4cd1mQ+5BwciQMHVw7EqWya1dSIYNgfYYJ3wskQBcEfFMdyscdN8rg+YwIdY4QxhzYWgmHLLwL25m4GuW9jmlhdk0dgjhN2+SRNa9SWNZctAPXCAEIACqzYcppJZTNTrLLK/LwdgBtMRHIgucHIOFZHhsWYaawpA91GboLYrGe0YgmlOECidRXEWA9ZbcwLdSlswu3qSF5AJjXl6JG3tNSGdKFTdeH6t8YAHoJP5lTVS5ChRo9FcUIk5YnCITDiIRoo11Ax1BOGVRBbqEAhLWhWgZLAuEAIAAAA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAWUAAsAAAAACMAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA8KUvXY21hcAAAAYgAAABpAAABquvouiNnbHlmAAAB9AAAAYQAAAJEpOj6BGhlYWQAAAN4AAAAMQAAADYgWucGaGhlYQAAA6wAAAAeAAAAJAgFA8lobXR4AAADzAAAABQAAAAUFIj//2xvY2EAAAPgAAAADAAAAAwBDgGIbWF4cAAAA+wAAAAfAAAAIAESAEhuYW1lAAAEDAAAAUAAAAJnEKM8sHBvc3QAAAVMAAAARgAAAFqzdzoJeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGGRZpzAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHnom8eMPc8L+BgYH5DgOQZGBEUcQEAIl0DX14nO2QwQ2AIBAE9wCNIT4lNGEBPi3Gl4UTHvSAe4d24ZIhtwv3WQATAE92EgC5IVBdTMVyj2h5wEG/8DigpJJr653T9k0m4XvUDe4FOv6VGb9Wu8/XBe1toO2XNLA8D7T92gZwD3aKF6YAAAB4nKXOMUvDQBgG4Psu8XJJekmuxFy0aTSpJLVKhVLTQahrBceOhU6CqIPiLCiOlvo7XHRS/4W6iT/ATZAOjrZeFEEcdfg+3uF94UHKZDI5VkE5QQjNoCWEIHJFCMJrtNrQypppHdIk1izQCAML6rDKm23wxFQILsFojKrpsNd/6PeGafVHxHfjZysKOQ8jC0rMtuF4+3fnM57f6MDLHHZ42QH9mgbzAQJpQcoW7iIz98REgORAliid932b6bCheRQ6OsNd3xyfUgpHpi8nGKHJrZoqh2gFrcllG5IVKc4vJrbUy8PeHIQykBCvQ9aYA68tC0nW0ipx0szWoOG5RHU5DvyR5ZM9Wo7LdFcT9sgpGZRdGjqu4UIQ248sZI/e8oy6qOjmy4ALwQeOEHDv1BfUCubsySkWnSdWxBXsRVHhwizZr868i+kBIQdmIRGvdmBs+pEQkf9tp/+3K28cAiHt2p72ZfetEZ81aOEqtyvs2z69PKvWsG68nOX2/P3R/gFepmFIeJxjYGRgYADimo+8avH8Nl8ZuFkYQOBe18UWGP3///8GFnXmRiCXg4EJJAoAVioNAQAAAHicY2BkYGBu+N/AEMPi8h8IWNQZgCIogBUAqjoG1QAABAAAAAQA//8EAAAABEQAAAREAAAAAAAAAEoAZgDEASJ4nGNgZGBgYGWwYWBmAAEmIOYCQgaG/2A+AwAO8gFbAHichZE9bsJAEIWfwZAElChKpDRpVikoEsn8lEipUKCnoAez5ke211ovSNQ5TY6QE+QI6Whzikh52EMDRbza2W/evpkdyQDusIeH8rvnLtnDJbOSK7jAo3CV+pOwT34WrqGJnnCd+qtwAy94E26yY8YOnn/FrIV3YQ+3+BCu4AafwlXqX8I++Vu4hgf8CNep/wo3MPGuhZtoeeHA6qnTczXbqVVo0sik7niO9WITT+2pPNE2X5lUdYPOURrpVNtjm3y76DkXqciaRA15q+PYqMyatQ5dsHQu67fbkehBaBIMYKExhWOcQ2GGHeMKIQxSREV0Z/mY7gU2iFlp/3VP6LbIqR9yhS4CdM5cI7rSwnk6TY4tX+tRdXQrbsuahDSUWs1JYrLiDzzcramE1AMsi6oMfbS5ohN/UMyQ/AHYk29XeJxjYGKAAC4G7ICVkYmRmZGFkZWRjYEtKTMxr6qUKzmxKLVENyW/PI+7uCSxKD4xuSSzLJUHzE5JTUsszSlhYAAAgoEQYgAA) format("woff"),url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI8KUvXAAABjAAAAGBjbWFw6+i6IwAAAgAAAAGqZ2x5ZqTo+gQAAAO4AAACRGhlYWQgWucGAAAA4AAAADZoaGVhCAUDyQAAALwAAAAkaG10eBSI//8AAAHsAAAAFGxvY2EBDgGIAAADrAAAAAxtYXhwARIASAAAARgAAAAgbmFtZRCjPLAAAAX8AAACZ3Bvc3SzdzoJAAAIZAAAAFoAAQAAA4D/gABcBET/////BCcAAQAAAAAAAAAAAAAAAAAAAAUAAQAAAAEAAHzxDSZfDzz1AAsEAAAAAADeitGEAAAAAN6K0YT///+ABCcDgQAAAAgAAgAAAAAAAAABAAAABQA8AAMAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAQEGwGQAAUAAAKJAswAAACPAokCzAAAAesAMgEIAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOYU6OwDgP+AAAAD3ACAAAAAAQAAAAAAAAAAAAAAAAACBAAAAAQA//8EAAAABEQAAAREAAAAAAAFAAAAAwAAACwAAAAEAAABagABAAAAAABkAAMAAQAAACwAAwAKAAABagAEADgAAAAIAAgAAgAA5hXmF+js//8AAOYU5hfo7P//AAAAAAAAAAEACAAKAAoAAAADAAQAAQACAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAABAAAAAAAAAAAQAAOYUAADmFAAAAAMAAOYVAADmFQAAAAQAAOYXAADmFwAAAAEAAOjsAADo7AAAAAIAAAAAAAAASgBmAMQBIgAD////gAQBA4EAAAAZACsAAAEhFBceARcWMjc+ATc2NCcuAScmIgcOAQcGDQEOAS4BNRE0PgEWFwUeARQGAgD+ACgnjlxf0F9cjicoKCeOXF/QX1yOJygCzv7lDiEeEREeIQ4BGw0PDwGAaF9cjicoKCeOXF/QX1yOJygoJ45cX4+2CQERHREBahEdEAEJtQgcIBwAAQAAAAADZQJUAAsAAAEhIgYXARYyNwE2JgNI/XAPDQkBSQcWCAFICQ0CVBgL/oMICAF9CxgAAAACAAD/twQnA3MALwA7AAABPgEmLwEuAS8BLgEiBg8BDgEPAQ4CFh8BHgEPAQYeAj8BNjIfARY+AS8BJjY3ByMiJjQ2OwEyFhQGBBQRAhwY8Q4YBmwIHSIdCGsHFw/xEBsKCA2uCgkCKgIMHCIP1w0eDdcWLBkEKQMJC+yMERcXEYwQFxcBzxAuJAQjAhEN2RASEhDZDRICIwIWISEMqQsbD+8QIBQCCHEGBnELDCYX7w8cCkwYIRcXIRgAAAIAAP+3BAgDcwAvADsAAAE+ASYvAS4BLwEuASIGDwEOAQ8BDgIWHwEeAQ8BBh4CPwE2Mh8BFj4BLwEmNjcHIyImNDY7ATIWFAYD9REBHBfxDhgHbAcdIh0IawcYDvERGgoIDK8KCQIqAw0cIg/XDR4N1xUsGgQqAgkK7IsRFxcRixEXFwHPEC4kBCMCEQ3ZEBISENkNEgIjAhYhIQypCxsP7xAgFAIIcQYGcQsMJhfvDxwKTBghFxchGAAAAAASAN4AAQAAAAAAAAATAAAAAQAAAAAAAQAIABMAAQAAAAAAAgAHABsAAQAAAAAAAwAIACIAAQAAAAAABAAIACoAAQAAAAAABQALADIAAQAAAAAABgAIAD0AAQAAAAAACgArAEUAAQAAAAAACwATAHAAAwABBAkAAAAmAIMAAwABBAkAAQAQAKkAAwABBAkAAgAOALkAAwABBAkAAwAQAMcAAwABBAkABAAQANcAAwABBAkABQAWAOcAAwABBAkABgAQAP0AAwABBAkACgBWAQ0AAwABBAkACwAmAWNDcmVhdGVkIGJ5IGljb25mb250aWNvbmZvbnRSZWd1bGFyaWNvbmZvbnRpY29uZm9udFZlcnNpb24gMS4waWNvbmZvbnRHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuaHR0cDovL2ZvbnRlbGxvLmNvbQBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABSAGUAZwB1AGwAYQByAGkAYwBvAG4AZgBvAG4AdABpAGMAbwBuAGYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG4AZgBvAG4AdABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQECAQMBBAEFAQYABmJpYW56dQpjYXJldC1kb3duC3N0YXJfYWN0aXZlDHN0YXJfZGVmYXVsdAAAAAA=) format("truetype")}.iconfont{font-family:iconfont!important;font-size:.42667rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconfont-upload:before{content:"\\e617"}.iconfont-down:before{content:"\\e8ec"}.iconfont-star_active:before{content:"\\e614"}.iconfont-star_default:before{content:"\\e615"}:root{--van-gray-8: #333;--van-primary: #ff8057 !important;--van-picker-confirm-action-color: #ff8057 !important;--van-primary-text: #f67146 !important;--van-primary-color: var(--van-primary) !important;--van-cell-group-inset-padding: 0 .34667rem;--van-tag-default-color: #f8f8f8 !important;--van-tag-text-default-color: #c0c0c0;--van-tabs-bottom-bar-width: .53333rem;--col-background-color: #f6f8f9;--white: #fff;--tips-color: #999;--strong--color: #ff4e19;--box-shadow-color: rgba(0, 0, 0, .05);--tag-border-color: #2dc7aa;--tag-bg-color: #e9fff8;--tag-color: #2dc7aa}*{padding:0;margin:0;border:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;min-height:100vh}body{background-color:#f6f6f6;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:0!important}.mb12{margin-bottom:.32rem!important}.btnGroup{padding:0 .66667rem;padding-bottom:calc(.53333rem + env(safe-area-inset-bottom))}.btnGroup .van-button{font-size:.48rem!important;font-weight:500}.btnMore{padding-left:.34667rem;padding-right:.34667rem;display:flex!important;justify-content:center!important}.btnMore .van-button{width:100%!important}.btnMore .van-button+.van-button{margin-left:.4rem}.form-control-icon .van-cell__right-icon{color:#fff!important}.sticky{position:relative}.sticky .van-sticky{height:inherit!important;top:var(--van-sticky-z-index)!important;position:fixed;width:100%}.sticky :global(.van-sticky--fixed){box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}.van-toast{z-index:9999!important}.van-sticky--fixed{position:fixed;z-index:1999}:root{--music-list-item-background-color: #fff;--music-list-item-title-color: #333;--music-list-item-desc-color: #333;--music-list-item-mate-color: #6a6a6a;--music-list-item-border-color: #f1f1f1;--music-list-item-vip-bg: #fff1cd;--music-list-item-vip-color: #ff6c00;--music-list-item-free-bg: #fff1e7;--music-list-item-free-color: #ff4700;--music-list-item-charge-bg: #e1f0ff;--music-list-item-charge-color: #0086ff;--van-overlay-background: rgba(0, 0, 0, .4)}.appRootToast .van-overlay{background:#fff;z-index:2999!important}.appRootToast .van-fade-enter-from,.appRootToast .van-fade-enter-active{animation:none}.appRootToast .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToast .van-toast--text{background-color:transparent;z-index:2999!important}.appRootToast .toastAnimate{width:1.86667rem;height:1.86667rem}.appRootToastCenter .van-overlay{background:rgba(0,0,0,.4);z-index:2999!important}.appRootToastCenter .van-fade-enter-from,.appRootToastCenter .van-fade-enter-active{animation:none}.appRootToastCenter .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToastCenter .van-toast--text{background-color:#fff;z-index:2999!important}.appRootToastCenter .toastAnimate{width:1.86667rem;height:1.86667rem}.cell-section{width:auto;border-radius:.16rem;margin:0 .34667rem;padding:.4rem .32rem}.van-cell__right-icon{font-size:.34667rem;font-weight:700;color:#d8d8d8}.van-field__control{font-size:.42667rem}@font-face{font-family:DINA;src:url(./assets/DIN_Alternate_Bold.a17c25bc.ttf)}.emptyRootContainer{display:flex;align-items:center;justify-content:center;min-height:100vh;flex-direction:column}.emptyRootContainer .o-result-container{flex:1 auto;display:flex;align-items:center}input{caret-color:#ff8057}.emptyFixedHeightContainer{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;justify-content:center;align-items:center;padding:0}.emptyFixedHeightContainer .van-empty{transform:translateY(-15%)}.gridBorderRight:after{content:" ";position:absolute;box-sizing:border-box;height:1.06667rem;pointer-events:none;top:50%;margin-top:-.53333rem;right:0;border:.02667rem solid var(--van-border-color);transform:scale(.5)}.popupBottomSearch{--van-picker-toolbar-height: 1.17333rem !important}.popupBottomSearch .van-picker__toolbar{position:relative}.popupBottomSearch .van-picker__toolbar:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.popupBottomSearch .van-picker__columns{padding:0 .64rem}.popupBottomSearch .van-picker-column{position:relative;z-index:1}.popupBottomSearch .van-picker__frame{z-index:0}.popupBottomSearch .van-picker__frame:after{background:#f2f2f2;border-radius:.21333rem}.searchGroupInput .van-search{padding-bottom:0!important}.searchGroup{padding:0 .34667rem!important;line-height:1.17333rem;background-color:#fff;display:flex;align-items:center;justify-content:space-around}.searchGroup .searchItem{display:inline-block;font-size:.37333rem;font-weight:400;color:#333;display:flex;align-items:center;justify-content:center}.searchGroup .searchItem.searchItem-active{color:var(--van-primary)}.searchGroup .searchItem.searchItem-active .arrow{margin-top:-.02667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAP5JREFUKFOV0TEvQ1EYxvH/c6WdiI2Y+QSMXbow1agtSVdmMUiI3HMjJJburE1oGZlYuhj5BMzCJkxt3Feu2ytKb6+e4SzP8/6Sc16RcSwoL0cV+eeXw6oaFpqrroE14o5qcs3TtH4qZMHqIhZeAfnecAd5JflnN4OwgZAdVObpWhs00T9kb+RU1G7r/jf2B7L9yiwf3ALTKc94ZoyC9lqPP/M+yFxtCjoRMpexgwfIF+QaL0nvGzK3Mg5eG1jI2mQvv4OwKHfx/rWK6LLj9RxPr9HHLv0TSWrXzEyWtHHSjaGgXMe0OSKS1Otyra0YctVDsG3AGxELkY7kN3c+AXzSRQveG9tuAAAAAElFTkSuQmCC) no-repeat center center;background-size:100%}.searchGroup .searchItem span{max-width:2.13333rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchGroup .searchItem.searchItem-large span{max-width:3.2rem}.searchGroup .searchItem.searchItem-normal span{max-width:2.66667rem}.searchGroup .arrow{display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAARBJREFUKFOV0a1Ow1AUB/D/aQuKmQp4AHgCkDMzQw3Tpvc2JOhqMEt4ABIM09UkpLdNa5gCg0HCE8ADgKgBNdre5SxlgW0d9Jibc+85v/tFAKCUuiCiIQCD8xZRaa0vpZTnxE1JklxprU9bAPNSIhp5nnc2g8Iw3LBte6y1PmyDEdFdnueDIAi+ZhBHHMdbAB4AHPwTewLQE0J8cv0c4iTLsu2iKB4B7P2BvViW1XUc5/277hfEk1EU7RqGwdhOA/ZWVVXX9/3Xn+tLEC+mabpfliVfs7OAfZim2XNd93lxk5VQ/WZ9AGMAm3XTBMBACHG/6qSNUI0dA7iuG0+EEDdNb7cW4ial1BGPUsrbdR8wBQqHTQv5JatLAAAAAElFTkSuQmCC) no-repeat center center;background-size:contain;width:.24rem;height:.13333rem;margin-left:.08rem}.searchGroup-single{padding:.32rem .34667rem!important}.searchGroup-single .searchItem{position:relative;box-sizing:border-box;max-width:100%;padding:0 .64rem 0 .34667rem;background-color:#fff;border-radius:.42667rem;font-size:.37333rem;color:#333;height:.85333rem;line-height:.85333rem;display:inline-flex;align-items:center}.searchGroup-single .searchItem:after{position:absolute;top:50%;right:.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchGroup-single .searchItem.searchItem-active{color:var(--van-primary-color)}.searchGroup-single .searchItem.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.searchGroup-single .searchItem span{max-width:4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left{position:relative;display:inline-block;font-size:.37333rem;color:#333;margin-right:.56rem}.searchItem-left:after{position:absolute;top:50%;right:-.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchItem-left span{max-width:1.86667rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left.searchItem-active{color:var(--van-primary-color)}.searchItem-left.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.van-sheet_content{margin:0 .34667rem;padding-top:.26667rem}.van-sheet_content .van-sheet-item{line-height:1.38667rem;font-size:.42667rem;font-weight:500;color:#333;text-align:center}.van-sheet_content .van-sheet-item-active{background:#f2f2f2;border-radius:.21333rem}.van-action-sheet_bottom__cancel{margin:0 .34667rem;width:calc(100vw - .69333rem);line-height:1.38667rem;padding:0;color:#aaa}\n'),
  296. document.head.appendChild(__vite_style__),
  297. System.register([], function (exports, module) {
  298. 'use strict'
  299. return {
  300. execute: function execute() {
  301. var _window$webkit, _window$webkit$messag
  302. exports({
  303. C: useParent,
  304. D: withInstall,
  305. E: mergeProps,
  306. H: getRootScrollTop,
  307. I: setRootScrollTop,
  308. Q: useId,
  309. R: ref,
  310. U: addUnit,
  311. W: useExpose,
  312. X: provide,
  313. Z: watch,
  314. _: nextTick,
  315. a: resolveComponent,
  316. a0: useEventListener,
  317. a3: formatNumber,
  318. a4: preventDefault,
  319. a6: resetScroll,
  320. a7: padZero,
  321. a8: useCountDown,
  322. aA: isHidden,
  323. aD: useToggle,
  324. aF: setScrollTop,
  325. aH: onMountedOrActivated,
  326. aI: raf,
  327. aJ: inject,
  328. aM: unitToPx,
  329. aO: onActivated,
  330. aP: onPopupReopen,
  331. aQ: getElementTop,
  332. aR: callInterceptor,
  333. aS: route,
  334. aT: doubleRaf,
  335. aV: watchEffect,
  336. aY: usePageVisibility,
  337. aZ: onDeactivated,
  338. ac: withDirectives,
  339. ad: resolveDirective,
  340. af: useRoute$1,
  341. ag: useRouter,
  342. ah: useRoute,
  343. al: isVNode,
  344. am: pick,
  345. ap: useScrollParent,
  346. aq: useTouch,
  347. ar: getScrollTop,
  348. as: useClickAway,
  349. ax: getZIndexStyle,
  350. b$: toRaw,
  351. b2: useLazyRender,
  352. b4: useCustomFieldValue,
  353. b8: unref,
  354. bB: getSizeStyle,
  355. bH: shallowRef,
  356. bJ: toRefs,
  357. bL: addNumber,
  358. bP: customRef,
  359. bQ: effect,
  360. bR: effectScope,
  361. bS: isProxy,
  362. bT: isReactive,
  363. bU: isReadonly,
  364. bV: markRaw,
  365. bW: proxyRefs,
  366. bX: readonly,
  367. bY: shallowReactive,
  368. bZ: shallowReadonly,
  369. b_: stop,
  370. ba: isRef,
  371. bb: getCurrentScope,
  372. bc: onScopeDispose,
  373. bi: mountComponent,
  374. bj: usePopupState,
  375. br: showDialog,
  376. bs: openBlock,
  377. bt: createElementBlock,
  378. bu: createBaseVNode,
  379. bv: normalizeStyle,
  380. bw: createCommentVNode,
  381. bx: normalizeClass,
  382. c$: watchSyncEffect,
  383. c0: toRef,
  384. c1: triggerRef,
  385. c4: normalizeProps,
  386. cA: onErrorCaptured,
  387. cE: popScopeId,
  388. cF: pushScopeId,
  389. cG: queuePostFlushCb,
  390. cH: registerRuntimeCompiler,
  391. cI: renderList,
  392. cJ: renderSlot,
  393. cK: resolveDynamicComponent,
  394. cM: resolveTransitionHooks,
  395. cN: setBlockTracking,
  396. cO: setDevtoolsHook,
  397. cP: setTransitionHooks,
  398. cS: toHandlers,
  399. cT: transformVNodeArgs,
  400. cU: useAttrs,
  401. cW: useSlots,
  402. cX: useTransitionState,
  403. cZ: warn,
  404. c_: watchPostEffect,
  405. cc: callWithAsyncErrorHandling,
  406. cd: callWithErrorHandling,
  407. ce: cloneVNode,
  408. cg: createBlock,
  409. ch: createHydrationRenderer,
  410. ci: createPropsRestProxy,
  411. cj: createRenderer,
  412. ck: createSlots,
  413. cl: createStaticVNode,
  414. cm: defineAsyncComponent,
  415. cn: defineEmits,
  416. co: defineExpose,
  417. cp: defineProps,
  418. cr: getTransitionRawChildren,
  419. cs: guardReactiveProps,
  420. ct: h$1,
  421. cu: handleError,
  422. cv: initCustomFormatter,
  423. cw: isMemoSame,
  424. cy: mergeDefaults,
  425. d: defineComponent,
  426. d0: withAsyncContext,
  427. d1: withCtx,
  428. d2: withDefaults,
  429. d3: withMemo,
  430. d7: defineCustomElement,
  431. dc: useCssModule,
  432. dd: useCssVars,
  433. dm: getAugmentedNamespace,
  434. dn: getDefaultExportFromCjs,
  435. o: showToast,
  436. q: createTextVNode,
  437. r: reactive,
  438. t: createNamespace,
  439. x: useChildren,
  440. y: computed
  441. })
  442. var p$1 = function () {
  443. var e = document.createElement('link').relList
  444. if (!(e && e.supports && e.supports('modulepreload'))) {
  445. var t,
  446. n = _createForOfIteratorHelper(
  447. document.querySelectorAll('link[rel="modulepreload"]')
  448. )
  449. try {
  450. for (n.s(); !(t = n.n()).done; ) {
  451. r(t.value)
  452. }
  453. } catch (a) {
  454. n.e(a)
  455. } finally {
  456. n.f()
  457. }
  458. new MutationObserver(function (e) {
  459. var t,
  460. n = _createForOfIteratorHelper(e)
  461. try {
  462. for (n.s(); !(t = n.n()).done; ) {
  463. var o = t.value
  464. if ('childList' === o.type) {
  465. var i,
  466. s = _createForOfIteratorHelper(o.addedNodes)
  467. try {
  468. for (s.s(); !(i = s.n()).done; ) {
  469. var l = i.value
  470. 'LINK' === l.tagName && 'modulepreload' === l.rel && r(l)
  471. }
  472. } catch (a) {
  473. s.e(a)
  474. } finally {
  475. s.f()
  476. }
  477. }
  478. }
  479. } catch (a) {
  480. n.e(a)
  481. } finally {
  482. n.f()
  483. }
  484. }).observe(document, { childList: !0, subtree: !0 })
  485. }
  486. function r(e) {
  487. if (!e.ep) {
  488. e.ep = !0
  489. var t = (function (e) {
  490. var t = {}
  491. return (
  492. e.integrity && (t.integrity = e.integrity),
  493. e.referrerpolicy && (t.referrerPolicy = e.referrerpolicy),
  494. 'use-credentials' === e.crossorigin
  495. ? (t.credentials = 'include')
  496. : 'anonymous' === e.crossorigin
  497. ? (t.credentials = 'omit')
  498. : (t.credentials = 'same-origin'),
  499. t
  500. )
  501. })(e)
  502. fetch(e.href, t)
  503. }
  504. }
  505. }
  506. function makeMap(e, t) {
  507. for (var n = Object.create(null), r = e.split(','), a = 0; a < r.length; a++)
  508. n[r[a]] = !0
  509. return t
  510. ? function (e) {
  511. return !!n[e.toLowerCase()]
  512. }
  513. : function (e) {
  514. return !!n[e]
  515. }
  516. }
  517. var GLOBALS_WHITE_LISTED =
  518. 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt',
  519. isGloballyWhitelisted = makeMap(GLOBALS_WHITE_LISTED),
  520. specialBooleanAttrs =
  521. 'itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly',
  522. isSpecialBooleanAttr = makeMap(specialBooleanAttrs)
  523. function includeBooleanAttr(e) {
  524. return !!e || '' === e
  525. }
  526. function normalizeStyle(e) {
  527. if (isArray$5(e)) {
  528. for (var t = {}, n = 0; n < e.length; n++) {
  529. var r = e[n],
  530. a = isString$1(r) ? parseStringStyle(r) : normalizeStyle(r)
  531. if (a) for (var o in a) t[o] = a[o]
  532. }
  533. return t
  534. }
  535. return isString$1(e) || isObject$2(e) ? e : void 0
  536. }
  537. var listDelimiterRE = /;(?![^(]*\))/g,
  538. propertyDelimiterRE = /:(.+)/
  539. function parseStringStyle(e) {
  540. var t = {}
  541. return (
  542. e.split(listDelimiterRE).forEach(function (e) {
  543. if (e) {
  544. var n = e.split(propertyDelimiterRE)
  545. n.length > 1 && (t[n[0].trim()] = n[1].trim())
  546. }
  547. }),
  548. t
  549. )
  550. }
  551. function normalizeClass(e) {
  552. var t = ''
  553. if (isString$1(e)) t = e
  554. else if (isArray$5(e))
  555. for (var n = 0; n < e.length; n++) {
  556. var r = normalizeClass(e[n])
  557. r && (t += r + ' ')
  558. }
  559. else if (isObject$2(e)) for (var a in e) e[a] && (t += a + ' ')
  560. return t.trim()
  561. }
  562. function normalizeProps(e) {
  563. if (!e) return null
  564. var t = e.class,
  565. n = e.style
  566. return (
  567. t && !isString$1(t) && (e.class = normalizeClass(t)),
  568. n && (e.style = normalizeStyle(n)),
  569. e
  570. )
  571. }
  572. function looseCompareArrays(e, t) {
  573. if (e.length !== t.length) return !1
  574. for (var n = !0, r = 0; n && r < e.length; r++) n = looseEqual(e[r], t[r])
  575. return n
  576. }
  577. function looseEqual(e, t) {
  578. if (e === t) return !0
  579. var n = isDate$3(e),
  580. r = isDate$3(t)
  581. if (n || r) return !(!n || !r) && e.getTime() === t.getTime()
  582. if (((n = isArray$5(e)), (r = isArray$5(t)), n || r))
  583. return !(!n || !r) && looseCompareArrays(e, t)
  584. if (((n = isObject$2(e)), (r = isObject$2(t)), n || r)) {
  585. if (!n || !r) return !1
  586. if (Object.keys(e).length !== Object.keys(t).length) return !1
  587. for (var a in e) {
  588. var o = e.hasOwnProperty(a),
  589. i = t.hasOwnProperty(a)
  590. if ((o && !i) || (!o && i) || !looseEqual(e[a], t[a])) return !1
  591. }
  592. }
  593. return String(e) === String(t)
  594. }
  595. function looseIndexOf(e, t) {
  596. return e.findIndex(function (e) {
  597. return looseEqual(e, t)
  598. })
  599. }
  600. var toDisplayString = exports('by', function (e) {
  601. return null == e
  602. ? ''
  603. : isArray$5(e) ||
  604. (isObject$2(e) && (e.toString === objectToString$2 || !isFunction$1(e.toString)))
  605. ? JSON.stringify(e, replacer, 2)
  606. : String(e)
  607. }),
  608. replacer = function e(t, n) {
  609. return n && n.__v_isRef
  610. ? e(t, n.value)
  611. : isMap$1(n)
  612. ? _defineProperty2(
  613. {},
  614. 'Map('.concat(n.size, ')'),
  615. _toConsumableArray2(n.entries()).reduce(function (e, t) {
  616. var n = _slicedToArray(t, 2),
  617. r = n[0],
  618. a = n[1]
  619. return (e[''.concat(r, ' =>')] = a), e
  620. }, {})
  621. )
  622. : isSet$1(n)
  623. ? _defineProperty2({}, 'Set('.concat(n.size, ')'), _toConsumableArray2(n.values()))
  624. : !isObject$2(n) || isArray$5(n) || isPlainObject$2(n)
  625. ? n
  626. : String(n)
  627. },
  628. EMPTY_OBJ = {},
  629. EMPTY_ARR = [],
  630. NOOP = function () {},
  631. NO = function () {
  632. return !1
  633. },
  634. onRE = /^on[^a-z]/,
  635. isOn = function (e) {
  636. return onRE.test(e)
  637. },
  638. isModelListener = function (e) {
  639. return e.startsWith('onUpdate:')
  640. },
  641. extend$2 = Object.assign,
  642. remove = function (e, t) {
  643. var n = e.indexOf(t)
  644. n > -1 && e.splice(n, 1)
  645. },
  646. hasOwnProperty$2 = Object.prototype.hasOwnProperty,
  647. hasOwn$2 = function (e, t) {
  648. return hasOwnProperty$2.call(e, t)
  649. },
  650. isArray$5 = Array.isArray,
  651. isMap$1 = function (e) {
  652. return '[object Map]' === toTypeString(e)
  653. },
  654. isSet$1 = function (e) {
  655. return '[object Set]' === toTypeString(e)
  656. },
  657. isDate$3 = function (e) {
  658. return e instanceof Date
  659. },
  660. isFunction$1 = function (e) {
  661. return 'function' == typeof e
  662. },
  663. isString$1 = function (e) {
  664. return 'string' == typeof e
  665. },
  666. isSymbol$1 = function (e) {
  667. return 'symbol' === _typeof2(e)
  668. },
  669. isObject$2 = function (e) {
  670. return null !== e && 'object' === _typeof2(e)
  671. },
  672. isPromise$1 = function (e) {
  673. return isObject$2(e) && isFunction$1(e.then) && isFunction$1(e.catch)
  674. },
  675. objectToString$2 = Object.prototype.toString,
  676. toTypeString = function (e) {
  677. return objectToString$2.call(e)
  678. },
  679. toRawType = function (e) {
  680. return toTypeString(e).slice(8, -1)
  681. },
  682. isPlainObject$2 = function (e) {
  683. return '[object Object]' === toTypeString(e)
  684. },
  685. isIntegerKey = function (e) {
  686. return isString$1(e) && 'NaN' !== e && '-' !== e[0] && '' + parseInt(e, 10) === e
  687. },
  688. isReservedProp = makeMap(
  689. ',key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted'
  690. ),
  691. cacheStringFunction = function (e) {
  692. var t = Object.create(null)
  693. return function (n) {
  694. return t[n] || (t[n] = e(n))
  695. }
  696. },
  697. camelizeRE$1 = /-(\w)/g,
  698. camelize$1 = exports(
  699. 'c2',
  700. cacheStringFunction(function (e) {
  701. return e.replace(camelizeRE$1, function (e, t) {
  702. return t ? t.toUpperCase() : ''
  703. })
  704. })
  705. ),
  706. hyphenateRE = /\B([A-Z])/g,
  707. hyphenate = cacheStringFunction(function (e) {
  708. return e.replace(hyphenateRE, '-$1').toLowerCase()
  709. }),
  710. capitalize = exports(
  711. 'c3',
  712. cacheStringFunction(function (e) {
  713. return e.charAt(0).toUpperCase() + e.slice(1)
  714. })
  715. ),
  716. toHandlerKey = exports(
  717. 'c5',
  718. cacheStringFunction(function (e) {
  719. return e ? 'on'.concat(capitalize(e)) : ''
  720. })
  721. ),
  722. hasChanged = function (e, t) {
  723. return !Object.is(e, t)
  724. },
  725. invokeArrayFns = function (e, t) {
  726. for (var n = 0; n < e.length; n++) e[n](t)
  727. },
  728. def = function (e, t, n) {
  729. Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n })
  730. },
  731. toNumber = function (e) {
  732. var t = parseFloat(e)
  733. return isNaN(t) ? e : t
  734. },
  735. _globalThis,
  736. getGlobalThis = function () {
  737. return (
  738. _globalThis ||
  739. (_globalThis =
  740. 'undefined' != typeof globalThis
  741. ? globalThis
  742. : 'undefined' != typeof self
  743. ? self
  744. : 'undefined' != typeof window
  745. ? window
  746. : 'undefined' != typeof global
  747. ? global
  748. : {})
  749. )
  750. },
  751. activeEffectScope,
  752. effectScopeStack = [],
  753. EffectScope = (function () {
  754. function e() {
  755. var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
  756. _classCallCheck2(this, e),
  757. (this.active = !0),
  758. (this.effects = []),
  759. (this.cleanups = []),
  760. !t &&
  761. activeEffectScope &&
  762. ((this.parent = activeEffectScope),
  763. (this.index =
  764. (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1))
  765. }
  766. return (
  767. _createClass2(e, [
  768. {
  769. key: 'run',
  770. value: function (e) {
  771. if (this.active)
  772. try {
  773. return this.on(), e()
  774. } finally {
  775. this.off()
  776. }
  777. }
  778. },
  779. {
  780. key: 'on',
  781. value: function () {
  782. this.active && (effectScopeStack.push(this), (activeEffectScope = this))
  783. }
  784. },
  785. {
  786. key: 'off',
  787. value: function () {
  788. this.active &&
  789. (effectScopeStack.pop(),
  790. (activeEffectScope = effectScopeStack[effectScopeStack.length - 1]))
  791. }
  792. },
  793. {
  794. key: 'stop',
  795. value: function (e) {
  796. if (this.active) {
  797. if (
  798. (this.effects.forEach(function (e) {
  799. return e.stop()
  800. }),
  801. this.cleanups.forEach(function (e) {
  802. return e()
  803. }),
  804. this.scopes &&
  805. this.scopes.forEach(function (e) {
  806. return e.stop(!0)
  807. }),
  808. this.parent && !e)
  809. ) {
  810. var t = this.parent.scopes.pop()
  811. t &&
  812. t !== this &&
  813. ((this.parent.scopes[this.index] = t), (t.index = this.index))
  814. }
  815. this.active = !1
  816. }
  817. }
  818. }
  819. ]),
  820. e
  821. )
  822. })()
  823. function effectScope(e) {
  824. return new EffectScope(e)
  825. }
  826. function recordEffectScope(e, t) {
  827. ;(t = t || activeEffectScope) && t.active && t.effects.push(e)
  828. }
  829. function getCurrentScope() {
  830. return activeEffectScope
  831. }
  832. function onScopeDispose(e) {
  833. activeEffectScope && activeEffectScope.cleanups.push(e)
  834. }
  835. exports('bN', EffectScope)
  836. var createDep = function (e) {
  837. var t = new Set(e)
  838. return (t.w = 0), (t.n = 0), t
  839. },
  840. wasTracked = function (e) {
  841. return (e.w & trackOpBit) > 0
  842. },
  843. newTracked = function (e) {
  844. return (e.n & trackOpBit) > 0
  845. },
  846. initDepMarkers = function (e) {
  847. var t = e.deps
  848. if (t.length) for (var n = 0; n < t.length; n++) t[n].w |= trackOpBit
  849. },
  850. finalizeDepMarkers = function (e) {
  851. var t = e.deps
  852. if (t.length) {
  853. for (var n = 0, r = 0; r < t.length; r++) {
  854. var a = t[r]
  855. wasTracked(a) && !newTracked(a) ? a.delete(e) : (t[n++] = a),
  856. (a.w &= ~trackOpBit),
  857. (a.n &= ~trackOpBit)
  858. }
  859. t.length = n
  860. }
  861. },
  862. targetMap = new WeakMap(),
  863. effectTrackDepth = 0,
  864. trackOpBit = 1,
  865. maxMarkerBits = 30,
  866. effectStack = [],
  867. activeEffect,
  868. ITERATE_KEY = Symbol(''),
  869. MAP_KEY_ITERATE_KEY = Symbol(''),
  870. ReactiveEffect = (function () {
  871. function e(t) {
  872. var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
  873. r = arguments.length > 2 ? arguments[2] : void 0
  874. _classCallCheck2(this, e),
  875. (this.fn = t),
  876. (this.scheduler = n),
  877. (this.active = !0),
  878. (this.deps = []),
  879. recordEffectScope(this, r)
  880. }
  881. return (
  882. _createClass2(e, [
  883. {
  884. key: 'run',
  885. value: function () {
  886. if (!this.active) return this.fn()
  887. if (!effectStack.includes(this))
  888. try {
  889. return (
  890. effectStack.push((activeEffect = this)),
  891. enableTracking(),
  892. (trackOpBit = 1 << ++effectTrackDepth),
  893. effectTrackDepth <= maxMarkerBits
  894. ? initDepMarkers(this)
  895. : cleanupEffect(this),
  896. this.fn()
  897. )
  898. } finally {
  899. effectTrackDepth <= maxMarkerBits && finalizeDepMarkers(this),
  900. (trackOpBit = 1 << --effectTrackDepth),
  901. resetTracking(),
  902. effectStack.pop()
  903. var e = effectStack.length
  904. activeEffect = e > 0 ? effectStack[e - 1] : void 0
  905. }
  906. }
  907. },
  908. {
  909. key: 'stop',
  910. value: function () {
  911. this.active &&
  912. (cleanupEffect(this), this.onStop && this.onStop(), (this.active = !1))
  913. }
  914. }
  915. ]),
  916. e
  917. )
  918. })()
  919. function cleanupEffect(e) {
  920. var t = e.deps
  921. if (t.length) {
  922. for (var n = 0; n < t.length; n++) t[n].delete(e)
  923. t.length = 0
  924. }
  925. }
  926. function effect(e, t) {
  927. e.effect && (e = e.effect.fn)
  928. var n = new ReactiveEffect(e)
  929. t && (extend$2(n, t), t.scope && recordEffectScope(n, t.scope)),
  930. (t && t.lazy) || n.run()
  931. var r = n.run.bind(n)
  932. return (r.effect = n), r
  933. }
  934. function stop(e) {
  935. e.effect.stop()
  936. }
  937. exports('bO', ReactiveEffect)
  938. var shouldTrack = !0,
  939. trackStack = []
  940. function pauseTracking() {
  941. trackStack.push(shouldTrack), (shouldTrack = !1)
  942. }
  943. function enableTracking() {
  944. trackStack.push(shouldTrack), (shouldTrack = !0)
  945. }
  946. function resetTracking() {
  947. var e = trackStack.pop()
  948. shouldTrack = void 0 === e || e
  949. }
  950. function track(e, t, n) {
  951. if (isTracking()) {
  952. var r = targetMap.get(e)
  953. r || targetMap.set(e, (r = new Map()))
  954. var a = r.get(n)
  955. a || r.set(n, (a = createDep())), trackEffects(a)
  956. }
  957. }
  958. function isTracking() {
  959. return shouldTrack && void 0 !== activeEffect
  960. }
  961. function trackEffects(e, t) {
  962. var n = !1
  963. effectTrackDepth <= maxMarkerBits
  964. ? newTracked(e) || ((e.n |= trackOpBit), (n = !wasTracked(e)))
  965. : (n = !e.has(activeEffect)),
  966. n && (e.add(activeEffect), activeEffect.deps.push(e))
  967. }
  968. function trigger$1(e, t, n, r, a, o) {
  969. var i = targetMap.get(e)
  970. if (i) {
  971. var s = []
  972. if ('clear' === t) s = _toConsumableArray2(i.values())
  973. else if ('length' === n && isArray$5(e))
  974. i.forEach(function (e, t) {
  975. ;('length' === t || t >= r) && s.push(e)
  976. })
  977. else
  978. switch ((void 0 !== n && s.push(i.get(n)), t)) {
  979. case 'add':
  980. isArray$5(e)
  981. ? isIntegerKey(n) && s.push(i.get('length'))
  982. : (s.push(i.get(ITERATE_KEY)),
  983. isMap$1(e) && s.push(i.get(MAP_KEY_ITERATE_KEY)))
  984. break
  985. case 'delete':
  986. isArray$5(e) ||
  987. (s.push(i.get(ITERATE_KEY)), isMap$1(e) && s.push(i.get(MAP_KEY_ITERATE_KEY)))
  988. break
  989. case 'set':
  990. isMap$1(e) && s.push(i.get(ITERATE_KEY))
  991. }
  992. if (1 === s.length) s[0] && triggerEffects(s[0])
  993. else {
  994. var l,
  995. c = [],
  996. u = _createForOfIteratorHelper(s)
  997. try {
  998. for (u.s(); !(l = u.n()).done; ) {
  999. var p = l.value
  1000. p && c.push.apply(c, _toConsumableArray2(p))
  1001. }
  1002. } catch (d) {
  1003. u.e(d)
  1004. } finally {
  1005. u.f()
  1006. }
  1007. triggerEffects(createDep(c))
  1008. }
  1009. }
  1010. }
  1011. function triggerEffects(e, t) {
  1012. var n,
  1013. r = _createForOfIteratorHelper(isArray$5(e) ? e : _toConsumableArray2(e))
  1014. try {
  1015. for (r.s(); !(n = r.n()).done; ) {
  1016. var a = n.value
  1017. ;(a !== activeEffect || a.allowRecurse) && (a.scheduler ? a.scheduler() : a.run())
  1018. }
  1019. } catch (o) {
  1020. r.e(o)
  1021. } finally {
  1022. r.f()
  1023. }
  1024. }
  1025. var isNonTrackableKeys = makeMap('__proto__,__v_isRef,__isVue'),
  1026. builtInSymbols = new Set(
  1027. Object.getOwnPropertyNames(Symbol)
  1028. .map(function (e) {
  1029. return Symbol[e]
  1030. })
  1031. .filter(isSymbol$1)
  1032. ),
  1033. get$1 = createGetter(),
  1034. shallowGet = createGetter(!1, !0),
  1035. readonlyGet = createGetter(!0),
  1036. shallowReadonlyGet = createGetter(!0, !0),
  1037. arrayInstrumentations = createArrayInstrumentations()
  1038. function createArrayInstrumentations() {
  1039. var e = {}
  1040. return (
  1041. ['includes', 'indexOf', 'lastIndexOf'].forEach(function (t) {
  1042. e[t] = function () {
  1043. for (var e = toRaw(this), n = 0, r = this.length; n < r; n++)
  1044. track(e, 'get', n + '')
  1045. for (var a = arguments.length, o = new Array(a), i = 0; i < a; i++)
  1046. o[i] = arguments[i]
  1047. var s = e[t].apply(e, o)
  1048. return -1 === s || !1 === s ? e[t].apply(e, _toConsumableArray2(o.map(toRaw))) : s
  1049. }
  1050. }),
  1051. ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(function (t) {
  1052. e[t] = function () {
  1053. pauseTracking()
  1054. for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
  1055. n[r] = arguments[r]
  1056. var a = toRaw(this)[t].apply(this, n)
  1057. return resetTracking(), a
  1058. }
  1059. }),
  1060. e
  1061. )
  1062. }
  1063. function createGetter() {
  1064. var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
  1065. t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
  1066. return function (n, r, a) {
  1067. if ('__v_isReactive' === r) return !e
  1068. if ('__v_isReadonly' === r) return e
  1069. if (
  1070. '__v_raw' === r &&
  1071. a ===
  1072. (e
  1073. ? t
  1074. ? shallowReadonlyMap
  1075. : readonlyMap
  1076. : t
  1077. ? shallowReactiveMap
  1078. : reactiveMap
  1079. ).get(n)
  1080. )
  1081. return n
  1082. var o = isArray$5(n)
  1083. if (!e && o && hasOwn$2(arrayInstrumentations, r))
  1084. return Reflect.get(arrayInstrumentations, r, a)
  1085. var i = Reflect.get(n, r, a)
  1086. return (isSymbol$1(r) ? builtInSymbols.has(r) : isNonTrackableKeys(r))
  1087. ? i
  1088. : (e || track(n, 'get', r),
  1089. t
  1090. ? i
  1091. : isRef(i)
  1092. ? !o || !isIntegerKey(r)
  1093. ? i.value
  1094. : i
  1095. : isObject$2(i)
  1096. ? e
  1097. ? readonly(i)
  1098. : reactive(i)
  1099. : i)
  1100. }
  1101. }
  1102. var set = createSetter(),
  1103. shallowSet = createSetter(!0)
  1104. function createSetter() {
  1105. var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
  1106. return function (t, n, r, a) {
  1107. var o = t[n]
  1108. if (
  1109. !e &&
  1110. !isReadonly(r) &&
  1111. ((r = toRaw(r)), (o = toRaw(o)), !isArray$5(t) && isRef(o) && !isRef(r))
  1112. )
  1113. return (o.value = r), !0
  1114. var i = isArray$5(t) && isIntegerKey(n) ? Number(n) < t.length : hasOwn$2(t, n),
  1115. s = Reflect.set(t, n, r, a)
  1116. return (
  1117. t === toRaw(a) &&
  1118. (i ? hasChanged(r, o) && trigger$1(t, 'set', n, r) : trigger$1(t, 'add', n, r)),
  1119. s
  1120. )
  1121. }
  1122. }
  1123. function deleteProperty(e, t) {
  1124. var n = hasOwn$2(e, t)
  1125. e[t]
  1126. var r = Reflect.deleteProperty(e, t)
  1127. return r && n && trigger$1(e, 'delete', t, void 0), r
  1128. }
  1129. function has$4(e, t) {
  1130. var n = Reflect.has(e, t)
  1131. return (isSymbol$1(t) && builtInSymbols.has(t)) || track(e, 'has', t), n
  1132. }
  1133. function ownKeys$1(e) {
  1134. return track(e, 'iterate', isArray$5(e) ? 'length' : ITERATE_KEY), Reflect.ownKeys(e)
  1135. }
  1136. var mutableHandlers = {
  1137. get: get$1,
  1138. set: set,
  1139. deleteProperty: deleteProperty,
  1140. has: has$4,
  1141. ownKeys: ownKeys$1
  1142. },
  1143. readonlyHandlers = {
  1144. get: readonlyGet,
  1145. set: function (e, t) {
  1146. return !0
  1147. },
  1148. deleteProperty: function (e, t) {
  1149. return !0
  1150. }
  1151. },
  1152. shallowReactiveHandlers = extend$2({}, mutableHandlers, {
  1153. get: shallowGet,
  1154. set: shallowSet
  1155. }),
  1156. shallowReadonlyHandlers = extend$2({}, readonlyHandlers, { get: shallowReadonlyGet }),
  1157. toShallow = function (e) {
  1158. return e
  1159. },
  1160. getProto$1 = function (e) {
  1161. return Reflect.getPrototypeOf(e)
  1162. }
  1163. function get$1$1(e, t) {
  1164. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  1165. r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  1166. a = toRaw((e = e.__v_raw)),
  1167. o = toRaw(t)
  1168. t !== o && !n && track(a, 'get', t), !n && track(a, 'get', o)
  1169. var i = getProto$1(a),
  1170. s = i.has,
  1171. l = r ? toShallow : n ? toReadonly : toReactive
  1172. return s.call(a, t)
  1173. ? l(e.get(t))
  1174. : s.call(a, o)
  1175. ? l(e.get(o))
  1176. : void (e !== a && e.get(t))
  1177. }
  1178. function has$1$1(e) {
  1179. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
  1180. n = this.__v_raw,
  1181. r = toRaw(n),
  1182. a = toRaw(e)
  1183. return (
  1184. e !== a && !t && track(r, 'has', e),
  1185. !t && track(r, 'has', a),
  1186. e === a ? n.has(e) : n.has(e) || n.has(a)
  1187. )
  1188. }
  1189. function size(e) {
  1190. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
  1191. return (
  1192. (e = e.__v_raw),
  1193. !t && track(toRaw(e), 'iterate', ITERATE_KEY),
  1194. Reflect.get(e, 'size', e)
  1195. )
  1196. }
  1197. function add(e) {
  1198. e = toRaw(e)
  1199. var t = toRaw(this)
  1200. return getProto$1(t).has.call(t, e) || (t.add(e), trigger$1(t, 'add', e, e)), this
  1201. }
  1202. function set$1(e, t) {
  1203. t = toRaw(t)
  1204. var n = toRaw(this),
  1205. r = getProto$1(n),
  1206. a = r.has,
  1207. o = r.get,
  1208. i = a.call(n, e)
  1209. i || ((e = toRaw(e)), (i = a.call(n, e)))
  1210. var s = o.call(n, e)
  1211. return (
  1212. n.set(e, t),
  1213. i ? hasChanged(t, s) && trigger$1(n, 'set', e, t) : trigger$1(n, 'add', e, t),
  1214. this
  1215. )
  1216. }
  1217. function deleteEntry(e) {
  1218. var t = toRaw(this),
  1219. n = getProto$1(t),
  1220. r = n.has,
  1221. a = n.get,
  1222. o = r.call(t, e)
  1223. o || ((e = toRaw(e)), (o = r.call(t, e))), a && a.call(t, e)
  1224. var i = t.delete(e)
  1225. return o && trigger$1(t, 'delete', e, void 0), i
  1226. }
  1227. function clear() {
  1228. var e = toRaw(this),
  1229. t = 0 !== e.size,
  1230. n = e.clear()
  1231. return t && trigger$1(e, 'clear', void 0, void 0), n
  1232. }
  1233. function createForEach(e, t) {
  1234. return function (n, r) {
  1235. var a = this,
  1236. o = a.__v_raw,
  1237. i = toRaw(o),
  1238. s = t ? toShallow : e ? toReadonly : toReactive
  1239. return (
  1240. !e && track(i, 'iterate', ITERATE_KEY),
  1241. o.forEach(function (e, t) {
  1242. return n.call(r, s(e), s(t), a)
  1243. })
  1244. )
  1245. }
  1246. }
  1247. function createIterableMethod(e, t, n) {
  1248. return function () {
  1249. var r = this.__v_raw,
  1250. a = toRaw(r),
  1251. o = isMap$1(a),
  1252. i = 'entries' === e || (e === Symbol.iterator && o),
  1253. s = 'keys' === e && o,
  1254. l = r[e].apply(r, arguments),
  1255. c = n ? toShallow : t ? toReadonly : toReactive
  1256. return (
  1257. !t && track(a, 'iterate', s ? MAP_KEY_ITERATE_KEY : ITERATE_KEY),
  1258. _defineProperty2(
  1259. {
  1260. next: function () {
  1261. var e = l.next(),
  1262. t = e.value,
  1263. n = e.done
  1264. return n
  1265. ? { value: t, done: n }
  1266. : { value: i ? [c(t[0]), c(t[1])] : c(t), done: n }
  1267. }
  1268. },
  1269. Symbol.iterator,
  1270. function () {
  1271. return this
  1272. }
  1273. )
  1274. )
  1275. }
  1276. }
  1277. function createReadonlyMethod(e) {
  1278. return function () {
  1279. return 'delete' !== e && this
  1280. }
  1281. }
  1282. function createInstrumentations() {
  1283. var e = {
  1284. get: function (e) {
  1285. return get$1$1(this, e)
  1286. },
  1287. get size() {
  1288. return size(this)
  1289. },
  1290. has: has$1$1,
  1291. add: add,
  1292. set: set$1,
  1293. delete: deleteEntry,
  1294. clear: clear,
  1295. forEach: createForEach(!1, !1)
  1296. },
  1297. t = {
  1298. get: function (e) {
  1299. return get$1$1(this, e, !1, !0)
  1300. },
  1301. get size() {
  1302. return size(this)
  1303. },
  1304. has: has$1$1,
  1305. add: add,
  1306. set: set$1,
  1307. delete: deleteEntry,
  1308. clear: clear,
  1309. forEach: createForEach(!1, !0)
  1310. },
  1311. n = {
  1312. get: function (e) {
  1313. return get$1$1(this, e, !0)
  1314. },
  1315. get size() {
  1316. return size(this, !0)
  1317. },
  1318. has: function (e) {
  1319. return has$1$1.call(this, e, !0)
  1320. },
  1321. add: createReadonlyMethod('add'),
  1322. set: createReadonlyMethod('set'),
  1323. delete: createReadonlyMethod('delete'),
  1324. clear: createReadonlyMethod('clear'),
  1325. forEach: createForEach(!0, !1)
  1326. },
  1327. r = {
  1328. get: function (e) {
  1329. return get$1$1(this, e, !0, !0)
  1330. },
  1331. get size() {
  1332. return size(this, !0)
  1333. },
  1334. has: function (e) {
  1335. return has$1$1.call(this, e, !0)
  1336. },
  1337. add: createReadonlyMethod('add'),
  1338. set: createReadonlyMethod('set'),
  1339. delete: createReadonlyMethod('delete'),
  1340. clear: createReadonlyMethod('clear'),
  1341. forEach: createForEach(!0, !0)
  1342. }
  1343. return (
  1344. ['keys', 'values', 'entries', Symbol.iterator].forEach(function (a) {
  1345. ;(e[a] = createIterableMethod(a, !1, !1)),
  1346. (n[a] = createIterableMethod(a, !0, !1)),
  1347. (t[a] = createIterableMethod(a, !1, !0)),
  1348. (r[a] = createIterableMethod(a, !0, !0))
  1349. }),
  1350. [e, n, t, r]
  1351. )
  1352. }
  1353. var _createInstrumentatio = createInstrumentations(),
  1354. _createInstrumentatio2 = _slicedToArray(_createInstrumentatio, 4),
  1355. mutableInstrumentations = _createInstrumentatio2[0],
  1356. readonlyInstrumentations = _createInstrumentatio2[1],
  1357. shallowInstrumentations = _createInstrumentatio2[2],
  1358. shallowReadonlyInstrumentations = _createInstrumentatio2[3]
  1359. function createInstrumentationGetter(e, t) {
  1360. var n = t
  1361. ? e
  1362. ? shallowReadonlyInstrumentations
  1363. : shallowInstrumentations
  1364. : e
  1365. ? readonlyInstrumentations
  1366. : mutableInstrumentations
  1367. return function (t, r, a) {
  1368. return '__v_isReactive' === r
  1369. ? !e
  1370. : '__v_isReadonly' === r
  1371. ? e
  1372. : '__v_raw' === r
  1373. ? t
  1374. : Reflect.get(hasOwn$2(n, r) && r in t ? n : t, r, a)
  1375. }
  1376. }
  1377. var mutableCollectionHandlers = { get: createInstrumentationGetter(!1, !1) },
  1378. shallowCollectionHandlers = { get: createInstrumentationGetter(!1, !0) },
  1379. readonlyCollectionHandlers = { get: createInstrumentationGetter(!0, !1) },
  1380. shallowReadonlyCollectionHandlers = { get: createInstrumentationGetter(!0, !0) },
  1381. reactiveMap = new WeakMap(),
  1382. shallowReactiveMap = new WeakMap(),
  1383. readonlyMap = new WeakMap(),
  1384. shallowReadonlyMap = new WeakMap()
  1385. function targetTypeMap(e) {
  1386. switch (e) {
  1387. case 'Object':
  1388. case 'Array':
  1389. return 1
  1390. case 'Map':
  1391. case 'Set':
  1392. case 'WeakMap':
  1393. case 'WeakSet':
  1394. return 2
  1395. default:
  1396. return 0
  1397. }
  1398. }
  1399. function getTargetType(e) {
  1400. return e.__v_skip || !Object.isExtensible(e) ? 0 : targetTypeMap(toRawType(e))
  1401. }
  1402. function reactive(e) {
  1403. return e && e.__v_isReadonly
  1404. ? e
  1405. : createReactiveObject(e, !1, mutableHandlers, mutableCollectionHandlers, reactiveMap)
  1406. }
  1407. function shallowReactive(e) {
  1408. return createReactiveObject(
  1409. e,
  1410. !1,
  1411. shallowReactiveHandlers,
  1412. shallowCollectionHandlers,
  1413. shallowReactiveMap
  1414. )
  1415. }
  1416. function readonly(e) {
  1417. return createReactiveObject(
  1418. e,
  1419. !0,
  1420. readonlyHandlers,
  1421. readonlyCollectionHandlers,
  1422. readonlyMap
  1423. )
  1424. }
  1425. function shallowReadonly(e) {
  1426. return createReactiveObject(
  1427. e,
  1428. !0,
  1429. shallowReadonlyHandlers,
  1430. shallowReadonlyCollectionHandlers,
  1431. shallowReadonlyMap
  1432. )
  1433. }
  1434. function createReactiveObject(e, t, n, r, a) {
  1435. if (!isObject$2(e)) return e
  1436. if (e.__v_raw && (!t || !e.__v_isReactive)) return e
  1437. var o = a.get(e)
  1438. if (o) return o
  1439. var i = getTargetType(e)
  1440. if (0 === i) return e
  1441. var s = new Proxy(e, 2 === i ? r : n)
  1442. return a.set(e, s), s
  1443. }
  1444. function isReactive(e) {
  1445. return isReadonly(e) ? isReactive(e.__v_raw) : !(!e || !e.__v_isReactive)
  1446. }
  1447. function isReadonly(e) {
  1448. return !(!e || !e.__v_isReadonly)
  1449. }
  1450. function isProxy(e) {
  1451. return isReactive(e) || isReadonly(e)
  1452. }
  1453. function toRaw(e) {
  1454. var t = e && e.__v_raw
  1455. return t ? toRaw(t) : e
  1456. }
  1457. function markRaw(e) {
  1458. return def(e, '__v_skip', !0), e
  1459. }
  1460. var toReactive = function (e) {
  1461. return isObject$2(e) ? reactive(e) : e
  1462. },
  1463. toReadonly = function (e) {
  1464. return isObject$2(e) ? readonly(e) : e
  1465. }
  1466. function trackRefValue(e) {
  1467. isTracking() && ((e = toRaw(e)).dep || (e.dep = createDep()), trackEffects(e.dep))
  1468. }
  1469. function triggerRefValue(e, t) {
  1470. ;(e = toRaw(e)).dep && triggerEffects(e.dep)
  1471. }
  1472. function isRef(e) {
  1473. return Boolean(e && !0 === e.__v_isRef)
  1474. }
  1475. function ref(e) {
  1476. return createRef(e, !1)
  1477. }
  1478. function shallowRef(e) {
  1479. return createRef(e, !0)
  1480. }
  1481. function createRef(e, t) {
  1482. return isRef(e) ? e : new RefImpl(e, t)
  1483. }
  1484. var RefImpl = (function () {
  1485. function e(t, n) {
  1486. _classCallCheck2(this, e),
  1487. (this._shallow = n),
  1488. (this.dep = void 0),
  1489. (this.__v_isRef = !0),
  1490. (this._rawValue = n ? t : toRaw(t)),
  1491. (this._value = n ? t : toReactive(t))
  1492. }
  1493. return (
  1494. _createClass2(e, [
  1495. {
  1496. key: 'value',
  1497. get: function () {
  1498. return trackRefValue(this), this._value
  1499. },
  1500. set: function (e) {
  1501. ;(e = this._shallow ? e : toRaw(e)),
  1502. hasChanged(e, this._rawValue) &&
  1503. ((this._rawValue = e),
  1504. (this._value = this._shallow ? e : toReactive(e)),
  1505. triggerRefValue(this))
  1506. }
  1507. }
  1508. ]),
  1509. e
  1510. )
  1511. })()
  1512. function triggerRef(e) {
  1513. triggerRefValue(e)
  1514. }
  1515. function unref(e) {
  1516. return isRef(e) ? e.value : e
  1517. }
  1518. var shallowUnwrapHandlers = {
  1519. get: function (e, t, n) {
  1520. return unref(Reflect.get(e, t, n))
  1521. },
  1522. set: function (e, t, n, r) {
  1523. var a = e[t]
  1524. return isRef(a) && !isRef(n) ? ((a.value = n), !0) : Reflect.set(e, t, n, r)
  1525. }
  1526. }
  1527. function proxyRefs(e) {
  1528. return isReactive(e) ? e : new Proxy(e, shallowUnwrapHandlers)
  1529. }
  1530. var CustomRefImpl = (function () {
  1531. function e(t) {
  1532. var n = this
  1533. _classCallCheck2(this, e), (this.dep = void 0), (this.__v_isRef = !0)
  1534. var r = t(
  1535. function () {
  1536. return trackRefValue(n)
  1537. },
  1538. function () {
  1539. return triggerRefValue(n)
  1540. }
  1541. ),
  1542. a = r.get,
  1543. o = r.set
  1544. ;(this._get = a), (this._set = o)
  1545. }
  1546. return (
  1547. _createClass2(e, [
  1548. {
  1549. key: 'value',
  1550. get: function () {
  1551. return this._get()
  1552. },
  1553. set: function (e) {
  1554. this._set(e)
  1555. }
  1556. }
  1557. ]),
  1558. e
  1559. )
  1560. })()
  1561. function customRef(e) {
  1562. return new CustomRefImpl(e)
  1563. }
  1564. function toRefs(e) {
  1565. var t = isArray$5(e) ? new Array(e.length) : {}
  1566. for (var n in e) t[n] = toRef(e, n)
  1567. return t
  1568. }
  1569. var ObjectRefImpl = (function () {
  1570. function e(t, n, r) {
  1571. _classCallCheck2(this, e),
  1572. (this._object = t),
  1573. (this._key = n),
  1574. (this._defaultValue = r),
  1575. (this.__v_isRef = !0)
  1576. }
  1577. return (
  1578. _createClass2(e, [
  1579. {
  1580. key: 'value',
  1581. get: function () {
  1582. var e = this._object[this._key]
  1583. return void 0 === e ? this._defaultValue : e
  1584. },
  1585. set: function (e) {
  1586. this._object[this._key] = e
  1587. }
  1588. }
  1589. ]),
  1590. e
  1591. )
  1592. })()
  1593. function toRef(e, t, n) {
  1594. var r = e[t]
  1595. return isRef(r) ? r : new ObjectRefImpl(e, t, n)
  1596. }
  1597. var ComputedRefImpl = (function () {
  1598. function e(t, n, r) {
  1599. var a = this
  1600. _classCallCheck2(this, e),
  1601. (this._setter = n),
  1602. (this.dep = void 0),
  1603. (this._dirty = !0),
  1604. (this.__v_isRef = !0),
  1605. (this.effect = new ReactiveEffect(t, function () {
  1606. a._dirty || ((a._dirty = !0), triggerRefValue(a))
  1607. })),
  1608. (this.__v_isReadonly = r)
  1609. }
  1610. return (
  1611. _createClass2(e, [
  1612. {
  1613. key: 'value',
  1614. get: function () {
  1615. var e = toRaw(this)
  1616. return (
  1617. trackRefValue(e),
  1618. e._dirty && ((e._dirty = !1), (e._value = e.effect.run())),
  1619. e._value
  1620. )
  1621. },
  1622. set: function (e) {
  1623. this._setter(e)
  1624. }
  1625. }
  1626. ]),
  1627. e
  1628. )
  1629. })(),
  1630. devtools
  1631. function computed(e, t) {
  1632. var n,
  1633. r,
  1634. a = isFunction$1(e)
  1635. return (
  1636. a ? ((n = e), (r = NOOP)) : ((n = e.get), (r = e.set)),
  1637. new ComputedRefImpl(n, r, a || !r)
  1638. )
  1639. }
  1640. Promise.resolve(), exports('cq', devtools)
  1641. var buffer = []
  1642. function setDevtoolsHook(e, t) {
  1643. var n, r
  1644. if ((exports('cq', (devtools = e)), devtools))
  1645. (devtools.enabled = !0),
  1646. buffer.forEach(function (e) {
  1647. var t,
  1648. n = e.event,
  1649. r = e.args
  1650. return (t = devtools).emit.apply(t, [n].concat(_toConsumableArray2(r)))
  1651. }),
  1652. (buffer = [])
  1653. else if (
  1654. 'undefined' != typeof window &&
  1655. window.HTMLElement &&
  1656. !(null ===
  1657. (r = null === (n = window.navigator) || void 0 === n ? void 0 : n.userAgent) ||
  1658. void 0 === r
  1659. ? void 0
  1660. : r.includes('jsdom'))
  1661. ) {
  1662. ;(t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push(
  1663. function (e) {
  1664. setDevtoolsHook(e, t)
  1665. }
  1666. ),
  1667. setTimeout(function () {
  1668. devtools || ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null), (buffer = []))
  1669. }, 3e3)
  1670. } else buffer = []
  1671. }
  1672. function emit$1(e, t) {
  1673. for (
  1674. var n = e.vnode.props || EMPTY_OBJ,
  1675. r = arguments.length,
  1676. a = new Array(r > 2 ? r - 2 : 0),
  1677. o = 2;
  1678. o < r;
  1679. o++
  1680. )
  1681. a[o - 2] = arguments[o]
  1682. var i,
  1683. s = a,
  1684. l = t.startsWith('update:'),
  1685. c = l && t.slice(7)
  1686. if (c && c in n) {
  1687. var u = ''.concat('modelValue' === c ? 'model' : c, 'Modifiers'),
  1688. p = n[u] || EMPTY_OBJ,
  1689. d = p.number,
  1690. f = p.trim
  1691. f
  1692. ? (s = a.map(function (e) {
  1693. return e.trim()
  1694. }))
  1695. : d && (s = a.map(toNumber))
  1696. }
  1697. var h = n[(i = toHandlerKey(t))] || n[(i = toHandlerKey(camelize$1(t)))]
  1698. !h && l && (h = n[(i = toHandlerKey(hyphenate(t)))]),
  1699. h && callWithAsyncErrorHandling(h, e, 6, s)
  1700. var v = n[i + 'Once']
  1701. if (v) {
  1702. if (e.emitted) {
  1703. if (e.emitted[i]) return
  1704. } else e.emitted = {}
  1705. ;(e.emitted[i] = !0), callWithAsyncErrorHandling(v, e, 6, s)
  1706. }
  1707. }
  1708. function normalizeEmitsOptions(e, t) {
  1709. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  1710. r = t.emitsCache,
  1711. a = r.get(e)
  1712. if (void 0 !== a) return a
  1713. var o = e.emits,
  1714. i = {},
  1715. s = !1
  1716. if (!isFunction$1(e)) {
  1717. var l = function (e) {
  1718. var n = normalizeEmitsOptions(e, t, !0)
  1719. n && ((s = !0), extend$2(i, n))
  1720. }
  1721. !n && t.mixins.length && t.mixins.forEach(l),
  1722. e.extends && l(e.extends),
  1723. e.mixins && e.mixins.forEach(l)
  1724. }
  1725. return o || s
  1726. ? (isArray$5(o)
  1727. ? o.forEach(function (e) {
  1728. return (i[e] = null)
  1729. })
  1730. : extend$2(i, o),
  1731. r.set(e, i),
  1732. i)
  1733. : (r.set(e, null), null)
  1734. }
  1735. function isEmitListener(e, t) {
  1736. return (
  1737. !(!e || !isOn(t)) &&
  1738. ((t = t.slice(2).replace(/Once$/, '')),
  1739. hasOwn$2(e, t[0].toLowerCase() + t.slice(1)) ||
  1740. hasOwn$2(e, hyphenate(t)) ||
  1741. hasOwn$2(e, t))
  1742. )
  1743. }
  1744. var currentRenderingInstance = null,
  1745. currentScopeId = null
  1746. function setCurrentRenderingInstance(e) {
  1747. var t = currentRenderingInstance
  1748. return (
  1749. (currentRenderingInstance = e), (currentScopeId = (e && e.type.__scopeId) || null), t
  1750. )
  1751. }
  1752. function pushScopeId(e) {
  1753. currentScopeId = e
  1754. }
  1755. function popScopeId() {
  1756. currentScopeId = null
  1757. }
  1758. var withScopeId = exports('d4', function (e) {
  1759. return withCtx
  1760. })
  1761. function withCtx(e) {
  1762. var t =
  1763. arguments.length > 1 && void 0 !== arguments[1]
  1764. ? arguments[1]
  1765. : currentRenderingInstance
  1766. if (!t) return e
  1767. if (e._n) return e
  1768. var n = function n() {
  1769. n._d && setBlockTracking(-1)
  1770. var r = setCurrentRenderingInstance(t),
  1771. a = e.apply(void 0, arguments)
  1772. return setCurrentRenderingInstance(r), n._d && setBlockTracking(1), a
  1773. }
  1774. return (n._n = !0), (n._c = !0), (n._d = !0), n
  1775. }
  1776. function markAttrsAccessed() {}
  1777. function renderComponentRoot(e) {
  1778. var t,
  1779. n,
  1780. r = e.type,
  1781. a = e.vnode,
  1782. o = e.proxy,
  1783. i = e.withProxy,
  1784. s = e.props,
  1785. l = _slicedToArray(e.propsOptions, 1)[0],
  1786. c = e.slots,
  1787. u = e.attrs,
  1788. p = e.emit,
  1789. d = e.render,
  1790. f = e.renderCache,
  1791. h = e.data,
  1792. v = e.setupState,
  1793. m = e.ctx,
  1794. g = e.inheritAttrs,
  1795. y = setCurrentRenderingInstance(e)
  1796. try {
  1797. if (4 & a.shapeFlag) {
  1798. var b = i || o
  1799. ;(t = normalizeVNode(d.call(b, b, f, s, v, h, m))), (n = u)
  1800. } else {
  1801. var _ = r
  1802. 0,
  1803. (t = normalizeVNode(
  1804. _.length > 1 ? _(s, { attrs: u, slots: c, emit: p }) : _(s, null)
  1805. )),
  1806. (n = r.props ? u : getFunctionalFallthrough(u))
  1807. }
  1808. } catch (k) {
  1809. ;(blockStack.length = 0), handleError(k, e, 1), (t = createVNode(Comment))
  1810. }
  1811. var A = t
  1812. if (n && !1 !== g) {
  1813. var x = Object.keys(n),
  1814. w = A.shapeFlag
  1815. x.length &&
  1816. 7 & w &&
  1817. (l && x.some(isModelListener) && (n = filterModelListeners(n, l)),
  1818. (A = cloneVNode(A, n)))
  1819. }
  1820. return (
  1821. a.dirs && (A.dirs = A.dirs ? A.dirs.concat(a.dirs) : a.dirs),
  1822. a.transition && (A.transition = a.transition),
  1823. (t = A),
  1824. setCurrentRenderingInstance(y),
  1825. t
  1826. )
  1827. }
  1828. function filterSingleRoot(e) {
  1829. for (var t, n = 0; n < e.length; n++) {
  1830. var r = e[n]
  1831. if (!isVNode(r)) return
  1832. if (r.type !== Comment || 'v-if' === r.children) {
  1833. if (t) return
  1834. t = r
  1835. }
  1836. }
  1837. return t
  1838. }
  1839. var getFunctionalFallthrough = function (e) {
  1840. var t
  1841. for (var n in e)
  1842. ('class' === n || 'style' === n || isOn(n)) && ((t || (t = {}))[n] = e[n])
  1843. return t
  1844. },
  1845. filterModelListeners = function (e, t) {
  1846. var n = {}
  1847. for (var r in e) (isModelListener(r) && r.slice(9) in t) || (n[r] = e[r])
  1848. return n
  1849. }
  1850. function shouldUpdateComponent(e, t, n) {
  1851. var r = e.props,
  1852. a = e.children,
  1853. o = e.component,
  1854. i = t.props,
  1855. s = t.children,
  1856. l = t.patchFlag,
  1857. c = o.emitsOptions
  1858. if (t.dirs || t.transition) return !0
  1859. if (!(n && l >= 0))
  1860. return (
  1861. !((!a && !s) || (s && s.$stable)) ||
  1862. (r !== i && (r ? !i || hasPropsChanged(r, i, c) : !!i))
  1863. )
  1864. if (1024 & l) return !0
  1865. if (16 & l) return r ? hasPropsChanged(r, i, c) : !!i
  1866. if (8 & l)
  1867. for (var u = t.dynamicProps, p = 0; p < u.length; p++) {
  1868. var d = u[p]
  1869. if (i[d] !== r[d] && !isEmitListener(c, d)) return !0
  1870. }
  1871. return !1
  1872. }
  1873. function hasPropsChanged(e, t, n) {
  1874. var r = Object.keys(t)
  1875. if (r.length !== Object.keys(e).length) return !0
  1876. for (var a = 0; a < r.length; a++) {
  1877. var o = r[a]
  1878. if (t[o] !== e[o] && !isEmitListener(n, o)) return !0
  1879. }
  1880. return !1
  1881. }
  1882. function updateHOCHostEl(e, t) {
  1883. for (var n = e.vnode, r = e.parent; r && r.subTree === n; )
  1884. ((n = r.vnode).el = t), (r = r.parent)
  1885. }
  1886. var isSuspense = function (e) {
  1887. return e.__isSuspense
  1888. },
  1889. SuspenseImpl = {
  1890. name: 'Suspense',
  1891. __isSuspense: !0,
  1892. process: function (e, t, n, r, a, o, i, s, l, c) {
  1893. null == e
  1894. ? mountSuspense(t, n, r, a, o, i, s, l, c)
  1895. : patchSuspense(e, t, n, r, a, i, s, l, c)
  1896. },
  1897. hydrate: hydrateSuspense,
  1898. create: createSuspenseBoundary,
  1899. normalize: normalizeSuspenseChildren
  1900. },
  1901. Suspense = exports('ca', SuspenseImpl)
  1902. function triggerEvent(e, t) {
  1903. var n = e.props && e.props[t]
  1904. isFunction$1(n) && n()
  1905. }
  1906. function mountSuspense(e, t, n, r, a, o, i, s, l) {
  1907. var c = l.p,
  1908. u = (0, l.o.createElement)('div'),
  1909. p = (e.suspense = createSuspenseBoundary(e, a, r, t, u, n, o, i, s, l))
  1910. c(null, (p.pendingBranch = e.ssContent), u, null, r, p, o, i),
  1911. p.deps > 0
  1912. ? (triggerEvent(e, 'onPending'),
  1913. triggerEvent(e, 'onFallback'),
  1914. c(null, e.ssFallback, t, n, r, null, o, i),
  1915. setActiveBranch(p, e.ssFallback))
  1916. : p.resolve()
  1917. }
  1918. function patchSuspense(e, t, n, r, a, o, i, s, l) {
  1919. var c = l.p,
  1920. u = l.um,
  1921. p = l.o.createElement,
  1922. d = (t.suspense = e.suspense)
  1923. ;(d.vnode = t), (t.el = e.el)
  1924. var f = t.ssContent,
  1925. h = t.ssFallback,
  1926. v = d.activeBranch,
  1927. m = d.pendingBranch,
  1928. g = d.isInFallback,
  1929. y = d.isHydrating
  1930. if (m)
  1931. (d.pendingBranch = f),
  1932. isSameVNodeType(f, m)
  1933. ? (c(m, f, d.hiddenContainer, null, a, d, o, i, s),
  1934. d.deps <= 0
  1935. ? d.resolve()
  1936. : g && (c(v, h, n, r, a, null, o, i, s), setActiveBranch(d, h)))
  1937. : (d.pendingId++,
  1938. y ? ((d.isHydrating = !1), (d.activeBranch = m)) : u(m, a, d),
  1939. (d.deps = 0),
  1940. (d.effects.length = 0),
  1941. (d.hiddenContainer = p('div')),
  1942. g
  1943. ? (c(null, f, d.hiddenContainer, null, a, d, o, i, s),
  1944. d.deps <= 0
  1945. ? d.resolve()
  1946. : (c(v, h, n, r, a, null, o, i, s), setActiveBranch(d, h)))
  1947. : v && isSameVNodeType(f, v)
  1948. ? (c(v, f, n, r, a, d, o, i, s), d.resolve(!0))
  1949. : (c(null, f, d.hiddenContainer, null, a, d, o, i, s),
  1950. d.deps <= 0 && d.resolve()))
  1951. else if (v && isSameVNodeType(f, v)) c(v, f, n, r, a, d, o, i, s), setActiveBranch(d, f)
  1952. else if (
  1953. (triggerEvent(t, 'onPending'),
  1954. (d.pendingBranch = f),
  1955. d.pendingId++,
  1956. c(null, f, d.hiddenContainer, null, a, d, o, i, s),
  1957. d.deps <= 0)
  1958. )
  1959. d.resolve()
  1960. else {
  1961. var b = d.timeout,
  1962. _ = d.pendingId
  1963. b > 0
  1964. ? setTimeout(function () {
  1965. d.pendingId === _ && d.fallback(h)
  1966. }, b)
  1967. : 0 === b && d.fallback(h)
  1968. }
  1969. }
  1970. function createSuspenseBoundary(e, t, n, r, a, o, i, s, l, c) {
  1971. var u = arguments.length > 10 && void 0 !== arguments[10] && arguments[10],
  1972. p = c.p,
  1973. d = c.m,
  1974. f = c.um,
  1975. h = c.n,
  1976. v = c.o,
  1977. m = v.parentNode,
  1978. g = v.remove,
  1979. y = toNumber(e.props && e.props.timeout),
  1980. b = {
  1981. vnode: e,
  1982. parent: t,
  1983. parentComponent: n,
  1984. isSVG: i,
  1985. container: r,
  1986. hiddenContainer: a,
  1987. anchor: o,
  1988. deps: 0,
  1989. pendingId: 0,
  1990. timeout: 'number' == typeof y ? y : -1,
  1991. activeBranch: null,
  1992. pendingBranch: null,
  1993. isInFallback: !0,
  1994. isHydrating: u,
  1995. isUnmounted: !1,
  1996. effects: [],
  1997. resolve: function () {
  1998. var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
  1999. t = b.vnode,
  2000. n = b.activeBranch,
  2001. r = b.pendingBranch,
  2002. a = b.pendingId,
  2003. o = b.effects,
  2004. i = b.parentComponent,
  2005. s = b.container
  2006. if (b.isHydrating) b.isHydrating = !1
  2007. else if (!e) {
  2008. var l = n && r.transition && 'out-in' === r.transition.mode
  2009. l &&
  2010. (n.transition.afterLeave = function () {
  2011. a === b.pendingId && d(r, s, c, 0)
  2012. })
  2013. var c = b.anchor
  2014. n && ((c = h(n)), f(n, i, b, !0)), l || d(r, s, c, 0)
  2015. }
  2016. setActiveBranch(b, r), (b.pendingBranch = null), (b.isInFallback = !1)
  2017. for (var u = b.parent, p = !1; u; ) {
  2018. if (u.pendingBranch) {
  2019. var v
  2020. ;(v = u.effects).push.apply(v, _toConsumableArray2(o)), (p = !0)
  2021. break
  2022. }
  2023. u = u.parent
  2024. }
  2025. p || queuePostFlushCb(o), (b.effects = []), triggerEvent(t, 'onResolve')
  2026. },
  2027. fallback: function (e) {
  2028. if (b.pendingBranch) {
  2029. var t = b.vnode,
  2030. n = b.activeBranch,
  2031. r = b.parentComponent,
  2032. a = b.container,
  2033. o = b.isSVG
  2034. triggerEvent(t, 'onFallback')
  2035. var i = h(n),
  2036. c = function () {
  2037. b.isInFallback &&
  2038. (p(null, e, a, i, r, null, o, s, l), setActiveBranch(b, e))
  2039. },
  2040. u = e.transition && 'out-in' === e.transition.mode
  2041. u && (n.transition.afterLeave = c),
  2042. (b.isInFallback = !0),
  2043. f(n, r, null, !0),
  2044. u || c()
  2045. }
  2046. },
  2047. move: function (e, t, n) {
  2048. b.activeBranch && d(b.activeBranch, e, t, n), (b.container = e)
  2049. },
  2050. next: function () {
  2051. return b.activeBranch && h(b.activeBranch)
  2052. },
  2053. registerDep: function (e, t) {
  2054. var n = !!b.pendingBranch
  2055. n && b.deps++
  2056. var r = e.vnode.el
  2057. e.asyncDep
  2058. .catch(function (t) {
  2059. handleError(t, e, 0)
  2060. })
  2061. .then(function (a) {
  2062. if (!e.isUnmounted && !b.isUnmounted && b.pendingId === e.suspenseId) {
  2063. e.asyncResolved = !0
  2064. var o = e.vnode
  2065. handleSetupResult(e, a, !1), r && (o.el = r)
  2066. var s = !r && e.subTree.el
  2067. t(e, o, m(r || e.subTree.el), r ? null : h(e.subTree), b, i, l),
  2068. s && g(s),
  2069. updateHOCHostEl(e, o.el),
  2070. n && 0 == --b.deps && b.resolve()
  2071. }
  2072. })
  2073. },
  2074. unmount: function (e, t) {
  2075. ;(b.isUnmounted = !0),
  2076. b.activeBranch && f(b.activeBranch, n, e, t),
  2077. b.pendingBranch && f(b.pendingBranch, n, e, t)
  2078. }
  2079. }
  2080. return b
  2081. }
  2082. function hydrateSuspense(e, t, n, r, a, o, i, s, l) {
  2083. var c = (t.suspense = createSuspenseBoundary(
  2084. t,
  2085. r,
  2086. n,
  2087. e.parentNode,
  2088. document.createElement('div'),
  2089. null,
  2090. a,
  2091. o,
  2092. i,
  2093. s,
  2094. !0
  2095. )),
  2096. u = l(e, (c.pendingBranch = t.ssContent), n, c, o, i)
  2097. return 0 === c.deps && c.resolve(), u
  2098. }
  2099. function normalizeSuspenseChildren(e) {
  2100. var t = e.shapeFlag,
  2101. n = e.children,
  2102. r = 32 & t
  2103. ;(e.ssContent = normalizeSuspenseSlot(r ? n.default : n)),
  2104. (e.ssFallback = r ? normalizeSuspenseSlot(n.fallback) : createVNode(Comment))
  2105. }
  2106. function normalizeSuspenseSlot(e) {
  2107. var t
  2108. if (isFunction$1(e)) {
  2109. var n = isBlockTreeEnabled && e._c
  2110. n && ((e._d = !1), openBlock()),
  2111. (e = e()),
  2112. n && ((e._d = !0), (t = currentBlock), closeBlock())
  2113. }
  2114. if (isArray$5(e)) {
  2115. var r = filterSingleRoot(e)
  2116. e = r
  2117. }
  2118. return (
  2119. (e = normalizeVNode(e)),
  2120. t &&
  2121. !e.dynamicChildren &&
  2122. (e.dynamicChildren = t.filter(function (t) {
  2123. return t !== e
  2124. })),
  2125. e
  2126. )
  2127. }
  2128. function queueEffectWithSuspense(e, t) {
  2129. var n
  2130. t && t.pendingBranch
  2131. ? isArray$5(e)
  2132. ? (n = t.effects).push.apply(n, _toConsumableArray2(e))
  2133. : t.effects.push(e)
  2134. : queuePostFlushCb(e)
  2135. }
  2136. function setActiveBranch(e, t) {
  2137. e.activeBranch = t
  2138. var n = e.vnode,
  2139. r = e.parentComponent,
  2140. a = (n.el = t.el)
  2141. r && r.subTree === n && ((r.vnode.el = a), updateHOCHostEl(r, a))
  2142. }
  2143. function provide(e, t) {
  2144. if (currentInstance) {
  2145. var n = currentInstance.provides,
  2146. r = currentInstance.parent && currentInstance.parent.provides
  2147. r === n && (n = currentInstance.provides = Object.create(r)), (n[e] = t)
  2148. } else;
  2149. }
  2150. function inject(e, t) {
  2151. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  2152. r = currentInstance || currentRenderingInstance
  2153. if (r) {
  2154. var a =
  2155. null == r.parent
  2156. ? r.vnode.appContext && r.vnode.appContext.provides
  2157. : r.parent.provides
  2158. if (a && e in a) return a[e]
  2159. if (arguments.length > 1) return n && isFunction$1(t) ? t.call(r.proxy) : t
  2160. }
  2161. }
  2162. function useTransitionState() {
  2163. var e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: new Map() }
  2164. return (
  2165. onMounted(function () {
  2166. e.isMounted = !0
  2167. }),
  2168. onBeforeUnmount(function () {
  2169. e.isUnmounting = !0
  2170. }),
  2171. e
  2172. )
  2173. }
  2174. var TransitionHookValidator = [Function, Array],
  2175. BaseTransitionImpl = {
  2176. name: 'BaseTransition',
  2177. props: {
  2178. mode: String,
  2179. appear: Boolean,
  2180. persisted: Boolean,
  2181. onBeforeEnter: TransitionHookValidator,
  2182. onEnter: TransitionHookValidator,
  2183. onAfterEnter: TransitionHookValidator,
  2184. onEnterCancelled: TransitionHookValidator,
  2185. onBeforeLeave: TransitionHookValidator,
  2186. onLeave: TransitionHookValidator,
  2187. onAfterLeave: TransitionHookValidator,
  2188. onLeaveCancelled: TransitionHookValidator,
  2189. onBeforeAppear: TransitionHookValidator,
  2190. onAppear: TransitionHookValidator,
  2191. onAfterAppear: TransitionHookValidator,
  2192. onAppearCancelled: TransitionHookValidator
  2193. },
  2194. setup: function (e, t) {
  2195. var n,
  2196. r = t.slots,
  2197. a = getCurrentInstance(),
  2198. o = useTransitionState()
  2199. return function () {
  2200. var t = r.default && getTransitionRawChildren(r.default(), !0)
  2201. if (t && t.length) {
  2202. var i = toRaw(e),
  2203. s = i.mode,
  2204. l = t[0]
  2205. if (o.isLeaving) return emptyPlaceholder(l)
  2206. var c = getKeepAliveChild(l)
  2207. if (!c) return emptyPlaceholder(l)
  2208. var u = resolveTransitionHooks(c, i, o, a)
  2209. setTransitionHooks(c, u)
  2210. var p = a.subTree,
  2211. d = p && getKeepAliveChild(p),
  2212. f = !1,
  2213. h = c.type.getTransitionKey
  2214. if (h) {
  2215. var v = h()
  2216. void 0 === n ? (n = v) : v !== n && ((n = v), (f = !0))
  2217. }
  2218. if (d && d.type !== Comment && (!isSameVNodeType(c, d) || f)) {
  2219. var m = resolveTransitionHooks(d, i, o, a)
  2220. if ((setTransitionHooks(d, m), 'out-in' === s))
  2221. return (
  2222. (o.isLeaving = !0),
  2223. (m.afterLeave = function () {
  2224. ;(o.isLeaving = !1), a.update()
  2225. }),
  2226. emptyPlaceholder(l)
  2227. )
  2228. 'in-out' === s &&
  2229. c.type !== Comment &&
  2230. (m.delayLeave = function (e, t, n) {
  2231. ;(getLeavingNodesForType(o, d)[String(d.key)] = d),
  2232. (e._leaveCb = function () {
  2233. t(), (e._leaveCb = void 0), delete u.delayedLeave
  2234. }),
  2235. (u.delayedLeave = n)
  2236. })
  2237. }
  2238. return l
  2239. }
  2240. }
  2241. }
  2242. },
  2243. BaseTransition = exports('c6', BaseTransitionImpl)
  2244. function getLeavingNodesForType(e, t) {
  2245. var n = e.leavingVNodes,
  2246. r = n.get(t.type)
  2247. return r || ((r = Object.create(null)), n.set(t.type, r)), r
  2248. }
  2249. function resolveTransitionHooks(e, t, n, r) {
  2250. var a = t.appear,
  2251. o = t.mode,
  2252. i = t.persisted,
  2253. s = void 0 !== i && i,
  2254. l = t.onBeforeEnter,
  2255. c = t.onEnter,
  2256. u = t.onAfterEnter,
  2257. p = t.onEnterCancelled,
  2258. d = t.onBeforeLeave,
  2259. f = t.onLeave,
  2260. h = t.onAfterLeave,
  2261. v = t.onLeaveCancelled,
  2262. m = t.onBeforeAppear,
  2263. g = t.onAppear,
  2264. y = t.onAfterAppear,
  2265. b = t.onAppearCancelled,
  2266. _ = String(e.key),
  2267. A = getLeavingNodesForType(n, e),
  2268. x = function (e, t) {
  2269. e && callWithAsyncErrorHandling(e, r, 9, t)
  2270. },
  2271. w = {
  2272. mode: o,
  2273. persisted: s,
  2274. beforeEnter: function (t) {
  2275. var r = l
  2276. if (!n.isMounted) {
  2277. if (!a) return
  2278. r = m || l
  2279. }
  2280. t._leaveCb && t._leaveCb(!0)
  2281. var o = A[_]
  2282. o && isSameVNodeType(e, o) && o.el._leaveCb && o.el._leaveCb(), x(r, [t])
  2283. },
  2284. enter: function (e) {
  2285. var t = c,
  2286. r = u,
  2287. o = p
  2288. if (!n.isMounted) {
  2289. if (!a) return
  2290. ;(t = g || c), (r = y || u), (o = b || p)
  2291. }
  2292. var i = !1,
  2293. s = (e._enterCb = function (t) {
  2294. i ||
  2295. ((i = !0),
  2296. x(t ? o : r, [e]),
  2297. w.delayedLeave && w.delayedLeave(),
  2298. (e._enterCb = void 0))
  2299. })
  2300. t ? (t(e, s), t.length <= 1 && s()) : s()
  2301. },
  2302. leave: function (t, r) {
  2303. var a = String(e.key)
  2304. if ((t._enterCb && t._enterCb(!0), n.isUnmounting)) return r()
  2305. x(d, [t])
  2306. var o = !1,
  2307. i = (t._leaveCb = function (n) {
  2308. o ||
  2309. ((o = !0),
  2310. r(),
  2311. x(n ? v : h, [t]),
  2312. (t._leaveCb = void 0),
  2313. A[a] === e && delete A[a])
  2314. })
  2315. ;(A[a] = e), f ? (f(t, i), f.length <= 1 && i()) : i()
  2316. },
  2317. clone: function (e) {
  2318. return resolveTransitionHooks(e, t, n, r)
  2319. }
  2320. }
  2321. return w
  2322. }
  2323. function emptyPlaceholder(e) {
  2324. if (isKeepAlive(e)) return ((e = cloneVNode(e)).children = null), e
  2325. }
  2326. function getKeepAliveChild(e) {
  2327. return isKeepAlive(e) ? (e.children ? e.children[0] : void 0) : e
  2328. }
  2329. function setTransitionHooks(e, t) {
  2330. 6 & e.shapeFlag && e.component
  2331. ? setTransitionHooks(e.component.subTree, t)
  2332. : 128 & e.shapeFlag
  2333. ? ((e.ssContent.transition = t.clone(e.ssContent)),
  2334. (e.ssFallback.transition = t.clone(e.ssFallback)))
  2335. : (e.transition = t)
  2336. }
  2337. function getTransitionRawChildren(e) {
  2338. for (
  2339. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
  2340. n = [],
  2341. r = 0,
  2342. a = 0;
  2343. a < e.length;
  2344. a++
  2345. ) {
  2346. var o = e[a]
  2347. o.type === Fragment
  2348. ? (128 & o.patchFlag && r++,
  2349. (n = n.concat(getTransitionRawChildren(o.children, t))))
  2350. : (t || o.type !== Comment) && n.push(o)
  2351. }
  2352. if (r > 1) for (var i = 0; i < n.length; i++) n[i].patchFlag = -2
  2353. return n
  2354. }
  2355. function defineComponent(e) {
  2356. return isFunction$1(e) ? { setup: e, name: e.name } : e
  2357. }
  2358. var isAsyncWrapper = function (e) {
  2359. return !!e.type.__asyncLoader
  2360. }
  2361. function defineAsyncComponent(e) {
  2362. isFunction$1(e) && (e = { loader: e })
  2363. var t,
  2364. n = e,
  2365. r = n.loader,
  2366. a = n.loadingComponent,
  2367. o = n.errorComponent,
  2368. i = n.delay,
  2369. s = void 0 === i ? 200 : i,
  2370. l = n.timeout,
  2371. c = n.suspensible,
  2372. u = void 0 === c || c,
  2373. p = n.onError,
  2374. d = null,
  2375. f = 0,
  2376. h = function () {
  2377. return f++, (d = null), v()
  2378. },
  2379. v = function () {
  2380. var e
  2381. return (
  2382. d ||
  2383. (e = d =
  2384. r()
  2385. .catch(function (e) {
  2386. if (((e = e instanceof Error ? e : new Error(String(e))), p))
  2387. return new Promise(function (t, n) {
  2388. p(
  2389. e,
  2390. function () {
  2391. return t(h())
  2392. },
  2393. function () {
  2394. return n(e)
  2395. },
  2396. f + 1
  2397. )
  2398. })
  2399. throw e
  2400. })
  2401. .then(function (n) {
  2402. return e !== d && d
  2403. ? d
  2404. : (n &&
  2405. (n.__esModule || 'Module' === n[Symbol.toStringTag]) &&
  2406. (n = n.default),
  2407. (t = n),
  2408. n)
  2409. }))
  2410. )
  2411. }
  2412. return defineComponent({
  2413. name: 'AsyncComponentWrapper',
  2414. __asyncLoader: v,
  2415. get __asyncResolved() {
  2416. return t
  2417. },
  2418. setup: function () {
  2419. var e = currentInstance
  2420. if (t)
  2421. return function () {
  2422. return createInnerComp(t, e)
  2423. }
  2424. var n = function (t) {
  2425. ;(d = null), handleError(t, e, 13, !o)
  2426. }
  2427. if ((u && e.suspense) || isInSSRComponentSetup)
  2428. return v()
  2429. .then(function (t) {
  2430. return function () {
  2431. return createInnerComp(t, e)
  2432. }
  2433. })
  2434. .catch(function (e) {
  2435. return (
  2436. n(e),
  2437. function () {
  2438. return o ? createVNode(o, { error: e }) : null
  2439. }
  2440. )
  2441. })
  2442. var r = ref(!1),
  2443. i = ref(),
  2444. c = ref(!!s)
  2445. return (
  2446. s &&
  2447. setTimeout(function () {
  2448. c.value = !1
  2449. }, s),
  2450. null != l &&
  2451. setTimeout(function () {
  2452. if (!r.value && !i.value) {
  2453. var e = new Error('Async component timed out after '.concat(l, 'ms.'))
  2454. n(e), (i.value = e)
  2455. }
  2456. }, l),
  2457. v()
  2458. .then(function () {
  2459. ;(r.value = !0),
  2460. e.parent && isKeepAlive(e.parent.vnode) && queueJob(e.parent.update)
  2461. })
  2462. .catch(function (e) {
  2463. n(e), (i.value = e)
  2464. }),
  2465. function () {
  2466. return r.value && t
  2467. ? createInnerComp(t, e)
  2468. : i.value && o
  2469. ? createVNode(o, { error: i.value })
  2470. : a && !c.value
  2471. ? createVNode(a)
  2472. : void 0
  2473. }
  2474. )
  2475. }
  2476. })
  2477. }
  2478. function createInnerComp(e, t) {
  2479. var n = t.vnode,
  2480. r = n.ref,
  2481. a = n.props,
  2482. o = n.children,
  2483. i = createVNode(e, a, o)
  2484. return (i.ref = r), i
  2485. }
  2486. var isKeepAlive = function (e) {
  2487. return e.type.__isKeepAlive
  2488. },
  2489. KeepAliveImpl = {
  2490. name: 'KeepAlive',
  2491. __isKeepAlive: !0,
  2492. props: {
  2493. include: [String, RegExp, Array],
  2494. exclude: [String, RegExp, Array],
  2495. max: [String, Number]
  2496. },
  2497. setup: function (e, t) {
  2498. var n = t.slots,
  2499. r = getCurrentInstance(),
  2500. a = r.ctx
  2501. if (!a.renderer) return n.default
  2502. var o = new Map(),
  2503. i = new Set(),
  2504. s = null,
  2505. l = r.suspense,
  2506. c = a.renderer,
  2507. u = c.p,
  2508. p = c.m,
  2509. d = c.um,
  2510. f = (0, c.o.createElement)('div')
  2511. function h(e) {
  2512. resetShapeFlag(e), d(e, r, l)
  2513. }
  2514. function v(e) {
  2515. o.forEach(function (t, n) {
  2516. var r = getComponentName(t.type)
  2517. !r || (e && e(r)) || m(n)
  2518. })
  2519. }
  2520. function m(e) {
  2521. var t = o.get(e)
  2522. s && t.type === s.type ? s && resetShapeFlag(s) : h(t), o.delete(e), i.delete(e)
  2523. }
  2524. ;(a.activate = function (e, t, n, r, a) {
  2525. var o = e.component
  2526. p(e, t, n, 0, l),
  2527. u(o.vnode, e, t, n, o, l, r, e.slotScopeIds, a),
  2528. queuePostRenderEffect(function () {
  2529. ;(o.isDeactivated = !1), o.a && invokeArrayFns(o.a)
  2530. var t = e.props && e.props.onVnodeMounted
  2531. t && invokeVNodeHook(t, o.parent, e)
  2532. }, l)
  2533. }),
  2534. (a.deactivate = function (e) {
  2535. var t = e.component
  2536. p(e, f, null, 1, l),
  2537. queuePostRenderEffect(function () {
  2538. t.da && invokeArrayFns(t.da)
  2539. var n = e.props && e.props.onVnodeUnmounted
  2540. n && invokeVNodeHook(n, t.parent, e), (t.isDeactivated = !0)
  2541. }, l)
  2542. }),
  2543. watch(
  2544. function () {
  2545. return [e.include, e.exclude]
  2546. },
  2547. function (e) {
  2548. var t = _slicedToArray(e, 2),
  2549. n = t[0],
  2550. r = t[1]
  2551. n &&
  2552. v(function (e) {
  2553. return matches(n, e)
  2554. }),
  2555. r &&
  2556. v(function (e) {
  2557. return !matches(r, e)
  2558. })
  2559. },
  2560. { flush: 'post', deep: !0 }
  2561. )
  2562. var g = null,
  2563. y = function () {
  2564. null != g && o.set(g, getInnerChild(r.subTree))
  2565. }
  2566. return (
  2567. onMounted(y),
  2568. onUpdated(y),
  2569. onBeforeUnmount(function () {
  2570. o.forEach(function (e) {
  2571. var t = r.subTree,
  2572. n = r.suspense,
  2573. a = getInnerChild(t)
  2574. if (e.type !== a.type) h(e)
  2575. else {
  2576. resetShapeFlag(a)
  2577. var o = a.component.da
  2578. o && queuePostRenderEffect(o, n)
  2579. }
  2580. })
  2581. }),
  2582. function () {
  2583. if (((g = null), !n.default)) return null
  2584. var t = n.default(),
  2585. r = t[0]
  2586. if (t.length > 1) return (s = null), t
  2587. if (!(isVNode(r) && (4 & r.shapeFlag || 128 & r.shapeFlag)))
  2588. return (s = null), r
  2589. var a = getInnerChild(r),
  2590. l = a.type,
  2591. c = getComponentName(isAsyncWrapper(a) ? a.type.__asyncResolved || {} : l),
  2592. u = e.include,
  2593. p = e.exclude,
  2594. d = e.max
  2595. if ((u && (!c || !matches(u, c))) || (p && c && matches(p, c)))
  2596. return (s = a), r
  2597. var f = null == a.key ? l : a.key,
  2598. h = o.get(f)
  2599. return (
  2600. a.el && ((a = cloneVNode(a)), 128 & r.shapeFlag && (r.ssContent = a)),
  2601. (g = f),
  2602. h
  2603. ? ((a.el = h.el),
  2604. (a.component = h.component),
  2605. a.transition && setTransitionHooks(a, a.transition),
  2606. (a.shapeFlag |= 512),
  2607. i.delete(f),
  2608. i.add(f))
  2609. : (i.add(f), d && i.size > parseInt(d, 10) && m(i.values().next().value)),
  2610. (a.shapeFlag |= 256),
  2611. (s = a),
  2612. r
  2613. )
  2614. }
  2615. )
  2616. }
  2617. },
  2618. KeepAlive = exports('c8', KeepAliveImpl)
  2619. function matches(e, t) {
  2620. return isArray$5(e)
  2621. ? e.some(function (e) {
  2622. return matches(e, t)
  2623. })
  2624. : isString$1(e)
  2625. ? e.split(',').indexOf(t) > -1
  2626. : !!e.test && e.test(t)
  2627. }
  2628. function onActivated(e, t) {
  2629. registerKeepAliveHook(e, 'a', t)
  2630. }
  2631. function onDeactivated(e, t) {
  2632. registerKeepAliveHook(e, 'da', t)
  2633. }
  2634. function registerKeepAliveHook(e, t) {
  2635. var n =
  2636. arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : currentInstance,
  2637. r =
  2638. e.__wdc ||
  2639. (e.__wdc = function () {
  2640. for (var t = n; t; ) {
  2641. if (t.isDeactivated) return
  2642. t = t.parent
  2643. }
  2644. return e()
  2645. })
  2646. if ((injectHook(t, r, n), n))
  2647. for (var a = n.parent; a && a.parent; )
  2648. isKeepAlive(a.parent.vnode) && injectToKeepAliveRoot(r, t, n, a), (a = a.parent)
  2649. }
  2650. function injectToKeepAliveRoot(e, t, n, r) {
  2651. var a = injectHook(t, e, r, !0)
  2652. onUnmounted(function () {
  2653. remove(r[t], a)
  2654. }, n)
  2655. }
  2656. function resetShapeFlag(e) {
  2657. var t = e.shapeFlag
  2658. 256 & t && (t -= 256), 512 & t && (t -= 512), (e.shapeFlag = t)
  2659. }
  2660. function getInnerChild(e) {
  2661. return 128 & e.shapeFlag ? e.ssContent : e
  2662. }
  2663. function injectHook(e, t) {
  2664. var n =
  2665. arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : currentInstance,
  2666. r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
  2667. if (n) {
  2668. var a = n[e] || (n[e] = []),
  2669. o =
  2670. t.__weh ||
  2671. (t.__weh = function () {
  2672. if (!n.isUnmounted) {
  2673. pauseTracking(), setCurrentInstance(n)
  2674. for (var r = arguments.length, a = new Array(r), o = 0; o < r; o++)
  2675. a[o] = arguments[o]
  2676. var i = callWithAsyncErrorHandling(t, n, e, a)
  2677. return unsetCurrentInstance(), resetTracking(), i
  2678. }
  2679. })
  2680. return r ? a.unshift(o) : a.push(o), o
  2681. }
  2682. }
  2683. var createHook = function (e) {
  2684. return function (t) {
  2685. var n =
  2686. arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : currentInstance
  2687. return (!isInSSRComponentSetup || 'sp' === e) && injectHook(e, t, n)
  2688. }
  2689. },
  2690. onBeforeMount = exports('cz', createHook('bm')),
  2691. onMounted = exports('$', createHook('m')),
  2692. onBeforeUpdate = exports('aK', createHook('bu')),
  2693. onUpdated = exports('az', createHook('u')),
  2694. onBeforeUnmount = exports('ab', createHook('bum')),
  2695. onUnmounted = exports('b3', createHook('um')),
  2696. onServerPrefetch = exports('cD', createHook('sp')),
  2697. onRenderTriggered = exports('cC', createHook('rtg')),
  2698. onRenderTracked = exports('cB', createHook('rtc'))
  2699. function onErrorCaptured(e) {
  2700. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : currentInstance
  2701. injectHook('ec', e, t)
  2702. }
  2703. var shouldCacheAccess = !0
  2704. function applyOptions(e) {
  2705. var t = resolveMergedOptions(e),
  2706. n = e.proxy,
  2707. r = e.ctx
  2708. ;(shouldCacheAccess = !1), t.beforeCreate && callHook$1(t.beforeCreate, e, 'bc')
  2709. var a = t.data,
  2710. o = t.computed,
  2711. i = t.methods,
  2712. s = t.watch,
  2713. l = t.provide,
  2714. c = t.inject,
  2715. u = t.created,
  2716. p = t.beforeMount,
  2717. d = t.mounted,
  2718. f = t.beforeUpdate,
  2719. h = t.updated,
  2720. v = t.activated,
  2721. m = t.deactivated,
  2722. g = (t.beforeDestroy, t.beforeUnmount),
  2723. y = (t.destroyed, t.unmounted),
  2724. b = t.render,
  2725. _ = t.renderTracked,
  2726. A = t.renderTriggered,
  2727. x = t.errorCaptured,
  2728. w = t.serverPrefetch,
  2729. k = t.expose,
  2730. S = t.inheritAttrs,
  2731. E = t.components,
  2732. P = t.directives
  2733. t.filters
  2734. if ((c && resolveInjections(c, r, null, e.appContext.config.unwrapInjectedRef), i))
  2735. for (var C in i) {
  2736. var T = i[C]
  2737. isFunction$1(T) && (r[C] = T.bind(n))
  2738. }
  2739. if (a) {
  2740. var I = a.call(n, n)
  2741. isObject$2(I) && (e.data = reactive(I))
  2742. }
  2743. if (((shouldCacheAccess = !0), o)) {
  2744. var R = function (e) {
  2745. var t = o[e],
  2746. a = computed({
  2747. get: isFunction$1(t)
  2748. ? t.bind(n, n)
  2749. : isFunction$1(t.get)
  2750. ? t.get.bind(n, n)
  2751. : NOOP,
  2752. set: !isFunction$1(t) && isFunction$1(t.set) ? t.set.bind(n) : NOOP
  2753. })
  2754. Object.defineProperty(r, e, {
  2755. enumerable: !0,
  2756. configurable: !0,
  2757. get: function () {
  2758. return a.value
  2759. },
  2760. set: function (e) {
  2761. return (a.value = e)
  2762. }
  2763. })
  2764. }
  2765. for (var M in o) R(M)
  2766. }
  2767. if (s) for (var z in s) createWatcher(s[z], r, n, z)
  2768. if (l) {
  2769. var O = isFunction$1(l) ? l.call(n) : l
  2770. Reflect.ownKeys(O).forEach(function (e) {
  2771. provide(e, O[e])
  2772. })
  2773. }
  2774. function D(e, t) {
  2775. isArray$5(t)
  2776. ? t.forEach(function (t) {
  2777. return e(t.bind(n))
  2778. })
  2779. : t && e(t.bind(n))
  2780. }
  2781. if (
  2782. (u && callHook$1(u, e, 'c'),
  2783. D(onBeforeMount, p),
  2784. D(onMounted, d),
  2785. D(onBeforeUpdate, f),
  2786. D(onUpdated, h),
  2787. D(onActivated, v),
  2788. D(onDeactivated, m),
  2789. D(onErrorCaptured, x),
  2790. D(onRenderTracked, _),
  2791. D(onRenderTriggered, A),
  2792. D(onBeforeUnmount, g),
  2793. D(onUnmounted, y),
  2794. D(onServerPrefetch, w),
  2795. isArray$5(k))
  2796. )
  2797. if (k.length) {
  2798. var F = e.exposed || (e.exposed = {})
  2799. k.forEach(function (e) {
  2800. Object.defineProperty(F, e, {
  2801. get: function () {
  2802. return n[e]
  2803. },
  2804. set: function (t) {
  2805. return (n[e] = t)
  2806. }
  2807. })
  2808. })
  2809. } else e.exposed || (e.exposed = {})
  2810. b && e.render === NOOP && (e.render = b),
  2811. null != S && (e.inheritAttrs = S),
  2812. E && (e.components = E),
  2813. P && (e.directives = P)
  2814. }
  2815. function resolveInjections(e, t) {
  2816. var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
  2817. isArray$5(e) && (e = normalizeInject(e))
  2818. var r = function (r) {
  2819. var a = e[r],
  2820. o = void 0
  2821. isRef(
  2822. (o = isObject$2(a)
  2823. ? 'default' in a
  2824. ? inject(a.from || r, a.default, !0)
  2825. : inject(a.from || r)
  2826. : inject(a))
  2827. ) && n
  2828. ? Object.defineProperty(t, r, {
  2829. enumerable: !0,
  2830. configurable: !0,
  2831. get: function () {
  2832. return o.value
  2833. },
  2834. set: function (e) {
  2835. return (o.value = e)
  2836. }
  2837. })
  2838. : (t[r] = o)
  2839. }
  2840. for (var a in e) r(a)
  2841. }
  2842. function callHook$1(e, t, n) {
  2843. callWithAsyncErrorHandling(
  2844. isArray$5(e)
  2845. ? e.map(function (e) {
  2846. return e.bind(t.proxy)
  2847. })
  2848. : e.bind(t.proxy),
  2849. t,
  2850. n
  2851. )
  2852. }
  2853. function createWatcher(e, t, n, r) {
  2854. var a = r.includes('.')
  2855. ? createPathGetter(n, r)
  2856. : function () {
  2857. return n[r]
  2858. }
  2859. if (isString$1(e)) {
  2860. var o = t[e]
  2861. isFunction$1(o) && watch(a, o)
  2862. } else if (isFunction$1(e)) watch(a, e.bind(n))
  2863. else if (isObject$2(e))
  2864. if (isArray$5(e))
  2865. e.forEach(function (e) {
  2866. return createWatcher(e, t, n, r)
  2867. })
  2868. else {
  2869. var i = isFunction$1(e.handler) ? e.handler.bind(n) : t[e.handler]
  2870. isFunction$1(i) && watch(a, i, e)
  2871. }
  2872. }
  2873. function resolveMergedOptions(e) {
  2874. var t,
  2875. n = e.type,
  2876. r = n.mixins,
  2877. a = n.extends,
  2878. o = e.appContext,
  2879. i = o.mixins,
  2880. s = o.optionsCache,
  2881. l = o.config.optionMergeStrategies,
  2882. c = s.get(n)
  2883. return (
  2884. c
  2885. ? (t = c)
  2886. : i.length || r || a
  2887. ? ((t = {}),
  2888. i.length &&
  2889. i.forEach(function (e) {
  2890. return mergeOptions$1(t, e, l, !0)
  2891. }),
  2892. mergeOptions$1(t, n, l))
  2893. : (t = n),
  2894. s.set(n, t),
  2895. t
  2896. )
  2897. }
  2898. function mergeOptions$1(e, t, n) {
  2899. var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  2900. a = t.mixins,
  2901. o = t.extends
  2902. for (var i in (o && mergeOptions$1(e, o, n, !0),
  2903. a &&
  2904. a.forEach(function (t) {
  2905. return mergeOptions$1(e, t, n, !0)
  2906. }),
  2907. t))
  2908. if (r && 'expose' === i);
  2909. else {
  2910. var s = internalOptionMergeStrats[i] || (n && n[i])
  2911. e[i] = s ? s(e[i], t[i]) : t[i]
  2912. }
  2913. return e
  2914. }
  2915. var internalOptionMergeStrats = {
  2916. data: mergeDataFn,
  2917. props: mergeObjectOptions,
  2918. emits: mergeObjectOptions,
  2919. methods: mergeObjectOptions,
  2920. computed: mergeObjectOptions,
  2921. beforeCreate: mergeAsArray,
  2922. created: mergeAsArray,
  2923. beforeMount: mergeAsArray,
  2924. mounted: mergeAsArray,
  2925. beforeUpdate: mergeAsArray,
  2926. updated: mergeAsArray,
  2927. beforeDestroy: mergeAsArray,
  2928. beforeUnmount: mergeAsArray,
  2929. destroyed: mergeAsArray,
  2930. unmounted: mergeAsArray,
  2931. activated: mergeAsArray,
  2932. deactivated: mergeAsArray,
  2933. errorCaptured: mergeAsArray,
  2934. serverPrefetch: mergeAsArray,
  2935. components: mergeObjectOptions,
  2936. directives: mergeObjectOptions,
  2937. watch: mergeWatchOptions,
  2938. provide: mergeDataFn,
  2939. inject: mergeInject
  2940. }
  2941. function mergeDataFn(e, t) {
  2942. return t
  2943. ? e
  2944. ? function () {
  2945. return extend$2(
  2946. isFunction$1(e) ? e.call(this, this) : e,
  2947. isFunction$1(t) ? t.call(this, this) : t
  2948. )
  2949. }
  2950. : t
  2951. : e
  2952. }
  2953. function mergeInject(e, t) {
  2954. return mergeObjectOptions(normalizeInject(e), normalizeInject(t))
  2955. }
  2956. function normalizeInject(e) {
  2957. if (isArray$5(e)) {
  2958. for (var t = {}, n = 0; n < e.length; n++) t[e[n]] = e[n]
  2959. return t
  2960. }
  2961. return e
  2962. }
  2963. function mergeAsArray(e, t) {
  2964. return e ? _toConsumableArray2(new Set([].concat(e, t))) : t
  2965. }
  2966. function mergeObjectOptions(e, t) {
  2967. return e ? extend$2(extend$2(Object.create(null), e), t) : t
  2968. }
  2969. function mergeWatchOptions(e, t) {
  2970. if (!e) return t
  2971. if (!t) return e
  2972. var n = extend$2(Object.create(null), e)
  2973. for (var r in t) n[r] = mergeAsArray(e[r], t[r])
  2974. return n
  2975. }
  2976. function initProps(e, t, n) {
  2977. var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  2978. a = {},
  2979. o = {}
  2980. for (var i in (def(o, InternalObjectKey, 1),
  2981. (e.propsDefaults = Object.create(null)),
  2982. setFullProps(e, t, a, o),
  2983. e.propsOptions[0]))
  2984. i in a || (a[i] = void 0)
  2985. n
  2986. ? (e.props = r ? a : shallowReactive(a))
  2987. : e.type.props
  2988. ? (e.props = a)
  2989. : (e.props = o),
  2990. (e.attrs = o)
  2991. }
  2992. function updateProps(e, t, n, r) {
  2993. var a = e.props,
  2994. o = e.attrs,
  2995. i = e.vnode.patchFlag,
  2996. s = toRaw(a),
  2997. l = _slicedToArray(e.propsOptions, 1)[0],
  2998. c = !1
  2999. if (!(r || i > 0) || 16 & i) {
  3000. var u
  3001. for (var p in (setFullProps(e, t, a, o) && (c = !0), s))
  3002. (t && (hasOwn$2(t, p) || ((u = hyphenate(p)) !== p && hasOwn$2(t, u)))) ||
  3003. (l
  3004. ? !n ||
  3005. (void 0 === n[p] && void 0 === n[u]) ||
  3006. (a[p] = resolvePropValue(l, s, p, void 0, e, !0))
  3007. : delete a[p])
  3008. if (o !== s) for (var d in o) (t && hasOwn$2(t, d)) || (delete o[d], (c = !0))
  3009. } else if (8 & i)
  3010. for (var f = e.vnode.dynamicProps, h = 0; h < f.length; h++) {
  3011. var v = f[h],
  3012. m = t[v]
  3013. if (l)
  3014. if (hasOwn$2(o, v)) m !== o[v] && ((o[v] = m), (c = !0))
  3015. else {
  3016. var g = camelize$1(v)
  3017. a[g] = resolvePropValue(l, s, g, m, e, !1)
  3018. }
  3019. else m !== o[v] && ((o[v] = m), (c = !0))
  3020. }
  3021. c && trigger$1(e, 'set', '$attrs')
  3022. }
  3023. function setFullProps(e, t, n, r) {
  3024. var a,
  3025. o = _slicedToArray(e.propsOptions, 2),
  3026. i = o[0],
  3027. s = o[1],
  3028. l = !1
  3029. if (t)
  3030. for (var c in t)
  3031. if (!isReservedProp(c)) {
  3032. var u = t[c],
  3033. p = void 0
  3034. i && hasOwn$2(i, (p = camelize$1(c)))
  3035. ? s && s.includes(p)
  3036. ? ((a || (a = {}))[p] = u)
  3037. : (n[p] = u)
  3038. : isEmitListener(e.emitsOptions, c) ||
  3039. (c in r && u === r[c]) ||
  3040. ((r[c] = u), (l = !0))
  3041. }
  3042. if (s)
  3043. for (var d = toRaw(n), f = a || EMPTY_OBJ, h = 0; h < s.length; h++) {
  3044. var v = s[h]
  3045. n[v] = resolvePropValue(i, d, v, f[v], e, !hasOwn$2(f, v))
  3046. }
  3047. return l
  3048. }
  3049. function resolvePropValue(e, t, n, r, a, o) {
  3050. var i = e[n]
  3051. if (null != i) {
  3052. var s = hasOwn$2(i, 'default')
  3053. if (s && void 0 === r) {
  3054. var l = i.default
  3055. if (i.type !== Function && isFunction$1(l)) {
  3056. var c = a.propsDefaults
  3057. n in c
  3058. ? (r = c[n])
  3059. : (setCurrentInstance(a), (r = c[n] = l.call(null, t)), unsetCurrentInstance())
  3060. } else r = l
  3061. }
  3062. i[0] && (o && !s ? (r = !1) : !i[1] || ('' !== r && r !== hyphenate(n)) || (r = !0))
  3063. }
  3064. return r
  3065. }
  3066. function normalizePropsOptions(e, t) {
  3067. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  3068. r = t.propsCache,
  3069. a = r.get(e)
  3070. if (a) return a
  3071. var o = e.props,
  3072. i = {},
  3073. s = [],
  3074. l = !1
  3075. if (!isFunction$1(e)) {
  3076. var c = function (e) {
  3077. l = !0
  3078. var n = _slicedToArray(normalizePropsOptions(e, t, !0), 2),
  3079. r = n[0],
  3080. a = n[1]
  3081. extend$2(i, r), a && s.push.apply(s, _toConsumableArray2(a))
  3082. }
  3083. !n && t.mixins.length && t.mixins.forEach(c),
  3084. e.extends && c(e.extends),
  3085. e.mixins && e.mixins.forEach(c)
  3086. }
  3087. if (!o && !l) return r.set(e, EMPTY_ARR), EMPTY_ARR
  3088. if (isArray$5(o))
  3089. for (var u = 0; u < o.length; u++) {
  3090. var p = camelize$1(o[u])
  3091. validatePropName(p) && (i[p] = EMPTY_OBJ)
  3092. }
  3093. else if (o)
  3094. for (var d in o) {
  3095. var f = camelize$1(d)
  3096. if (validatePropName(f)) {
  3097. var h = o[d],
  3098. v = (i[f] = isArray$5(h) || isFunction$1(h) ? { type: h } : h)
  3099. if (v) {
  3100. var m = getTypeIndex(Boolean, v.type),
  3101. g = getTypeIndex(String, v.type)
  3102. ;(v[0] = m > -1),
  3103. (v[1] = g < 0 || m < g),
  3104. (m > -1 || hasOwn$2(v, 'default')) && s.push(f)
  3105. }
  3106. }
  3107. }
  3108. var y = [i, s]
  3109. return r.set(e, y), y
  3110. }
  3111. function validatePropName(e) {
  3112. return '$' !== e[0]
  3113. }
  3114. function getType(e) {
  3115. var t = e && e.toString().match(/^\s*function (\w+)/)
  3116. return t ? t[1] : null === e ? 'null' : ''
  3117. }
  3118. function isSameType(e, t) {
  3119. return getType(e) === getType(t)
  3120. }
  3121. function getTypeIndex(e, t) {
  3122. return isArray$5(t)
  3123. ? t.findIndex(function (t) {
  3124. return isSameType(t, e)
  3125. })
  3126. : isFunction$1(t) && isSameType(t, e)
  3127. ? 0
  3128. : -1
  3129. }
  3130. var isInternalKey = function (e) {
  3131. return '_' === e[0] || '$stable' === e
  3132. },
  3133. normalizeSlotValue = function (e) {
  3134. return isArray$5(e) ? e.map(normalizeVNode) : [normalizeVNode(e)]
  3135. },
  3136. normalizeSlot$1 = function (e, t, n) {
  3137. var r = withCtx(function () {
  3138. return normalizeSlotValue(t.apply(void 0, arguments))
  3139. }, n)
  3140. return (r._c = !1), r
  3141. },
  3142. normalizeObjectSlots = function (e, t, n) {
  3143. var r = e._ctx
  3144. for (var a in e)
  3145. if (!isInternalKey(a)) {
  3146. var o = e[a]
  3147. isFunction$1(o)
  3148. ? (t[a] = normalizeSlot$1(a, o, r))
  3149. : null != o &&
  3150. (function () {
  3151. var e = normalizeSlotValue(o)
  3152. t[a] = function () {
  3153. return e
  3154. }
  3155. })()
  3156. }
  3157. },
  3158. normalizeVNodeSlots = function (e, t) {
  3159. var n = normalizeSlotValue(t)
  3160. e.slots.default = function () {
  3161. return n
  3162. }
  3163. },
  3164. initSlots = function (e, t) {
  3165. if (32 & e.vnode.shapeFlag) {
  3166. var n = t._
  3167. n ? ((e.slots = toRaw(t)), def(t, '_', n)) : normalizeObjectSlots(t, (e.slots = {}))
  3168. } else (e.slots = {}), t && normalizeVNodeSlots(e, t)
  3169. def(e.slots, InternalObjectKey, 1)
  3170. },
  3171. updateSlots = function (e, t, n) {
  3172. var r = e.vnode,
  3173. a = e.slots,
  3174. o = !0,
  3175. i = EMPTY_OBJ
  3176. if (32 & r.shapeFlag) {
  3177. var s = t._
  3178. s
  3179. ? n && 1 === s
  3180. ? (o = !1)
  3181. : (extend$2(a, t), n || 1 !== s || delete a._)
  3182. : ((o = !t.$stable), normalizeObjectSlots(t, a)),
  3183. (i = t)
  3184. } else t && (normalizeVNodeSlots(e, t), (i = { default: 1 }))
  3185. if (o) for (var l in a) isInternalKey(l) || l in i || delete a[l]
  3186. }
  3187. function withDirectives(e, t) {
  3188. if (null === currentRenderingInstance) return e
  3189. for (
  3190. var n = currentRenderingInstance.proxy, r = e.dirs || (e.dirs = []), a = 0;
  3191. a < t.length;
  3192. a++
  3193. ) {
  3194. var o = _slicedToArray(t[a], 4),
  3195. i = o[0],
  3196. s = o[1],
  3197. l = o[2],
  3198. c = o[3],
  3199. u = void 0 === c ? EMPTY_OBJ : c
  3200. isFunction$1(i) && (i = { mounted: i, updated: i }),
  3201. i.deep && traverse(s),
  3202. r.push({ dir: i, instance: n, value: s, oldValue: void 0, arg: l, modifiers: u })
  3203. }
  3204. return e
  3205. }
  3206. function invokeDirectiveHook(e, t, n, r) {
  3207. for (var a = e.dirs, o = t && t.dirs, i = 0; i < a.length; i++) {
  3208. var s = a[i]
  3209. o && (s.oldValue = o[i].value)
  3210. var l = s.dir[r]
  3211. l &&
  3212. (pauseTracking(),
  3213. callWithAsyncErrorHandling(l, n, 8, [e.el, s, e, t]),
  3214. resetTracking())
  3215. }
  3216. }
  3217. function createAppContext() {
  3218. return {
  3219. app: null,
  3220. config: {
  3221. isNativeTag: NO,
  3222. performance: !1,
  3223. globalProperties: {},
  3224. optionMergeStrategies: {},
  3225. errorHandler: void 0,
  3226. warnHandler: void 0,
  3227. compilerOptions: {}
  3228. },
  3229. mixins: [],
  3230. components: {},
  3231. directives: {},
  3232. provides: Object.create(null),
  3233. optionsCache: new WeakMap(),
  3234. propsCache: new WeakMap(),
  3235. emitsCache: new WeakMap()
  3236. }
  3237. }
  3238. var uid = 0
  3239. function createAppAPI(e, t) {
  3240. return function (n) {
  3241. var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
  3242. null == r || isObject$2(r) || (r = null)
  3243. var a = createAppContext(),
  3244. o = new Set(),
  3245. i = !1,
  3246. s = (a.app = {
  3247. _uid: uid++,
  3248. _component: n,
  3249. _props: r,
  3250. _container: null,
  3251. _context: a,
  3252. _instance: null,
  3253. version: version,
  3254. get config() {
  3255. return a.config
  3256. },
  3257. set config(e) {},
  3258. use: function (e) {
  3259. for (
  3260. var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1;
  3261. r < t;
  3262. r++
  3263. )
  3264. n[r - 1] = arguments[r]
  3265. return (
  3266. o.has(e) ||
  3267. (e && isFunction$1(e.install)
  3268. ? (o.add(e), e.install.apply(e, [s].concat(n)))
  3269. : isFunction$1(e) && (o.add(e), e.apply(void 0, [s].concat(n)))),
  3270. s
  3271. )
  3272. },
  3273. mixin: function (e) {
  3274. return a.mixins.includes(e) || a.mixins.push(e), s
  3275. },
  3276. component: function (e, t) {
  3277. return t ? ((a.components[e] = t), s) : a.components[e]
  3278. },
  3279. directive: function (e, t) {
  3280. return t ? ((a.directives[e] = t), s) : a.directives[e]
  3281. },
  3282. mount: function (o, l, c) {
  3283. if (!i) {
  3284. var u = createVNode(n, r)
  3285. return (
  3286. (u.appContext = a),
  3287. l && t ? t(u, o) : e(u, o, c),
  3288. (i = !0),
  3289. (s._container = o),
  3290. (o.__vue_app__ = s),
  3291. getExposeProxy(u.component) || u.component.proxy
  3292. )
  3293. }
  3294. },
  3295. unmount: function () {
  3296. i && (e(null, s._container), delete s._container.__vue_app__)
  3297. },
  3298. provide: function (e, t) {
  3299. return (a.provides[e] = t), s
  3300. }
  3301. })
  3302. return s
  3303. }
  3304. }
  3305. function setRef(e, t, n, r) {
  3306. var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
  3307. if (isArray$5(e))
  3308. e.forEach(function (e, o) {
  3309. return setRef(e, t && (isArray$5(t) ? t[o] : t), n, r, a)
  3310. })
  3311. else if (!isAsyncWrapper(r) || a) {
  3312. var o = 4 & r.shapeFlag ? getExposeProxy(r.component) || r.component.proxy : r.el,
  3313. i = a ? null : o,
  3314. s = e.i,
  3315. l = e.r,
  3316. c = t && t.r,
  3317. u = s.refs === EMPTY_OBJ ? (s.refs = {}) : s.refs,
  3318. p = s.setupState
  3319. if (
  3320. (null != c &&
  3321. c !== l &&
  3322. (isString$1(c)
  3323. ? ((u[c] = null), hasOwn$2(p, c) && (p[c] = null))
  3324. : isRef(c) && (c.value = null)),
  3325. isFunction$1(l))
  3326. )
  3327. callWithErrorHandling(l, s, 12, [i, u])
  3328. else {
  3329. var d = isString$1(l),
  3330. f = isRef(l)
  3331. if (d || f) {
  3332. var h = function () {
  3333. if (e.f) {
  3334. var t = d ? u[l] : l.value
  3335. a
  3336. ? isArray$5(t) && remove(t, o)
  3337. : isArray$5(t)
  3338. ? t.includes(o) || t.push(o)
  3339. : d
  3340. ? (u[l] = [o])
  3341. : ((l.value = [o]), e.k && (u[e.k] = l.value))
  3342. } else
  3343. d
  3344. ? ((u[l] = i), hasOwn$2(p, l) && (p[l] = i))
  3345. : isRef(l) && ((l.value = i), e.k && (u[e.k] = i))
  3346. }
  3347. i ? ((h.id = -1), queuePostRenderEffect(h, n)) : h()
  3348. }
  3349. }
  3350. }
  3351. }
  3352. var hasMismatch = !1,
  3353. isSVGContainer = function (e) {
  3354. return /svg/.test(e.namespaceURI) && 'foreignObject' !== e.tagName
  3355. },
  3356. isComment = function (e) {
  3357. return 8 === e.nodeType
  3358. }
  3359. function createHydrationFunctions(e) {
  3360. var t = e.mt,
  3361. n = e.p,
  3362. r = e.o,
  3363. a = r.patchProp,
  3364. o = r.nextSibling,
  3365. i = r.parentNode,
  3366. s = r.remove,
  3367. l = r.insert,
  3368. c = r.createComment,
  3369. u = function n(r, a, s, l, c) {
  3370. var u = arguments.length > 5 && void 0 !== arguments[5] && arguments[5],
  3371. m = isComment(r) && '[' === r.data,
  3372. g = function () {
  3373. return h(r, a, s, l, c, m)
  3374. },
  3375. y = a.type,
  3376. b = a.ref,
  3377. _ = a.shapeFlag,
  3378. A = r.nodeType
  3379. a.el = r
  3380. var x = null
  3381. switch (y) {
  3382. case Text:
  3383. 3 !== A
  3384. ? (x = g())
  3385. : (r.data !== a.children && ((hasMismatch = !0), (r.data = a.children)),
  3386. (x = o(r)))
  3387. break
  3388. case Comment:
  3389. x = 8 !== A || m ? g() : o(r)
  3390. break
  3391. case Static:
  3392. if (1 === A) {
  3393. x = r
  3394. for (var w = !a.children.length, k = 0; k < a.staticCount; k++)
  3395. w && (a.children += x.outerHTML),
  3396. k === a.staticCount - 1 && (a.anchor = x),
  3397. (x = o(x))
  3398. return x
  3399. }
  3400. x = g()
  3401. break
  3402. case Fragment:
  3403. x = m ? f(r, a, s, l, c, u) : g()
  3404. break
  3405. default:
  3406. if (1 & _)
  3407. x =
  3408. 1 !== A || a.type.toLowerCase() !== r.tagName.toLowerCase()
  3409. ? g()
  3410. : p(r, a, s, l, c, u)
  3411. else if (6 & _) {
  3412. a.slotScopeIds = c
  3413. var S,
  3414. E = i(r)
  3415. if (
  3416. (t(a, E, null, s, l, isSVGContainer(E), u),
  3417. (x = m ? v(r) : o(r)),
  3418. isAsyncWrapper(a))
  3419. )
  3420. m
  3421. ? ((S = createVNode(Fragment)).anchor = x
  3422. ? x.previousSibling
  3423. : E.lastChild)
  3424. : (S = 3 === r.nodeType ? createTextVNode('') : createVNode('div')),
  3425. (S.el = r),
  3426. (a.component.subTree = S)
  3427. } else
  3428. 64 & _
  3429. ? (x = 8 !== A ? g() : a.type.hydrate(r, a, s, l, c, u, e, d))
  3430. : 128 & _ &&
  3431. (x = a.type.hydrate(r, a, s, l, isSVGContainer(i(r)), c, u, e, n))
  3432. }
  3433. return null != b && setRef(b, null, l, a), x
  3434. },
  3435. p = function (e, t, n, r, o, i) {
  3436. i = i || !!t.dynamicChildren
  3437. var l = t.type,
  3438. c = t.props,
  3439. u = t.patchFlag,
  3440. p = t.shapeFlag,
  3441. f = t.dirs,
  3442. h = ('input' === l && f) || 'option' === l
  3443. if (h || -1 !== u) {
  3444. if ((f && invokeDirectiveHook(t, null, n, 'created'), c))
  3445. if (h || !i || 48 & u)
  3446. for (var v in c)
  3447. ((h && v.endsWith('value')) || (isOn(v) && !isReservedProp(v))) &&
  3448. a(e, v, null, c[v], !1, void 0, n)
  3449. else c.onClick && a(e, 'onClick', null, c.onClick, !1, void 0, n)
  3450. var m
  3451. if (
  3452. ((m = c && c.onVnodeBeforeMount) && invokeVNodeHook(m, n, t),
  3453. f && invokeDirectiveHook(t, null, n, 'beforeMount'),
  3454. ((m = c && c.onVnodeMounted) || f) &&
  3455. queueEffectWithSuspense(function () {
  3456. m && invokeVNodeHook(m, n, t),
  3457. f && invokeDirectiveHook(t, null, n, 'mounted')
  3458. }, r),
  3459. 16 & p && (!c || (!c.innerHTML && !c.textContent)))
  3460. )
  3461. for (var g = d(e.firstChild, t, e, n, r, o, i); g; ) {
  3462. hasMismatch = !0
  3463. var y = g
  3464. ;(g = g.nextSibling), s(y)
  3465. }
  3466. else
  3467. 8 & p &&
  3468. e.textContent !== t.children &&
  3469. ((hasMismatch = !0), (e.textContent = t.children))
  3470. }
  3471. return e.nextSibling
  3472. },
  3473. d = function (e, t, r, a, o, i, s) {
  3474. s = s || !!t.dynamicChildren
  3475. for (var l = t.children, c = l.length, p = 0; p < c; p++) {
  3476. var d = s ? l[p] : (l[p] = normalizeVNode(l[p]))
  3477. if (e) e = u(e, d, a, o, i, s)
  3478. else {
  3479. if (d.type === Text && !d.children) continue
  3480. ;(hasMismatch = !0), n(null, d, r, null, a, o, isSVGContainer(r), i)
  3481. }
  3482. }
  3483. return e
  3484. },
  3485. f = function (e, t, n, r, a, s) {
  3486. var u = t.slotScopeIds
  3487. u && (a = a ? a.concat(u) : u)
  3488. var p = i(e),
  3489. f = d(o(e), t, p, n, r, a, s)
  3490. return f && isComment(f) && ']' === f.data
  3491. ? o((t.anchor = f))
  3492. : ((hasMismatch = !0), l((t.anchor = c(']')), p, f), f)
  3493. },
  3494. h = function (e, t, r, a, l, c) {
  3495. if (((hasMismatch = !0), (t.el = null), c))
  3496. for (var u = v(e); ; ) {
  3497. var p = o(e)
  3498. if (!p || p === u) break
  3499. s(p)
  3500. }
  3501. var d = o(e),
  3502. f = i(e)
  3503. return s(e), n(null, t, f, d, r, a, isSVGContainer(f), l), d
  3504. },
  3505. v = function (e) {
  3506. for (var t = 0; e; )
  3507. if ((e = o(e)) && isComment(e) && ('[' === e.data && t++, ']' === e.data)) {
  3508. if (0 === t) return o(e)
  3509. t--
  3510. }
  3511. return e
  3512. }
  3513. return [
  3514. function (e, t) {
  3515. if (!t.hasChildNodes()) return n(null, e, t), void flushPostFlushCbs()
  3516. ;(hasMismatch = !1),
  3517. u(t.firstChild, e, null, null, null),
  3518. flushPostFlushCbs(),
  3519. hasMismatch && console.error('Hydration completed but contains mismatches.')
  3520. },
  3521. u
  3522. ]
  3523. }
  3524. var queuePostRenderEffect = queueEffectWithSuspense
  3525. function createRenderer(e) {
  3526. return baseCreateRenderer(e)
  3527. }
  3528. function createHydrationRenderer(e) {
  3529. return baseCreateRenderer(e, createHydrationFunctions)
  3530. }
  3531. function baseCreateRenderer(e, t) {
  3532. getGlobalThis().__VUE__ = !0
  3533. var n,
  3534. r,
  3535. a = e.insert,
  3536. o = e.remove,
  3537. i = e.patchProp,
  3538. s = e.createElement,
  3539. l = e.createText,
  3540. c = e.createComment,
  3541. u = e.setText,
  3542. p = e.setElementText,
  3543. d = e.parentNode,
  3544. f = e.nextSibling,
  3545. h = e.setScopeId,
  3546. v = void 0 === h ? NOOP : h,
  3547. m = e.cloneNode,
  3548. g = e.insertStaticContent,
  3549. y = function (e, t, n) {
  3550. var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,
  3551. a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
  3552. o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : null,
  3553. i = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
  3554. s = arguments.length > 7 && void 0 !== arguments[7] ? arguments[7] : null,
  3555. l =
  3556. arguments.length > 8 && void 0 !== arguments[8]
  3557. ? arguments[8]
  3558. : !!t.dynamicChildren
  3559. if (e !== t) {
  3560. e && !isSameVNodeType(e, t) && ((r = U(e)), V(e, a, o, !0), (e = null)),
  3561. -2 === t.patchFlag && ((l = !1), (t.dynamicChildren = null))
  3562. var c = t.type,
  3563. u = t.ref,
  3564. p = t.shapeFlag
  3565. switch (c) {
  3566. case Text:
  3567. b(e, t, n, r)
  3568. break
  3569. case Comment:
  3570. _(e, t, n, r)
  3571. break
  3572. case Static:
  3573. null == e && A(t, n, r, i)
  3574. break
  3575. case Fragment:
  3576. I(e, t, n, r, a, o, i, s, l)
  3577. break
  3578. default:
  3579. 1 & p
  3580. ? w(e, t, n, r, a, o, i, s, l)
  3581. : 6 & p
  3582. ? R(e, t, n, r, a, o, i, s, l)
  3583. : (64 & p || 128 & p) && c.process(e, t, n, r, a, o, i, s, l, $)
  3584. }
  3585. null != u && a && setRef(u, e && e.ref, o, t || e, !t)
  3586. }
  3587. },
  3588. b = function (e, t, n, r) {
  3589. if (null == e) a((t.el = l(t.children)), n, r)
  3590. else {
  3591. var o = (t.el = e.el)
  3592. t.children !== e.children && u(o, t.children)
  3593. }
  3594. },
  3595. _ = function (e, t, n, r) {
  3596. null == e ? a((t.el = c(t.children || '')), n, r) : (t.el = e.el)
  3597. },
  3598. A = function (e, t, n, r) {
  3599. var a = _slicedToArray(g(e.children, t, n, r), 2)
  3600. ;(e.el = a[0]), (e.anchor = a[1])
  3601. },
  3602. x = function (e, t, n) {
  3603. for (var r, o = e.el, i = e.anchor; o && o !== i; ) (r = f(o)), a(o, t, n), (o = r)
  3604. a(i, t, n)
  3605. },
  3606. w = function (e, t, n, r, a, o, i, s, l) {
  3607. ;(i = i || 'svg' === t.type),
  3608. null == e ? k(t, n, r, a, o, i, s, l) : P(e, t, a, o, i, s, l)
  3609. },
  3610. k = function (e, t, n, r, o, l, c, u) {
  3611. var d,
  3612. f,
  3613. h = e.type,
  3614. v = e.props,
  3615. g = e.shapeFlag,
  3616. y = e.transition,
  3617. b = e.patchFlag,
  3618. _ = e.dirs
  3619. if (e.el && void 0 !== m && -1 === b) d = e.el = m(e.el)
  3620. else {
  3621. if (
  3622. ((d = e.el = s(e.type, l, v && v.is, v)),
  3623. 8 & g
  3624. ? p(d, e.children)
  3625. : 16 & g && E(e.children, d, null, r, o, l && 'foreignObject' !== h, c, u),
  3626. _ && invokeDirectiveHook(e, null, r, 'created'),
  3627. v)
  3628. ) {
  3629. for (var A in v)
  3630. 'value' === A ||
  3631. isReservedProp(A) ||
  3632. i(d, A, null, v[A], l, e.children, r, o, q)
  3633. 'value' in v && i(d, 'value', null, v.value),
  3634. (f = v.onVnodeBeforeMount) && invokeVNodeHook(f, r, e)
  3635. }
  3636. S(d, e, e.scopeId, c, r)
  3637. }
  3638. _ && invokeDirectiveHook(e, null, r, 'beforeMount')
  3639. var x = (!o || (o && !o.pendingBranch)) && y && !y.persisted
  3640. x && y.beforeEnter(d),
  3641. a(d, t, n),
  3642. ((f = v && v.onVnodeMounted) || x || _) &&
  3643. queuePostRenderEffect(function () {
  3644. f && invokeVNodeHook(f, r, e),
  3645. x && y.enter(d),
  3646. _ && invokeDirectiveHook(e, null, r, 'mounted')
  3647. }, o)
  3648. },
  3649. S = function e(t, n, r, a, o) {
  3650. if ((r && v(t, r), a)) for (var i = 0; i < a.length; i++) v(t, a[i])
  3651. if (o && n === o.subTree) {
  3652. var s = o.vnode
  3653. e(t, s, s.scopeId, s.slotScopeIds, o.parent)
  3654. }
  3655. },
  3656. E = function (e, t, n, r, a, o, i, s) {
  3657. for (
  3658. var l = arguments.length > 8 && void 0 !== arguments[8] ? arguments[8] : 0, c = l;
  3659. c < e.length;
  3660. c++
  3661. ) {
  3662. var u = (e[c] = s ? cloneIfMounted(e[c]) : normalizeVNode(e[c]))
  3663. y(null, u, t, n, r, a, o, i, s)
  3664. }
  3665. },
  3666. P = function (e, t, n, r, a, o, s) {
  3667. var l = (t.el = e.el),
  3668. c = t.patchFlag,
  3669. u = t.dynamicChildren,
  3670. d = t.dirs
  3671. c |= 16 & e.patchFlag
  3672. var f,
  3673. h = e.props || EMPTY_OBJ,
  3674. v = t.props || EMPTY_OBJ
  3675. n && toggleRecurse(n, !1),
  3676. (f = v.onVnodeBeforeUpdate) && invokeVNodeHook(f, n, t, e),
  3677. d && invokeDirectiveHook(t, e, n, 'beforeUpdate'),
  3678. n && toggleRecurse(n, !0)
  3679. var m = a && 'foreignObject' !== t.type
  3680. if (
  3681. (u
  3682. ? C(e.dynamicChildren, u, l, n, r, m, o)
  3683. : s || F(e, t, l, null, n, r, m, o, !1),
  3684. c > 0)
  3685. ) {
  3686. if (16 & c) T(l, t, h, v, n, r, a)
  3687. else if (
  3688. (2 & c && h.class !== v.class && i(l, 'class', null, v.class, a),
  3689. 4 & c && i(l, 'style', h.style, v.style, a),
  3690. 8 & c)
  3691. )
  3692. for (var g = t.dynamicProps, y = 0; y < g.length; y++) {
  3693. var b = g[y],
  3694. _ = h[b],
  3695. A = v[b]
  3696. ;(A === _ && 'value' !== b) || i(l, b, _, A, a, e.children, n, r, q)
  3697. }
  3698. 1 & c && e.children !== t.children && p(l, t.children)
  3699. } else s || null != u || T(l, t, h, v, n, r, a)
  3700. ;((f = v.onVnodeUpdated) || d) &&
  3701. queuePostRenderEffect(function () {
  3702. f && invokeVNodeHook(f, n, t, e), d && invokeDirectiveHook(t, e, n, 'updated')
  3703. }, r)
  3704. },
  3705. C = function (e, t, n, r, a, o, i) {
  3706. for (var s = 0; s < t.length; s++) {
  3707. var l = e[s],
  3708. c = t[s],
  3709. u =
  3710. l.el && (l.type === Fragment || !isSameVNodeType(l, c) || 70 & l.shapeFlag)
  3711. ? d(l.el)
  3712. : n
  3713. y(l, c, u, null, r, a, o, i, !0)
  3714. }
  3715. },
  3716. T = function (e, t, n, r, a, o, s) {
  3717. if (n !== r) {
  3718. for (var l in r)
  3719. if (!isReservedProp(l)) {
  3720. var c = r[l],
  3721. u = n[l]
  3722. c !== u && 'value' !== l && i(e, l, u, c, s, t.children, a, o, q)
  3723. }
  3724. if (n !== EMPTY_OBJ)
  3725. for (var p in n)
  3726. isReservedProp(p) || p in r || i(e, p, n[p], null, s, t.children, a, o, q)
  3727. 'value' in r && i(e, 'value', n.value, r.value)
  3728. }
  3729. },
  3730. I = function (e, t, n, r, o, i, s, c, u) {
  3731. var p = (t.el = e ? e.el : l('')),
  3732. d = (t.anchor = e ? e.anchor : l('')),
  3733. f = t.patchFlag,
  3734. h = t.dynamicChildren,
  3735. v = t.slotScopeIds
  3736. v && (c = c ? c.concat(v) : v),
  3737. null == e
  3738. ? (a(p, n, r), a(d, n, r), E(t.children, n, d, o, i, s, c, u))
  3739. : f > 0 && 64 & f && h && e.dynamicChildren
  3740. ? (C(e.dynamicChildren, h, n, o, i, s, c),
  3741. (null != t.key || (o && t === o.subTree)) && traverseStaticChildren(e, t, !0))
  3742. : F(e, t, n, d, o, i, s, c, u)
  3743. },
  3744. R = function (e, t, n, r, a, o, i, s, l) {
  3745. ;(t.slotScopeIds = s),
  3746. null == e
  3747. ? 512 & t.shapeFlag
  3748. ? a.ctx.activate(t, n, r, i, l)
  3749. : M(t, n, r, a, o, i, l)
  3750. : z(e, t, l)
  3751. },
  3752. M = function (e, t, n, r, a, o, i) {
  3753. var s = (e.component = createComponentInstance(e, r, a))
  3754. if ((isKeepAlive(e) && (s.ctx.renderer = $), setupComponent(s), s.asyncDep)) {
  3755. if ((a && a.registerDep(s, O), !e.el)) {
  3756. var l = (s.subTree = createVNode(Comment))
  3757. _(null, l, t, n)
  3758. }
  3759. } else O(s, e, t, n, a, o, i)
  3760. },
  3761. z = function (e, t, n) {
  3762. var r = (t.component = e.component)
  3763. if (shouldUpdateComponent(e, t, n)) {
  3764. if (r.asyncDep && !r.asyncResolved) return void D(r, t, n)
  3765. ;(r.next = t), invalidateJob(r.update), r.update()
  3766. } else (t.component = e.component), (t.el = e.el), (r.vnode = t)
  3767. },
  3768. O = function (e, t, n, a, o, i, s) {
  3769. var l = (e.effect = new ReactiveEffect(
  3770. function () {
  3771. if (e.isMounted) {
  3772. var l,
  3773. c = e.next,
  3774. u = e.bu,
  3775. p = e.u,
  3776. f = e.parent,
  3777. h = e.vnode,
  3778. v = c
  3779. toggleRecurse(e, !1),
  3780. c ? ((c.el = h.el), D(e, c, s)) : (c = h),
  3781. u && invokeArrayFns(u),
  3782. (l = c.props && c.props.onVnodeBeforeUpdate) &&
  3783. invokeVNodeHook(l, f, c, h),
  3784. toggleRecurse(e, !0)
  3785. var m = renderComponentRoot(e),
  3786. g = e.subTree
  3787. ;(e.subTree = m),
  3788. y(g, m, d(g.el), U(g), e, o, i),
  3789. (c.el = m.el),
  3790. null === v && updateHOCHostEl(e, m.el),
  3791. p && queuePostRenderEffect(p, o),
  3792. (l = c.props && c.props.onVnodeUpdated) &&
  3793. queuePostRenderEffect(function () {
  3794. return invokeVNodeHook(l, f, c, h)
  3795. }, o)
  3796. } else {
  3797. var b,
  3798. _ = t,
  3799. A = _.el,
  3800. x = _.props,
  3801. w = e.bm,
  3802. k = e.m,
  3803. S = e.parent,
  3804. E = isAsyncWrapper(t)
  3805. if (
  3806. (toggleRecurse(e, !1),
  3807. w && invokeArrayFns(w),
  3808. !E && (b = x && x.onVnodeBeforeMount) && invokeVNodeHook(b, S, t),
  3809. toggleRecurse(e, !0),
  3810. A && r)
  3811. ) {
  3812. var P = function () {
  3813. ;(e.subTree = renderComponentRoot(e)), r(A, e.subTree, e, o, null)
  3814. }
  3815. E
  3816. ? t.type.__asyncLoader().then(function () {
  3817. return !e.isUnmounted && P()
  3818. })
  3819. : P()
  3820. } else {
  3821. var C = (e.subTree = renderComponentRoot(e))
  3822. y(null, C, n, a, e, o, i), (t.el = C.el)
  3823. }
  3824. if ((k && queuePostRenderEffect(k, o), !E && (b = x && x.onVnodeMounted))) {
  3825. var T = t
  3826. queuePostRenderEffect(function () {
  3827. return invokeVNodeHook(b, S, T)
  3828. }, o)
  3829. }
  3830. 256 & t.shapeFlag && e.a && queuePostRenderEffect(e.a, o),
  3831. (e.isMounted = !0),
  3832. (t = n = a = null)
  3833. }
  3834. },
  3835. function () {
  3836. return queueJob(e.update)
  3837. },
  3838. e.scope
  3839. )),
  3840. c = (e.update = l.run.bind(l))
  3841. ;(c.id = e.uid), toggleRecurse(e, !0), c()
  3842. },
  3843. D = function (e, t, n) {
  3844. t.component = e
  3845. var r = e.vnode.props
  3846. ;(e.vnode = t),
  3847. (e.next = null),
  3848. updateProps(e, t.props, r, n),
  3849. updateSlots(e, t.children, n),
  3850. pauseTracking(),
  3851. flushPreFlushCbs(void 0, e.update),
  3852. resetTracking()
  3853. },
  3854. F = function (e, t, n, r, a, o, i, s) {
  3855. var l = arguments.length > 8 && void 0 !== arguments[8] && arguments[8],
  3856. c = e && e.children,
  3857. u = e ? e.shapeFlag : 0,
  3858. d = t.children,
  3859. f = t.patchFlag,
  3860. h = t.shapeFlag
  3861. if (f > 0) {
  3862. if (128 & f) return void N(c, d, n, r, a, o, i, s, l)
  3863. if (256 & f) return void B(c, d, n, r, a, o, i, s, l)
  3864. }
  3865. 8 & h
  3866. ? (16 & u && q(c, a, o), d !== c && p(n, d))
  3867. : 16 & u
  3868. ? 16 & h
  3869. ? N(c, d, n, r, a, o, i, s, l)
  3870. : q(c, a, o, !0)
  3871. : (8 & u && p(n, ''), 16 & h && E(d, n, r, a, o, i, s, l))
  3872. },
  3873. B = function (e, t, n, r, a, o, i, s, l) {
  3874. t = t || EMPTY_ARR
  3875. var c,
  3876. u = (e = e || EMPTY_ARR).length,
  3877. p = t.length,
  3878. d = Math.min(u, p)
  3879. for (c = 0; c < d; c++) {
  3880. var f = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
  3881. y(e[c], f, n, null, a, o, i, s, l)
  3882. }
  3883. u > p ? q(e, a, o, !0, !1, d) : E(t, n, r, a, o, i, s, l, d)
  3884. },
  3885. N = function (e, t, n, r, a, o, i, s, l) {
  3886. for (var c = 0, u = t.length, p = e.length - 1, d = u - 1; c <= p && c <= d; ) {
  3887. var f = e[c],
  3888. h = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
  3889. if (!isSameVNodeType(f, h)) break
  3890. y(f, h, n, null, a, o, i, s, l), c++
  3891. }
  3892. for (; c <= p && c <= d; ) {
  3893. var v = e[p],
  3894. m = (t[d] = l ? cloneIfMounted(t[d]) : normalizeVNode(t[d]))
  3895. if (!isSameVNodeType(v, m)) break
  3896. y(v, m, n, null, a, o, i, s, l), p--, d--
  3897. }
  3898. if (c > p) {
  3899. if (c <= d)
  3900. for (var g = d + 1, b = g < u ? t[g].el : r; c <= d; )
  3901. y(
  3902. null,
  3903. (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c])),
  3904. n,
  3905. b,
  3906. a,
  3907. o,
  3908. i,
  3909. s,
  3910. l
  3911. ),
  3912. c++
  3913. } else if (c > d) for (; c <= p; ) V(e[c], a, o, !0), c++
  3914. else {
  3915. var _,
  3916. A = c,
  3917. x = c,
  3918. w = new Map()
  3919. for (c = x; c <= d; c++) {
  3920. var k = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
  3921. null != k.key && w.set(k.key, c)
  3922. }
  3923. var S = 0,
  3924. E = d - x + 1,
  3925. P = !1,
  3926. C = 0,
  3927. T = new Array(E)
  3928. for (c = 0; c < E; c++) T[c] = 0
  3929. for (c = A; c <= p; c++) {
  3930. var I = e[c]
  3931. if (S >= E) V(I, a, o, !0)
  3932. else {
  3933. var R = void 0
  3934. if (null != I.key) R = w.get(I.key)
  3935. else
  3936. for (_ = x; _ <= d; _++)
  3937. if (0 === T[_ - x] && isSameVNodeType(I, t[_])) {
  3938. R = _
  3939. break
  3940. }
  3941. void 0 === R
  3942. ? V(I, a, o, !0)
  3943. : ((T[R - x] = c + 1),
  3944. R >= C ? (C = R) : (P = !0),
  3945. y(I, t[R], n, null, a, o, i, s, l),
  3946. S++)
  3947. }
  3948. }
  3949. var M = P ? getSequence(T) : EMPTY_ARR
  3950. for (_ = M.length - 1, c = E - 1; c >= 0; c--) {
  3951. var z = x + c,
  3952. O = t[z],
  3953. D = z + 1 < u ? t[z + 1].el : r
  3954. 0 === T[c]
  3955. ? y(null, O, n, D, a, o, i, s, l)
  3956. : P && (_ < 0 || c !== M[_] ? j(O, n, D, 2) : _--)
  3957. }
  3958. }
  3959. },
  3960. j = function e(t, n, r, o) {
  3961. var i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
  3962. s = t.el,
  3963. l = t.type,
  3964. c = t.transition,
  3965. u = t.children,
  3966. p = t.shapeFlag
  3967. if (6 & p) e(t.component.subTree, n, r, o)
  3968. else if (128 & p) t.suspense.move(n, r, o)
  3969. else if (64 & p) l.move(t, n, r, $)
  3970. else if (l !== Fragment)
  3971. if (l !== Static) {
  3972. var d = 2 !== o && 1 & p && c
  3973. if (d)
  3974. if (0 === o)
  3975. c.beforeEnter(s),
  3976. a(s, n, r),
  3977. queuePostRenderEffect(function () {
  3978. return c.enter(s)
  3979. }, i)
  3980. else {
  3981. var f = c.leave,
  3982. h = c.delayLeave,
  3983. v = c.afterLeave,
  3984. m = function () {
  3985. return a(s, n, r)
  3986. },
  3987. g = function () {
  3988. f(s, function () {
  3989. m(), v && v()
  3990. })
  3991. }
  3992. h ? h(s, m, g) : g()
  3993. }
  3994. else a(s, n, r)
  3995. } else x(t, n, r)
  3996. else {
  3997. a(s, n, r)
  3998. for (var y = 0; y < u.length; y++) e(u[y], n, r, o)
  3999. a(t.anchor, n, r)
  4000. }
  4001. },
  4002. V = function (e, t, n) {
  4003. var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  4004. a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
  4005. o = e.type,
  4006. i = e.props,
  4007. s = e.ref,
  4008. l = e.children,
  4009. c = e.dynamicChildren,
  4010. u = e.shapeFlag,
  4011. p = e.patchFlag,
  4012. d = e.dirs
  4013. if ((null != s && setRef(s, null, n, e, !0), 256 & u)) t.ctx.deactivate(e)
  4014. else {
  4015. var f,
  4016. h = 1 & u && d,
  4017. v = !isAsyncWrapper(e)
  4018. if ((v && (f = i && i.onVnodeBeforeUnmount) && invokeVNodeHook(f, t, e), 6 & u))
  4019. G(e.component, n, r)
  4020. else {
  4021. if (128 & u) return void e.suspense.unmount(n, r)
  4022. h && invokeDirectiveHook(e, null, t, 'beforeUnmount'),
  4023. 64 & u
  4024. ? e.type.remove(e, t, n, a, $, r)
  4025. : c && (o !== Fragment || (p > 0 && 64 & p))
  4026. ? q(c, t, n, !1, !0)
  4027. : ((o === Fragment && 384 & p) || (!a && 16 & u)) && q(l, t, n),
  4028. r && L(e)
  4029. }
  4030. ;((v && (f = i && i.onVnodeUnmounted)) || h) &&
  4031. queuePostRenderEffect(function () {
  4032. f && invokeVNodeHook(f, t, e),
  4033. h && invokeDirectiveHook(e, null, t, 'unmounted')
  4034. }, n)
  4035. }
  4036. },
  4037. L = function (e) {
  4038. var t = e.type,
  4039. n = e.el,
  4040. r = e.anchor,
  4041. a = e.transition
  4042. if (t !== Fragment)
  4043. if (t !== Static) {
  4044. var i = function () {
  4045. o(n), a && !a.persisted && a.afterLeave && a.afterLeave()
  4046. }
  4047. if (1 & e.shapeFlag && a && !a.persisted) {
  4048. var s = a.leave,
  4049. l = a.delayLeave,
  4050. c = function () {
  4051. return s(n, i)
  4052. }
  4053. l ? l(e.el, i, c) : c()
  4054. } else i()
  4055. } else
  4056. !(function (e) {
  4057. for (var t, n = e.el, r = e.anchor; n && n !== r; ) (t = f(n)), o(n), (n = t)
  4058. o(r)
  4059. })(e)
  4060. else H(n, r)
  4061. },
  4062. H = function (e, t) {
  4063. for (var n; e !== t; ) (n = f(e)), o(e), (e = n)
  4064. o(t)
  4065. },
  4066. G = function (e, t, n) {
  4067. var r = e.bum,
  4068. a = e.scope,
  4069. o = e.update,
  4070. i = e.subTree,
  4071. s = e.um
  4072. r && invokeArrayFns(r),
  4073. a.stop(),
  4074. o && ((o.active = !1), V(i, e, t, n)),
  4075. s && queuePostRenderEffect(s, t),
  4076. queuePostRenderEffect(function () {
  4077. e.isUnmounted = !0
  4078. }, t),
  4079. t &&
  4080. t.pendingBranch &&
  4081. !t.isUnmounted &&
  4082. e.asyncDep &&
  4083. !e.asyncResolved &&
  4084. e.suspenseId === t.pendingId &&
  4085. (t.deps--, 0 === t.deps && t.resolve())
  4086. },
  4087. q = function (e, t, n) {
  4088. for (
  4089. var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  4090. a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
  4091. o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0,
  4092. i = o;
  4093. i < e.length;
  4094. i++
  4095. )
  4096. V(e[i], t, n, r, a)
  4097. },
  4098. U = function e(t) {
  4099. return 6 & t.shapeFlag
  4100. ? e(t.component.subTree)
  4101. : 128 & t.shapeFlag
  4102. ? t.suspense.next()
  4103. : f(t.anchor || t.el)
  4104. },
  4105. W = function (e, t, n) {
  4106. null == e
  4107. ? t._vnode && V(t._vnode, null, null, !0)
  4108. : y(t._vnode || null, e, t, null, null, null, n),
  4109. flushPostFlushCbs(),
  4110. (t._vnode = e)
  4111. },
  4112. $ = { p: y, um: V, m: j, r: L, mt: M, mc: E, pc: F, pbc: C, n: U, o: e }
  4113. if (t) {
  4114. var K = _slicedToArray(t($), 2)
  4115. ;(n = K[0]), (r = K[1])
  4116. }
  4117. return { render: W, hydrate: n, createApp: createAppAPI(W, n) }
  4118. }
  4119. function toggleRecurse(e, t) {
  4120. var n = e.effect,
  4121. r = e.update
  4122. n.allowRecurse = r.allowRecurse = t
  4123. }
  4124. function traverseStaticChildren(e, t) {
  4125. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  4126. r = e.children,
  4127. a = t.children
  4128. if (isArray$5(r) && isArray$5(a))
  4129. for (var o = 0; o < r.length; o++) {
  4130. var i = r[o],
  4131. s = a[o]
  4132. 1 & s.shapeFlag &&
  4133. !s.dynamicChildren &&
  4134. ((s.patchFlag <= 0 || 32 === s.patchFlag) &&
  4135. ((s = a[o] = cloneIfMounted(a[o])).el = i.el),
  4136. n || traverseStaticChildren(i, s))
  4137. }
  4138. }
  4139. function getSequence(e) {
  4140. var t,
  4141. n,
  4142. r,
  4143. a,
  4144. o,
  4145. i = e.slice(),
  4146. s = [0],
  4147. l = e.length
  4148. for (t = 0; t < l; t++) {
  4149. var c = e[t]
  4150. if (0 !== c) {
  4151. if (e[(n = s[s.length - 1])] < c) {
  4152. ;(i[t] = n), s.push(t)
  4153. continue
  4154. }
  4155. for (r = 0, a = s.length - 1; r < a; )
  4156. e[s[(o = (r + a) >> 1)]] < c ? (r = o + 1) : (a = o)
  4157. c < e[s[r]] && (r > 0 && (i[t] = s[r - 1]), (s[r] = t))
  4158. }
  4159. }
  4160. for (a = s[(r = s.length) - 1]; r-- > 0; ) (s[r] = a), (a = i[a])
  4161. return s
  4162. }
  4163. var isTeleport = function (e) {
  4164. return e.__isTeleport
  4165. },
  4166. isTeleportDisabled = function (e) {
  4167. return e && (e.disabled || '' === e.disabled)
  4168. },
  4169. isTargetSVG = function (e) {
  4170. return 'undefined' != typeof SVGElement && e instanceof SVGElement
  4171. },
  4172. resolveTarget = function (e, t) {
  4173. var n = e && e.to
  4174. return isString$1(n) ? (t ? t(n) : null) : n
  4175. },
  4176. TeleportImpl = {
  4177. __isTeleport: !0,
  4178. process: function (e, t, n, r, a, o, i, s, l, c) {
  4179. var u = c.mc,
  4180. p = c.pc,
  4181. d = c.pbc,
  4182. f = c.o,
  4183. h = f.insert,
  4184. v = f.querySelector,
  4185. m = f.createText,
  4186. g = (f.createComment, isTeleportDisabled(t.props)),
  4187. y = t.shapeFlag,
  4188. b = t.children,
  4189. _ = t.dynamicChildren
  4190. if (null == e) {
  4191. var A = (t.el = m('')),
  4192. x = (t.anchor = m(''))
  4193. h(A, n, r), h(x, n, r)
  4194. var w = (t.target = resolveTarget(t.props, v)),
  4195. k = (t.targetAnchor = m(''))
  4196. w && (h(k, w), (i = i || isTargetSVG(w)))
  4197. var S = function (e, t) {
  4198. 16 & y && u(b, e, t, a, o, i, s, l)
  4199. }
  4200. g ? S(n, x) : w && S(w, k)
  4201. } else {
  4202. t.el = e.el
  4203. var E = (t.anchor = e.anchor),
  4204. P = (t.target = e.target),
  4205. C = (t.targetAnchor = e.targetAnchor),
  4206. T = isTeleportDisabled(e.props),
  4207. I = T ? n : P,
  4208. R = T ? E : C
  4209. if (
  4210. ((i = i || isTargetSVG(P)),
  4211. _
  4212. ? (d(e.dynamicChildren, _, I, a, o, i, s), traverseStaticChildren(e, t, !0))
  4213. : l || p(e, t, I, R, a, o, i, s, !1),
  4214. g)
  4215. )
  4216. T || moveTeleport(t, n, E, c, 1)
  4217. else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
  4218. var M = (t.target = resolveTarget(t.props, v))
  4219. M && moveTeleport(t, M, null, c, 0)
  4220. } else T && moveTeleport(t, P, C, c, 1)
  4221. }
  4222. },
  4223. remove: function (e, t, n, r, a, o) {
  4224. var i = a.um,
  4225. s = a.o.remove,
  4226. l = e.shapeFlag,
  4227. c = e.children,
  4228. u = e.anchor,
  4229. p = e.targetAnchor,
  4230. d = e.target,
  4231. f = e.props
  4232. if ((d && s(p), (o || !isTeleportDisabled(f)) && (s(u), 16 & l)))
  4233. for (var h = 0; h < c.length; h++) {
  4234. var v = c[h]
  4235. i(v, t, n, !0, !!v.dynamicChildren)
  4236. }
  4237. },
  4238. move: moveTeleport,
  4239. hydrate: hydrateTeleport
  4240. }
  4241. function moveTeleport(e, t, n, r) {
  4242. var a = r.o.insert,
  4243. o = r.m,
  4244. i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 2
  4245. 0 === i && a(e.targetAnchor, t, n)
  4246. var s = e.el,
  4247. l = e.anchor,
  4248. c = e.shapeFlag,
  4249. u = e.children,
  4250. p = e.props,
  4251. d = 2 === i
  4252. if ((d && a(s, t, n), (!d || isTeleportDisabled(p)) && 16 & c))
  4253. for (var f = 0; f < u.length; f++) o(u[f], t, n, 2)
  4254. d && a(l, t, n)
  4255. }
  4256. function hydrateTeleport(e, t, n, r, a, o, i, s) {
  4257. var l = i.o,
  4258. c = l.nextSibling,
  4259. u = l.parentNode,
  4260. p = l.querySelector,
  4261. d = (t.target = resolveTarget(t.props, p))
  4262. if (d) {
  4263. var f = d._lpa || d.firstChild
  4264. 16 & t.shapeFlag &&
  4265. (isTeleportDisabled(t.props)
  4266. ? ((t.anchor = s(c(e), t, u(e), n, r, a, o)), (t.targetAnchor = f))
  4267. : ((t.anchor = c(e)), (t.targetAnchor = s(f, t, d, n, r, a, o))),
  4268. (d._lpa = t.targetAnchor && c(t.targetAnchor)))
  4269. }
  4270. return t.anchor && c(t.anchor)
  4271. }
  4272. var Teleport = exports('aw', TeleportImpl),
  4273. COMPONENTS = 'components',
  4274. DIRECTIVES = 'directives'
  4275. function resolveComponent(e, t) {
  4276. return resolveAsset(COMPONENTS, e, !0, t) || e
  4277. }
  4278. var NULL_DYNAMIC_COMPONENT = Symbol()
  4279. function resolveDynamicComponent(e) {
  4280. return isString$1(e)
  4281. ? resolveAsset(COMPONENTS, e, !1) || e
  4282. : e || NULL_DYNAMIC_COMPONENT
  4283. }
  4284. function resolveDirective(e) {
  4285. return resolveAsset(DIRECTIVES, e)
  4286. }
  4287. function resolveAsset(e, t) {
  4288. var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  4289. r = currentRenderingInstance || currentInstance
  4290. if (r) {
  4291. var a = r.type
  4292. if (e === COMPONENTS) {
  4293. var o = getComponentName(a)
  4294. if (o && (o === t || o === camelize$1(t) || o === capitalize(camelize$1(t))))
  4295. return a
  4296. }
  4297. var i = resolve(r[e] || a[e], t) || resolve(r.appContext[e], t)
  4298. return !i && n ? a : i
  4299. }
  4300. }
  4301. function resolve(e, t) {
  4302. return e && (e[t] || e[camelize$1(t)] || e[capitalize(camelize$1(t))])
  4303. }
  4304. var Fragment = exports('F', Symbol(void 0)),
  4305. Text = exports('cb', Symbol(void 0)),
  4306. Comment = exports('c7', Symbol(void 0)),
  4307. Static = exports('c9', Symbol(void 0)),
  4308. blockStack = [],
  4309. currentBlock = null
  4310. function openBlock() {
  4311. var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
  4312. blockStack.push((currentBlock = e ? null : []))
  4313. }
  4314. function closeBlock() {
  4315. blockStack.pop(), (currentBlock = blockStack[blockStack.length - 1] || null)
  4316. }
  4317. var isBlockTreeEnabled = 1
  4318. function setBlockTracking(e) {
  4319. isBlockTreeEnabled += e
  4320. }
  4321. function setupBlock(e) {
  4322. return (
  4323. (e.dynamicChildren = isBlockTreeEnabled > 0 ? currentBlock || EMPTY_ARR : null),
  4324. closeBlock(),
  4325. isBlockTreeEnabled > 0 && currentBlock && currentBlock.push(e),
  4326. e
  4327. )
  4328. }
  4329. function createElementBlock(e, t, n, r, a, o) {
  4330. return setupBlock(createBaseVNode(e, t, n, r, a, o, !0))
  4331. }
  4332. function createBlock(e, t, n, r, a) {
  4333. return setupBlock(createVNode(e, t, n, r, a, !0))
  4334. }
  4335. function isVNode(e) {
  4336. return !!e && !0 === e.__v_isVNode
  4337. }
  4338. function isSameVNodeType(e, t) {
  4339. return e.type === t.type && e.key === t.key
  4340. }
  4341. function transformVNodeArgs(e) {}
  4342. var InternalObjectKey = '__vInternal',
  4343. normalizeKey = function (e) {
  4344. var t = e.key
  4345. return null != t ? t : null
  4346. },
  4347. normalizeRef = function (e) {
  4348. var t = e.ref,
  4349. n = e.ref_key,
  4350. r = e.ref_for
  4351. return null != t
  4352. ? isString$1(t) || isRef(t) || isFunction$1(t)
  4353. ? { i: currentRenderingInstance, r: t, k: n, f: !!r }
  4354. : t
  4355. : null
  4356. }
  4357. function createBaseVNode(e) {
  4358. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
  4359. n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
  4360. r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
  4361. a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
  4362. o =
  4363. arguments.length > 5 && void 0 !== arguments[5]
  4364. ? arguments[5]
  4365. : e === Fragment
  4366. ? 0
  4367. : 1,
  4368. i = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
  4369. s = arguments.length > 7 && void 0 !== arguments[7] && arguments[7],
  4370. l = {
  4371. __v_isVNode: !0,
  4372. __v_skip: !0,
  4373. type: e,
  4374. props: t,
  4375. key: t && normalizeKey(t),
  4376. ref: t && normalizeRef(t),
  4377. scopeId: currentScopeId,
  4378. slotScopeIds: null,
  4379. children: n,
  4380. component: null,
  4381. suspense: null,
  4382. ssContent: null,
  4383. ssFallback: null,
  4384. dirs: null,
  4385. transition: null,
  4386. el: null,
  4387. anchor: null,
  4388. target: null,
  4389. targetAnchor: null,
  4390. staticCount: 0,
  4391. shapeFlag: o,
  4392. patchFlag: r,
  4393. dynamicProps: a,
  4394. dynamicChildren: null,
  4395. appContext: null
  4396. }
  4397. return (
  4398. s
  4399. ? (normalizeChildren(l, n), 128 & o && e.normalize(l))
  4400. : n && (l.shapeFlag |= isString$1(n) ? 8 : 16),
  4401. isBlockTreeEnabled > 0 &&
  4402. !i &&
  4403. currentBlock &&
  4404. (l.patchFlag > 0 || 6 & o) &&
  4405. 32 !== l.patchFlag &&
  4406. currentBlock.push(l),
  4407. l
  4408. )
  4409. }
  4410. var createVNode = exports('c', _createVNode)
  4411. function _createVNode(e) {
  4412. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
  4413. n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
  4414. r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
  4415. a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
  4416. o = arguments.length > 5 && void 0 !== arguments[5] && arguments[5]
  4417. if (((e && e !== NULL_DYNAMIC_COMPONENT) || (e = Comment), isVNode(e))) {
  4418. var i = cloneVNode(e, t, !0)
  4419. return n && normalizeChildren(i, n), i
  4420. }
  4421. if ((isClassComponent(e) && (e = e.__vccOpts), t)) {
  4422. var s = (t = guardReactiveProps(t)),
  4423. l = s.class,
  4424. c = s.style
  4425. l && !isString$1(l) && (t.class = normalizeClass(l)),
  4426. isObject$2(c) &&
  4427. (isProxy(c) && !isArray$5(c) && (c = extend$2({}, c)),
  4428. (t.style = normalizeStyle(c)))
  4429. }
  4430. var u = isString$1(e)
  4431. ? 1
  4432. : isSuspense(e)
  4433. ? 128
  4434. : isTeleport(e)
  4435. ? 64
  4436. : isObject$2(e)
  4437. ? 4
  4438. : isFunction$1(e)
  4439. ? 2
  4440. : 0
  4441. return createBaseVNode(e, t, n, r, a, u, o, !0)
  4442. }
  4443. function guardReactiveProps(e) {
  4444. return e ? (isProxy(e) || InternalObjectKey in e ? extend$2({}, e) : e) : null
  4445. }
  4446. function cloneVNode(e, t) {
  4447. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  4448. r = e.props,
  4449. a = e.ref,
  4450. o = e.patchFlag,
  4451. i = e.children,
  4452. s = t ? mergeProps(r || {}, t) : r,
  4453. l = {
  4454. __v_isVNode: !0,
  4455. __v_skip: !0,
  4456. type: e.type,
  4457. props: s,
  4458. key: s && normalizeKey(s),
  4459. ref:
  4460. t && t.ref
  4461. ? n && a
  4462. ? isArray$5(a)
  4463. ? a.concat(normalizeRef(t))
  4464. : [a, normalizeRef(t)]
  4465. : normalizeRef(t)
  4466. : a,
  4467. scopeId: e.scopeId,
  4468. slotScopeIds: e.slotScopeIds,
  4469. children: i,
  4470. target: e.target,
  4471. targetAnchor: e.targetAnchor,
  4472. staticCount: e.staticCount,
  4473. shapeFlag: e.shapeFlag,
  4474. patchFlag: t && e.type !== Fragment ? (-1 === o ? 16 : 16 | o) : o,
  4475. dynamicProps: e.dynamicProps,
  4476. dynamicChildren: e.dynamicChildren,
  4477. appContext: e.appContext,
  4478. dirs: e.dirs,
  4479. transition: e.transition,
  4480. component: e.component,
  4481. suspense: e.suspense,
  4482. ssContent: e.ssContent && cloneVNode(e.ssContent),
  4483. ssFallback: e.ssFallback && cloneVNode(e.ssFallback),
  4484. el: e.el,
  4485. anchor: e.anchor
  4486. }
  4487. return l
  4488. }
  4489. function createTextVNode() {
  4490. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ' ',
  4491. t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
  4492. return createVNode(Text, null, e, t)
  4493. }
  4494. function createStaticVNode(e, t) {
  4495. var n = createVNode(Static, null, e)
  4496. return (n.staticCount = t), n
  4497. }
  4498. function createCommentVNode() {
  4499. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : '',
  4500. t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
  4501. return t ? (openBlock(), createBlock(Comment, null, e)) : createVNode(Comment, null, e)
  4502. }
  4503. function normalizeVNode(e) {
  4504. return null == e || 'boolean' == typeof e
  4505. ? createVNode(Comment)
  4506. : isArray$5(e)
  4507. ? createVNode(Fragment, null, e.slice())
  4508. : 'object' === _typeof2(e)
  4509. ? cloneIfMounted(e)
  4510. : createVNode(Text, null, String(e))
  4511. }
  4512. function cloneIfMounted(e) {
  4513. return null === e.el || e.memo ? e : cloneVNode(e)
  4514. }
  4515. function normalizeChildren(e, t) {
  4516. var n = 0,
  4517. r = e.shapeFlag
  4518. if (null == t) t = null
  4519. else if (isArray$5(t)) n = 16
  4520. else if ('object' === _typeof2(t)) {
  4521. if (65 & r) {
  4522. var a = t.default
  4523. return void (
  4524. a && (a._c && (a._d = !1), normalizeChildren(e, a()), a._c && (a._d = !0))
  4525. )
  4526. }
  4527. n = 32
  4528. var o = t._
  4529. o || InternalObjectKey in t
  4530. ? 3 === o &&
  4531. currentRenderingInstance &&
  4532. (1 === currentRenderingInstance.slots._
  4533. ? (t._ = 1)
  4534. : ((t._ = 2), (e.patchFlag |= 1024)))
  4535. : (t._ctx = currentRenderingInstance)
  4536. } else
  4537. isFunction$1(t)
  4538. ? ((t = { default: t, _ctx: currentRenderingInstance }), (n = 32))
  4539. : ((t = String(t)), 64 & r ? ((n = 16), (t = [createTextVNode(t)])) : (n = 8))
  4540. ;(e.children = t), (e.shapeFlag |= n)
  4541. }
  4542. function mergeProps() {
  4543. for (var e = {}, t = 0; t < arguments.length; t++) {
  4544. var n = t < 0 || arguments.length <= t ? void 0 : arguments[t]
  4545. for (var r in n)
  4546. if ('class' === r)
  4547. e.class !== n.class && (e.class = normalizeClass([e.class, n.class]))
  4548. else if ('style' === r) e.style = normalizeStyle([e.style, n.style])
  4549. else if (isOn(r)) {
  4550. var a = e[r],
  4551. o = n[r]
  4552. a === o || (isArray$5(a) && a.includes(o)) || (e[r] = a ? [].concat(a, o) : o)
  4553. } else '' !== r && (e[r] = n[r])
  4554. }
  4555. return e
  4556. }
  4557. function invokeVNodeHook(e, t, n) {
  4558. var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null
  4559. callWithAsyncErrorHandling(e, t, 7, [n, r])
  4560. }
  4561. function renderList(e, t, n, r) {
  4562. var a,
  4563. o = n && n[r]
  4564. if (isArray$5(e) || isString$1(e)) {
  4565. a = new Array(e.length)
  4566. for (var i = 0, s = e.length; i < s; i++) a[i] = t(e[i], i, void 0, o && o[i])
  4567. } else if ('number' == typeof e) {
  4568. a = new Array(e)
  4569. for (var l = 0; l < e; l++) a[l] = t(l + 1, l, void 0, o && o[l])
  4570. } else if (isObject$2(e))
  4571. if (e[Symbol.iterator])
  4572. a = Array.from(e, function (e, n) {
  4573. return t(e, n, void 0, o && o[n])
  4574. })
  4575. else {
  4576. var c = Object.keys(e)
  4577. a = new Array(c.length)
  4578. for (var u = 0, p = c.length; u < p; u++) {
  4579. var d = c[u]
  4580. a[u] = t(e[d], d, u, o && o[u])
  4581. }
  4582. }
  4583. else a = []
  4584. return n && (n[r] = a), a
  4585. }
  4586. function createSlots(e, t) {
  4587. for (var n = 0; n < t.length; n++) {
  4588. var r = t[n]
  4589. if (isArray$5(r)) for (var a = 0; a < r.length; a++) e[r[a].name] = r[a].fn
  4590. else r && (e[r.name] = r.fn)
  4591. }
  4592. return e
  4593. }
  4594. function renderSlot(e, t) {
  4595. var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
  4596. r = arguments.length > 3 ? arguments[3] : void 0,
  4597. a = arguments.length > 4 ? arguments[4] : void 0
  4598. if (currentRenderingInstance.isCE)
  4599. return createVNode('slot', 'default' === t ? null : { name: t }, r && r())
  4600. var o = e[t]
  4601. o && o._c && (o._d = !1), openBlock()
  4602. var i = o && ensureValidVNode(o(n)),
  4603. s = createBlock(
  4604. Fragment,
  4605. { key: n.key || '_'.concat(t) },
  4606. i || (r ? r() : []),
  4607. i && 1 === e._ ? 64 : -2
  4608. )
  4609. return (
  4610. !a && s.scopeId && (s.slotScopeIds = [s.scopeId + '-s']), o && o._c && (o._d = !0), s
  4611. )
  4612. }
  4613. function ensureValidVNode(e) {
  4614. return e.some(function (e) {
  4615. return (
  4616. !isVNode(e) ||
  4617. (e.type !== Comment && !(e.type === Fragment && !ensureValidVNode(e.children)))
  4618. )
  4619. })
  4620. ? e
  4621. : null
  4622. }
  4623. function toHandlers(e) {
  4624. var t = {}
  4625. for (var n in e) t[toHandlerKey(n)] = e[n]
  4626. return t
  4627. }
  4628. var getPublicInstance = function e(t) {
  4629. return t
  4630. ? isStatefulComponent(t)
  4631. ? getExposeProxy(t) || t.proxy
  4632. : e(t.parent)
  4633. : null
  4634. },
  4635. publicPropertiesMap = extend$2(Object.create(null), {
  4636. $: function (e) {
  4637. return e
  4638. },
  4639. $el: function (e) {
  4640. return e.vnode.el
  4641. },
  4642. $data: function (e) {
  4643. return e.data
  4644. },
  4645. $props: function (e) {
  4646. return e.props
  4647. },
  4648. $attrs: function (e) {
  4649. return e.attrs
  4650. },
  4651. $slots: function (e) {
  4652. return e.slots
  4653. },
  4654. $refs: function (e) {
  4655. return e.refs
  4656. },
  4657. $parent: function (e) {
  4658. return getPublicInstance(e.parent)
  4659. },
  4660. $root: function (e) {
  4661. return getPublicInstance(e.root)
  4662. },
  4663. $emit: function (e) {
  4664. return e.emit
  4665. },
  4666. $options: function (e) {
  4667. return resolveMergedOptions(e)
  4668. },
  4669. $forceUpdate: function (e) {
  4670. return function () {
  4671. return queueJob(e.update)
  4672. }
  4673. },
  4674. $nextTick: function (e) {
  4675. return nextTick.bind(e.proxy)
  4676. },
  4677. $watch: function (e) {
  4678. return instanceWatch.bind(e)
  4679. }
  4680. }),
  4681. PublicInstanceProxyHandlers = {
  4682. get: function (e, t) {
  4683. var n,
  4684. r = e._,
  4685. a = r.ctx,
  4686. o = r.setupState,
  4687. i = r.data,
  4688. s = r.props,
  4689. l = r.accessCache,
  4690. c = r.type,
  4691. u = r.appContext
  4692. if ('$' !== t[0]) {
  4693. var p = l[t]
  4694. if (void 0 !== p)
  4695. switch (p) {
  4696. case 1:
  4697. return o[t]
  4698. case 2:
  4699. return i[t]
  4700. case 4:
  4701. return a[t]
  4702. case 3:
  4703. return s[t]
  4704. }
  4705. else {
  4706. if (o !== EMPTY_OBJ && hasOwn$2(o, t)) return (l[t] = 1), o[t]
  4707. if (i !== EMPTY_OBJ && hasOwn$2(i, t)) return (l[t] = 2), i[t]
  4708. if ((n = r.propsOptions[0]) && hasOwn$2(n, t)) return (l[t] = 3), s[t]
  4709. if (a !== EMPTY_OBJ && hasOwn$2(a, t)) return (l[t] = 4), a[t]
  4710. shouldCacheAccess && (l[t] = 0)
  4711. }
  4712. }
  4713. var d,
  4714. f,
  4715. h = publicPropertiesMap[t]
  4716. return h
  4717. ? ('$attrs' === t && track(r, 'get', t), h(r))
  4718. : (d = c.__cssModules) && (d = d[t])
  4719. ? d
  4720. : a !== EMPTY_OBJ && hasOwn$2(a, t)
  4721. ? ((l[t] = 4), a[t])
  4722. : ((f = u.config.globalProperties), hasOwn$2(f, t) ? f[t] : void 0)
  4723. },
  4724. set: function (e, t, n) {
  4725. var r = e._,
  4726. a = r.data,
  4727. o = r.setupState,
  4728. i = r.ctx
  4729. if (o !== EMPTY_OBJ && hasOwn$2(o, t)) o[t] = n
  4730. else if (a !== EMPTY_OBJ && hasOwn$2(a, t)) a[t] = n
  4731. else if (hasOwn$2(r.props, t)) return !1
  4732. return ('$' !== t[0] || !(t.slice(1) in r)) && ((i[t] = n), !0)
  4733. },
  4734. has: function (e, t) {
  4735. var n,
  4736. r = e._,
  4737. a = r.data,
  4738. o = r.setupState,
  4739. i = r.accessCache,
  4740. s = r.ctx,
  4741. l = r.appContext,
  4742. c = r.propsOptions
  4743. return (
  4744. !!i[t] ||
  4745. (a !== EMPTY_OBJ && hasOwn$2(a, t)) ||
  4746. (o !== EMPTY_OBJ && hasOwn$2(o, t)) ||
  4747. ((n = c[0]) && hasOwn$2(n, t)) ||
  4748. hasOwn$2(s, t) ||
  4749. hasOwn$2(publicPropertiesMap, t) ||
  4750. hasOwn$2(l.config.globalProperties, t)
  4751. )
  4752. }
  4753. },
  4754. RuntimeCompiledPublicInstanceProxyHandlers = extend$2({}, PublicInstanceProxyHandlers, {
  4755. get: function (e, t) {
  4756. if (t !== Symbol.unscopables) return PublicInstanceProxyHandlers.get(e, t, e)
  4757. },
  4758. has: function (e, t) {
  4759. var n = '_' !== t[0] && !isGloballyWhitelisted(t)
  4760. return n
  4761. }
  4762. }),
  4763. emptyAppContext = createAppContext(),
  4764. uid$1 = 0
  4765. function createComponentInstance(e, t, n) {
  4766. var r = e.type,
  4767. a = (t ? t.appContext : e.appContext) || emptyAppContext,
  4768. o = {
  4769. uid: uid$1++,
  4770. vnode: e,
  4771. type: r,
  4772. parent: t,
  4773. appContext: a,
  4774. root: null,
  4775. next: null,
  4776. subTree: null,
  4777. effect: null,
  4778. update: null,
  4779. scope: new EffectScope(!0),
  4780. render: null,
  4781. proxy: null,
  4782. exposed: null,
  4783. exposeProxy: null,
  4784. withProxy: null,
  4785. provides: t ? t.provides : Object.create(a.provides),
  4786. accessCache: null,
  4787. renderCache: [],
  4788. components: null,
  4789. directives: null,
  4790. propsOptions: normalizePropsOptions(r, a),
  4791. emitsOptions: normalizeEmitsOptions(r, a),
  4792. emit: null,
  4793. emitted: null,
  4794. propsDefaults: EMPTY_OBJ,
  4795. inheritAttrs: r.inheritAttrs,
  4796. ctx: EMPTY_OBJ,
  4797. data: EMPTY_OBJ,
  4798. props: EMPTY_OBJ,
  4799. attrs: EMPTY_OBJ,
  4800. slots: EMPTY_OBJ,
  4801. refs: EMPTY_OBJ,
  4802. setupState: EMPTY_OBJ,
  4803. setupContext: null,
  4804. suspense: n,
  4805. suspenseId: n ? n.pendingId : 0,
  4806. asyncDep: null,
  4807. asyncResolved: !1,
  4808. isMounted: !1,
  4809. isUnmounted: !1,
  4810. isDeactivated: !1,
  4811. bc: null,
  4812. c: null,
  4813. bm: null,
  4814. m: null,
  4815. bu: null,
  4816. u: null,
  4817. um: null,
  4818. bum: null,
  4819. da: null,
  4820. a: null,
  4821. rtg: null,
  4822. rtc: null,
  4823. ec: null,
  4824. sp: null
  4825. }
  4826. return (
  4827. (o.ctx = { _: o }),
  4828. (o.root = t ? t.root : o),
  4829. (o.emit = emit$1.bind(null, o)),
  4830. e.ce && e.ce(o),
  4831. o
  4832. )
  4833. }
  4834. var currentInstance = null,
  4835. getCurrentInstance = exports('a9', function () {
  4836. return currentInstance || currentRenderingInstance
  4837. }),
  4838. setCurrentInstance = function (e) {
  4839. ;(currentInstance = e), e.scope.on()
  4840. },
  4841. unsetCurrentInstance = function () {
  4842. currentInstance && currentInstance.scope.off(), (currentInstance = null)
  4843. }
  4844. function isStatefulComponent(e) {
  4845. return 4 & e.vnode.shapeFlag
  4846. }
  4847. var isInSSRComponentSetup = !1,
  4848. compile,
  4849. installWithProxy
  4850. function setupComponent(e) {
  4851. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
  4852. isInSSRComponentSetup = t
  4853. var n = e.vnode,
  4854. r = n.props,
  4855. a = n.children,
  4856. o = isStatefulComponent(e)
  4857. initProps(e, r, o, t), initSlots(e, a)
  4858. var i = o ? setupStatefulComponent(e, t) : void 0
  4859. return (isInSSRComponentSetup = !1), i
  4860. }
  4861. function setupStatefulComponent(e, t) {
  4862. var n = e.type
  4863. ;(e.accessCache = Object.create(null)),
  4864. (e.proxy = markRaw(new Proxy(e.ctx, PublicInstanceProxyHandlers)))
  4865. var r = n.setup
  4866. if (r) {
  4867. var a = (e.setupContext = r.length > 1 ? createSetupContext(e) : null)
  4868. setCurrentInstance(e), pauseTracking()
  4869. var o = callWithErrorHandling(r, e, 0, [e.props, a])
  4870. if ((resetTracking(), unsetCurrentInstance(), isPromise$1(o))) {
  4871. if ((o.then(unsetCurrentInstance, unsetCurrentInstance), t))
  4872. return o
  4873. .then(function (n) {
  4874. handleSetupResult(e, n, t)
  4875. })
  4876. .catch(function (t) {
  4877. handleError(t, e, 0)
  4878. })
  4879. e.asyncDep = o
  4880. } else handleSetupResult(e, o, t)
  4881. } else finishComponentSetup(e, t)
  4882. }
  4883. function handleSetupResult(e, t, n) {
  4884. isFunction$1(t)
  4885. ? e.type.__ssrInlineRender
  4886. ? (e.ssrRender = t)
  4887. : (e.render = t)
  4888. : isObject$2(t) && (e.setupState = proxyRefs(t)),
  4889. finishComponentSetup(e, n)
  4890. }
  4891. function registerRuntimeCompiler(e) {
  4892. ;(compile = e),
  4893. (installWithProxy = function (e) {
  4894. e.render._rc &&
  4895. (e.withProxy = new Proxy(e.ctx, RuntimeCompiledPublicInstanceProxyHandlers))
  4896. })
  4897. }
  4898. var isRuntimeOnly = exports('cx', function () {
  4899. return !compile
  4900. })
  4901. function finishComponentSetup(e, t, n) {
  4902. var r = e.type
  4903. if (!e.render) {
  4904. if (!t && compile && !r.render) {
  4905. var a = r.template
  4906. if (a) {
  4907. var o = e.appContext.config,
  4908. i = o.isCustomElement,
  4909. s = o.compilerOptions,
  4910. l = r.delimiters,
  4911. c = r.compilerOptions,
  4912. u = extend$2(extend$2({ isCustomElement: i, delimiters: l }, s), c)
  4913. r.render = compile(a, u)
  4914. }
  4915. }
  4916. ;(e.render = r.render || NOOP), installWithProxy && installWithProxy(e)
  4917. }
  4918. setCurrentInstance(e),
  4919. pauseTracking(),
  4920. applyOptions(e),
  4921. resetTracking(),
  4922. unsetCurrentInstance()
  4923. }
  4924. function createAttrsProxy(e) {
  4925. return new Proxy(e.attrs, {
  4926. get: function (t, n) {
  4927. return track(e, 'get', '$attrs'), t[n]
  4928. }
  4929. })
  4930. }
  4931. function createSetupContext(e) {
  4932. var t
  4933. return {
  4934. get attrs() {
  4935. return t || (t = createAttrsProxy(e))
  4936. },
  4937. slots: e.slots,
  4938. emit: e.emit,
  4939. expose: function (t) {
  4940. e.exposed = t || {}
  4941. }
  4942. }
  4943. }
  4944. function getExposeProxy(e) {
  4945. if (e.exposed)
  4946. return (
  4947. e.exposeProxy ||
  4948. (e.exposeProxy = new Proxy(proxyRefs(markRaw(e.exposed)), {
  4949. get: function (t, n) {
  4950. return n in t
  4951. ? t[n]
  4952. : n in publicPropertiesMap
  4953. ? publicPropertiesMap[n](e)
  4954. : void 0
  4955. }
  4956. }))
  4957. )
  4958. }
  4959. var classifyRE = /(?:^|[-_])(\w)/g,
  4960. classify = function (e) {
  4961. return e
  4962. .replace(classifyRE, function (e) {
  4963. return e.toUpperCase()
  4964. })
  4965. .replace(/[-_]/g, '')
  4966. }
  4967. function getComponentName(e) {
  4968. return (isFunction$1(e) && e.displayName) || e.name
  4969. }
  4970. function formatComponentName(e, t) {
  4971. var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
  4972. r = getComponentName(t)
  4973. if (!r && t.__file) {
  4974. var a = t.__file.match(/([^/\\]+)\.\w+$/)
  4975. a && (r = a[1])
  4976. }
  4977. if (!r && e && e.parent) {
  4978. var o = function (e) {
  4979. for (var n in e) if (e[n] === t) return n
  4980. }
  4981. r = o(e.components || e.parent.type.components) || o(e.appContext.components)
  4982. }
  4983. return r ? classify(r) : n ? 'App' : 'Anonymous'
  4984. }
  4985. function isClassComponent(e) {
  4986. return isFunction$1(e) && '__vccOpts' in e
  4987. }
  4988. var stack = []
  4989. function warn(e) {
  4990. pauseTracking()
  4991. for (
  4992. var t = stack.length ? stack[stack.length - 1].component : null,
  4993. n = t && t.appContext.config.warnHandler,
  4994. r = getComponentTrace(),
  4995. a = arguments.length,
  4996. o = new Array(a > 1 ? a - 1 : 0),
  4997. i = 1;
  4998. i < a;
  4999. i++
  5000. )
  5001. o[i - 1] = arguments[i]
  5002. if (n)
  5003. callWithErrorHandling(n, t, 11, [
  5004. e + o.join(''),
  5005. t && t.proxy,
  5006. r
  5007. .map(function (e) {
  5008. var n = e.vnode
  5009. return 'at <'.concat(formatComponentName(t, n.type), '>')
  5010. })
  5011. .join('\n'),
  5012. r
  5013. ])
  5014. else {
  5015. var s,
  5016. l = ['[Vue warn]: '.concat(e)].concat(o)
  5017. r.length && l.push.apply(l, ['\n'].concat(_toConsumableArray2(formatTrace(r)))),
  5018. (s = console).warn.apply(s, _toConsumableArray2(l))
  5019. }
  5020. resetTracking()
  5021. }
  5022. function getComponentTrace() {
  5023. var e = stack[stack.length - 1]
  5024. if (!e) return []
  5025. for (var t = []; e; ) {
  5026. var n = t[0]
  5027. n && n.vnode === e ? n.recurseCount++ : t.push({ vnode: e, recurseCount: 0 })
  5028. var r = e.component && e.component.parent
  5029. e = r && r.vnode
  5030. }
  5031. return t
  5032. }
  5033. function formatTrace(e) {
  5034. var t = []
  5035. return (
  5036. e.forEach(function (e, n) {
  5037. t.push.apply(
  5038. t,
  5039. _toConsumableArray2(0 === n ? [] : ['\n']).concat(
  5040. _toConsumableArray2(formatTraceEntry(e))
  5041. )
  5042. )
  5043. }),
  5044. t
  5045. )
  5046. }
  5047. function formatTraceEntry(e) {
  5048. var t = e.vnode,
  5049. n = e.recurseCount,
  5050. r = n > 0 ? '... ('.concat(n, ' recursive calls)') : '',
  5051. a = !!t.component && null == t.component.parent,
  5052. o = ' at <'.concat(formatComponentName(t.component, t.type, a)),
  5053. i = '>' + r
  5054. return t.props ? [o].concat(_toConsumableArray2(formatProps(t.props)), [i]) : [o + i]
  5055. }
  5056. function formatProps(e) {
  5057. var t = [],
  5058. n = Object.keys(e)
  5059. return (
  5060. n.slice(0, 3).forEach(function (n) {
  5061. t.push.apply(t, _toConsumableArray2(formatProp(n, e[n])))
  5062. }),
  5063. n.length > 3 && t.push(' ...'),
  5064. t
  5065. )
  5066. }
  5067. function formatProp(e, t, n) {
  5068. return isString$1(t)
  5069. ? ((t = JSON.stringify(t)), n ? t : [''.concat(e, '=').concat(t)])
  5070. : 'number' == typeof t || 'boolean' == typeof t || null == t
  5071. ? n
  5072. ? t
  5073. : [''.concat(e, '=').concat(t)]
  5074. : isRef(t)
  5075. ? ((t = formatProp(e, toRaw(t.value), !0)), n ? t : [''.concat(e, '=Ref<'), t, '>'])
  5076. : isFunction$1(t)
  5077. ? [''.concat(e, '=fn').concat(t.name ? '<'.concat(t.name, '>') : '')]
  5078. : ((t = toRaw(t)), n ? t : [''.concat(e, '='), t])
  5079. }
  5080. function callWithErrorHandling(e, t, n, r) {
  5081. var a
  5082. try {
  5083. a = r ? e.apply(void 0, _toConsumableArray2(r)) : e()
  5084. } catch (o) {
  5085. handleError(o, t, n)
  5086. }
  5087. return a
  5088. }
  5089. function callWithAsyncErrorHandling(e, t, n, r) {
  5090. if (isFunction$1(e)) {
  5091. var a = callWithErrorHandling(e, t, n, r)
  5092. return (
  5093. a &&
  5094. isPromise$1(a) &&
  5095. a.catch(function (e) {
  5096. handleError(e, t, n)
  5097. }),
  5098. a
  5099. )
  5100. }
  5101. for (var o = [], i = 0; i < e.length; i++)
  5102. o.push(callWithAsyncErrorHandling(e[i], t, n, r))
  5103. return o
  5104. }
  5105. function handleError(e, t, n) {
  5106. var r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3],
  5107. a = t ? t.vnode : null
  5108. if (t) {
  5109. for (var o = t.parent, i = t.proxy, s = n; o; ) {
  5110. var l = o.ec
  5111. if (l) for (var c = 0; c < l.length; c++) if (!1 === l[c](e, i, s)) return
  5112. o = o.parent
  5113. }
  5114. var u = t.appContext.config.errorHandler
  5115. if (u) return void callWithErrorHandling(u, null, 10, [e, i, s])
  5116. }
  5117. logError(e, n, a, r)
  5118. }
  5119. function logError(e, t, n) {
  5120. console.error(e)
  5121. }
  5122. var isFlushing = !1,
  5123. isFlushPending = !1,
  5124. queue$1 = [],
  5125. flushIndex = 0,
  5126. pendingPreFlushCbs = [],
  5127. activePreFlushCbs = null,
  5128. preFlushIndex = 0,
  5129. pendingPostFlushCbs = [],
  5130. activePostFlushCbs = null,
  5131. postFlushIndex = 0,
  5132. resolvedPromise = Promise.resolve(),
  5133. currentFlushPromise = null,
  5134. currentPreFlushParentJob = null
  5135. function nextTick(e) {
  5136. var t = currentFlushPromise || resolvedPromise
  5137. return e ? t.then(this ? e.bind(this) : e) : t
  5138. }
  5139. function findInsertionIndex(e) {
  5140. for (var t = flushIndex + 1, n = queue$1.length; t < n; ) {
  5141. var r = (t + n) >>> 1
  5142. getId(queue$1[r]) < e ? (t = r + 1) : (n = r)
  5143. }
  5144. return t
  5145. }
  5146. function queueJob(e) {
  5147. ;(queue$1.length &&
  5148. queue$1.includes(e, isFlushing && e.allowRecurse ? flushIndex + 1 : flushIndex)) ||
  5149. e === currentPreFlushParentJob ||
  5150. (null == e.id ? queue$1.push(e) : queue$1.splice(findInsertionIndex(e.id), 0, e),
  5151. queueFlush())
  5152. }
  5153. function queueFlush() {
  5154. isFlushing ||
  5155. isFlushPending ||
  5156. ((isFlushPending = !0), (currentFlushPromise = resolvedPromise.then(flushJobs)))
  5157. }
  5158. function invalidateJob(e) {
  5159. var t = queue$1.indexOf(e)
  5160. t > flushIndex && queue$1.splice(t, 1)
  5161. }
  5162. function queueCb(e, t, n, r) {
  5163. isArray$5(e)
  5164. ? n.push.apply(n, _toConsumableArray2(e))
  5165. : (t && t.includes(e, e.allowRecurse ? r + 1 : r)) || n.push(e),
  5166. queueFlush()
  5167. }
  5168. function queuePreFlushCb(e) {
  5169. queueCb(e, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex)
  5170. }
  5171. function queuePostFlushCb(e) {
  5172. queueCb(e, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex)
  5173. }
  5174. function flushPreFlushCbs(e) {
  5175. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
  5176. if (pendingPreFlushCbs.length) {
  5177. for (
  5178. currentPreFlushParentJob = t,
  5179. activePreFlushCbs = _toConsumableArray2(new Set(pendingPreFlushCbs)),
  5180. pendingPreFlushCbs.length = 0,
  5181. preFlushIndex = 0;
  5182. preFlushIndex < activePreFlushCbs.length;
  5183. preFlushIndex++
  5184. )
  5185. activePreFlushCbs[preFlushIndex]()
  5186. ;(activePreFlushCbs = null),
  5187. (preFlushIndex = 0),
  5188. (currentPreFlushParentJob = null),
  5189. flushPreFlushCbs(e, t)
  5190. }
  5191. }
  5192. function flushPostFlushCbs(e) {
  5193. if (pendingPostFlushCbs.length) {
  5194. var t,
  5195. n = _toConsumableArray2(new Set(pendingPostFlushCbs))
  5196. if (((pendingPostFlushCbs.length = 0), activePostFlushCbs))
  5197. return void (t = activePostFlushCbs).push.apply(t, _toConsumableArray2(n))
  5198. for (
  5199. (activePostFlushCbs = n).sort(function (e, t) {
  5200. return getId(e) - getId(t)
  5201. }),
  5202. postFlushIndex = 0;
  5203. postFlushIndex < activePostFlushCbs.length;
  5204. postFlushIndex++
  5205. )
  5206. activePostFlushCbs[postFlushIndex]()
  5207. ;(activePostFlushCbs = null), (postFlushIndex = 0)
  5208. }
  5209. }
  5210. var getId = function (e) {
  5211. return null == e.id ? 1 / 0 : e.id
  5212. }
  5213. function flushJobs(e) {
  5214. ;(isFlushPending = !1),
  5215. (isFlushing = !0),
  5216. flushPreFlushCbs(e),
  5217. queue$1.sort(function (e, t) {
  5218. return getId(e) - getId(t)
  5219. })
  5220. try {
  5221. for (flushIndex = 0; flushIndex < queue$1.length; flushIndex++) {
  5222. var t = queue$1[flushIndex]
  5223. t && !1 !== t.active && callWithErrorHandling(t, null, 14)
  5224. }
  5225. } finally {
  5226. ;(flushIndex = 0),
  5227. (queue$1.length = 0),
  5228. flushPostFlushCbs(),
  5229. (isFlushing = !1),
  5230. (currentFlushPromise = null),
  5231. (queue$1.length || pendingPreFlushCbs.length || pendingPostFlushCbs.length) &&
  5232. flushJobs(e)
  5233. }
  5234. }
  5235. function watchEffect(e, t) {
  5236. return doWatch(e, null, t)
  5237. }
  5238. function watchPostEffect(e, t) {
  5239. return doWatch(e, null, { flush: 'post' })
  5240. }
  5241. function watchSyncEffect(e, t) {
  5242. return doWatch(e, null, { flush: 'sync' })
  5243. }
  5244. var INITIAL_WATCHER_VALUE = {}
  5245. function watch(e, t, n) {
  5246. return doWatch(e, t, n)
  5247. }
  5248. function doWatch(e, t) {
  5249. var n,
  5250. r,
  5251. a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : EMPTY_OBJ,
  5252. o = a.immediate,
  5253. i = a.deep,
  5254. s = a.flush,
  5255. l = (a.onTrack, a.onTrigger, currentInstance),
  5256. c = !1,
  5257. u = !1
  5258. if (
  5259. (isRef(e)
  5260. ? ((n = function () {
  5261. return e.value
  5262. }),
  5263. (c = !!e._shallow))
  5264. : isReactive(e)
  5265. ? ((n = function () {
  5266. return e
  5267. }),
  5268. (i = !0))
  5269. : isArray$5(e)
  5270. ? ((u = !0),
  5271. (c = e.some(isReactive)),
  5272. (n = function () {
  5273. return e.map(function (e) {
  5274. return isRef(e)
  5275. ? e.value
  5276. : isReactive(e)
  5277. ? traverse(e)
  5278. : isFunction$1(e)
  5279. ? callWithErrorHandling(e, l, 2)
  5280. : void 0
  5281. })
  5282. }))
  5283. : (n = isFunction$1(e)
  5284. ? t
  5285. ? function () {
  5286. return callWithErrorHandling(e, l, 2)
  5287. }
  5288. : function () {
  5289. if (!l || !l.isUnmounted)
  5290. return r && r(), callWithAsyncErrorHandling(e, l, 3, [d])
  5291. }
  5292. : NOOP),
  5293. t && i)
  5294. ) {
  5295. var p = n
  5296. n = function () {
  5297. return traverse(p())
  5298. }
  5299. }
  5300. var d = function (e) {
  5301. r = v.onStop = function () {
  5302. callWithErrorHandling(e, l, 4)
  5303. }
  5304. }
  5305. if (isInSSRComponentSetup)
  5306. return (
  5307. (d = NOOP),
  5308. t ? o && callWithAsyncErrorHandling(t, l, 3, [n(), u ? [] : void 0, d]) : n(),
  5309. NOOP
  5310. )
  5311. var f = u ? [] : INITIAL_WATCHER_VALUE,
  5312. h = function () {
  5313. if (v.active)
  5314. if (t) {
  5315. var e = v.run()
  5316. ;(i ||
  5317. c ||
  5318. (u
  5319. ? e.some(function (e, t) {
  5320. return hasChanged(e, f[t])
  5321. })
  5322. : hasChanged(e, f))) &&
  5323. (r && r(),
  5324. callWithAsyncErrorHandling(t, l, 3, [
  5325. e,
  5326. f === INITIAL_WATCHER_VALUE ? void 0 : f,
  5327. d
  5328. ]),
  5329. (f = e))
  5330. } else v.run()
  5331. }
  5332. h.allowRecurse = !!t
  5333. var v = new ReactiveEffect(
  5334. n,
  5335. 'sync' === s
  5336. ? h
  5337. : 'post' === s
  5338. ? function () {
  5339. return queuePostRenderEffect(h, l && l.suspense)
  5340. }
  5341. : function () {
  5342. !l || l.isMounted ? queuePreFlushCb(h) : h()
  5343. }
  5344. )
  5345. return (
  5346. t
  5347. ? o
  5348. ? h()
  5349. : (f = v.run())
  5350. : 'post' === s
  5351. ? queuePostRenderEffect(v.run.bind(v), l && l.suspense)
  5352. : v.run(),
  5353. function () {
  5354. v.stop(), l && l.scope && remove(l.scope.effects, v)
  5355. }
  5356. )
  5357. }
  5358. function instanceWatch(e, t, n) {
  5359. var r,
  5360. a = this.proxy,
  5361. o = isString$1(e)
  5362. ? e.includes('.')
  5363. ? createPathGetter(a, e)
  5364. : function () {
  5365. return a[e]
  5366. }
  5367. : e.bind(a, a)
  5368. isFunction$1(t) ? (r = t) : ((r = t.handler), (n = t))
  5369. var i = currentInstance
  5370. setCurrentInstance(this)
  5371. var s = doWatch(o, r.bind(a), n)
  5372. return i ? setCurrentInstance(i) : unsetCurrentInstance(), s
  5373. }
  5374. function createPathGetter(e, t) {
  5375. var n = t.split('.')
  5376. return function () {
  5377. for (var t = e, r = 0; r < n.length && t; r++) t = t[n[r]]
  5378. return t
  5379. }
  5380. }
  5381. function traverse(e, t) {
  5382. if (!isObject$2(e) || e.__v_skip) return e
  5383. if ((t = t || new Set()).has(e)) return e
  5384. if ((t.add(e), isRef(e))) traverse(e.value, t)
  5385. else if (isArray$5(e)) for (var n = 0; n < e.length; n++) traverse(e[n], t)
  5386. else if (isSet$1(e) || isMap$1(e))
  5387. e.forEach(function (e) {
  5388. traverse(e, t)
  5389. })
  5390. else if (isPlainObject$2(e)) for (var r in e) traverse(e[r], t)
  5391. return e
  5392. }
  5393. function defineProps() {
  5394. return null
  5395. }
  5396. function defineEmits() {
  5397. return null
  5398. }
  5399. function defineExpose(e) {}
  5400. function withDefaults(e, t) {
  5401. return null
  5402. }
  5403. function useSlots() {
  5404. return getContext().slots
  5405. }
  5406. function useAttrs() {
  5407. return getContext().attrs
  5408. }
  5409. function getContext() {
  5410. var e = getCurrentInstance()
  5411. return e.setupContext || (e.setupContext = createSetupContext(e))
  5412. }
  5413. function mergeDefaults(e, t) {
  5414. var n = isArray$5(e)
  5415. ? e.reduce(function (e, t) {
  5416. return (e[t] = {}), e
  5417. }, {})
  5418. : e
  5419. for (var r in t) {
  5420. var a = n[r]
  5421. a
  5422. ? isArray$5(a) || isFunction$1(a)
  5423. ? (n[r] = { type: a, default: t[r] })
  5424. : (a.default = t[r])
  5425. : null === a && (n[r] = { default: t[r] })
  5426. }
  5427. return n
  5428. }
  5429. function createPropsRestProxy(e, t) {
  5430. var n = {},
  5431. r = function (r) {
  5432. t.includes(r) ||
  5433. Object.defineProperty(n, r, {
  5434. enumerable: !0,
  5435. get: function () {
  5436. return e[r]
  5437. }
  5438. })
  5439. }
  5440. for (var a in e) r(a)
  5441. return n
  5442. }
  5443. function withAsyncContext(e) {
  5444. var t = getCurrentInstance(),
  5445. n = e()
  5446. return (
  5447. unsetCurrentInstance(),
  5448. isPromise$1(n) &&
  5449. (n = n.catch(function (e) {
  5450. throw (setCurrentInstance(t), e)
  5451. })),
  5452. [
  5453. n,
  5454. function () {
  5455. return setCurrentInstance(t)
  5456. }
  5457. ]
  5458. )
  5459. }
  5460. function h$1(e, t, n) {
  5461. var r = arguments.length
  5462. return 2 === r
  5463. ? isObject$2(t) && !isArray$5(t)
  5464. ? isVNode(t)
  5465. ? createVNode(e, null, [t])
  5466. : createVNode(e, t)
  5467. : createVNode(e, null, t)
  5468. : (r > 3
  5469. ? (n = Array.prototype.slice.call(arguments, 2))
  5470. : 3 === r && isVNode(n) && (n = [n]),
  5471. createVNode(e, t, n))
  5472. }
  5473. var ssrContextKey = exports('cQ', Symbol('')),
  5474. useSSRContext = exports('cV', function () {
  5475. var e = inject(ssrContextKey)
  5476. return (
  5477. e ||
  5478. warn(
  5479. 'Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.'
  5480. ),
  5481. e
  5482. )
  5483. })
  5484. function initCustomFormatter() {}
  5485. function withMemo(e, t, n, r) {
  5486. var a = n[r]
  5487. if (a && isMemoSame(a, e)) return a
  5488. var o = t()
  5489. return (o.memo = e.slice()), (n[r] = o)
  5490. }
  5491. function isMemoSame(e, t) {
  5492. var n = e.memo
  5493. if (n.length != t.length) return !1
  5494. for (var r = 0; r < n.length; r++) if (n[r] !== t[r]) return !1
  5495. return isBlockTreeEnabled > 0 && currentBlock && currentBlock.push(e), !0
  5496. }
  5497. var version = exports('cY', '3.2.26'),
  5498. _ssrUtils = {
  5499. createComponentInstance: createComponentInstance,
  5500. setupComponent: setupComponent,
  5501. renderComponentRoot: renderComponentRoot,
  5502. setCurrentRenderingInstance: setCurrentRenderingInstance,
  5503. isVNode: isVNode,
  5504. normalizeVNode: normalizeVNode
  5505. },
  5506. ssrUtils = exports('cR', _ssrUtils),
  5507. resolveFilter = exports('cL', null),
  5508. compatUtils = exports('cf', null),
  5509. svgNS = 'http://www.w3.org/2000/svg',
  5510. doc = 'undefined' != typeof document ? document : null,
  5511. staticTemplateCache = new Map(),
  5512. nodeOps = {
  5513. insert: function (e, t, n) {
  5514. t.insertBefore(e, n || null)
  5515. },
  5516. remove: function (e) {
  5517. var t = e.parentNode
  5518. t && t.removeChild(e)
  5519. },
  5520. createElement: function (e, t, n, r) {
  5521. var a = t
  5522. ? doc.createElementNS(svgNS, e)
  5523. : doc.createElement(e, n ? { is: n } : void 0)
  5524. return (
  5525. 'select' === e &&
  5526. r &&
  5527. null != r.multiple &&
  5528. a.setAttribute('multiple', r.multiple),
  5529. a
  5530. )
  5531. },
  5532. createText: function (e) {
  5533. return doc.createTextNode(e)
  5534. },
  5535. createComment: function (e) {
  5536. return doc.createComment(e)
  5537. },
  5538. setText: function (e, t) {
  5539. e.nodeValue = t
  5540. },
  5541. setElementText: function (e, t) {
  5542. e.textContent = t
  5543. },
  5544. parentNode: function (e) {
  5545. return e.parentNode
  5546. },
  5547. nextSibling: function (e) {
  5548. return e.nextSibling
  5549. },
  5550. querySelector: function (e) {
  5551. return doc.querySelector(e)
  5552. },
  5553. setScopeId: function (e, t) {
  5554. e.setAttribute(t, '')
  5555. },
  5556. cloneNode: function (e) {
  5557. var t = e.cloneNode(!0)
  5558. return '_value' in e && (t._value = e._value), t
  5559. },
  5560. insertStaticContent: function (e, t, n, r) {
  5561. var a = n ? n.previousSibling : t.lastChild,
  5562. o = staticTemplateCache.get(e)
  5563. if (!o) {
  5564. var i = doc.createElement('template')
  5565. if (((i.innerHTML = r ? '<svg>'.concat(e, '</svg>') : e), (o = i.content), r)) {
  5566. for (var s = o.firstChild; s.firstChild; ) o.appendChild(s.firstChild)
  5567. o.removeChild(s)
  5568. }
  5569. staticTemplateCache.set(e, o)
  5570. }
  5571. return (
  5572. t.insertBefore(o.cloneNode(!0), n),
  5573. [a ? a.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild]
  5574. )
  5575. }
  5576. }
  5577. function patchClass(e, t, n) {
  5578. var r = e._vtc
  5579. r && (t = (t ? [t].concat(_toConsumableArray2(r)) : _toConsumableArray2(r)).join(' ')),
  5580. null == t
  5581. ? e.removeAttribute('class')
  5582. : n
  5583. ? e.setAttribute('class', t)
  5584. : (e.className = t)
  5585. }
  5586. function patchStyle(e, t, n) {
  5587. var r = e.style,
  5588. a = isString$1(n)
  5589. if (n && !a) {
  5590. for (var o in n) setStyle(r, o, n[o])
  5591. if (t && !isString$1(t)) for (var i in t) null == n[i] && setStyle(r, i, '')
  5592. } else {
  5593. var s = r.display
  5594. a ? t !== n && (r.cssText = n) : t && e.removeAttribute('style'),
  5595. '_vod' in e && (r.display = s)
  5596. }
  5597. }
  5598. var importantRE = /\s*!important$/
  5599. function setStyle(e, t, n) {
  5600. if (isArray$5(n))
  5601. n.forEach(function (n) {
  5602. return setStyle(e, t, n)
  5603. })
  5604. else if (t.startsWith('--')) e.setProperty(t, n)
  5605. else {
  5606. var r = autoPrefix(e, t)
  5607. importantRE.test(n)
  5608. ? e.setProperty(hyphenate(r), n.replace(importantRE, ''), 'important')
  5609. : (e[r] = n)
  5610. }
  5611. }
  5612. var prefixes = ['Webkit', 'Moz', 'ms'],
  5613. prefixCache = {}
  5614. function autoPrefix(e, t) {
  5615. var n = prefixCache[t]
  5616. if (n) return n
  5617. var r = camelize$1(t)
  5618. if ('filter' !== r && r in e) return (prefixCache[t] = r)
  5619. r = capitalize(r)
  5620. for (var a = 0; a < prefixes.length; a++) {
  5621. var o = prefixes[a] + r
  5622. if (o in e) return (prefixCache[t] = o)
  5623. }
  5624. return t
  5625. }
  5626. var xlinkNS = 'http://www.w3.org/1999/xlink'
  5627. function patchAttr(e, t, n, r, a) {
  5628. if (r && t.startsWith('xlink:'))
  5629. null == n
  5630. ? e.removeAttributeNS(xlinkNS, t.slice(6, t.length))
  5631. : e.setAttributeNS(xlinkNS, t, n)
  5632. else {
  5633. var o = isSpecialBooleanAttr(t)
  5634. null == n || (o && !includeBooleanAttr(n))
  5635. ? e.removeAttribute(t)
  5636. : e.setAttribute(t, o ? '' : n)
  5637. }
  5638. }
  5639. function patchDOMProp(e, t, n, r, a, o, i) {
  5640. if ('innerHTML' === t || 'textContent' === t)
  5641. return r && i(r, a, o), void (e[t] = null == n ? '' : n)
  5642. if ('value' === t && 'PROGRESS' !== e.tagName && !e.tagName.includes('-')) {
  5643. e._value = n
  5644. var s = null == n ? '' : n
  5645. return (
  5646. (e.value === s && 'OPTION' !== e.tagName) || (e.value = s),
  5647. void (null == n && e.removeAttribute(t))
  5648. )
  5649. }
  5650. if ('' === n || null == n) {
  5651. var l = _typeof2(e[t])
  5652. if ('boolean' === l) return void (e[t] = includeBooleanAttr(n))
  5653. if (null == n && 'string' === l) return (e[t] = ''), void e.removeAttribute(t)
  5654. if ('number' === l) {
  5655. try {
  5656. e[t] = 0
  5657. } catch (c) {}
  5658. return void e.removeAttribute(t)
  5659. }
  5660. }
  5661. try {
  5662. e[t] = n
  5663. } catch (u) {}
  5664. }
  5665. var _getNow = Date.now,
  5666. skipTimestampCheck = !1
  5667. if ('undefined' != typeof window) {
  5668. _getNow() > document.createEvent('Event').timeStamp &&
  5669. (_getNow = function () {
  5670. return performance.now()
  5671. })
  5672. var ffMatch = navigator.userAgent.match(/firefox\/(\d+)/i)
  5673. skipTimestampCheck = !!(ffMatch && Number(ffMatch[1]) <= 53)
  5674. }
  5675. var cachedNow = 0,
  5676. p = Promise.resolve(),
  5677. reset = function () {
  5678. cachedNow = 0
  5679. },
  5680. getNow = function () {
  5681. return cachedNow || (p.then(reset), (cachedNow = _getNow()))
  5682. }
  5683. function addEventListener(e, t, n, r) {
  5684. e.addEventListener(t, n, r)
  5685. }
  5686. function removeEventListener(e, t, n, r) {
  5687. e.removeEventListener(t, n, r)
  5688. }
  5689. function patchEvent(e, t, n, r) {
  5690. var a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
  5691. o = e._vei || (e._vei = {}),
  5692. i = o[t]
  5693. if (r && i) i.value = r
  5694. else {
  5695. var s = parseName(t),
  5696. l = _slicedToArray(s, 2),
  5697. c = l[0],
  5698. u = l[1]
  5699. if (r) {
  5700. var p = (o[t] = createInvoker(r, a))
  5701. addEventListener(e, c, p, u)
  5702. } else i && (removeEventListener(e, c, i, u), (o[t] = void 0))
  5703. }
  5704. }
  5705. var optionsModifierRE = /(?:Once|Passive|Capture)$/
  5706. function parseName(e) {
  5707. var t, n
  5708. if (optionsModifierRE.test(e))
  5709. for (t = {}; (n = e.match(optionsModifierRE)); )
  5710. (e = e.slice(0, e.length - n[0].length)), (t[n[0].toLowerCase()] = !0)
  5711. return [hyphenate(e.slice(2)), t]
  5712. }
  5713. function createInvoker(e, t) {
  5714. var n = function e(n) {
  5715. var r = n.timeStamp || _getNow()
  5716. ;(skipTimestampCheck || r >= e.attached - 1) &&
  5717. callWithAsyncErrorHandling(patchStopImmediatePropagation(n, e.value), t, 5, [n])
  5718. }
  5719. return (n.value = e), (n.attached = getNow()), n
  5720. }
  5721. function patchStopImmediatePropagation(e, t) {
  5722. if (isArray$5(t)) {
  5723. var n = e.stopImmediatePropagation
  5724. return (
  5725. (e.stopImmediatePropagation = function () {
  5726. n.call(e), (e._stopped = !0)
  5727. }),
  5728. t.map(function (e) {
  5729. return function (t) {
  5730. return !t._stopped && e(t)
  5731. }
  5732. })
  5733. )
  5734. }
  5735. return t
  5736. }
  5737. var nativeOnRE = /^on[a-z]/,
  5738. patchProp = function (e, t, n, r) {
  5739. var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
  5740. o = arguments.length > 5 ? arguments[5] : void 0,
  5741. i = arguments.length > 6 ? arguments[6] : void 0,
  5742. s = arguments.length > 7 ? arguments[7] : void 0,
  5743. l = arguments.length > 8 ? arguments[8] : void 0
  5744. 'class' === t
  5745. ? patchClass(e, r, a)
  5746. : 'style' === t
  5747. ? patchStyle(e, n, r)
  5748. : isOn(t)
  5749. ? isModelListener(t) || patchEvent(e, t, n, r, i)
  5750. : (
  5751. '.' === t[0]
  5752. ? ((t = t.slice(1)), 1)
  5753. : '^' === t[0]
  5754. ? ((t = t.slice(1)), 0)
  5755. : shouldSetAsProp(e, t, r, a)
  5756. )
  5757. ? patchDOMProp(e, t, r, o, i, s, l)
  5758. : ('true-value' === t
  5759. ? (e._trueValue = r)
  5760. : 'false-value' === t && (e._falseValue = r),
  5761. patchAttr(e, t, r, a))
  5762. }
  5763. function shouldSetAsProp(e, t, n, r) {
  5764. return r
  5765. ? 'innerHTML' === t ||
  5766. 'textContent' === t ||
  5767. !!(t in e && nativeOnRE.test(t) && isFunction$1(n))
  5768. : 'spellcheck' !== t &&
  5769. 'draggable' !== t &&
  5770. 'form' !== t &&
  5771. ('list' !== t || 'INPUT' !== e.tagName) &&
  5772. ('type' !== t || 'TEXTAREA' !== e.tagName) &&
  5773. (!nativeOnRE.test(t) || !isString$1(n)) &&
  5774. t in e
  5775. }
  5776. function defineCustomElement(e, t) {
  5777. var n = defineComponent(e),
  5778. r = (function (e) {
  5779. _inherits2(a, e)
  5780. var r = _createSuper2(a)
  5781. function a(e) {
  5782. return _classCallCheck2(this, a), r.call(this, n, e, t)
  5783. }
  5784. return _createClass2(a)
  5785. })(VueElement)
  5786. return (r.def = n), r
  5787. }
  5788. var defineSSRCustomElement = exports('d8', function (e) {
  5789. return defineCustomElement(e, hydrate)
  5790. }),
  5791. BaseClass =
  5792. 'undefined' != typeof HTMLElement
  5793. ? HTMLElement
  5794. : (function () {
  5795. return _createClass2(function e() {
  5796. _classCallCheck2(this, e)
  5797. })
  5798. })(),
  5799. VueElement = (function (e) {
  5800. _inherits2(n, e)
  5801. var t = _createSuper2(n)
  5802. function n(e) {
  5803. var r,
  5804. a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  5805. o = arguments.length > 2 ? arguments[2] : void 0
  5806. return (
  5807. _classCallCheck2(this, n),
  5808. ((r = t.call(this))._def = e),
  5809. (r._props = a),
  5810. (r._instance = null),
  5811. (r._connected = !1),
  5812. (r._resolved = !1),
  5813. (r._numberProps = null),
  5814. r.shadowRoot && o
  5815. ? o(r._createVNode(), r.shadowRoot)
  5816. : r.attachShadow({ mode: 'open' }),
  5817. r
  5818. )
  5819. }
  5820. return (
  5821. _createClass2(n, [
  5822. {
  5823. key: 'connectedCallback',
  5824. value: function () {
  5825. ;(this._connected = !0), this._instance || this._resolveDef()
  5826. }
  5827. },
  5828. {
  5829. key: 'disconnectedCallback',
  5830. value: function () {
  5831. var e = this
  5832. ;(this._connected = !1),
  5833. nextTick(function () {
  5834. e._connected || (render(null, e.shadowRoot), (e._instance = null))
  5835. })
  5836. }
  5837. },
  5838. {
  5839. key: '_resolveDef',
  5840. value: function () {
  5841. var e = this
  5842. if (!this._resolved) {
  5843. this._resolved = !0
  5844. for (var t = 0; t < this.attributes.length; t++)
  5845. this._setAttr(this.attributes[t].name)
  5846. new MutationObserver(function (t) {
  5847. var n,
  5848. r = _createForOfIteratorHelper(t)
  5849. try {
  5850. for (r.s(); !(n = r.n()).done; ) {
  5851. var a = n.value
  5852. e._setAttr(a.attributeName)
  5853. }
  5854. } catch (o) {
  5855. r.e(o)
  5856. } finally {
  5857. r.f()
  5858. }
  5859. }).observe(this, { attributes: !0 })
  5860. var n = function (t) {
  5861. var n,
  5862. r = t.props,
  5863. a = t.styles,
  5864. o = !isArray$5(r),
  5865. i = r ? (o ? Object.keys(r) : r) : []
  5866. if (o)
  5867. for (var s in e._props) {
  5868. var l = r[s]
  5869. ;(l === Number || (l && l.type === Number)) &&
  5870. ((e._props[s] = toNumber(e._props[s])),
  5871. ((n || (n = Object.create(null)))[s] = !0))
  5872. }
  5873. e._numberProps = n
  5874. for (var c = 0, u = Object.keys(e); c < u.length; c++) {
  5875. var p = u[c]
  5876. '_' !== p[0] && e._setProp(p, e[p], !0, !1)
  5877. }
  5878. var d,
  5879. f = _createForOfIteratorHelper(i.map(camelize$1))
  5880. try {
  5881. var h = function () {
  5882. var t = d.value
  5883. Object.defineProperty(e, t, {
  5884. get: function () {
  5885. return this._getProp(t)
  5886. },
  5887. set: function (e) {
  5888. this._setProp(t, e)
  5889. }
  5890. })
  5891. }
  5892. for (f.s(); !(d = f.n()).done; ) h()
  5893. } catch (v) {
  5894. f.e(v)
  5895. } finally {
  5896. f.f()
  5897. }
  5898. e._applyStyles(a), e._update()
  5899. },
  5900. r = this._def.__asyncLoader
  5901. r ? r().then(n) : n(this._def)
  5902. }
  5903. }
  5904. },
  5905. {
  5906. key: '_setAttr',
  5907. value: function (e) {
  5908. var t = this.getAttribute(e)
  5909. this._numberProps && this._numberProps[e] && (t = toNumber(t)),
  5910. this._setProp(camelize$1(e), t, !1)
  5911. }
  5912. },
  5913. {
  5914. key: '_getProp',
  5915. value: function (e) {
  5916. return this._props[e]
  5917. }
  5918. },
  5919. {
  5920. key: '_setProp',
  5921. value: function (e, t) {
  5922. var n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2],
  5923. r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]
  5924. t !== this._props[e] &&
  5925. ((this._props[e] = t),
  5926. r && this._instance && this._update(),
  5927. n &&
  5928. (!0 === t
  5929. ? this.setAttribute(hyphenate(e), '')
  5930. : 'string' == typeof t || 'number' == typeof t
  5931. ? this.setAttribute(hyphenate(e), t + '')
  5932. : t || this.removeAttribute(hyphenate(e))))
  5933. }
  5934. },
  5935. {
  5936. key: '_update',
  5937. value: function () {
  5938. render(this._createVNode(), this.shadowRoot)
  5939. }
  5940. },
  5941. {
  5942. key: '_createVNode',
  5943. value: function () {
  5944. var e = this,
  5945. t = createVNode(this._def, extend$2({}, this._props))
  5946. return (
  5947. this._instance ||
  5948. (t.ce = function (t) {
  5949. ;(e._instance = t),
  5950. (t.isCE = !0),
  5951. (t.emit = function (t) {
  5952. for (
  5953. var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), a = 1;
  5954. a < n;
  5955. a++
  5956. )
  5957. r[a - 1] = arguments[a]
  5958. e.dispatchEvent(new CustomEvent(t, { detail: r }))
  5959. })
  5960. for (var r = e; (r = r && (r.parentNode || r.host)); )
  5961. if (r instanceof n) {
  5962. t.parent = r._instance
  5963. break
  5964. }
  5965. }),
  5966. t
  5967. )
  5968. }
  5969. },
  5970. {
  5971. key: '_applyStyles',
  5972. value: function (e) {
  5973. var t = this
  5974. e &&
  5975. e.forEach(function (e) {
  5976. var n = document.createElement('style')
  5977. ;(n.textContent = e), t.shadowRoot.appendChild(n)
  5978. })
  5979. }
  5980. }
  5981. ]),
  5982. n
  5983. )
  5984. })(BaseClass)
  5985. function useCssModule() {
  5986. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : '$style',
  5987. t = getCurrentInstance()
  5988. if (!t) return EMPTY_OBJ
  5989. var n = t.type.__cssModules
  5990. if (!n) return EMPTY_OBJ
  5991. var r = n[e]
  5992. return r || EMPTY_OBJ
  5993. }
  5994. function useCssVars(e) {
  5995. var t = getCurrentInstance()
  5996. if (t) {
  5997. var n = function () {
  5998. return setVarsOnVNode(t.subTree, e(t.proxy))
  5999. }
  6000. watchPostEffect(n),
  6001. onMounted(function () {
  6002. var e = new MutationObserver(n)
  6003. e.observe(t.subTree.el.parentNode, { childList: !0 }),
  6004. onUnmounted(function () {
  6005. return e.disconnect()
  6006. })
  6007. })
  6008. }
  6009. }
  6010. function setVarsOnVNode(e, t) {
  6011. if (128 & e.shapeFlag) {
  6012. var n = e.suspense
  6013. ;(e = n.activeBranch),
  6014. n.pendingBranch &&
  6015. !n.isHydrating &&
  6016. n.effects.push(function () {
  6017. setVarsOnVNode(n.activeBranch, t)
  6018. })
  6019. }
  6020. for (; e.component; ) e = e.component.subTree
  6021. if (1 & e.shapeFlag && e.el) setVarsOnNode(e.el, t)
  6022. else if (e.type === Fragment)
  6023. e.children.forEach(function (e) {
  6024. return setVarsOnVNode(e, t)
  6025. })
  6026. else if (e.type === Static)
  6027. for (var r = e, a = r.el, o = r.anchor; a && (setVarsOnNode(a, t), a !== o); )
  6028. a = a.nextSibling
  6029. }
  6030. function setVarsOnNode(e, t) {
  6031. if (1 === e.nodeType) {
  6032. var n = e.style
  6033. for (var r in t) n.setProperty('--'.concat(r), t[r])
  6034. }
  6035. }
  6036. exports('d5', VueElement)
  6037. var TRANSITION = 'transition',
  6038. ANIMATION = 'animation',
  6039. Transition = exports('b5', function (e, t) {
  6040. var n = t.slots
  6041. return h$1(BaseTransition, resolveTransitionProps(e), n)
  6042. })
  6043. Transition.displayName = 'Transition'
  6044. var DOMTransitionPropsValidators = {
  6045. name: String,
  6046. type: String,
  6047. css: { type: Boolean, default: !0 },
  6048. duration: [String, Number, Object],
  6049. enterFromClass: String,
  6050. enterActiveClass: String,
  6051. enterToClass: String,
  6052. appearFromClass: String,
  6053. appearActiveClass: String,
  6054. appearToClass: String,
  6055. leaveFromClass: String,
  6056. leaveActiveClass: String,
  6057. leaveToClass: String
  6058. },
  6059. TransitionPropsValidators = (Transition.props = extend$2(
  6060. {},
  6061. BaseTransition.props,
  6062. DOMTransitionPropsValidators
  6063. )),
  6064. callHook = function (e) {
  6065. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : []
  6066. isArray$5(e)
  6067. ? e.forEach(function (e) {
  6068. return e.apply(void 0, _toConsumableArray2(t))
  6069. })
  6070. : e && e.apply(void 0, _toConsumableArray2(t))
  6071. },
  6072. hasExplicitCallback = function (e) {
  6073. return (
  6074. !!e &&
  6075. (isArray$5(e)
  6076. ? e.some(function (e) {
  6077. return e.length > 1
  6078. })
  6079. : e.length > 1)
  6080. )
  6081. }
  6082. function resolveTransitionProps(e) {
  6083. var t = {}
  6084. for (var n in e) n in DOMTransitionPropsValidators || (t[n] = e[n])
  6085. if (!1 === e.css) return t
  6086. var r = e.name,
  6087. a = void 0 === r ? 'v' : r,
  6088. o = e.type,
  6089. i = e.duration,
  6090. s = e.enterFromClass,
  6091. l = void 0 === s ? ''.concat(a, '-enter-from') : s,
  6092. c = e.enterActiveClass,
  6093. u = void 0 === c ? ''.concat(a, '-enter-active') : c,
  6094. p = e.enterToClass,
  6095. d = void 0 === p ? ''.concat(a, '-enter-to') : p,
  6096. f = e.appearFromClass,
  6097. h = void 0 === f ? l : f,
  6098. v = e.appearActiveClass,
  6099. m = void 0 === v ? u : v,
  6100. g = e.appearToClass,
  6101. y = void 0 === g ? d : g,
  6102. b = e.leaveFromClass,
  6103. _ = void 0 === b ? ''.concat(a, '-leave-from') : b,
  6104. A = e.leaveActiveClass,
  6105. x = void 0 === A ? ''.concat(a, '-leave-active') : A,
  6106. w = e.leaveToClass,
  6107. k = void 0 === w ? ''.concat(a, '-leave-to') : w,
  6108. S = normalizeDuration(i),
  6109. E = S && S[0],
  6110. P = S && S[1],
  6111. C = t.onBeforeEnter,
  6112. T = t.onEnter,
  6113. I = t.onEnterCancelled,
  6114. R = t.onLeave,
  6115. M = t.onLeaveCancelled,
  6116. z = t.onBeforeAppear,
  6117. O = void 0 === z ? C : z,
  6118. D = t.onAppear,
  6119. F = void 0 === D ? T : D,
  6120. B = t.onAppearCancelled,
  6121. N = void 0 === B ? I : B,
  6122. j = function (e, t, n) {
  6123. removeTransitionClass(e, t ? y : d), removeTransitionClass(e, t ? m : u), n && n()
  6124. },
  6125. V = function (e, t) {
  6126. removeTransitionClass(e, k), removeTransitionClass(e, x), t && t()
  6127. },
  6128. L = function (e) {
  6129. return function (t, n) {
  6130. var r = e ? F : T,
  6131. a = function () {
  6132. return j(t, e, n)
  6133. }
  6134. callHook(r, [t, a]),
  6135. nextFrame(function () {
  6136. removeTransitionClass(t, e ? h : l),
  6137. addTransitionClass(t, e ? y : d),
  6138. hasExplicitCallback(r) || whenTransitionEnds(t, o, E, a)
  6139. })
  6140. }
  6141. }
  6142. return extend$2(t, {
  6143. onBeforeEnter: function (e) {
  6144. callHook(C, [e]), addTransitionClass(e, l), addTransitionClass(e, u)
  6145. },
  6146. onBeforeAppear: function (e) {
  6147. callHook(O, [e]), addTransitionClass(e, h), addTransitionClass(e, m)
  6148. },
  6149. onEnter: L(!1),
  6150. onAppear: L(!0),
  6151. onLeave: function (e, t) {
  6152. var n = function () {
  6153. return V(e, t)
  6154. }
  6155. addTransitionClass(e, _),
  6156. forceReflow(),
  6157. addTransitionClass(e, x),
  6158. nextFrame(function () {
  6159. removeTransitionClass(e, _),
  6160. addTransitionClass(e, k),
  6161. hasExplicitCallback(R) || whenTransitionEnds(e, o, P, n)
  6162. }),
  6163. callHook(R, [e, n])
  6164. },
  6165. onEnterCancelled: function (e) {
  6166. j(e, !1), callHook(I, [e])
  6167. },
  6168. onAppearCancelled: function (e) {
  6169. j(e, !0), callHook(N, [e])
  6170. },
  6171. onLeaveCancelled: function (e) {
  6172. V(e), callHook(M, [e])
  6173. }
  6174. })
  6175. }
  6176. function normalizeDuration(e) {
  6177. if (null == e) return null
  6178. if (isObject$2(e)) return [NumberOf(e.enter), NumberOf(e.leave)]
  6179. var t = NumberOf(e)
  6180. return [t, t]
  6181. }
  6182. function NumberOf(e) {
  6183. return toNumber(e)
  6184. }
  6185. function addTransitionClass(e, t) {
  6186. t.split(/\s+/).forEach(function (t) {
  6187. return t && e.classList.add(t)
  6188. }),
  6189. (e._vtc || (e._vtc = new Set())).add(t)
  6190. }
  6191. function removeTransitionClass(e, t) {
  6192. t.split(/\s+/).forEach(function (t) {
  6193. return t && e.classList.remove(t)
  6194. })
  6195. var n = e._vtc
  6196. n && (n.delete(t), n.size || (e._vtc = void 0))
  6197. }
  6198. function nextFrame(e) {
  6199. requestAnimationFrame(function () {
  6200. requestAnimationFrame(e)
  6201. })
  6202. }
  6203. var endId = 0
  6204. function whenTransitionEnds(e, t, n, r) {
  6205. var a = (e._endId = ++endId),
  6206. o = function () {
  6207. a === e._endId && r()
  6208. }
  6209. if (n) return setTimeout(o, n)
  6210. var i = getTransitionInfo(e, t),
  6211. s = i.type,
  6212. l = i.timeout,
  6213. c = i.propCount
  6214. if (!s) return r()
  6215. var u = s + 'end',
  6216. p = 0,
  6217. d = function () {
  6218. e.removeEventListener(u, f), o()
  6219. },
  6220. f = function (t) {
  6221. t.target === e && ++p >= c && d()
  6222. }
  6223. setTimeout(function () {
  6224. p < c && d()
  6225. }, l + 1),
  6226. e.addEventListener(u, f)
  6227. }
  6228. function getTransitionInfo(e, t) {
  6229. var n = window.getComputedStyle(e),
  6230. r = function (e) {
  6231. return (n[e] || '').split(', ')
  6232. },
  6233. a = r(TRANSITION + 'Delay'),
  6234. o = r(TRANSITION + 'Duration'),
  6235. i = getTimeout(a, o),
  6236. s = r(ANIMATION + 'Delay'),
  6237. l = r(ANIMATION + 'Duration'),
  6238. c = getTimeout(s, l),
  6239. u = null,
  6240. p = 0,
  6241. d = 0
  6242. return (
  6243. t === TRANSITION
  6244. ? i > 0 && ((u = TRANSITION), (p = i), (d = o.length))
  6245. : t === ANIMATION
  6246. ? c > 0 && ((u = ANIMATION), (p = c), (d = l.length))
  6247. : (d = (u = (p = Math.max(i, c)) > 0 ? (i > c ? TRANSITION : ANIMATION) : null)
  6248. ? u === TRANSITION
  6249. ? o.length
  6250. : l.length
  6251. : 0),
  6252. {
  6253. type: u,
  6254. timeout: p,
  6255. propCount: d,
  6256. hasTransform:
  6257. u === TRANSITION && /\b(transform|all)(,|$)/.test(n[TRANSITION + 'Property'])
  6258. }
  6259. )
  6260. }
  6261. function getTimeout(e, t) {
  6262. for (; e.length < t.length; ) e = e.concat(e)
  6263. return Math.max.apply(
  6264. Math,
  6265. _toConsumableArray2(
  6266. t.map(function (t, n) {
  6267. return toMs(t) + toMs(e[n])
  6268. })
  6269. )
  6270. )
  6271. }
  6272. function toMs(e) {
  6273. return 1e3 * Number(e.slice(0, -1).replace(',', '.'))
  6274. }
  6275. function forceReflow() {
  6276. return document.body.offsetHeight
  6277. }
  6278. var positionMap = new WeakMap(),
  6279. newPositionMap = new WeakMap(),
  6280. TransitionGroupImpl = {
  6281. name: 'TransitionGroup',
  6282. props: extend$2({}, TransitionPropsValidators, { tag: String, moveClass: String }),
  6283. setup: function (e, t) {
  6284. var n,
  6285. r,
  6286. a = t.slots,
  6287. o = getCurrentInstance(),
  6288. i = useTransitionState()
  6289. return (
  6290. onUpdated(function () {
  6291. if (n.length) {
  6292. var t = e.moveClass || ''.concat(e.name || 'v', '-move')
  6293. if (hasCSSTransform(n[0].el, o.vnode.el, t)) {
  6294. n.forEach(callPendingCbs), n.forEach(recordPosition)
  6295. var r = n.filter(applyTranslation)
  6296. forceReflow(),
  6297. r.forEach(function (e) {
  6298. var n = e.el,
  6299. r = n.style
  6300. addTransitionClass(n, t),
  6301. (r.transform = r.webkitTransform = r.transitionDuration = '')
  6302. var a = (n._moveCb = function (e) {
  6303. ;(e && e.target !== n) ||
  6304. (e && !/transform$/.test(e.propertyName)) ||
  6305. (n.removeEventListener('transitionend', a),
  6306. (n._moveCb = null),
  6307. removeTransitionClass(n, t))
  6308. })
  6309. n.addEventListener('transitionend', a)
  6310. })
  6311. }
  6312. }
  6313. }),
  6314. function () {
  6315. var t = toRaw(e),
  6316. s = resolveTransitionProps(t),
  6317. l = t.tag || Fragment
  6318. ;(n = r), (r = a.default ? getTransitionRawChildren(a.default()) : [])
  6319. for (var c = 0; c < r.length; c++) {
  6320. var u = r[c]
  6321. null != u.key && setTransitionHooks(u, resolveTransitionHooks(u, s, i, o))
  6322. }
  6323. if (n)
  6324. for (var p = 0; p < n.length; p++) {
  6325. var d = n[p]
  6326. setTransitionHooks(d, resolveTransitionHooks(d, s, i, o)),
  6327. positionMap.set(d, d.el.getBoundingClientRect())
  6328. }
  6329. return createVNode(l, null, r)
  6330. }
  6331. )
  6332. }
  6333. },
  6334. TransitionGroup = exports('bE', TransitionGroupImpl)
  6335. function callPendingCbs(e) {
  6336. var t = e.el
  6337. t._moveCb && t._moveCb(), t._enterCb && t._enterCb()
  6338. }
  6339. function recordPosition(e) {
  6340. newPositionMap.set(e, e.el.getBoundingClientRect())
  6341. }
  6342. function applyTranslation(e) {
  6343. var t = positionMap.get(e),
  6344. n = newPositionMap.get(e),
  6345. r = t.left - n.left,
  6346. a = t.top - n.top
  6347. if (r || a) {
  6348. var o = e.el.style
  6349. return (
  6350. (o.transform = o.webkitTransform = 'translate('.concat(r, 'px,').concat(a, 'px)')),
  6351. (o.transitionDuration = '0s'),
  6352. e
  6353. )
  6354. }
  6355. }
  6356. function hasCSSTransform(e, t, n) {
  6357. var r = e.cloneNode()
  6358. e._vtc &&
  6359. e._vtc.forEach(function (e) {
  6360. e.split(/\s+/).forEach(function (e) {
  6361. return e && r.classList.remove(e)
  6362. })
  6363. }),
  6364. n.split(/\s+/).forEach(function (e) {
  6365. return e && r.classList.add(e)
  6366. }),
  6367. (r.style.display = 'none')
  6368. var a = 1 === t.nodeType ? t : t.parentNode
  6369. a.appendChild(r)
  6370. var o = getTransitionInfo(r).hasTransform
  6371. return a.removeChild(r), o
  6372. }
  6373. var getModelAssigner = function (e) {
  6374. var t = e.props['onUpdate:modelValue']
  6375. return isArray$5(t)
  6376. ? function (e) {
  6377. return invokeArrayFns(t, e)
  6378. }
  6379. : t
  6380. }
  6381. function onCompositionStart(e) {
  6382. e.target.composing = !0
  6383. }
  6384. function onCompositionEnd(e) {
  6385. var t = e.target
  6386. t.composing && ((t.composing = !1), trigger(t, 'input'))
  6387. }
  6388. function trigger(e, t) {
  6389. var n = document.createEvent('HTMLEvents')
  6390. n.initEvent(t, !0, !0), e.dispatchEvent(n)
  6391. }
  6392. var vModelText = exports('di', {
  6393. created: function (e, t, n) {
  6394. var r = t.modifiers,
  6395. a = r.lazy,
  6396. o = r.trim,
  6397. i = r.number
  6398. e._assign = getModelAssigner(n)
  6399. var s = i || (n.props && 'number' === n.props.type)
  6400. addEventListener(e, a ? 'change' : 'input', function (t) {
  6401. if (!t.target.composing) {
  6402. var n = e.value
  6403. o ? (n = n.trim()) : s && (n = toNumber(n)), e._assign(n)
  6404. }
  6405. }),
  6406. o &&
  6407. addEventListener(e, 'change', function () {
  6408. e.value = e.value.trim()
  6409. }),
  6410. a ||
  6411. (addEventListener(e, 'compositionstart', onCompositionStart),
  6412. addEventListener(e, 'compositionend', onCompositionEnd),
  6413. addEventListener(e, 'change', onCompositionEnd))
  6414. },
  6415. mounted: function (e, t) {
  6416. var n = t.value
  6417. e.value = null == n ? '' : n
  6418. },
  6419. beforeUpdate: function (e, t, n) {
  6420. var r = t.value,
  6421. a = t.modifiers,
  6422. o = a.lazy,
  6423. i = a.trim,
  6424. s = a.number
  6425. if (((e._assign = getModelAssigner(n)), !e.composing)) {
  6426. if (document.activeElement === e) {
  6427. if (o) return
  6428. if (i && e.value.trim() === r) return
  6429. if ((s || 'number' === e.type) && toNumber(e.value) === r) return
  6430. }
  6431. var l = null == r ? '' : r
  6432. e.value !== l && (e.value = l)
  6433. }
  6434. }
  6435. }),
  6436. vModelCheckbox = exports('de', {
  6437. deep: !0,
  6438. created: function (e, t, n) {
  6439. ;(e._assign = getModelAssigner(n)),
  6440. addEventListener(e, 'change', function () {
  6441. var t = e._modelValue,
  6442. n = getValue(e),
  6443. r = e.checked,
  6444. a = e._assign
  6445. if (isArray$5(t)) {
  6446. var o = looseIndexOf(t, n),
  6447. i = -1 !== o
  6448. if (r && !i) a(t.concat(n))
  6449. else if (!r && i) {
  6450. var s = _toConsumableArray2(t)
  6451. s.splice(o, 1), a(s)
  6452. }
  6453. } else if (isSet$1(t)) {
  6454. var l = new Set(t)
  6455. r ? l.add(n) : l.delete(n), a(l)
  6456. } else a(getCheckboxValue(e, r))
  6457. })
  6458. },
  6459. mounted: setChecked,
  6460. beforeUpdate: function (e, t, n) {
  6461. ;(e._assign = getModelAssigner(n)), setChecked(e, t, n)
  6462. }
  6463. })
  6464. function setChecked(e, t, n) {
  6465. var r = t.value,
  6466. a = t.oldValue
  6467. ;(e._modelValue = r),
  6468. isArray$5(r)
  6469. ? (e.checked = looseIndexOf(r, n.props.value) > -1)
  6470. : isSet$1(r)
  6471. ? (e.checked = r.has(n.props.value))
  6472. : r !== a && (e.checked = looseEqual(r, getCheckboxValue(e, !0)))
  6473. }
  6474. var vModelRadio = exports('dg', {
  6475. created: function (e, t, n) {
  6476. var r = t.value
  6477. ;(e.checked = looseEqual(r, n.props.value)),
  6478. (e._assign = getModelAssigner(n)),
  6479. addEventListener(e, 'change', function () {
  6480. e._assign(getValue(e))
  6481. })
  6482. },
  6483. beforeUpdate: function (e, t, n) {
  6484. var r = t.value,
  6485. a = t.oldValue
  6486. ;(e._assign = getModelAssigner(n)),
  6487. r !== a && (e.checked = looseEqual(r, n.props.value))
  6488. }
  6489. }),
  6490. vModelSelect = exports('dh', {
  6491. deep: !0,
  6492. created: function (e, t, n) {
  6493. var r = t.value,
  6494. a = t.modifiers.number,
  6495. o = isSet$1(r)
  6496. addEventListener(e, 'change', function () {
  6497. var t = Array.prototype.filter
  6498. .call(e.options, function (e) {
  6499. return e.selected
  6500. })
  6501. .map(function (e) {
  6502. return a ? toNumber(getValue(e)) : getValue(e)
  6503. })
  6504. e._assign(e.multiple ? (o ? new Set(t) : t) : t[0])
  6505. }),
  6506. (e._assign = getModelAssigner(n))
  6507. },
  6508. mounted: function (e, t) {
  6509. setSelected(e, t.value)
  6510. },
  6511. beforeUpdate: function (e, t, n) {
  6512. e._assign = getModelAssigner(n)
  6513. },
  6514. updated: function (e, t) {
  6515. setSelected(e, t.value)
  6516. }
  6517. })
  6518. function setSelected(e, t) {
  6519. var n = e.multiple
  6520. if (!n || isArray$5(t) || isSet$1(t)) {
  6521. for (var r = 0, a = e.options.length; r < a; r++) {
  6522. var o = e.options[r],
  6523. i = getValue(o)
  6524. if (n)
  6525. isArray$5(t) ? (o.selected = looseIndexOf(t, i) > -1) : (o.selected = t.has(i))
  6526. else if (looseEqual(getValue(o), t))
  6527. return void (e.selectedIndex !== r && (e.selectedIndex = r))
  6528. }
  6529. n || -1 === e.selectedIndex || (e.selectedIndex = -1)
  6530. }
  6531. }
  6532. function getValue(e) {
  6533. return '_value' in e ? e._value : e.value
  6534. }
  6535. function getCheckboxValue(e, t) {
  6536. var n = t ? '_trueValue' : '_falseValue'
  6537. return n in e ? e[n] : t
  6538. }
  6539. var vModelDynamic = exports('df', {
  6540. created: function (e, t, n) {
  6541. callModelHook(e, t, n, null, 'created')
  6542. },
  6543. mounted: function (e, t, n) {
  6544. callModelHook(e, t, n, null, 'mounted')
  6545. },
  6546. beforeUpdate: function (e, t, n, r) {
  6547. callModelHook(e, t, n, r, 'beforeUpdate')
  6548. },
  6549. updated: function (e, t, n, r) {
  6550. callModelHook(e, t, n, r, 'updated')
  6551. }
  6552. })
  6553. function callModelHook(e, t, n, r, a) {
  6554. var o
  6555. switch (e.tagName) {
  6556. case 'SELECT':
  6557. o = vModelSelect
  6558. break
  6559. case 'TEXTAREA':
  6560. o = vModelText
  6561. break
  6562. default:
  6563. switch (n.props && n.props.type) {
  6564. case 'checkbox':
  6565. o = vModelCheckbox
  6566. break
  6567. case 'radio':
  6568. o = vModelRadio
  6569. break
  6570. default:
  6571. o = vModelText
  6572. }
  6573. }
  6574. var i = o[a]
  6575. i && i(e, t, n, r)
  6576. }
  6577. function initVModelForSSR() {
  6578. ;(vModelText.getSSRProps = function (e) {
  6579. return { value: e.value }
  6580. }),
  6581. (vModelRadio.getSSRProps = function (e, t) {
  6582. var n = e.value
  6583. if (t.props && looseEqual(t.props.value, n)) return { checked: !0 }
  6584. }),
  6585. (vModelCheckbox.getSSRProps = function (e, t) {
  6586. var n = e.value
  6587. if (isArray$5(n)) {
  6588. if (t.props && looseIndexOf(n, t.props.value) > -1) return { checked: !0 }
  6589. } else if (isSet$1(n)) {
  6590. if (t.props && n.has(t.props.value)) return { checked: !0 }
  6591. } else if (n) return { checked: !0 }
  6592. })
  6593. }
  6594. var systemModifiers = ['ctrl', 'shift', 'alt', 'meta'],
  6595. modifierGuards = {
  6596. stop: function (e) {
  6597. return e.stopPropagation()
  6598. },
  6599. prevent: function (e) {
  6600. return e.preventDefault()
  6601. },
  6602. self: function (e) {
  6603. return e.target !== e.currentTarget
  6604. },
  6605. ctrl: function (e) {
  6606. return !e.ctrlKey
  6607. },
  6608. shift: function (e) {
  6609. return !e.shiftKey
  6610. },
  6611. alt: function (e) {
  6612. return !e.altKey
  6613. },
  6614. meta: function (e) {
  6615. return !e.metaKey
  6616. },
  6617. left: function (e) {
  6618. return 'button' in e && 0 !== e.button
  6619. },
  6620. middle: function (e) {
  6621. return 'button' in e && 1 !== e.button
  6622. },
  6623. right: function (e) {
  6624. return 'button' in e && 2 !== e.button
  6625. },
  6626. exact: function (e, t) {
  6627. return systemModifiers.some(function (n) {
  6628. return e[''.concat(n, 'Key')] && !t.includes(n)
  6629. })
  6630. }
  6631. },
  6632. withModifiers = exports('dk', function (e, t) {
  6633. return function (n) {
  6634. for (var r = 0; r < t.length; r++) {
  6635. var a = modifierGuards[t[r]]
  6636. if (a && a(n, t)) return
  6637. }
  6638. for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++)
  6639. i[s - 1] = arguments[s]
  6640. return e.apply(void 0, [n].concat(i))
  6641. }
  6642. }),
  6643. keyNames = {
  6644. esc: 'escape',
  6645. space: ' ',
  6646. up: 'arrow-up',
  6647. left: 'arrow-left',
  6648. right: 'arrow-right',
  6649. down: 'arrow-down',
  6650. delete: 'backspace'
  6651. },
  6652. withKeys = exports('dj', function (e, t) {
  6653. return function (n) {
  6654. if ('key' in n) {
  6655. var r = hyphenate(n.key)
  6656. return t.some(function (e) {
  6657. return e === r || keyNames[e] === r
  6658. })
  6659. ? e(n)
  6660. : void 0
  6661. }
  6662. }
  6663. }),
  6664. vShow = exports('ay', {
  6665. beforeMount: function (e, t, n) {
  6666. var r = t.value,
  6667. a = n.transition
  6668. ;(e._vod = 'none' === e.style.display ? '' : e.style.display),
  6669. a && r ? a.beforeEnter(e) : setDisplay(e, r)
  6670. },
  6671. mounted: function (e, t, n) {
  6672. var r = t.value,
  6673. a = n.transition
  6674. a && r && a.enter(e)
  6675. },
  6676. updated: function (e, t, n) {
  6677. var r = t.value,
  6678. a = t.oldValue,
  6679. o = n.transition
  6680. !r != !a &&
  6681. (o
  6682. ? r
  6683. ? (o.beforeEnter(e), setDisplay(e, !0), o.enter(e))
  6684. : o.leave(e, function () {
  6685. setDisplay(e, !1)
  6686. })
  6687. : setDisplay(e, r))
  6688. },
  6689. beforeUnmount: function (e, t) {
  6690. setDisplay(e, t.value)
  6691. }
  6692. })
  6693. function setDisplay(e, t) {
  6694. e.style.display = t ? e._vod : 'none'
  6695. }
  6696. function initVShowForSSR() {
  6697. vShow.getSSRProps = function (e) {
  6698. if (!e.value) return { style: { display: 'none' } }
  6699. }
  6700. }
  6701. var rendererOptions = extend$2({ patchProp: patchProp }, nodeOps),
  6702. renderer,
  6703. enabledHydration = !1
  6704. function ensureRenderer() {
  6705. return renderer || (renderer = createRenderer(rendererOptions))
  6706. }
  6707. function ensureHydrationRenderer() {
  6708. return (
  6709. (renderer = enabledHydration ? renderer : createHydrationRenderer(rendererOptions)),
  6710. (enabledHydration = !0),
  6711. renderer
  6712. )
  6713. }
  6714. var render = exports('db', function () {
  6715. var e
  6716. ;(e = ensureRenderer()).render.apply(e, arguments)
  6717. }),
  6718. hydrate = exports('d9', function () {
  6719. var e
  6720. ;(e = ensureHydrationRenderer()).hydrate.apply(e, arguments)
  6721. }),
  6722. createApp = exports('h', function () {
  6723. var e,
  6724. t = (e = ensureRenderer()).createApp.apply(e, arguments),
  6725. n = t.mount
  6726. return (
  6727. (t.mount = function (e) {
  6728. var r = normalizeContainer(e)
  6729. if (r) {
  6730. var a = t._component
  6731. isFunction$1(a) || a.render || a.template || (a.template = r.innerHTML),
  6732. (r.innerHTML = '')
  6733. var o = n(r, !1, r instanceof SVGElement)
  6734. return (
  6735. r instanceof Element &&
  6736. (r.removeAttribute('v-cloak'), r.setAttribute('data-v-app', '')),
  6737. o
  6738. )
  6739. }
  6740. }),
  6741. t
  6742. )
  6743. }),
  6744. createSSRApp = exports('d6', function () {
  6745. var e,
  6746. t = (e = ensureHydrationRenderer()).createApp.apply(e, arguments),
  6747. n = t.mount
  6748. return (
  6749. (t.mount = function (e) {
  6750. var t = normalizeContainer(e)
  6751. if (t) return n(t, !0, t instanceof SVGElement)
  6752. }),
  6753. t
  6754. )
  6755. })
  6756. function normalizeContainer(e) {
  6757. return isString$1(e) ? document.querySelector(e) : e
  6758. }
  6759. var ssrDirectiveInitialized = !1,
  6760. initDirectivesForSSR = exports('da', function () {
  6761. ssrDirectiveInitialized ||
  6762. ((ssrDirectiveInitialized = !0), initVModelForSSR(), initVShowForSSR())
  6763. }),
  6764. isDef = exports('a1', function (e) {
  6765. return null != e
  6766. }),
  6767. isFunction = exports('M', function (e) {
  6768. return 'function' == typeof e
  6769. }),
  6770. isObject$1 = exports('J', function (e) {
  6771. return null !== e && 'object' === _typeof2(e)
  6772. }),
  6773. isPromise = exports('K', function (e) {
  6774. return isObject$1(e) && isFunction(e.then) && isFunction(e.catch)
  6775. }),
  6776. isDate$2 = exports('aG', function (e) {
  6777. return (
  6778. '[object Date]' === Object.prototype.toString.call(e) && !Number.isNaN(e.getTime())
  6779. )
  6780. }),
  6781. isNumeric = function (e) {
  6782. return 'number' == typeof e || /^\d+(\.\d+)?$/.test(e)
  6783. },
  6784. isIOS$1 = function () {
  6785. return !!inBrowser$1 && /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())
  6786. }
  6787. function noop$1() {}
  6788. var extend$1 = exports('N', Object.assign),
  6789. inBrowser$1 = exports('aa', 'undefined' != typeof window)
  6790. function get(e, t) {
  6791. var n = t.split('.'),
  6792. r = e
  6793. return (
  6794. n.forEach(function (e) {
  6795. var t
  6796. r = isObject$1(r) && null != (t = r[e]) ? t : ''
  6797. }),
  6798. r
  6799. )
  6800. }
  6801. function pick(e, t, n) {
  6802. return t.reduce(function (t, r) {
  6803. return (n && void 0 === e[r]) || (t[r] = e[r]), t
  6804. }, {})
  6805. }
  6806. var isSameValue = exports('aW', function (e, t) {
  6807. return JSON.stringify(e) === JSON.stringify(t)
  6808. }),
  6809. toArray = exports('a2', function (e) {
  6810. return Array.isArray(e) ? e : [e]
  6811. }),
  6812. unknownProp = exports('O', null),
  6813. numericProp = exports('z', [Number, String]),
  6814. truthProp = exports('v', { type: Boolean, default: !0 }),
  6815. makeRequiredProp = exports('aB', function (e) {
  6816. return { type: e, required: !0 }
  6817. }),
  6818. makeArrayProp = exports('av', function () {
  6819. return {
  6820. type: Array,
  6821. default: function () {
  6822. return []
  6823. }
  6824. }
  6825. }),
  6826. makeNumberProp = exports('aC', function (e) {
  6827. return { type: Number, default: e }
  6828. }),
  6829. makeNumericProp = exports('w', function (e) {
  6830. return { type: numericProp, default: e }
  6831. }),
  6832. makeStringProp = exports('u', function (e) {
  6833. return { type: String, default: e }
  6834. }),
  6835. inBrowser = 'undefined' != typeof window
  6836. function raf(e) {
  6837. return inBrowser ? requestAnimationFrame(e) : -1
  6838. }
  6839. function cancelRaf(e) {
  6840. inBrowser && cancelAnimationFrame(e)
  6841. }
  6842. function doubleRaf(e) {
  6843. raf(function () {
  6844. return raf(e)
  6845. })
  6846. }
  6847. var isWindow = function (e) {
  6848. return e === window
  6849. },
  6850. makeDOMRect = function (e, t) {
  6851. return { top: 0, left: 0, right: e, bottom: t, width: e, height: t }
  6852. },
  6853. useRect = exports('an', function (e) {
  6854. var t = unref(e)
  6855. if (isWindow(t)) {
  6856. var n = t.innerWidth,
  6857. r = t.innerHeight
  6858. return makeDOMRect(n, r)
  6859. }
  6860. return (null == t ? void 0 : t.getBoundingClientRect)
  6861. ? t.getBoundingClientRect()
  6862. : makeDOMRect(0, 0)
  6863. })
  6864. function useToggle() {
  6865. var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
  6866. t = ref(e),
  6867. n = function () {
  6868. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : !t.value
  6869. t.value = e
  6870. }
  6871. return [t, n]
  6872. }
  6873. function useParent(e) {
  6874. var t = inject(e, null)
  6875. if (t) {
  6876. var n = getCurrentInstance(),
  6877. r = t.link,
  6878. a = t.unlink,
  6879. o = t.internalChildren
  6880. return (
  6881. r(n),
  6882. onUnmounted(function () {
  6883. return a(n)
  6884. }),
  6885. {
  6886. parent: t,
  6887. index: computed(function () {
  6888. return o.indexOf(n)
  6889. })
  6890. }
  6891. )
  6892. }
  6893. return { parent: null, index: ref(-1) }
  6894. }
  6895. function flattenVNodes(e) {
  6896. var t = []
  6897. return (
  6898. (function e(n) {
  6899. Array.isArray(n) &&
  6900. n.forEach(function (n) {
  6901. var r
  6902. isVNode(n) &&
  6903. (t.push(n),
  6904. (null == (r = n.component) ? void 0 : r.subTree) &&
  6905. (t.push(n.component.subTree), e(n.component.subTree.children)),
  6906. n.children && e(n.children))
  6907. })
  6908. })(e),
  6909. t
  6910. )
  6911. }
  6912. function sortChildren(e, t, n) {
  6913. var r = flattenVNodes(e.subTree.children)
  6914. n.sort(function (e, t) {
  6915. return r.indexOf(e.vnode) - r.indexOf(t.vnode)
  6916. })
  6917. var a = n.map(function (e) {
  6918. return e.proxy
  6919. })
  6920. t.sort(function (e, t) {
  6921. return a.indexOf(e) - a.indexOf(t)
  6922. })
  6923. }
  6924. function useChildren(e) {
  6925. var t = reactive([]),
  6926. n = reactive([]),
  6927. r = getCurrentInstance()
  6928. return {
  6929. children: t,
  6930. linkChildren: function (a) {
  6931. provide(
  6932. e,
  6933. Object.assign(
  6934. {
  6935. link: function (e) {
  6936. e.proxy && (n.push(e), t.push(e.proxy), sortChildren(r, t, n))
  6937. },
  6938. unlink: function (e) {
  6939. var r = n.indexOf(e)
  6940. t.splice(r, 1), n.splice(r, 1)
  6941. },
  6942. children: t,
  6943. internalChildren: n
  6944. },
  6945. a
  6946. )
  6947. )
  6948. }
  6949. }
  6950. }
  6951. var SECOND = 1e3,
  6952. MINUTE = 60 * SECOND,
  6953. HOUR = 60 * MINUTE,
  6954. DAY = 24 * HOUR,
  6955. width,
  6956. height
  6957. function parseTime(e) {
  6958. return {
  6959. total: e,
  6960. days: Math.floor(e / DAY),
  6961. hours: Math.floor((e % DAY) / HOUR),
  6962. minutes: Math.floor((e % HOUR) / MINUTE),
  6963. seconds: Math.floor((e % MINUTE) / SECOND),
  6964. milliseconds: Math.floor(e % SECOND)
  6965. }
  6966. }
  6967. function isSameSecond(e, t) {
  6968. return Math.floor(e / 1e3) === Math.floor(t / 1e3)
  6969. }
  6970. function useCountDown(e) {
  6971. var t,
  6972. n,
  6973. r,
  6974. a,
  6975. o = ref(e.time),
  6976. i = computed(function () {
  6977. return parseTime(o.value)
  6978. }),
  6979. s = function () {
  6980. ;(r = !1), cancelRaf(t)
  6981. },
  6982. l = function () {
  6983. return Math.max(n - Date.now(), 0)
  6984. },
  6985. c = function (t) {
  6986. var n, r
  6987. ;(o.value = t),
  6988. null == (n = e.onChange) || n.call(e, i.value),
  6989. 0 === t && (s(), null == (r = e.onFinish) || r.call(e))
  6990. },
  6991. u = function e() {
  6992. t = raf(function () {
  6993. r && (c(l()), o.value > 0 && e())
  6994. })
  6995. },
  6996. p = function e() {
  6997. t = raf(function () {
  6998. if (r) {
  6999. var t = l()
  7000. ;(isSameSecond(t, o.value) && 0 !== t) || c(t), o.value > 0 && e()
  7001. }
  7002. })
  7003. },
  7004. d = function () {
  7005. inBrowser && (e.millisecond ? u() : p())
  7006. }
  7007. return (
  7008. onBeforeUnmount(s),
  7009. onActivated(function () {
  7010. a && ((r = !0), (a = !1), d())
  7011. }),
  7012. onDeactivated(function () {
  7013. r && (s(), (a = !0))
  7014. }),
  7015. {
  7016. start: function () {
  7017. r || ((n = Date.now() + o.value), (r = !0), d())
  7018. },
  7019. pause: s,
  7020. reset: function () {
  7021. var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : e.time
  7022. s(), (o.value = t)
  7023. },
  7024. current: i
  7025. }
  7026. )
  7027. }
  7028. function onMountedOrActivated(e) {
  7029. var t
  7030. onMounted(function () {
  7031. e(),
  7032. nextTick(function () {
  7033. t = !0
  7034. })
  7035. }),
  7036. onActivated(function () {
  7037. t && e()
  7038. })
  7039. }
  7040. function useEventListener(e, t) {
  7041. var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
  7042. if (inBrowser) {
  7043. var r,
  7044. a = n.target,
  7045. o = void 0 === a ? window : a,
  7046. i = n.passive,
  7047. s = void 0 !== i && i,
  7048. l = n.capture,
  7049. c = void 0 !== l && l,
  7050. u = function (n) {
  7051. var a = unref(n)
  7052. a && !r && (a.addEventListener(e, t, { capture: c, passive: s }), (r = !0))
  7053. },
  7054. p = function (n) {
  7055. var a = unref(n)
  7056. a && r && (a.removeEventListener(e, t, c), (r = !1))
  7057. }
  7058. onUnmounted(function () {
  7059. return p(o)
  7060. }),
  7061. onDeactivated(function () {
  7062. return p(o)
  7063. }),
  7064. onMountedOrActivated(function () {
  7065. return u(o)
  7066. }),
  7067. isRef(o) &&
  7068. watch(o, function (e, t) {
  7069. p(t), u(e)
  7070. })
  7071. }
  7072. }
  7073. function useClickAway(e, t) {
  7074. var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
  7075. if (inBrowser) {
  7076. var r = n.eventName,
  7077. a = void 0 === r ? 'click' : r,
  7078. o = function (n) {
  7079. ;(Array.isArray(e) ? e : [e]).every(function (e) {
  7080. var t = unref(e)
  7081. return t && !t.contains(n.target)
  7082. }) && t(n)
  7083. }
  7084. useEventListener(a, o, { target: document })
  7085. }
  7086. }
  7087. function useWindowSize() {
  7088. if (!width && ((width = ref(0)), (height = ref(0)), inBrowser)) {
  7089. var e = function () {
  7090. ;(width.value = window.innerWidth), (height.value = window.innerHeight)
  7091. }
  7092. e(),
  7093. window.addEventListener('resize', e, { passive: !0 }),
  7094. window.addEventListener('orientationchange', e, { passive: !0 })
  7095. }
  7096. return { width: width, height: height }
  7097. }
  7098. var overflowScrollReg = /scroll|auto|overlay/i,
  7099. defaultRoot = inBrowser ? window : void 0,
  7100. visibility
  7101. function isElement$1(e) {
  7102. return 'HTML' !== e.tagName && 'BODY' !== e.tagName && 1 === e.nodeType
  7103. }
  7104. function getScrollParent(e) {
  7105. for (
  7106. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : defaultRoot,
  7107. n = e;
  7108. n && n !== t && isElement$1(n);
  7109. ) {
  7110. var r = window.getComputedStyle(n),
  7111. a = r.overflowY
  7112. if (overflowScrollReg.test(a)) return n
  7113. n = n.parentNode
  7114. }
  7115. return t
  7116. }
  7117. function useScrollParent(e) {
  7118. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : defaultRoot,
  7119. n = ref()
  7120. return (
  7121. onMounted(function () {
  7122. e.value && (n.value = getScrollParent(e.value, t))
  7123. }),
  7124. n
  7125. )
  7126. }
  7127. function usePageVisibility() {
  7128. if (!visibility && ((visibility = ref('visible')), inBrowser)) {
  7129. var e = function () {
  7130. visibility.value = document.hidden ? 'hidden' : 'visible'
  7131. }
  7132. e(), window.addEventListener('visibilitychange', e)
  7133. }
  7134. return visibility
  7135. }
  7136. var CUSTOM_FIELD_INJECTION_KEY = exports('Y', Symbol('van-field'))
  7137. function useCustomFieldValue(e) {
  7138. var t = inject(CUSTOM_FIELD_INJECTION_KEY, null)
  7139. t &&
  7140. !t.customValue.value &&
  7141. ((t.customValue.value = e),
  7142. watch(e, function () {
  7143. t.resetValidation(), t.validateWithTrigger('onChange')
  7144. }))
  7145. }
  7146. function getScrollTop(e) {
  7147. var t = 'scrollTop' in e ? e.scrollTop : e.pageYOffset
  7148. return Math.max(t, 0)
  7149. }
  7150. function setScrollTop(e, t) {
  7151. 'scrollTop' in e ? (e.scrollTop = t) : e.scrollTo(e.scrollX, t)
  7152. }
  7153. function getRootScrollTop() {
  7154. return (
  7155. window.pageYOffset ||
  7156. document.documentElement.scrollTop ||
  7157. document.body.scrollTop ||
  7158. 0
  7159. )
  7160. }
  7161. function setRootScrollTop(e) {
  7162. setScrollTop(window, e), setScrollTop(document.body, e)
  7163. }
  7164. function getElementTop(e, t) {
  7165. if (e === window) return 0
  7166. var n = t ? getScrollTop(t) : getRootScrollTop()
  7167. return useRect(e).top + n
  7168. }
  7169. var isIOS = isIOS$1()
  7170. function resetScroll() {
  7171. isIOS && setRootScrollTop(getRootScrollTop())
  7172. }
  7173. var stopPropagation = exports('bK', function (e) {
  7174. return e.stopPropagation()
  7175. })
  7176. function preventDefault(e, t) {
  7177. ;('boolean' != typeof e.cancelable || e.cancelable) && e.preventDefault(),
  7178. t && stopPropagation(e)
  7179. }
  7180. function isHidden(e) {
  7181. var t = unref(e)
  7182. if (!t) return !1
  7183. var n = window.getComputedStyle(t),
  7184. r = 'none' === n.display,
  7185. a = null === t.offsetParent && 'fixed' !== n.position
  7186. return r || a
  7187. }
  7188. var _useWindowSize = useWindowSize(),
  7189. windowWidth = _useWindowSize.width,
  7190. windowHeight = _useWindowSize.height,
  7191. rootFontSize
  7192. function addUnit(e) {
  7193. if (isDef(e)) return isNumeric(e) ? ''.concat(e, 'px') : String(e)
  7194. }
  7195. function getSizeStyle(e) {
  7196. if (isDef(e)) {
  7197. if (Array.isArray(e)) return { width: addUnit(e[0]), height: addUnit(e[1]) }
  7198. var t = addUnit(e)
  7199. return { width: t, height: t }
  7200. }
  7201. }
  7202. function getZIndexStyle(e) {
  7203. var t = {}
  7204. return void 0 !== e && (t.zIndex = +e), t
  7205. }
  7206. function getRootFontSize() {
  7207. if (!rootFontSize) {
  7208. var e = document.documentElement,
  7209. t = e.style.fontSize || window.getComputedStyle(e).fontSize
  7210. rootFontSize = parseFloat(t)
  7211. }
  7212. return rootFontSize
  7213. }
  7214. function convertRem(e) {
  7215. return +(e = e.replace(/rem/g, '')) * getRootFontSize()
  7216. }
  7217. function convertVw(e) {
  7218. return (+(e = e.replace(/vw/g, '')) * windowWidth.value) / 100
  7219. }
  7220. function convertVh(e) {
  7221. return (+(e = e.replace(/vh/g, '')) * windowHeight.value) / 100
  7222. }
  7223. function unitToPx(e) {
  7224. if ('number' == typeof e) return e
  7225. if (inBrowser$1) {
  7226. if (e.includes('rem')) return convertRem(e)
  7227. if (e.includes('vw')) return convertVw(e)
  7228. if (e.includes('vh')) return convertVh(e)
  7229. }
  7230. return parseFloat(e)
  7231. }
  7232. exports({ aN: windowWidth, au: windowHeight })
  7233. var camelizeRE = /-(\w)/g,
  7234. camelize = function (e) {
  7235. return e.replace(camelizeRE, function (e, t) {
  7236. return t.toUpperCase()
  7237. })
  7238. },
  7239. kebabCase = function (e) {
  7240. return e
  7241. .replace(/([A-Z])/g, '-$1')
  7242. .toLowerCase()
  7243. .replace(/^-/, '')
  7244. }
  7245. function padZero(e) {
  7246. for (
  7247. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2,
  7248. n = e + '';
  7249. n.length < t;
  7250. )
  7251. n = '0' + n
  7252. return n
  7253. }
  7254. var clamp = exports('aU', function (e, t, n) {
  7255. return Math.min(Math.max(e, t), n)
  7256. })
  7257. function trimExtraChar(e, t, n) {
  7258. var r = e.indexOf(t)
  7259. return -1 === r
  7260. ? e
  7261. : '-' === t && 0 !== r
  7262. ? e.slice(0, r)
  7263. : e.slice(0, r + 1) + e.slice(r).replace(n, '')
  7264. }
  7265. function formatNumber(e) {
  7266. var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
  7267. n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]
  7268. e = t ? trimExtraChar(e, '.', /\./g) : e.split('.')[0]
  7269. var r = t ? /[^-0-9.]/g : /[^-0-9]/g
  7270. return (e = n ? trimExtraChar(e, '-', /-/g) : e.replace(/-/, '')).replace(r, '')
  7271. }
  7272. function addNumber(e, t) {
  7273. var n = Math.pow(10, 10)
  7274. return Math.round((e + t) * n) / n
  7275. }
  7276. var hasOwnProperty$1 = Object.prototype.hasOwnProperty
  7277. function assignKey(e, t, n) {
  7278. var r = t[n]
  7279. isDef(r) &&
  7280. (hasOwnProperty$1.call(e, n) && isObject$1(r)
  7281. ? (e[n] = deepAssign(Object(e[n]), r))
  7282. : (e[n] = r))
  7283. }
  7284. function deepAssign(e, t) {
  7285. return (
  7286. Object.keys(t).forEach(function (n) {
  7287. assignKey(e, t, n)
  7288. }),
  7289. e
  7290. )
  7291. }
  7292. var stdin_default$d = {
  7293. name: '姓名',
  7294. tel: '电话',
  7295. save: '保存',
  7296. confirm: '确认',
  7297. cancel: '取消',
  7298. delete: '删除',
  7299. loading: '加载中...',
  7300. noCoupon: '暂无优惠券',
  7301. nameEmpty: '请填写姓名',
  7302. addContact: '添加联系人',
  7303. telInvalid: '请填写正确的电话',
  7304. vanCalendar: {
  7305. end: '结束',
  7306. start: '开始',
  7307. title: '日期选择',
  7308. weekdays: ['日', '一', '二', '三', '四', '五', '六'],
  7309. monthTitle: function (e, t) {
  7310. return ''.concat(e, '年').concat(t, '月')
  7311. },
  7312. rangePrompt: function (e) {
  7313. return '最多选择 '.concat(e, ' 天')
  7314. }
  7315. },
  7316. vanCascader: { select: '请选择' },
  7317. vanPagination: { prev: '上一页', next: '下一页' },
  7318. vanPullRefresh: { pulling: '下拉即可刷新...', loosing: '释放即可刷新...' },
  7319. vanSubmitBar: { label: '合计:' },
  7320. vanCoupon: {
  7321. unlimited: '无门槛',
  7322. discount: function (e) {
  7323. return ''.concat(e, '折')
  7324. },
  7325. condition: function (e) {
  7326. return '满'.concat(e, '元可用')
  7327. }
  7328. },
  7329. vanCouponCell: {
  7330. title: '优惠券',
  7331. count: function (e) {
  7332. return ''.concat(e, '张可用')
  7333. }
  7334. },
  7335. vanCouponList: {
  7336. exchange: '兑换',
  7337. close: '不使用',
  7338. enable: '可用',
  7339. disabled: '不可用',
  7340. placeholder: '输入优惠码'
  7341. },
  7342. vanAddressEdit: {
  7343. area: '地区',
  7344. areaEmpty: '请选择地区',
  7345. addressEmpty: '请填写详细地址',
  7346. addressDetail: '详细地址',
  7347. defaultAddress: '设为默认收货地址'
  7348. },
  7349. vanAddressList: { add: '新增地址' }
  7350. },
  7351. lang = ref('zh-CN'),
  7352. _messages = reactive({ 'zh-CN': stdin_default$d }),
  7353. Locale = {
  7354. messages: function () {
  7355. return _messages[lang.value]
  7356. },
  7357. use: function (e, t) {
  7358. ;(lang.value = e), this.add(_defineProperty2({}, e, t))
  7359. },
  7360. add: function () {
  7361. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
  7362. deepAssign(_messages, e)
  7363. }
  7364. },
  7365. stdin_default$c = Locale
  7366. function createTranslate(e) {
  7367. var t = camelize(e) + '.'
  7368. return function (e) {
  7369. for (
  7370. var n = stdin_default$c.messages(),
  7371. r = get(n, t + e) || get(n, e),
  7372. a = arguments.length,
  7373. o = new Array(a > 1 ? a - 1 : 0),
  7374. i = 1;
  7375. i < a;
  7376. i++
  7377. )
  7378. o[i - 1] = arguments[i]
  7379. return isFunction(r) ? r.apply(void 0, o) : r
  7380. }
  7381. }
  7382. function genBem(e, t) {
  7383. return t
  7384. ? 'string' == typeof t
  7385. ? ' '.concat(e, '--').concat(t)
  7386. : Array.isArray(t)
  7387. ? t.reduce(function (t, n) {
  7388. return t + genBem(e, n)
  7389. }, '')
  7390. : Object.keys(t).reduce(function (n, r) {
  7391. return n + (t[r] ? genBem(e, r) : '')
  7392. }, '')
  7393. : ''
  7394. }
  7395. function createBEM(e) {
  7396. return function (t, n) {
  7397. return (
  7398. t && 'string' != typeof t && ((n = t), (t = '')),
  7399. (t = t ? ''.concat(e, '__').concat(t) : e),
  7400. ''.concat(t).concat(genBem(t, n))
  7401. )
  7402. }
  7403. }
  7404. function createNamespace(e) {
  7405. var t = 'van-'.concat(e)
  7406. return [t, createBEM(t), createTranslate(t)]
  7407. }
  7408. var BORDER = exports('bh', 'van-hairline'),
  7409. BORDER_TOP = exports('bg', ''.concat(BORDER, '--top')),
  7410. BORDER_LEFT = ''.concat(BORDER, '--left'),
  7411. BORDER_BOTTOM = exports('bG', ''.concat(BORDER, '--bottom')),
  7412. BORDER_SURROUND = ''.concat(BORDER, '--surround'),
  7413. BORDER_TOP_BOTTOM = exports('G', ''.concat(BORDER, '--top-bottom')),
  7414. BORDER_UNSET_TOP_BOTTOM = exports('aX', ''.concat(BORDER, '-unset--top-bottom')),
  7415. HAPTICS_FEEDBACK = exports('at', 'van-haptics-feedback'),
  7416. FORM_KEY = exports('S', Symbol('van-form')),
  7417. LONG_PRESS_START_TIME = exports('bk', 500)
  7418. function callInterceptor(e, t) {
  7419. var n = t.args,
  7420. r = void 0 === n ? [] : n,
  7421. a = t.done,
  7422. o = t.canceled
  7423. if (e) {
  7424. var i = e.apply(null, r)
  7425. isPromise(i)
  7426. ? i
  7427. .then(function (e) {
  7428. e ? a() : o && o()
  7429. })
  7430. .catch(noop$1)
  7431. : i
  7432. ? a()
  7433. : o && o()
  7434. } else a()
  7435. }
  7436. function withInstall(e) {
  7437. return (
  7438. (e.install = function (t) {
  7439. var n = e.name
  7440. n && (t.component(n, e), t.component(camelize('-'.concat(n)), e))
  7441. }),
  7442. e
  7443. )
  7444. }
  7445. var POPUP_TOGGLE_KEY = Symbol()
  7446. function onPopupReopen(e) {
  7447. var t = inject(POPUP_TOGGLE_KEY, null)
  7448. t &&
  7449. watch(t, function (t) {
  7450. t && e()
  7451. })
  7452. }
  7453. var useHeight = exports('aE', function (e, t) {
  7454. var n = ref(),
  7455. r = function () {
  7456. n.value = useRect(e).height
  7457. }
  7458. return (
  7459. onMounted(function () {
  7460. if ((nextTick(r), t)) for (var e = 1; e <= 3; e++) setTimeout(r, 100 * e)
  7461. }),
  7462. onPopupReopen(function () {
  7463. return nextTick(r)
  7464. }),
  7465. n
  7466. )
  7467. })
  7468. function usePlaceholder(e, t) {
  7469. var n = useHeight(e, !0)
  7470. return function (e) {
  7471. return createVNode(
  7472. 'div',
  7473. {
  7474. class: t('placeholder'),
  7475. style: { height: n.value ? ''.concat(n.value, 'px') : void 0 }
  7476. },
  7477. [e()]
  7478. )
  7479. }
  7480. }
  7481. var _createNamespace = createNamespace('action-bar'),
  7482. _createNamespace2 = _slicedToArray(_createNamespace, 2),
  7483. name$c = _createNamespace2[0],
  7484. bem$c = _createNamespace2[1],
  7485. ACTION_BAR_KEY = Symbol(name$c),
  7486. actionBarProps = { placeholder: Boolean, safeAreaInsetBottom: truthProp },
  7487. stdin_default$b = defineComponent({
  7488. name: name$c,
  7489. props: actionBarProps,
  7490. setup: function (e, t) {
  7491. var n = t.slots,
  7492. r = ref(),
  7493. a = usePlaceholder(r, bem$c)
  7494. ;(0, useChildren(ACTION_BAR_KEY).linkChildren)()
  7495. var o = function () {
  7496. var t
  7497. return createVNode(
  7498. 'div',
  7499. { ref: r, class: [bem$c(), { 'van-safe-area-bottom': e.safeAreaInsetBottom }] },
  7500. [null == (t = n.default) ? void 0 : t.call(n)]
  7501. )
  7502. }
  7503. return function () {
  7504. return e.placeholder ? a(o) : o()
  7505. }
  7506. }
  7507. }),
  7508. ActionBar = withInstall(stdin_default$b)
  7509. function useExpose(e) {
  7510. var t = getCurrentInstance()
  7511. t && extend$1(t.proxy, e)
  7512. }
  7513. var routeProps = exports('ae', { to: [String, Object], url: String, replace: Boolean })
  7514. function route(e) {
  7515. var t = e.to,
  7516. n = e.url,
  7517. r = e.replace,
  7518. a = e.$router
  7519. t && a
  7520. ? a[r ? 'replace' : 'push'](t)
  7521. : n && (r ? location.replace(n) : (location.href = n))
  7522. }
  7523. function useRoute$1() {
  7524. var e = getCurrentInstance().proxy
  7525. return function () {
  7526. return route(e)
  7527. }
  7528. }
  7529. var _createNamespace3 = createNamespace('badge'),
  7530. _createNamespace4 = _slicedToArray(_createNamespace3, 2),
  7531. name$b = _createNamespace4[0],
  7532. bem$b = _createNamespace4[1],
  7533. badgeProps = {
  7534. dot: Boolean,
  7535. max: numericProp,
  7536. tag: makeStringProp('div'),
  7537. color: String,
  7538. offset: Array,
  7539. content: numericProp,
  7540. showZero: truthProp,
  7541. position: makeStringProp('top-right')
  7542. },
  7543. stdin_default$a = defineComponent({
  7544. name: name$b,
  7545. props: badgeProps,
  7546. setup: function (e, t) {
  7547. var n = t.slots,
  7548. r = function () {
  7549. if (n.content) return !0
  7550. var t = e.content,
  7551. r = e.showZero
  7552. return isDef(t) && '' !== t && (r || (0 !== t && '0' !== t))
  7553. },
  7554. a = function () {
  7555. var t = e.dot,
  7556. a = e.max,
  7557. o = e.content
  7558. if (!t && r())
  7559. return n.content
  7560. ? n.content()
  7561. : isDef(a) && isNumeric(o) && +o > a
  7562. ? ''.concat(a, '+')
  7563. : o
  7564. },
  7565. o = computed(function () {
  7566. var t = { background: e.color }
  7567. if (e.offset) {
  7568. var r = _slicedToArray(e.offset, 2),
  7569. a = r[0],
  7570. o = r[1]
  7571. n.default
  7572. ? ((t.top = addUnit(o)),
  7573. (t.right =
  7574. 'number' == typeof a
  7575. ? addUnit(-a)
  7576. : a.startsWith('-')
  7577. ? a.replace('-', '')
  7578. : '-'.concat(a)))
  7579. : ((t.marginTop = addUnit(o)), (t.marginLeft = addUnit(a)))
  7580. }
  7581. return t
  7582. }),
  7583. i = function () {
  7584. if (r() || e.dot)
  7585. return createVNode(
  7586. 'div',
  7587. {
  7588. class: bem$b([e.position, { dot: e.dot, fixed: !!n.default }]),
  7589. style: o.value
  7590. },
  7591. [a()]
  7592. )
  7593. }
  7594. return function () {
  7595. if (n.default) {
  7596. var t = e.tag
  7597. return createVNode(
  7598. t,
  7599. { class: bem$b('wrapper') },
  7600. {
  7601. default: function () {
  7602. return [n.default(), i()]
  7603. }
  7604. }
  7605. )
  7606. }
  7607. return i()
  7608. }
  7609. }
  7610. }),
  7611. Badge = exports('aL', withInstall(stdin_default$a)),
  7612. globalZIndex = 2e3,
  7613. useGlobalZIndex = function () {
  7614. return ++globalZIndex
  7615. },
  7616. setGlobalZIndex = function (e) {
  7617. globalZIndex = e
  7618. },
  7619. _createNamespace5 = createNamespace('config-provider'),
  7620. _createNamespace6 = _slicedToArray(_createNamespace5, 2),
  7621. name$a = _createNamespace6[0],
  7622. bem$a = _createNamespace6[1],
  7623. CONFIG_PROVIDER_KEY = Symbol(name$a),
  7624. configProviderProps = {
  7625. tag: makeStringProp('div'),
  7626. theme: makeStringProp('light'),
  7627. zIndex: Number,
  7628. themeVars: Object,
  7629. themeVarsDark: Object,
  7630. themeVarsLight: Object,
  7631. iconPrefix: String
  7632. }
  7633. function mapThemeVarsToCSSVars(e) {
  7634. var t = {}
  7635. return (
  7636. Object.keys(e).forEach(function (n) {
  7637. t['--van-'.concat(kebabCase(n))] = e[n]
  7638. }),
  7639. t
  7640. )
  7641. }
  7642. defineComponent({
  7643. name: name$a,
  7644. props: configProviderProps,
  7645. setup: function (e, t) {
  7646. var n = t.slots,
  7647. r = computed(function () {
  7648. return mapThemeVarsToCSSVars(
  7649. extend$1(
  7650. {},
  7651. e.themeVars,
  7652. 'dark' === e.theme ? e.themeVarsDark : e.themeVarsLight
  7653. )
  7654. )
  7655. })
  7656. if (inBrowser$1) {
  7657. var a = function () {
  7658. document.documentElement.classList.add('van-theme-'.concat(e.theme))
  7659. },
  7660. o = function () {
  7661. var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : e.theme
  7662. document.documentElement.classList.remove('van-theme-'.concat(t))
  7663. }
  7664. watch(
  7665. function () {
  7666. return e.theme
  7667. },
  7668. function (e, t) {
  7669. t && o(t), a()
  7670. },
  7671. { immediate: !0 }
  7672. ),
  7673. onActivated(a),
  7674. onDeactivated(o),
  7675. onBeforeUnmount(o)
  7676. }
  7677. return (
  7678. provide(CONFIG_PROVIDER_KEY, e),
  7679. watchEffect(function () {
  7680. void 0 !== e.zIndex && setGlobalZIndex(e.zIndex)
  7681. }),
  7682. function () {
  7683. return createVNode(
  7684. e.tag,
  7685. { class: bem$a(), style: r.value },
  7686. {
  7687. default: function () {
  7688. var e
  7689. return [null == (e = n.default) ? void 0 : e.call(n)]
  7690. }
  7691. }
  7692. )
  7693. }
  7694. )
  7695. }
  7696. })
  7697. var _createNamespace7 = createNamespace('icon'),
  7698. _createNamespace8 = _slicedToArray(_createNamespace7, 2),
  7699. name$9 = _createNamespace8[0],
  7700. bem$9 = _createNamespace8[1],
  7701. isImage = function (e) {
  7702. return null == e ? void 0 : e.includes('/')
  7703. },
  7704. iconProps = {
  7705. dot: Boolean,
  7706. tag: makeStringProp('i'),
  7707. name: String,
  7708. size: numericProp,
  7709. badge: numericProp,
  7710. color: String,
  7711. badgeProps: Object,
  7712. classPrefix: String
  7713. },
  7714. stdin_default$9 = defineComponent({
  7715. name: name$9,
  7716. props: iconProps,
  7717. setup: function (e, t) {
  7718. var n = t.slots,
  7719. r = inject(CONFIG_PROVIDER_KEY, null),
  7720. a = computed(function () {
  7721. return e.classPrefix || (null == r ? void 0 : r.iconPrefix) || bem$9()
  7722. })
  7723. return function () {
  7724. var t = e.tag,
  7725. r = e.dot,
  7726. o = e.name,
  7727. i = e.size,
  7728. s = e.badge,
  7729. l = e.color,
  7730. c = isImage(o)
  7731. return createVNode(
  7732. Badge,
  7733. mergeProps(
  7734. {
  7735. dot: r,
  7736. tag: t,
  7737. class: [a.value, c ? '' : ''.concat(a.value, '-').concat(o)],
  7738. style: { color: l, fontSize: addUnit(i) },
  7739. content: s
  7740. },
  7741. e.badgeProps
  7742. ),
  7743. {
  7744. default: function () {
  7745. var e
  7746. return [
  7747. null == (e = n.default) ? void 0 : e.call(n),
  7748. c && createVNode('img', { class: bem$9('image'), src: o }, null)
  7749. ]
  7750. }
  7751. }
  7752. )
  7753. }
  7754. }
  7755. }),
  7756. Icon = exports('a5', withInstall(stdin_default$9)),
  7757. _createNamespace9 = createNamespace('loading'),
  7758. _createNamespace10 = _slicedToArray(_createNamespace9, 2),
  7759. name$8 = _createNamespace10[0],
  7760. bem$8 = _createNamespace10[1],
  7761. SpinIcon = Array(12)
  7762. .fill(null)
  7763. .map(function (e, t) {
  7764. return createVNode('i', { class: bem$8('line', String(t + 1)) }, null)
  7765. }),
  7766. CircularIcon = createVNode(
  7767. 'svg',
  7768. { class: bem$8('circular'), viewBox: '25 25 50 50' },
  7769. [createVNode('circle', { cx: '50', cy: '50', r: '20', fill: 'none' }, null)]
  7770. ),
  7771. loadingProps = {
  7772. size: numericProp,
  7773. type: makeStringProp('circular'),
  7774. color: String,
  7775. vertical: Boolean,
  7776. textSize: numericProp,
  7777. textColor: String
  7778. },
  7779. stdin_default$8 = defineComponent({
  7780. name: name$8,
  7781. props: loadingProps,
  7782. setup: function (e, t) {
  7783. var n = t.slots,
  7784. r = computed(function () {
  7785. return extend$1({ color: e.color }, getSizeStyle(e.size))
  7786. }),
  7787. a = function () {
  7788. var t
  7789. if (n.default)
  7790. return createVNode(
  7791. 'span',
  7792. {
  7793. class: bem$8('text'),
  7794. style: {
  7795. fontSize: addUnit(e.textSize),
  7796. color: null != (t = e.textColor) ? t : e.color
  7797. }
  7798. },
  7799. [n.default()]
  7800. )
  7801. }
  7802. return function () {
  7803. var t,
  7804. o = e.type,
  7805. i = e.vertical
  7806. return createVNode(
  7807. 'div',
  7808. { class: bem$8([o, { vertical: i }]), 'aria-live': 'polite', 'aria-busy': !0 },
  7809. [
  7810. ((t = 'spinner' === e.type ? SpinIcon : CircularIcon),
  7811. createVNode('span', { class: bem$8('spinner', e.type), style: r.value }, [
  7812. n.icon ? n.icon() : t
  7813. ])),
  7814. a()
  7815. ]
  7816. )
  7817. }
  7818. }
  7819. }),
  7820. Loading = exports('L', withInstall(stdin_default$8)),
  7821. _createNamespace11 = createNamespace('button'),
  7822. _createNamespace12 = _slicedToArray(_createNamespace11, 2),
  7823. name$7 = _createNamespace12[0],
  7824. bem$7 = _createNamespace12[1],
  7825. buttonProps = extend$1({}, routeProps, {
  7826. tag: makeStringProp('button'),
  7827. text: String,
  7828. icon: String,
  7829. type: makeStringProp('default'),
  7830. size: makeStringProp('normal'),
  7831. color: String,
  7832. block: Boolean,
  7833. plain: Boolean,
  7834. round: Boolean,
  7835. square: Boolean,
  7836. loading: Boolean,
  7837. hairline: Boolean,
  7838. disabled: Boolean,
  7839. iconPrefix: String,
  7840. nativeType: makeStringProp('button'),
  7841. loadingSize: numericProp,
  7842. loadingText: String,
  7843. loadingType: String,
  7844. iconPosition: makeStringProp('left')
  7845. }),
  7846. stdin_default$7 = defineComponent({
  7847. name: name$7,
  7848. props: buttonProps,
  7849. emits: ['click'],
  7850. setup: function (e, t) {
  7851. var n = t.emit,
  7852. r = t.slots,
  7853. a = useRoute$1(),
  7854. o = function () {
  7855. return e.loading
  7856. ? r.loading
  7857. ? r.loading()
  7858. : createVNode(
  7859. Loading,
  7860. { size: e.loadingSize, type: e.loadingType, class: bem$7('loading') },
  7861. null
  7862. )
  7863. : r.icon
  7864. ? createVNode('div', { class: bem$7('icon') }, [r.icon()])
  7865. : e.icon
  7866. ? createVNode(
  7867. Icon,
  7868. { name: e.icon, class: bem$7('icon'), classPrefix: e.iconPrefix },
  7869. null
  7870. )
  7871. : void 0
  7872. },
  7873. i = function () {
  7874. var t
  7875. if ((t = e.loading ? e.loadingText : r.default ? r.default() : e.text))
  7876. return createVNode('span', { class: bem$7('text') }, [t])
  7877. },
  7878. s = function () {
  7879. var t = e.color,
  7880. n = e.plain
  7881. if (t) {
  7882. var r = { color: n ? t : 'white' }
  7883. return (
  7884. n || (r.background = t),
  7885. t.includes('gradient') ? (r.border = 0) : (r.borderColor = t),
  7886. r
  7887. )
  7888. }
  7889. },
  7890. l = function (t) {
  7891. e.loading ? preventDefault(t) : e.disabled || (n('click', t), a())
  7892. }
  7893. return function () {
  7894. var t = e.tag,
  7895. n = e.type,
  7896. r = e.size,
  7897. a = e.block,
  7898. c = e.round,
  7899. u = e.plain,
  7900. p = e.square,
  7901. d = e.loading,
  7902. f = e.disabled,
  7903. h = e.hairline,
  7904. v = e.nativeType,
  7905. m = e.iconPosition,
  7906. g = [
  7907. bem$7([
  7908. n,
  7909. r,
  7910. {
  7911. plain: u,
  7912. block: a,
  7913. round: c,
  7914. square: p,
  7915. loading: d,
  7916. disabled: f,
  7917. hairline: h
  7918. }
  7919. ]),
  7920. _defineProperty2({}, BORDER_SURROUND, h)
  7921. ]
  7922. return createVNode(
  7923. t,
  7924. { type: v, class: g, style: s(), disabled: f, onClick: l },
  7925. {
  7926. default: function () {
  7927. return [
  7928. createVNode('div', { class: bem$7('content') }, [
  7929. 'left' === m && o(),
  7930. i(),
  7931. 'right' === m && o()
  7932. ])
  7933. ]
  7934. }
  7935. }
  7936. )
  7937. }
  7938. }
  7939. }),
  7940. Button = exports('B', withInstall(stdin_default$7)),
  7941. _createNamespace13 = createNamespace('action-bar-button'),
  7942. _createNamespace14 = _slicedToArray(_createNamespace13, 2),
  7943. name$6 = _createNamespace14[0],
  7944. bem$6 = _createNamespace14[1],
  7945. actionBarButtonProps = extend$1({}, routeProps, {
  7946. type: String,
  7947. text: String,
  7948. icon: String,
  7949. color: String,
  7950. loading: Boolean,
  7951. disabled: Boolean
  7952. }),
  7953. stdin_default$6 = defineComponent({
  7954. name: name$6,
  7955. props: actionBarButtonProps,
  7956. setup: function (e, t) {
  7957. var n = t.slots,
  7958. r = useRoute$1(),
  7959. a = useParent(ACTION_BAR_KEY),
  7960. o = a.parent,
  7961. i = a.index,
  7962. s = computed(function () {
  7963. if (o) {
  7964. var e = o.children[i.value - 1]
  7965. return !(e && 'isButton' in e)
  7966. }
  7967. }),
  7968. l = computed(function () {
  7969. if (o) {
  7970. var e = o.children[i.value + 1]
  7971. return !(e && 'isButton' in e)
  7972. }
  7973. })
  7974. return (
  7975. useExpose({ isButton: !0 }),
  7976. function () {
  7977. var t = e.type,
  7978. a = e.icon,
  7979. o = e.text,
  7980. i = e.color,
  7981. c = e.loading,
  7982. u = e.disabled
  7983. return createVNode(
  7984. Button,
  7985. {
  7986. class: bem$6([t, { last: l.value, first: s.value }]),
  7987. size: 'large',
  7988. type: t,
  7989. icon: a,
  7990. color: i,
  7991. loading: c,
  7992. disabled: u,
  7993. onClick: r
  7994. },
  7995. {
  7996. default: function () {
  7997. return [n.default ? n.default() : o]
  7998. }
  7999. }
  8000. )
  8001. }
  8002. )
  8003. }
  8004. }),
  8005. ActionBarButton = withInstall(stdin_default$6),
  8006. popupSharedProps = exports('b0', {
  8007. show: Boolean,
  8008. zIndex: numericProp,
  8009. overlay: truthProp,
  8010. duration: numericProp,
  8011. teleport: [String, Object],
  8012. lockScroll: truthProp,
  8013. lazyRender: truthProp,
  8014. beforeClose: Function,
  8015. overlayStyle: Object,
  8016. overlayClass: unknownProp,
  8017. transitionAppear: Boolean,
  8018. closeOnClickOverlay: truthProp
  8019. }),
  8020. popupSharedPropKeys = exports('b1', Object.keys(popupSharedProps))
  8021. function getDirection(e, t) {
  8022. return e > t ? 'horizontal' : t > e ? 'vertical' : ''
  8023. }
  8024. function useTouch() {
  8025. var e = ref(0),
  8026. t = ref(0),
  8027. n = ref(0),
  8028. r = ref(0),
  8029. a = ref(0),
  8030. o = ref(0),
  8031. i = ref(''),
  8032. s = function () {
  8033. ;(n.value = 0), (r.value = 0), (a.value = 0), (o.value = 0), (i.value = '')
  8034. }
  8035. return {
  8036. move: function (s) {
  8037. var l = s.touches[0]
  8038. ;(n.value = (l.clientX < 0 ? 0 : l.clientX) - e.value),
  8039. (r.value = l.clientY - t.value),
  8040. (a.value = Math.abs(n.value)),
  8041. (o.value = Math.abs(r.value))
  8042. ;(!i.value || (a.value < 10 && o.value < 10)) &&
  8043. (i.value = getDirection(a.value, o.value))
  8044. },
  8045. start: function (n) {
  8046. s(), (e.value = n.touches[0].clientX), (t.value = n.touches[0].clientY)
  8047. },
  8048. reset: s,
  8049. startX: e,
  8050. startY: t,
  8051. deltaX: n,
  8052. deltaY: r,
  8053. offsetX: a,
  8054. offsetY: o,
  8055. direction: i,
  8056. isVertical: function () {
  8057. return 'vertical' === i.value
  8058. },
  8059. isHorizontal: function () {
  8060. return 'horizontal' === i.value
  8061. }
  8062. }
  8063. }
  8064. var totalLockCount = 0,
  8065. BODY_LOCK_CLASS = 'van-overflow-hidden'
  8066. function useLockScroll(e, t) {
  8067. var n = useTouch(),
  8068. r = function (t) {
  8069. n.move(t)
  8070. var r = n.deltaY.value > 0 ? '10' : '01',
  8071. a = getScrollParent(t.target, e.value),
  8072. o = a.scrollHeight,
  8073. i = a.offsetHeight,
  8074. s = a.scrollTop,
  8075. l = '11'
  8076. 0 === s ? (l = i >= o ? '00' : '01') : s + i >= o && (l = '10'),
  8077. '11' === l ||
  8078. !n.isVertical() ||
  8079. parseInt(l, 2) & parseInt(r, 2) ||
  8080. preventDefault(t, !0)
  8081. },
  8082. a = function () {
  8083. document.addEventListener('touchstart', n.start),
  8084. document.addEventListener('touchmove', r, { passive: !1 }),
  8085. totalLockCount || document.body.classList.add(BODY_LOCK_CLASS),
  8086. totalLockCount++
  8087. },
  8088. o = function () {
  8089. totalLockCount &&
  8090. (document.removeEventListener('touchstart', n.start),
  8091. document.removeEventListener('touchmove', r),
  8092. --totalLockCount || document.body.classList.remove(BODY_LOCK_CLASS))
  8093. },
  8094. i = function () {
  8095. return t() && o()
  8096. }
  8097. onMountedOrActivated(function () {
  8098. return t() && a()
  8099. }),
  8100. onDeactivated(i),
  8101. onBeforeUnmount(i),
  8102. watch(t, function (e) {
  8103. e ? a() : o()
  8104. })
  8105. }
  8106. function useLazyRender(e) {
  8107. var t = ref(!1)
  8108. return (
  8109. watch(
  8110. e,
  8111. function (e) {
  8112. e && (t.value = e)
  8113. },
  8114. { immediate: !0 }
  8115. ),
  8116. function (e) {
  8117. return function () {
  8118. return t.value ? e() : null
  8119. }
  8120. }
  8121. )
  8122. }
  8123. var _createNamespace15 = createNamespace('overlay'),
  8124. _createNamespace16 = _slicedToArray(_createNamespace15, 2),
  8125. name$5 = _createNamespace16[0],
  8126. bem$5 = _createNamespace16[1],
  8127. overlayProps = {
  8128. show: Boolean,
  8129. zIndex: numericProp,
  8130. duration: numericProp,
  8131. className: unknownProp,
  8132. lockScroll: truthProp,
  8133. lazyRender: truthProp,
  8134. customStyle: Object
  8135. },
  8136. stdin_default$5 = defineComponent({
  8137. name: name$5,
  8138. props: overlayProps,
  8139. setup: function (e, t) {
  8140. var n = t.slots,
  8141. r = ref(),
  8142. a = useLazyRender(function () {
  8143. return e.show || !e.lazyRender
  8144. })(function () {
  8145. var t,
  8146. a = extend$1(getZIndexStyle(e.zIndex), e.customStyle)
  8147. return (
  8148. isDef(e.duration) && (a.animationDuration = ''.concat(e.duration, 's')),
  8149. withDirectives(
  8150. createVNode('div', { ref: r, style: a, class: [bem$5(), e.className] }, [
  8151. null == (t = n.default) ? void 0 : t.call(n)
  8152. ]),
  8153. [[vShow, e.show]]
  8154. )
  8155. )
  8156. })
  8157. return (
  8158. useEventListener(
  8159. 'touchmove',
  8160. function (t) {
  8161. e.lockScroll && preventDefault(t, !0)
  8162. },
  8163. { target: r }
  8164. ),
  8165. function () {
  8166. return createVNode(Transition, { name: 'van-fade', appear: !0 }, { default: a })
  8167. }
  8168. )
  8169. }
  8170. }),
  8171. Overlay = withInstall(stdin_default$5),
  8172. popupProps = extend$1({}, popupSharedProps, {
  8173. round: Boolean,
  8174. position: makeStringProp('center'),
  8175. closeIcon: makeStringProp('cross'),
  8176. closeable: Boolean,
  8177. transition: String,
  8178. iconPrefix: String,
  8179. closeOnPopstate: Boolean,
  8180. closeIconPosition: makeStringProp('top-right'),
  8181. safeAreaInsetTop: Boolean,
  8182. safeAreaInsetBottom: Boolean
  8183. }),
  8184. _createNamespace17 = createNamespace('popup'),
  8185. _createNamespace18 = _slicedToArray(_createNamespace17, 2),
  8186. name$4 = _createNamespace18[0],
  8187. bem$4 = _createNamespace18[1],
  8188. stdin_default$4 = defineComponent({
  8189. name: name$4,
  8190. inheritAttrs: !1,
  8191. props: popupProps,
  8192. emits: [
  8193. 'open',
  8194. 'close',
  8195. 'opened',
  8196. 'closed',
  8197. 'keydown',
  8198. 'update:show',
  8199. 'clickOverlay',
  8200. 'clickCloseIcon'
  8201. ],
  8202. setup: function (e, t) {
  8203. var n,
  8204. r,
  8205. a = t.emit,
  8206. o = t.attrs,
  8207. i = t.slots,
  8208. s = ref(),
  8209. l = ref(),
  8210. c = useLazyRender(function () {
  8211. return e.show || !e.lazyRender
  8212. }),
  8213. u = computed(function () {
  8214. var t = { zIndex: s.value }
  8215. isDef(e.duration) &&
  8216. (t['center' === e.position ? 'animationDuration' : 'transitionDuration'] =
  8217. ''.concat(e.duration, 's'))
  8218. return t
  8219. }),
  8220. p = function () {
  8221. n ||
  8222. ((n = !0),
  8223. (s.value = void 0 !== e.zIndex ? +e.zIndex : useGlobalZIndex()),
  8224. a('open'))
  8225. },
  8226. d = function () {
  8227. n &&
  8228. callInterceptor(e.beforeClose, {
  8229. done: function () {
  8230. ;(n = !1), a('close'), a('update:show', !1)
  8231. }
  8232. })
  8233. },
  8234. f = function (t) {
  8235. a('clickOverlay', t), e.closeOnClickOverlay && d()
  8236. },
  8237. h = function () {
  8238. if (e.overlay)
  8239. return createVNode(
  8240. Overlay,
  8241. {
  8242. show: e.show,
  8243. class: e.overlayClass,
  8244. zIndex: s.value,
  8245. duration: e.duration,
  8246. customStyle: e.overlayStyle,
  8247. role: e.closeOnClickOverlay ? 'button' : void 0,
  8248. tabindex: e.closeOnClickOverlay ? 0 : void 0,
  8249. onClick: f
  8250. },
  8251. { default: i['overlay-content'] }
  8252. )
  8253. },
  8254. v = function (e) {
  8255. a('clickCloseIcon', e), d()
  8256. },
  8257. m = function () {
  8258. if (e.closeable)
  8259. return createVNode(
  8260. Icon,
  8261. {
  8262. role: 'button',
  8263. tabindex: 0,
  8264. name: e.closeIcon,
  8265. class: [bem$4('close-icon', e.closeIconPosition), HAPTICS_FEEDBACK],
  8266. classPrefix: e.iconPrefix,
  8267. onClick: v
  8268. },
  8269. null
  8270. )
  8271. },
  8272. g = function () {
  8273. return a('opened')
  8274. },
  8275. y = function () {
  8276. return a('closed')
  8277. },
  8278. b = function (e) {
  8279. return a('keydown', e)
  8280. },
  8281. _ = c(function () {
  8282. var t,
  8283. n = e.round,
  8284. r = e.position,
  8285. a = e.safeAreaInsetTop,
  8286. s = e.safeAreaInsetBottom
  8287. return withDirectives(
  8288. createVNode(
  8289. 'div',
  8290. mergeProps(
  8291. {
  8292. ref: l,
  8293. style: u.value,
  8294. role: 'dialog',
  8295. tabindex: 0,
  8296. class: [
  8297. bem$4(_defineProperty2({ round: n }, r, r)),
  8298. { 'van-safe-area-top': a, 'van-safe-area-bottom': s }
  8299. ],
  8300. onKeydown: b
  8301. },
  8302. o
  8303. ),
  8304. [null == (t = i.default) ? void 0 : t.call(i), m()]
  8305. ),
  8306. [[vShow, e.show]]
  8307. )
  8308. }),
  8309. A = function () {
  8310. var t = e.position,
  8311. n = e.transition,
  8312. r = e.transitionAppear,
  8313. a = 'center' === t ? 'van-fade' : 'van-popup-slide-'.concat(t)
  8314. return createVNode(
  8315. Transition,
  8316. { name: n || a, appear: r, onAfterEnter: g, onAfterLeave: y },
  8317. { default: _ }
  8318. )
  8319. }
  8320. return (
  8321. watch(
  8322. function () {
  8323. return e.show
  8324. },
  8325. function (e) {
  8326. e &&
  8327. !n &&
  8328. (p(),
  8329. 0 === o.tabindex &&
  8330. nextTick(function () {
  8331. var e
  8332. null == (e = l.value) || e.focus()
  8333. })),
  8334. !e && n && ((n = !1), a('close'))
  8335. }
  8336. ),
  8337. useExpose({ popupRef: l }),
  8338. useLockScroll(l, function () {
  8339. return e.show && e.lockScroll
  8340. }),
  8341. useEventListener('popstate', function () {
  8342. e.closeOnPopstate && (d(), (r = !1))
  8343. }),
  8344. onMounted(function () {
  8345. e.show && p()
  8346. }),
  8347. onActivated(function () {
  8348. r && (a('update:show', !0), (r = !1))
  8349. }),
  8350. onDeactivated(function () {
  8351. e.show && e.teleport && (d(), (r = !0))
  8352. }),
  8353. provide(POPUP_TOGGLE_KEY, function () {
  8354. return e.show
  8355. }),
  8356. function () {
  8357. return e.teleport
  8358. ? createVNode(
  8359. Teleport,
  8360. { to: e.teleport },
  8361. {
  8362. default: function () {
  8363. return [h(), A()]
  8364. }
  8365. }
  8366. )
  8367. : createVNode(Fragment, null, [h(), A()])
  8368. }
  8369. )
  8370. }
  8371. }),
  8372. Popup = exports('P', withInstall(stdin_default$4)),
  8373. current = 0
  8374. function useId() {
  8375. var e = getCurrentInstance(),
  8376. t = ((null == e ? void 0 : e.type) || {}).name
  8377. return ''.concat(void 0 === t ? 'unknown' : t, '-').concat(++current)
  8378. }
  8379. var lockCount = 0
  8380. function lockClick(e) {
  8381. e
  8382. ? (lockCount || document.body.classList.add('van-toast--unclickable'), lockCount++)
  8383. : lockCount &&
  8384. (--lockCount || document.body.classList.remove('van-toast--unclickable'))
  8385. }
  8386. var _createNamespace19 = createNamespace('toast'),
  8387. _createNamespace20 = _slicedToArray(_createNamespace19, 2),
  8388. name$3 = _createNamespace20[0],
  8389. bem$3 = _createNamespace20[1],
  8390. popupInheritProps = [
  8391. 'show',
  8392. 'overlay',
  8393. 'teleport',
  8394. 'transition',
  8395. 'overlayClass',
  8396. 'overlayStyle',
  8397. 'closeOnClickOverlay'
  8398. ],
  8399. toastProps = {
  8400. icon: String,
  8401. show: Boolean,
  8402. type: makeStringProp('text'),
  8403. overlay: Boolean,
  8404. message: numericProp,
  8405. iconSize: numericProp,
  8406. duration: makeNumberProp(2e3),
  8407. position: makeStringProp('middle'),
  8408. teleport: [String, Object],
  8409. wordBreak: String,
  8410. className: unknownProp,
  8411. iconPrefix: String,
  8412. transition: makeStringProp('van-fade'),
  8413. loadingType: String,
  8414. forbidClick: Boolean,
  8415. overlayClass: unknownProp,
  8416. overlayStyle: Object,
  8417. closeOnClick: Boolean,
  8418. closeOnClickOverlay: Boolean
  8419. },
  8420. stdin_default$3 = defineComponent({
  8421. name: name$3,
  8422. props: toastProps,
  8423. emits: ['update:show'],
  8424. setup: function (e, t) {
  8425. var n,
  8426. r = t.emit,
  8427. a = t.slots,
  8428. o = !1,
  8429. i = function () {
  8430. var t = e.show && e.forbidClick
  8431. o !== t && lockClick((o = t))
  8432. },
  8433. s = function (e) {
  8434. return r('update:show', e)
  8435. },
  8436. l = function () {
  8437. e.closeOnClick && s(!1)
  8438. },
  8439. c = function () {
  8440. return clearTimeout(n)
  8441. },
  8442. u = function () {
  8443. var t = e.type,
  8444. n = e.message
  8445. return a.message
  8446. ? createVNode('div', { class: bem$3('text') }, [a.message()])
  8447. : isDef(n) && '' !== n
  8448. ? 'html' === t
  8449. ? createVNode(
  8450. 'div',
  8451. { key: 0, class: bem$3('text'), innerHTML: String(n) },
  8452. null
  8453. )
  8454. : createVNode('div', { class: bem$3('text') }, [n])
  8455. : void 0
  8456. }
  8457. return (
  8458. watch(function () {
  8459. return [e.show, e.forbidClick]
  8460. }, i),
  8461. watch(
  8462. function () {
  8463. return [e.show, e.type, e.message, e.duration]
  8464. },
  8465. function () {
  8466. c(),
  8467. e.show &&
  8468. e.duration > 0 &&
  8469. (n = setTimeout(function () {
  8470. s(!1)
  8471. }, e.duration))
  8472. }
  8473. ),
  8474. onMounted(i),
  8475. onUnmounted(i),
  8476. function () {
  8477. return createVNode(
  8478. Popup,
  8479. mergeProps(
  8480. {
  8481. class: [
  8482. bem$3([
  8483. e.position,
  8484. 'normal' === e.wordBreak ? 'break-normal' : e.wordBreak,
  8485. _defineProperty2({}, e.type, !e.icon)
  8486. ]),
  8487. e.className
  8488. ],
  8489. lockScroll: !1,
  8490. onClick: l,
  8491. onClosed: c,
  8492. 'onUpdate:show': s
  8493. },
  8494. pick(e, popupInheritProps)
  8495. ),
  8496. {
  8497. default: function () {
  8498. return [
  8499. ((t = e.icon),
  8500. (n = e.type),
  8501. (r = e.iconSize),
  8502. (a = e.iconPrefix),
  8503. (o = e.loadingType),
  8504. t || 'success' === n || 'fail' === n
  8505. ? createVNode(
  8506. Icon,
  8507. { name: t || n, size: r, class: bem$3('icon'), classPrefix: a },
  8508. null
  8509. )
  8510. : 'loading' === n
  8511. ? createVNode(
  8512. Loading,
  8513. { class: bem$3('loading'), size: r, type: o },
  8514. null
  8515. )
  8516. : void 0),
  8517. u()
  8518. ]
  8519. var t, n, r, a, o
  8520. }
  8521. }
  8522. )
  8523. }
  8524. )
  8525. }
  8526. })
  8527. function usePopupState() {
  8528. var e = reactive({ show: !1 }),
  8529. t = function (t) {
  8530. e.show = t
  8531. },
  8532. n = function (n) {
  8533. extend$1(e, n, { transitionAppear: !0 }), t(!0)
  8534. },
  8535. r = function () {
  8536. return t(!1)
  8537. }
  8538. return (
  8539. useExpose({ open: n, close: r, toggle: t }),
  8540. { open: n, close: r, state: e, toggle: t }
  8541. )
  8542. }
  8543. function mountComponent(e) {
  8544. var t = createApp(e),
  8545. n = document.createElement('div')
  8546. return (
  8547. document.body.appendChild(n),
  8548. {
  8549. instance: t.mount(n),
  8550. unmount: function () {
  8551. t.unmount(), document.body.removeChild(n)
  8552. }
  8553. }
  8554. )
  8555. }
  8556. var defaultOptions = {
  8557. icon: '',
  8558. type: 'text',
  8559. message: '',
  8560. className: '',
  8561. overlay: !1,
  8562. onClose: void 0,
  8563. onOpened: void 0,
  8564. duration: 2e3,
  8565. teleport: 'body',
  8566. iconSize: void 0,
  8567. iconPrefix: void 0,
  8568. position: 'middle',
  8569. transition: 'van-fade',
  8570. forbidClick: !1,
  8571. loadingType: void 0,
  8572. overlayClass: '',
  8573. overlayStyle: void 0,
  8574. closeOnClick: !1,
  8575. closeOnClickOverlay: !1
  8576. },
  8577. queue = [],
  8578. allowMultiple = !1,
  8579. currentOptions$1 = extend$1({}, defaultOptions),
  8580. defaultOptionsMap = new Map()
  8581. function parseOptions(e) {
  8582. return isObject$1(e) ? e : { message: e }
  8583. }
  8584. function createInstance() {
  8585. var e = mountComponent({
  8586. setup: function () {
  8587. var e = ref(''),
  8588. t = usePopupState(),
  8589. n = t.open,
  8590. r = t.state,
  8591. a = t.close,
  8592. o = t.toggle,
  8593. i = function () {}
  8594. return (
  8595. watch(e, function (e) {
  8596. r.message = e
  8597. }),
  8598. (getCurrentInstance().render = function () {
  8599. return createVNode(
  8600. stdin_default$3,
  8601. mergeProps(r, { onClosed: i, 'onUpdate:show': o }),
  8602. null
  8603. )
  8604. }),
  8605. { open: n, close: a, message: e }
  8606. )
  8607. }
  8608. }),
  8609. t = e.instance
  8610. e.unmount
  8611. return t
  8612. }
  8613. function getInstance() {
  8614. if (!queue.length || allowMultiple) {
  8615. var e = createInstance()
  8616. queue.push(e)
  8617. }
  8618. return queue[queue.length - 1]
  8619. }
  8620. function showToast() {
  8621. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
  8622. if (!inBrowser$1) return {}
  8623. var t = getInstance(),
  8624. n = parseOptions(e)
  8625. return (
  8626. t.open(
  8627. extend$1(
  8628. {},
  8629. currentOptions$1,
  8630. defaultOptionsMap.get(n.type || currentOptions$1.type),
  8631. n
  8632. )
  8633. ),
  8634. t
  8635. )
  8636. }
  8637. var createMethod = function (e) {
  8638. return function (t) {
  8639. return showToast(extend$1({ type: e }, parseOptions(t)))
  8640. }
  8641. },
  8642. showLoadingToast = exports('bp', createMethod('loading')),
  8643. showSuccessToast = exports('bC', createMethod('success')),
  8644. showFailToast = exports('bD', createMethod('fail')),
  8645. closeToast = exports('be', function (e) {
  8646. queue.length &&
  8647. (e
  8648. ? (queue.forEach(function (e) {
  8649. e.close()
  8650. }),
  8651. (queue = []))
  8652. : queue[0].close())
  8653. }),
  8654. Toast = exports('T', withInstall(stdin_default$3)),
  8655. _createNamespace21 = createNamespace('empty'),
  8656. _createNamespace22 = _slicedToArray(_createNamespace21, 2),
  8657. name$2 = _createNamespace22[0],
  8658. bem$2 = _createNamespace22[1],
  8659. emptyProps = {
  8660. image: makeStringProp('default'),
  8661. imageSize: [Number, String, Array],
  8662. description: String
  8663. },
  8664. stdin_default$2 = defineComponent({
  8665. name: name$2,
  8666. props: emptyProps,
  8667. setup: function (e, t) {
  8668. var n = t.slots,
  8669. r = function () {
  8670. var t = n.description ? n.description() : e.description
  8671. if (t) return createVNode('p', { class: bem$2('description') }, [t])
  8672. },
  8673. a = function () {
  8674. if (n.default)
  8675. return createVNode('div', { class: bem$2('bottom') }, [n.default()])
  8676. },
  8677. o = useId(),
  8678. i = function (e) {
  8679. return ''.concat(o, '-').concat(e)
  8680. },
  8681. s = function (e) {
  8682. return 'url(#'.concat(i(e), ')')
  8683. },
  8684. l = function (e, t, n) {
  8685. return createVNode(
  8686. 'stop',
  8687. { 'stop-color': e, offset: ''.concat(t, '%'), 'stop-opacity': n },
  8688. null
  8689. )
  8690. },
  8691. c = function (e, t) {
  8692. return [l(e, 0), l(t, 100)]
  8693. },
  8694. u = function (e) {
  8695. return [
  8696. createVNode('defs', null, [
  8697. createVNode(
  8698. 'radialGradient',
  8699. {
  8700. id: i(e),
  8701. cx: '50%',
  8702. cy: '54%',
  8703. fx: '50%',
  8704. fy: '54%',
  8705. r: '297%',
  8706. gradientTransform: 'matrix(-.16 0 0 -.33 .58 .72)'
  8707. },
  8708. [l('#EBEDF0', 0), l('#F2F3F5', 100, 0.3)]
  8709. )
  8710. ]),
  8711. createVNode(
  8712. 'ellipse',
  8713. { fill: s(e), opacity: '.8', cx: '80', cy: '140', rx: '46', ry: '8' },
  8714. null
  8715. )
  8716. ]
  8717. },
  8718. p = function () {
  8719. return [
  8720. createVNode('defs', null, [
  8721. createVNode(
  8722. 'linearGradient',
  8723. { id: i('a'), x1: '64%', y1: '100%', x2: '64%' },
  8724. [l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
  8725. )
  8726. ]),
  8727. createVNode('g', { opacity: '.8' }, [
  8728. createVNode('path', { d: 'M36 131V53H16v20H2v58h34z', fill: s('a') }, null),
  8729. createVNode('path', { d: 'M123 15h22v14h9v77h-31V15z', fill: s('a') }, null)
  8730. ])
  8731. ]
  8732. },
  8733. d = function () {
  8734. return [
  8735. createVNode('defs', null, [
  8736. createVNode(
  8737. 'linearGradient',
  8738. { id: i('b'), x1: '64%', y1: '97%', x2: '64%', y2: '0%' },
  8739. [l('#F2F3F5', 0, 0.3), l('#F2F3F5', 100)]
  8740. )
  8741. ]),
  8742. createVNode('g', { opacity: '.8' }, [
  8743. createVNode(
  8744. 'path',
  8745. {
  8746. 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',
  8747. fill: s('b')
  8748. },
  8749. null
  8750. ),
  8751. createVNode(
  8752. 'path',
  8753. {
  8754. 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',
  8755. fill: s('b')
  8756. },
  8757. null
  8758. )
  8759. ])
  8760. ]
  8761. },
  8762. f = function () {
  8763. return createVNode('svg', { viewBox: '0 0 160 160' }, [
  8764. createVNode('defs', null, [
  8765. createVNode(
  8766. 'linearGradient',
  8767. { id: i(1), x1: '64%', y1: '100%', x2: '64%' },
  8768. [l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
  8769. ),
  8770. createVNode(
  8771. 'linearGradient',
  8772. { id: i(2), x1: '50%', x2: '50%', y2: '84%' },
  8773. [l('#EBEDF0', 0), l('#DCDEE0', 100, 0)]
  8774. ),
  8775. createVNode(
  8776. 'linearGradient',
  8777. { id: i(3), x1: '100%', x2: '100%', y2: '100%' },
  8778. [c('#EAEDF0', '#DCDEE0')]
  8779. ),
  8780. createVNode(
  8781. 'radialGradient',
  8782. {
  8783. id: i(4),
  8784. cx: '50%',
  8785. cy: '0%',
  8786. fx: '50%',
  8787. fy: '0%',
  8788. r: '100%',
  8789. gradientTransform: 'matrix(0 1 -.54 0 .5 -.5)'
  8790. },
  8791. [l('#EBEDF0', 0), l('#FFF', 100, 0)]
  8792. )
  8793. ]),
  8794. createVNode('g', { fill: 'none' }, [
  8795. p(),
  8796. createVNode('path', { fill: s(4), d: 'M0 139h160v21H0z' }, null),
  8797. createVNode(
  8798. 'path',
  8799. {
  8800. d: 'M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z',
  8801. fill: s(2)
  8802. },
  8803. null
  8804. ),
  8805. createVNode(
  8806. 'g',
  8807. { opacity: '.6', 'stroke-linecap': 'round', 'stroke-width': '7' },
  8808. [
  8809. createVNode(
  8810. 'path',
  8811. { d: 'M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13', stroke: s(3) },
  8812. null
  8813. ),
  8814. createVNode(
  8815. 'path',
  8816. { d: 'M53 36a34 34 0 0 0 0 48', stroke: s(3) },
  8817. null
  8818. ),
  8819. createVNode(
  8820. 'path',
  8821. { d: 'M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13', stroke: s(3) },
  8822. null
  8823. ),
  8824. createVNode(
  8825. 'path',
  8826. { d: 'M106 84a34 34 0 0 0 0-48', stroke: s(3) },
  8827. null
  8828. )
  8829. ]
  8830. ),
  8831. createVNode('g', { transform: 'translate(31 105)' }, [
  8832. createVNode(
  8833. 'rect',
  8834. { fill: '#EBEDF0', width: '98', height: '34', rx: '2' },
  8835. null
  8836. ),
  8837. createVNode(
  8838. 'rect',
  8839. { fill: '#FFF', x: '9', y: '8', width: '80', height: '18', rx: '1.1' },
  8840. null
  8841. ),
  8842. createVNode(
  8843. 'rect',
  8844. {
  8845. fill: '#EBEDF0',
  8846. x: '15',
  8847. y: '12',
  8848. width: '18',
  8849. height: '6',
  8850. rx: '1.1'
  8851. },
  8852. null
  8853. )
  8854. ])
  8855. ])
  8856. ])
  8857. },
  8858. h = function () {
  8859. return createVNode('svg', { viewBox: '0 0 160 160' }, [
  8860. createVNode('defs', null, [
  8861. createVNode(
  8862. 'linearGradient',
  8863. { x1: '50%', x2: '50%', y2: '100%', id: i(5) },
  8864. [c('#F2F3F5', '#DCDEE0')]
  8865. ),
  8866. createVNode(
  8867. 'linearGradient',
  8868. { x1: '95%', y1: '48%', x2: '5.5%', y2: '51%', id: i(6) },
  8869. [c('#EAEDF1', '#DCDEE0')]
  8870. ),
  8871. createVNode(
  8872. 'linearGradient',
  8873. { y1: '45%', x2: '100%', y2: '54%', id: i(7) },
  8874. [c('#EAEDF1', '#DCDEE0')]
  8875. )
  8876. ]),
  8877. p(),
  8878. d(),
  8879. createVNode('g', { transform: 'translate(36 50)', fill: 'none' }, [
  8880. createVNode('g', { transform: 'translate(8)' }, [
  8881. createVNode(
  8882. 'rect',
  8883. {
  8884. fill: '#EBEDF0',
  8885. opacity: '.6',
  8886. x: '38',
  8887. y: '13',
  8888. width: '36',
  8889. height: '53',
  8890. rx: '2'
  8891. },
  8892. null
  8893. ),
  8894. createVNode(
  8895. 'rect',
  8896. { fill: s(5), width: '64', height: '66', rx: '2' },
  8897. null
  8898. ),
  8899. createVNode(
  8900. 'rect',
  8901. { fill: '#FFF', x: '6', y: '6', width: '52', height: '55', rx: '1' },
  8902. null
  8903. ),
  8904. createVNode('g', { transform: 'translate(15 17)', fill: s(6) }, [
  8905. createVNode('rect', { width: '34', height: '6', rx: '1' }, null),
  8906. createVNode('path', { d: 'M0 14h34v6H0z' }, null),
  8907. createVNode(
  8908. 'rect',
  8909. { y: '28', width: '34', height: '6', rx: '1' },
  8910. null
  8911. )
  8912. ])
  8913. ]),
  8914. createVNode(
  8915. 'rect',
  8916. { fill: s(7), y: '61', width: '88', height: '28', rx: '1' },
  8917. null
  8918. ),
  8919. createVNode(
  8920. 'rect',
  8921. { fill: '#F7F8FA', x: '29', y: '72', width: '30', height: '6', rx: '1' },
  8922. null
  8923. )
  8924. ])
  8925. ])
  8926. },
  8927. v = function () {
  8928. return createVNode('svg', { viewBox: '0 0 160 160' }, [
  8929. createVNode('defs', null, [
  8930. createVNode(
  8931. 'linearGradient',
  8932. { x1: '50%', x2: '50%', y2: '100%', id: i(8) },
  8933. [c('#EAEDF1', '#DCDEE0')]
  8934. )
  8935. ]),
  8936. p(),
  8937. d(),
  8938. u('c'),
  8939. createVNode(
  8940. 'path',
  8941. {
  8942. 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',
  8943. fill: s(8)
  8944. },
  8945. null
  8946. )
  8947. ])
  8948. },
  8949. m = function () {
  8950. return createVNode('svg', { viewBox: '0 0 160 160' }, [
  8951. createVNode('defs', null, [
  8952. createVNode(
  8953. 'linearGradient',
  8954. { x1: '50%', y1: '100%', x2: '50%', id: i(9) },
  8955. [c('#EEE', '#D8D8D8')]
  8956. ),
  8957. createVNode(
  8958. 'linearGradient',
  8959. { x1: '100%', y1: '50%', y2: '50%', id: i(10) },
  8960. [c('#F2F3F5', '#DCDEE0')]
  8961. ),
  8962. createVNode(
  8963. 'linearGradient',
  8964. { x1: '50%', x2: '50%', y2: '100%', id: i(11) },
  8965. [c('#F2F3F5', '#DCDEE0')]
  8966. ),
  8967. createVNode(
  8968. 'linearGradient',
  8969. { x1: '50%', x2: '50%', y2: '100%', id: i(12) },
  8970. [c('#FFF', '#F7F8FA')]
  8971. )
  8972. ]),
  8973. p(),
  8974. d(),
  8975. u('d'),
  8976. createVNode('g', { transform: 'rotate(-45 113 -4)', fill: 'none' }, [
  8977. createVNode(
  8978. 'rect',
  8979. { fill: s(9), x: '24', y: '52.8', width: '5.8', height: '19', rx: '1' },
  8980. null
  8981. ),
  8982. createVNode(
  8983. 'rect',
  8984. {
  8985. fill: s(10),
  8986. x: '22.1',
  8987. y: '67.3',
  8988. width: '9.9',
  8989. height: '28',
  8990. rx: '1'
  8991. },
  8992. null
  8993. ),
  8994. createVNode(
  8995. 'circle',
  8996. { stroke: s(11), 'stroke-width': '8', cx: '27', cy: '27', r: '27' },
  8997. null
  8998. ),
  8999. createVNode('circle', { fill: s(12), cx: '27', cy: '27', r: '16' }, null),
  9000. createVNode(
  9001. 'path',
  9002. {
  9003. d: 'M37 7c-8 0-15 5-16 12',
  9004. stroke: s(11),
  9005. 'stroke-width': '3',
  9006. opacity: '.5',
  9007. 'stroke-linecap': 'round',
  9008. transform: 'rotate(45 29 13)'
  9009. },
  9010. null
  9011. )
  9012. ])
  9013. ])
  9014. },
  9015. g = function () {
  9016. var t
  9017. if (n.image) return n.image()
  9018. var r = { error: v, search: m, network: f, default: h }
  9019. return (
  9020. (null == (t = r[e.image]) ? void 0 : t.call(r)) ||
  9021. createVNode('img', { src: e.image }, null)
  9022. )
  9023. }
  9024. return function () {
  9025. return createVNode('div', { class: bem$2() }, [
  9026. createVNode(
  9027. 'div',
  9028. { class: bem$2('image'), style: getSizeStyle(e.imageSize) },
  9029. [g()]
  9030. ),
  9031. r(),
  9032. a()
  9033. ])
  9034. }
  9035. }
  9036. }),
  9037. Empty = withInstall(stdin_default$2),
  9038. _createNamespace23 = createNamespace('dialog'),
  9039. _createNamespace24 = _slicedToArray(_createNamespace23, 3),
  9040. name$1 = _createNamespace24[0],
  9041. bem$1 = _createNamespace24[1],
  9042. t = _createNamespace24[2],
  9043. dialogProps = extend$1({}, popupSharedProps, {
  9044. title: String,
  9045. theme: String,
  9046. width: numericProp,
  9047. message: [String, Function],
  9048. callback: Function,
  9049. allowHtml: Boolean,
  9050. className: unknownProp,
  9051. transition: makeStringProp('van-dialog-bounce'),
  9052. messageAlign: String,
  9053. closeOnPopstate: truthProp,
  9054. showCancelButton: Boolean,
  9055. cancelButtonText: String,
  9056. cancelButtonColor: String,
  9057. cancelButtonDisabled: Boolean,
  9058. confirmButtonText: String,
  9059. confirmButtonColor: String,
  9060. confirmButtonDisabled: Boolean,
  9061. showConfirmButton: truthProp,
  9062. closeOnClickOverlay: Boolean
  9063. }),
  9064. popupInheritKeys = [].concat(_toConsumableArray2(popupSharedPropKeys), [
  9065. 'transition',
  9066. 'closeOnPopstate'
  9067. ]),
  9068. stdin_default$1 = defineComponent({
  9069. name: name$1,
  9070. props: dialogProps,
  9071. emits: ['confirm', 'cancel', 'keydown', 'update:show'],
  9072. setup: function (e, n) {
  9073. var r = n.emit,
  9074. a = n.slots,
  9075. o = ref(),
  9076. i = reactive({ confirm: !1, cancel: !1 }),
  9077. s = function (e) {
  9078. return r('update:show', e)
  9079. },
  9080. l = function (t) {
  9081. var n
  9082. s(!1), null == (n = e.callback) || n.call(e, t)
  9083. },
  9084. c = function (t) {
  9085. return function () {
  9086. e.show &&
  9087. (r(t),
  9088. e.beforeClose
  9089. ? ((i[t] = !0),
  9090. callInterceptor(e.beforeClose, {
  9091. args: [t],
  9092. done: function () {
  9093. l(t), (i[t] = !1)
  9094. },
  9095. canceled: function () {
  9096. i[t] = !1
  9097. }
  9098. }))
  9099. : l(t))
  9100. }
  9101. },
  9102. u = c('cancel'),
  9103. p = c('confirm'),
  9104. d = withKeys(
  9105. function (t) {
  9106. var n, a
  9107. t.target ===
  9108. (null == (a = null == (n = o.value) ? void 0 : n.popupRef)
  9109. ? void 0
  9110. : a.value) &&
  9111. ({
  9112. Enter: e.showConfirmButton ? p : noop$1,
  9113. Escape: e.showCancelButton ? u : noop$1
  9114. }[t.key](),
  9115. r('keydown', t))
  9116. },
  9117. ['enter', 'esc']
  9118. ),
  9119. f = function () {
  9120. var t = a.title ? a.title() : e.title
  9121. if (t)
  9122. return createVNode(
  9123. 'div',
  9124. { class: bem$1('header', { isolated: !e.message && !a.default }) },
  9125. [t]
  9126. )
  9127. },
  9128. h = function (t) {
  9129. var n = e.message,
  9130. r = e.allowHtml,
  9131. a = e.messageAlign,
  9132. o = bem$1('message', _defineProperty2({ 'has-title': t }, a, a)),
  9133. i = isFunction(n) ? n() : n
  9134. return r && 'string' == typeof i
  9135. ? createVNode('div', { class: o, innerHTML: i }, null)
  9136. : createVNode('div', { class: o }, [i])
  9137. },
  9138. v = function () {
  9139. if (a.default)
  9140. return createVNode('div', { class: bem$1('content') }, [a.default()])
  9141. var t = e.title,
  9142. n = e.message,
  9143. r = e.allowHtml
  9144. if (n) {
  9145. var o = !(!t && !a.title)
  9146. return createVNode(
  9147. 'div',
  9148. { key: r ? 1 : 0, class: bem$1('content', { isolated: !o }) },
  9149. [h(o)]
  9150. )
  9151. }
  9152. },
  9153. m = function () {
  9154. return a.footer
  9155. ? a.footer()
  9156. : 'round-button' === e.theme
  9157. ? createVNode(
  9158. ActionBar,
  9159. { class: bem$1('footer') },
  9160. {
  9161. default: function () {
  9162. return [
  9163. e.showCancelButton &&
  9164. createVNode(
  9165. ActionBarButton,
  9166. {
  9167. type: 'warning',
  9168. text: e.cancelButtonText || t('cancel'),
  9169. class: bem$1('cancel'),
  9170. color: e.cancelButtonColor,
  9171. loading: i.cancel,
  9172. disabled: e.cancelButtonDisabled,
  9173. onClick: u
  9174. },
  9175. null
  9176. ),
  9177. e.showConfirmButton &&
  9178. createVNode(
  9179. ActionBarButton,
  9180. {
  9181. type: 'danger',
  9182. text: e.confirmButtonText || t('confirm'),
  9183. class: bem$1('confirm'),
  9184. color: e.confirmButtonColor,
  9185. loading: i.confirm,
  9186. disabled: e.confirmButtonDisabled,
  9187. onClick: p
  9188. },
  9189. null
  9190. )
  9191. ]
  9192. }
  9193. }
  9194. )
  9195. : createVNode('div', { class: [BORDER_TOP, bem$1('footer')] }, [
  9196. e.showCancelButton &&
  9197. createVNode(
  9198. Button,
  9199. {
  9200. size: 'large',
  9201. text: e.cancelButtonText || t('cancel'),
  9202. class: bem$1('cancel'),
  9203. style: { color: e.cancelButtonColor },
  9204. loading: i.cancel,
  9205. disabled: e.cancelButtonDisabled,
  9206. onClick: u
  9207. },
  9208. null
  9209. ),
  9210. e.showConfirmButton &&
  9211. createVNode(
  9212. Button,
  9213. {
  9214. size: 'large',
  9215. text: e.confirmButtonText || t('confirm'),
  9216. class: [
  9217. bem$1('confirm'),
  9218. _defineProperty2({}, BORDER_LEFT, e.showCancelButton)
  9219. ],
  9220. style: { color: e.confirmButtonColor },
  9221. loading: i.confirm,
  9222. disabled: e.confirmButtonDisabled,
  9223. onClick: p
  9224. },
  9225. null
  9226. )
  9227. ])
  9228. }
  9229. return function () {
  9230. var t = e.width,
  9231. n = e.title,
  9232. r = e.theme,
  9233. a = e.message,
  9234. i = e.className
  9235. return createVNode(
  9236. Popup,
  9237. mergeProps(
  9238. {
  9239. ref: o,
  9240. role: 'dialog',
  9241. class: [bem$1([r]), i],
  9242. style: { width: addUnit(t) },
  9243. tabindex: 0,
  9244. 'aria-labelledby': n || a,
  9245. onKeydown: d,
  9246. 'onUpdate:show': s
  9247. },
  9248. pick(e, popupInheritKeys)
  9249. ),
  9250. {
  9251. default: function () {
  9252. return [f(), v(), m()]
  9253. }
  9254. }
  9255. )
  9256. }
  9257. }
  9258. }),
  9259. instance$1,
  9260. DEFAULT_OPTIONS = {
  9261. title: '',
  9262. width: '',
  9263. theme: null,
  9264. message: '',
  9265. overlay: !0,
  9266. callback: null,
  9267. teleport: 'body',
  9268. className: '',
  9269. allowHtml: !1,
  9270. lockScroll: !0,
  9271. transition: void 0,
  9272. beforeClose: null,
  9273. overlayClass: '',
  9274. overlayStyle: void 0,
  9275. messageAlign: '',
  9276. cancelButtonText: '',
  9277. cancelButtonColor: null,
  9278. cancelButtonDisabled: !1,
  9279. confirmButtonText: '',
  9280. confirmButtonColor: null,
  9281. confirmButtonDisabled: !1,
  9282. showConfirmButton: !0,
  9283. showCancelButton: !1,
  9284. closeOnPopstate: !0,
  9285. closeOnClickOverlay: !1
  9286. },
  9287. currentOptions = extend$1({}, DEFAULT_OPTIONS)
  9288. function initInstance() {
  9289. var e = {
  9290. setup: function () {
  9291. var e = usePopupState(),
  9292. t = e.state,
  9293. n = e.toggle
  9294. return function () {
  9295. return createVNode(stdin_default$1, mergeProps(t, { 'onUpdate:show': n }), null)
  9296. }
  9297. }
  9298. },
  9299. t = mountComponent(e)
  9300. instance$1 = t.instance
  9301. }
  9302. function showDialog(e) {
  9303. return inBrowser$1
  9304. ? new Promise(function (t, n) {
  9305. instance$1 || initInstance(),
  9306. instance$1.open(
  9307. extend$1({}, currentOptions, e, {
  9308. callback: function (e) {
  9309. ;('confirm' === e ? t : n)(e)
  9310. }
  9311. })
  9312. )
  9313. })
  9314. : Promise.resolve()
  9315. }
  9316. var showConfirmDialog = exports('b9', function (e) {
  9317. return showDialog(extend$1({ showCancelButton: !0 }, e))
  9318. }),
  9319. Dialog = exports('a$', withInstall(stdin_default$1)),
  9320. _createNamespace25 = createNamespace('nav-bar'),
  9321. _createNamespace26 = _slicedToArray(_createNamespace25, 2),
  9322. name = _createNamespace26[0],
  9323. bem = _createNamespace26[1],
  9324. navBarProps = {
  9325. title: String,
  9326. fixed: Boolean,
  9327. zIndex: numericProp,
  9328. border: truthProp,
  9329. leftText: String,
  9330. rightText: String,
  9331. leftArrow: Boolean,
  9332. placeholder: Boolean,
  9333. safeAreaInsetTop: Boolean,
  9334. clickable: truthProp
  9335. },
  9336. stdin_default = defineComponent({
  9337. name: name,
  9338. props: navBarProps,
  9339. emits: ['clickLeft', 'clickRight'],
  9340. setup: function (e, t) {
  9341. var n = t.emit,
  9342. r = t.slots,
  9343. a = ref(),
  9344. o = usePlaceholder(a, bem),
  9345. i = function (e) {
  9346. return n('clickLeft', e)
  9347. },
  9348. s = function (e) {
  9349. return n('clickRight', e)
  9350. },
  9351. l = function () {
  9352. var t,
  9353. n = e.title,
  9354. o = e.fixed,
  9355. l = e.border,
  9356. c = getZIndexStyle(e.zIndex),
  9357. u = e.leftArrow || e.leftText || r.left,
  9358. p = e.rightText || r.right
  9359. return createVNode(
  9360. 'div',
  9361. {
  9362. ref: a,
  9363. style: c,
  9364. class: [
  9365. bem({ fixed: o }),
  9366. ((t = {}),
  9367. _defineProperty2(t, BORDER_BOTTOM, l),
  9368. _defineProperty2(t, 'van-safe-area-top', e.safeAreaInsetTop),
  9369. t)
  9370. ]
  9371. },
  9372. [
  9373. createVNode('div', { class: bem('content') }, [
  9374. u &&
  9375. createVNode(
  9376. 'div',
  9377. {
  9378. class: [bem('left'), e.clickable ? HAPTICS_FEEDBACK : ''],
  9379. onClick: i
  9380. },
  9381. [
  9382. r.left
  9383. ? r.left()
  9384. : [
  9385. e.leftArrow &&
  9386. createVNode(
  9387. Icon,
  9388. { class: bem('arrow'), name: 'arrow-left' },
  9389. null
  9390. ),
  9391. e.leftText &&
  9392. createVNode('span', { class: bem('text') }, [e.leftText])
  9393. ]
  9394. ]
  9395. ),
  9396. createVNode('div', { class: [bem('title'), 'van-ellipsis'] }, [
  9397. r.title ? r.title() : n
  9398. ]),
  9399. p &&
  9400. createVNode(
  9401. 'div',
  9402. {
  9403. class: [bem('right'), e.clickable ? HAPTICS_FEEDBACK : ''],
  9404. onClick: s
  9405. },
  9406. [
  9407. r.right
  9408. ? r.right()
  9409. : createVNode('span', { class: bem('text') }, [e.rightText])
  9410. ]
  9411. )
  9412. ])
  9413. ]
  9414. )
  9415. }
  9416. return function () {
  9417. return e.fixed && e.placeholder ? o(l) : l()
  9418. }
  9419. }
  9420. }),
  9421. NavBar = exports('bM', withInstall(stdin_default)),
  9422. commonjsGlobal$1 = exports(
  9423. 'ao',
  9424. 'undefined' != typeof globalThis
  9425. ? globalThis
  9426. : 'undefined' != typeof window
  9427. ? window
  9428. : 'undefined' != typeof global
  9429. ? global
  9430. : 'undefined' != typeof self
  9431. ? self
  9432. : {}
  9433. )
  9434. function getDefaultExportFromCjs(e) {
  9435. return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, 'default')
  9436. ? e.default
  9437. : e
  9438. }
  9439. function getAugmentedNamespace(e) {
  9440. if (e.__esModule) return e
  9441. var t = Object.defineProperty({}, '__esModule', { value: !0 })
  9442. return (
  9443. Object.keys(e).forEach(function (n) {
  9444. var r = Object.getOwnPropertyDescriptor(e, n)
  9445. Object.defineProperty(
  9446. t,
  9447. n,
  9448. r.get
  9449. ? r
  9450. : {
  9451. enumerable: !0,
  9452. get: function () {
  9453. return e[n]
  9454. }
  9455. }
  9456. )
  9457. }),
  9458. t
  9459. )
  9460. }
  9461. var lottie = { exports: {} }
  9462. ;(function (module, exports$1) {
  9463. var factory
  9464. 'undefined' != typeof navigator &&
  9465. ((factory = function () {
  9466. var svgNS = 'http://www.w3.org/2000/svg',
  9467. locationHref = '',
  9468. _useWebWorker = !1,
  9469. initialDefaultFrame = -999999,
  9470. setWebWorker = function (e) {
  9471. _useWebWorker = !!e
  9472. },
  9473. getWebWorker = function () {
  9474. return _useWebWorker
  9475. },
  9476. setLocationHref = function (e) {
  9477. locationHref = e
  9478. },
  9479. getLocationHref = function () {
  9480. return locationHref
  9481. }
  9482. function createTag(e) {
  9483. return document.createElement(e)
  9484. }
  9485. function extendPrototype(e, t) {
  9486. var n,
  9487. r,
  9488. a = e.length
  9489. for (n = 0; n < a; n += 1)
  9490. for (var o in (r = e[n].prototype))
  9491. Object.prototype.hasOwnProperty.call(r, o) && (t.prototype[o] = r[o])
  9492. }
  9493. function getDescriptor(e, t) {
  9494. return Object.getOwnPropertyDescriptor(e, t)
  9495. }
  9496. function createProxyFunction(e) {
  9497. function t() {}
  9498. return (t.prototype = e), t
  9499. }
  9500. var audioControllerFactory = (function () {
  9501. function e(e) {
  9502. ;(this.audios = []),
  9503. (this.audioFactory = e),
  9504. (this._volume = 1),
  9505. (this._isMuted = !1)
  9506. }
  9507. return (
  9508. (e.prototype = {
  9509. addAudio: function (e) {
  9510. this.audios.push(e)
  9511. },
  9512. pause: function () {
  9513. var e,
  9514. t = this.audios.length
  9515. for (e = 0; e < t; e += 1) this.audios[e].pause()
  9516. },
  9517. resume: function () {
  9518. var e,
  9519. t = this.audios.length
  9520. for (e = 0; e < t; e += 1) this.audios[e].resume()
  9521. },
  9522. setRate: function (e) {
  9523. var t,
  9524. n = this.audios.length
  9525. for (t = 0; t < n; t += 1) this.audios[t].setRate(e)
  9526. },
  9527. createAudio: function (e) {
  9528. return this.audioFactory
  9529. ? this.audioFactory(e)
  9530. : window.Howl
  9531. ? new window.Howl({ src: [e] })
  9532. : {
  9533. isPlaying: !1,
  9534. play: function () {
  9535. this.isPlaying = !0
  9536. },
  9537. seek: function () {
  9538. this.isPlaying = !1
  9539. },
  9540. playing: function () {},
  9541. rate: function () {},
  9542. setVolume: function () {}
  9543. }
  9544. },
  9545. setAudioFactory: function (e) {
  9546. this.audioFactory = e
  9547. },
  9548. setVolume: function (e) {
  9549. ;(this._volume = e), this._updateVolume()
  9550. },
  9551. mute: function () {
  9552. ;(this._isMuted = !0), this._updateVolume()
  9553. },
  9554. unmute: function () {
  9555. ;(this._isMuted = !1), this._updateVolume()
  9556. },
  9557. getVolume: function () {
  9558. return this._volume
  9559. },
  9560. _updateVolume: function () {
  9561. var e,
  9562. t = this.audios.length
  9563. for (e = 0; e < t; e += 1)
  9564. this.audios[e].volume(this._volume * (this._isMuted ? 0 : 1))
  9565. }
  9566. }),
  9567. function () {
  9568. return new e()
  9569. }
  9570. )
  9571. })(),
  9572. createTypedArray = (function () {
  9573. function e(e, t) {
  9574. var n,
  9575. r = 0,
  9576. a = []
  9577. switch (e) {
  9578. case 'int16':
  9579. case 'uint8c':
  9580. n = 1
  9581. break
  9582. default:
  9583. n = 1.1
  9584. }
  9585. for (r = 0; r < t; r += 1) a.push(n)
  9586. return a
  9587. }
  9588. return 'function' == typeof Uint8ClampedArray &&
  9589. 'function' == typeof Float32Array
  9590. ? function (t, n) {
  9591. return 'float32' === t
  9592. ? new Float32Array(n)
  9593. : 'int16' === t
  9594. ? new Int16Array(n)
  9595. : 'uint8c' === t
  9596. ? new Uint8ClampedArray(n)
  9597. : e(t, n)
  9598. }
  9599. : e
  9600. })()
  9601. function createSizedArray(e) {
  9602. return Array.apply(null, { length: e })
  9603. }
  9604. function _typeof$6(e) {
  9605. return (
  9606. (_typeof$6 =
  9607. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  9608. ? function (e) {
  9609. return typeof e
  9610. }
  9611. : function (e) {
  9612. return e &&
  9613. 'function' == typeof Symbol &&
  9614. e.constructor === Symbol &&
  9615. e !== Symbol.prototype
  9616. ? 'symbol'
  9617. : typeof e
  9618. }),
  9619. _typeof$6(e)
  9620. )
  9621. }
  9622. var subframeEnabled = !0,
  9623. expressionsPlugin = null,
  9624. idPrefix$1 = '',
  9625. isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
  9626. bmPow = Math.pow,
  9627. bmSqrt = Math.sqrt,
  9628. bmFloor = Math.floor,
  9629. bmMax = Math.max,
  9630. bmMin = Math.min,
  9631. BMMath = {}
  9632. !(function () {
  9633. var e,
  9634. t = [
  9635. 'abs',
  9636. 'acos',
  9637. 'acosh',
  9638. 'asin',
  9639. 'asinh',
  9640. 'atan',
  9641. 'atanh',
  9642. 'atan2',
  9643. 'ceil',
  9644. 'cbrt',
  9645. 'expm1',
  9646. 'clz32',
  9647. 'cos',
  9648. 'cosh',
  9649. 'exp',
  9650. 'floor',
  9651. 'fround',
  9652. 'hypot',
  9653. 'imul',
  9654. 'log',
  9655. 'log1p',
  9656. 'log2',
  9657. 'log10',
  9658. 'max',
  9659. 'min',
  9660. 'pow',
  9661. 'random',
  9662. 'round',
  9663. 'sign',
  9664. 'sin',
  9665. 'sinh',
  9666. 'sqrt',
  9667. 'tan',
  9668. 'tanh',
  9669. 'trunc',
  9670. 'E',
  9671. 'LN10',
  9672. 'LN2',
  9673. 'LOG10E',
  9674. 'LOG2E',
  9675. 'PI',
  9676. 'SQRT1_2',
  9677. 'SQRT2'
  9678. ],
  9679. n = t.length
  9680. for (e = 0; e < n; e += 1) BMMath[t[e]] = Math[t[e]]
  9681. })(),
  9682. (BMMath.random = Math.random),
  9683. (BMMath.abs = function (e) {
  9684. if ('object' === _typeof$6(e) && e.length) {
  9685. var t,
  9686. n = createSizedArray(e.length),
  9687. r = e.length
  9688. for (t = 0; t < r; t += 1) n[t] = Math.abs(e[t])
  9689. return n
  9690. }
  9691. return Math.abs(e)
  9692. })
  9693. var defaultCurveSegments = 150,
  9694. degToRads = Math.PI / 180,
  9695. roundCorner = 0.5519
  9696. function styleDiv(e) {
  9697. ;(e.style.position = 'absolute'),
  9698. (e.style.top = 0),
  9699. (e.style.left = 0),
  9700. (e.style.display = 'block'),
  9701. (e.style.transformOrigin = '0 0'),
  9702. (e.style.webkitTransformOrigin = '0 0'),
  9703. (e.style.backfaceVisibility = 'visible'),
  9704. (e.style.webkitBackfaceVisibility = 'visible'),
  9705. (e.style.transformStyle = 'preserve-3d'),
  9706. (e.style.webkitTransformStyle = 'preserve-3d'),
  9707. (e.style.mozTransformStyle = 'preserve-3d')
  9708. }
  9709. function BMEnterFrameEvent(e, t, n, r) {
  9710. ;(this.type = e),
  9711. (this.currentTime = t),
  9712. (this.totalTime = n),
  9713. (this.direction = r < 0 ? -1 : 1)
  9714. }
  9715. function BMCompleteEvent(e, t) {
  9716. ;(this.type = e), (this.direction = t < 0 ? -1 : 1)
  9717. }
  9718. function BMCompleteLoopEvent(e, t, n, r) {
  9719. ;(this.type = e),
  9720. (this.currentLoop = n),
  9721. (this.totalLoops = t),
  9722. (this.direction = r < 0 ? -1 : 1)
  9723. }
  9724. function BMSegmentStartEvent(e, t, n) {
  9725. ;(this.type = e), (this.firstFrame = t), (this.totalFrames = n)
  9726. }
  9727. function BMDestroyEvent(e, t) {
  9728. ;(this.type = e), (this.target = t)
  9729. }
  9730. function BMRenderFrameErrorEvent(e, t) {
  9731. ;(this.type = 'renderFrameError'), (this.nativeError = e), (this.currentTime = t)
  9732. }
  9733. function BMConfigErrorEvent(e) {
  9734. ;(this.type = 'configError'), (this.nativeError = e)
  9735. }
  9736. var createElementID =
  9737. ((_count = 0),
  9738. function () {
  9739. return idPrefix$1 + '__lottie_element_' + (_count += 1)
  9740. }),
  9741. _count
  9742. function HSVtoRGB(e, t, n) {
  9743. var r, a, o, i, s, l, c, u
  9744. switch (
  9745. ((l = n * (1 - t)),
  9746. (c = n * (1 - (s = 6 * e - (i = Math.floor(6 * e))) * t)),
  9747. (u = n * (1 - (1 - s) * t)),
  9748. i % 6)
  9749. ) {
  9750. case 0:
  9751. ;(r = n), (a = u), (o = l)
  9752. break
  9753. case 1:
  9754. ;(r = c), (a = n), (o = l)
  9755. break
  9756. case 2:
  9757. ;(r = l), (a = n), (o = u)
  9758. break
  9759. case 3:
  9760. ;(r = l), (a = c), (o = n)
  9761. break
  9762. case 4:
  9763. ;(r = u), (a = l), (o = n)
  9764. break
  9765. case 5:
  9766. ;(r = n), (a = l), (o = c)
  9767. }
  9768. return [r, a, o]
  9769. }
  9770. function RGBtoHSV(e, t, n) {
  9771. var r,
  9772. a = Math.max(e, t, n),
  9773. o = Math.min(e, t, n),
  9774. i = a - o,
  9775. s = 0 === a ? 0 : i / a,
  9776. l = a / 255
  9777. switch (a) {
  9778. case o:
  9779. r = 0
  9780. break
  9781. case e:
  9782. ;(r = t - n + i * (t < n ? 6 : 0)), (r /= 6 * i)
  9783. break
  9784. case t:
  9785. ;(r = n - e + 2 * i), (r /= 6 * i)
  9786. break
  9787. case n:
  9788. ;(r = e - t + 4 * i), (r /= 6 * i)
  9789. }
  9790. return [r, s, l]
  9791. }
  9792. function addSaturationToRGB(e, t) {
  9793. var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
  9794. return (
  9795. (n[1] += t),
  9796. n[1] > 1 ? (n[1] = 1) : n[1] <= 0 && (n[1] = 0),
  9797. HSVtoRGB(n[0], n[1], n[2])
  9798. )
  9799. }
  9800. function addBrightnessToRGB(e, t) {
  9801. var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
  9802. return (
  9803. (n[2] += t),
  9804. n[2] > 1 ? (n[2] = 1) : n[2] < 0 && (n[2] = 0),
  9805. HSVtoRGB(n[0], n[1], n[2])
  9806. )
  9807. }
  9808. function addHueToRGB(e, t) {
  9809. var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
  9810. return (
  9811. (n[0] += t / 360),
  9812. n[0] > 1 ? (n[0] -= 1) : n[0] < 0 && (n[0] += 1),
  9813. HSVtoRGB(n[0], n[1], n[2])
  9814. )
  9815. }
  9816. var rgbToHex = (function () {
  9817. var e,
  9818. t,
  9819. n = []
  9820. for (e = 0; e < 256; e += 1)
  9821. (t = e.toString(16)), (n[e] = 1 === t.length ? '0' + t : t)
  9822. return function (e, t, r) {
  9823. return (
  9824. e < 0 && (e = 0),
  9825. t < 0 && (t = 0),
  9826. r < 0 && (r = 0),
  9827. '#' + n[e] + n[t] + n[r]
  9828. )
  9829. }
  9830. })(),
  9831. setSubframeEnabled = function (e) {
  9832. subframeEnabled = !!e
  9833. },
  9834. getSubframeEnabled = function () {
  9835. return subframeEnabled
  9836. },
  9837. setExpressionsPlugin = function (e) {
  9838. expressionsPlugin = e
  9839. },
  9840. getExpressionsPlugin = function () {
  9841. return expressionsPlugin
  9842. },
  9843. setDefaultCurveSegments = function (e) {
  9844. defaultCurveSegments = e
  9845. },
  9846. getDefaultCurveSegments = function () {
  9847. return defaultCurveSegments
  9848. },
  9849. setIdPrefix = function (e) {
  9850. idPrefix$1 = e
  9851. }
  9852. function createNS(e) {
  9853. return document.createElementNS(svgNS, e)
  9854. }
  9855. function _typeof$5(e) {
  9856. return (
  9857. (_typeof$5 =
  9858. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  9859. ? function (e) {
  9860. return typeof e
  9861. }
  9862. : function (e) {
  9863. return e &&
  9864. 'function' == typeof Symbol &&
  9865. e.constructor === Symbol &&
  9866. e !== Symbol.prototype
  9867. ? 'symbol'
  9868. : typeof e
  9869. }),
  9870. _typeof$5(e)
  9871. )
  9872. }
  9873. var dataManager = (function () {
  9874. var e,
  9875. t,
  9876. n = 1,
  9877. r = [],
  9878. a = {
  9879. onmessage: function () {},
  9880. postMessage: function (t) {
  9881. e({ data: t })
  9882. }
  9883. },
  9884. o = {
  9885. postMessage: function (e) {
  9886. a.onmessage({ data: e })
  9887. }
  9888. }
  9889. function i() {
  9890. t ||
  9891. ((t = (function (t) {
  9892. if (window.Worker && window.Blob && getWebWorker()) {
  9893. var n = new Blob(
  9894. ['var _workerSelf = self; self.onmessage = ', t.toString()],
  9895. { type: 'text/javascript' }
  9896. ),
  9897. r = URL.createObjectURL(n)
  9898. return new Worker(r)
  9899. }
  9900. return (e = t), a
  9901. })(function (e) {
  9902. if (
  9903. (o.dataManager ||
  9904. (o.dataManager = (function () {
  9905. function e(a, o) {
  9906. var i,
  9907. s,
  9908. l,
  9909. c,
  9910. u,
  9911. d,
  9912. f = a.length
  9913. for (s = 0; s < f; s += 1)
  9914. if ('ks' in (i = a[s]) && !i.completed) {
  9915. if (
  9916. ((i.completed = !0),
  9917. i.tt && (a[s - 1].td = i.tt),
  9918. i.hasMask)
  9919. ) {
  9920. var h = i.masksProperties
  9921. for (c = h.length, l = 0; l < c; l += 1)
  9922. if (h[l].pt.k.i) r(h[l].pt.k)
  9923. else
  9924. for (d = h[l].pt.k.length, u = 0; u < d; u += 1)
  9925. h[l].pt.k[u].s && r(h[l].pt.k[u].s[0]),
  9926. h[l].pt.k[u].e && r(h[l].pt.k[u].e[0])
  9927. }
  9928. 0 === i.ty
  9929. ? ((i.layers = t(i.refId, o)), e(i.layers, o))
  9930. : 4 === i.ty
  9931. ? n(i.shapes)
  9932. : 5 === i.ty && p(i)
  9933. }
  9934. }
  9935. function t(e, t) {
  9936. var n = (function (e, t) {
  9937. for (var n = 0, r = t.length; n < r; ) {
  9938. if (t[n].id === e) return t[n]
  9939. n += 1
  9940. }
  9941. return null
  9942. })(e, t)
  9943. return n
  9944. ? n.layers.__used
  9945. ? JSON.parse(JSON.stringify(n.layers))
  9946. : ((n.layers.__used = !0), n.layers)
  9947. : null
  9948. }
  9949. function n(e) {
  9950. var t, a, o
  9951. for (t = e.length - 1; t >= 0; t -= 1)
  9952. if ('sh' === e[t].ty)
  9953. if (e[t].ks.k.i) r(e[t].ks.k)
  9954. else
  9955. for (o = e[t].ks.k.length, a = 0; a < o; a += 1)
  9956. e[t].ks.k[a].s && r(e[t].ks.k[a].s[0]),
  9957. e[t].ks.k[a].e && r(e[t].ks.k[a].e[0])
  9958. else 'gr' === e[t].ty && n(e[t].it)
  9959. }
  9960. function r(e) {
  9961. var t,
  9962. n = e.i.length
  9963. for (t = 0; t < n; t += 1)
  9964. (e.i[t][0] += e.v[t][0]),
  9965. (e.i[t][1] += e.v[t][1]),
  9966. (e.o[t][0] += e.v[t][0]),
  9967. (e.o[t][1] += e.v[t][1])
  9968. }
  9969. function a(e, t) {
  9970. var n = t ? t.split('.') : [100, 100, 100]
  9971. return (
  9972. e[0] > n[0] ||
  9973. (!(n[0] > e[0]) &&
  9974. (e[1] > n[1] ||
  9975. (!(n[1] > e[1]) &&
  9976. (e[2] > n[2] || (!(n[2] > e[2]) && null)))))
  9977. )
  9978. }
  9979. var o,
  9980. i = (function () {
  9981. var e = [4, 4, 14]
  9982. function t(e) {
  9983. var t,
  9984. n,
  9985. r,
  9986. a = e.length
  9987. for (t = 0; t < a; t += 1)
  9988. 5 === e[t].ty &&
  9989. ((r = void 0),
  9990. (r = (n = e[t]).t.d),
  9991. (n.t.d = { k: [{ s: r, t: 0 }] }))
  9992. }
  9993. return function (n) {
  9994. if (a(e, n.v) && (t(n.layers), n.assets)) {
  9995. var r,
  9996. o = n.assets.length
  9997. for (r = 0; r < o; r += 1)
  9998. n.assets[r].layers && t(n.assets[r].layers)
  9999. }
  10000. }
  10001. })(),
  10002. s =
  10003. ((o = [4, 7, 99]),
  10004. function (e) {
  10005. if (e.chars && !a(o, e.v)) {
  10006. var t,
  10007. r = e.chars.length
  10008. for (t = 0; t < r; t += 1) {
  10009. var i = e.chars[t]
  10010. i.data &&
  10011. i.data.shapes &&
  10012. (n(i.data.shapes),
  10013. (i.data.ip = 0),
  10014. (i.data.op = 99999),
  10015. (i.data.st = 0),
  10016. (i.data.sr = 1),
  10017. (i.data.ks = {
  10018. p: { k: [0, 0], a: 0 },
  10019. s: { k: [100, 100], a: 0 },
  10020. a: { k: [0, 0], a: 0 },
  10021. r: { k: 0, a: 0 },
  10022. o: { k: 100, a: 0 }
  10023. }),
  10024. e.chars[t].t ||
  10025. (i.data.shapes.push({ ty: 'no' }),
  10026. i.data.shapes[0].it.push({
  10027. p: { k: [0, 0], a: 0 },
  10028. s: { k: [100, 100], a: 0 },
  10029. a: { k: [0, 0], a: 0 },
  10030. r: { k: 0, a: 0 },
  10031. o: { k: 100, a: 0 },
  10032. sk: { k: 0, a: 0 },
  10033. sa: { k: 0, a: 0 },
  10034. ty: 'tr'
  10035. })))
  10036. }
  10037. }
  10038. }),
  10039. l = (function () {
  10040. var e = [5, 7, 15]
  10041. function t(e) {
  10042. var t,
  10043. n,
  10044. r = e.length
  10045. for (t = 0; t < r; t += 1)
  10046. 5 === e[t].ty &&
  10047. ((n = void 0),
  10048. 'number' == typeof (n = e[t].t.p).a &&
  10049. (n.a = { a: 0, k: n.a }),
  10050. 'number' == typeof n.p && (n.p = { a: 0, k: n.p }),
  10051. 'number' == typeof n.r && (n.r = { a: 0, k: n.r }))
  10052. }
  10053. return function (n) {
  10054. if (a(e, n.v) && (t(n.layers), n.assets)) {
  10055. var r,
  10056. o = n.assets.length
  10057. for (r = 0; r < o; r += 1)
  10058. n.assets[r].layers && t(n.assets[r].layers)
  10059. }
  10060. }
  10061. })(),
  10062. c = (function () {
  10063. var e = [4, 1, 9]
  10064. function t(e) {
  10065. var n,
  10066. r,
  10067. a,
  10068. o = e.length
  10069. for (n = 0; n < o; n += 1)
  10070. if ('gr' === e[n].ty) t(e[n].it)
  10071. else if ('fl' === e[n].ty || 'st' === e[n].ty)
  10072. if (e[n].c.k && e[n].c.k[0].i)
  10073. for (a = e[n].c.k.length, r = 0; r < a; r += 1)
  10074. e[n].c.k[r].s &&
  10075. ((e[n].c.k[r].s[0] /= 255),
  10076. (e[n].c.k[r].s[1] /= 255),
  10077. (e[n].c.k[r].s[2] /= 255),
  10078. (e[n].c.k[r].s[3] /= 255)),
  10079. e[n].c.k[r].e &&
  10080. ((e[n].c.k[r].e[0] /= 255),
  10081. (e[n].c.k[r].e[1] /= 255),
  10082. (e[n].c.k[r].e[2] /= 255),
  10083. (e[n].c.k[r].e[3] /= 255))
  10084. else
  10085. (e[n].c.k[0] /= 255),
  10086. (e[n].c.k[1] /= 255),
  10087. (e[n].c.k[2] /= 255),
  10088. (e[n].c.k[3] /= 255)
  10089. }
  10090. function n(e) {
  10091. var n,
  10092. r = e.length
  10093. for (n = 0; n < r; n += 1) 4 === e[n].ty && t(e[n].shapes)
  10094. }
  10095. return function (t) {
  10096. if (a(e, t.v) && (n(t.layers), t.assets)) {
  10097. var r,
  10098. o = t.assets.length
  10099. for (r = 0; r < o; r += 1)
  10100. t.assets[r].layers && n(t.assets[r].layers)
  10101. }
  10102. }
  10103. })(),
  10104. u = (function () {
  10105. var e = [4, 4, 18]
  10106. function t(e) {
  10107. var n, r, a
  10108. for (n = e.length - 1; n >= 0; n -= 1)
  10109. if ('sh' === e[n].ty)
  10110. if (e[n].ks.k.i) e[n].ks.k.c = e[n].closed
  10111. else
  10112. for (a = e[n].ks.k.length, r = 0; r < a; r += 1)
  10113. e[n].ks.k[r].s && (e[n].ks.k[r].s[0].c = e[n].closed),
  10114. e[n].ks.k[r].e &&
  10115. (e[n].ks.k[r].e[0].c = e[n].closed)
  10116. else 'gr' === e[n].ty && t(e[n].it)
  10117. }
  10118. function n(e) {
  10119. var n,
  10120. r,
  10121. a,
  10122. o,
  10123. i,
  10124. s,
  10125. l = e.length
  10126. for (r = 0; r < l; r += 1) {
  10127. if ((n = e[r]).hasMask) {
  10128. var c = n.masksProperties
  10129. for (o = c.length, a = 0; a < o; a += 1)
  10130. if (c[a].pt.k.i) c[a].pt.k.c = c[a].cl
  10131. else
  10132. for (s = c[a].pt.k.length, i = 0; i < s; i += 1)
  10133. c[a].pt.k[i].s && (c[a].pt.k[i].s[0].c = c[a].cl),
  10134. c[a].pt.k[i].e && (c[a].pt.k[i].e[0].c = c[a].cl)
  10135. }
  10136. 4 === n.ty && t(n.shapes)
  10137. }
  10138. }
  10139. return function (t) {
  10140. if (a(e, t.v) && (n(t.layers), t.assets)) {
  10141. var r,
  10142. o = t.assets.length
  10143. for (r = 0; r < o; r += 1)
  10144. t.assets[r].layers && n(t.assets[r].layers)
  10145. }
  10146. }
  10147. })()
  10148. function p(e) {
  10149. 0 === e.t.a.length && e.t.p
  10150. }
  10151. var d = {
  10152. completeData: function (n) {
  10153. n.__complete ||
  10154. (c(n),
  10155. i(n),
  10156. s(n),
  10157. l(n),
  10158. u(n),
  10159. e(n.layers, n.assets),
  10160. (function (n, r) {
  10161. if (n) {
  10162. var a = 0,
  10163. o = n.length
  10164. for (a = 0; a < o; a += 1)
  10165. 1 === n[a].t &&
  10166. ((n[a].data.layers = t(n[a].data.refId, r)),
  10167. e(n[a].data.layers, r))
  10168. }
  10169. })(n.chars, n.assets),
  10170. (n.__complete = !0))
  10171. }
  10172. }
  10173. return (
  10174. (d.checkColors = c),
  10175. (d.checkChars = s),
  10176. (d.checkPathProperties = l),
  10177. (d.checkShapes = u),
  10178. (d.completeLayers = e),
  10179. d
  10180. )
  10181. })()),
  10182. o.assetLoader ||
  10183. (o.assetLoader = (function () {
  10184. function e(e) {
  10185. var t = e.getResponseHeader('content-type')
  10186. return (t &&
  10187. 'json' === e.responseType &&
  10188. -1 !== t.indexOf('json')) ||
  10189. (e.response && 'object' === _typeof$5(e.response))
  10190. ? e.response
  10191. : e.response && 'string' == typeof e.response
  10192. ? JSON.parse(e.response)
  10193. : e.responseText
  10194. ? JSON.parse(e.responseText)
  10195. : null
  10196. }
  10197. return {
  10198. load: function (t, n, r, a) {
  10199. var o,
  10200. i = new XMLHttpRequest()
  10201. try {
  10202. i.responseType = 'json'
  10203. } catch (s) {}
  10204. i.onreadystatechange = function () {
  10205. if (4 === i.readyState)
  10206. if (200 === i.status) (o = e(i)), r(o)
  10207. else
  10208. try {
  10209. ;(o = e(i)), r(o)
  10210. } catch (s) {
  10211. a && a(s)
  10212. }
  10213. }
  10214. try {
  10215. i.open('GET', t, !0)
  10216. } catch (error) {
  10217. i.open('GET', n + '/' + t, !0)
  10218. }
  10219. i.send()
  10220. }
  10221. }
  10222. })()),
  10223. 'loadAnimation' === e.data.type)
  10224. )
  10225. o.assetLoader.load(
  10226. e.data.path,
  10227. e.data.fullPath,
  10228. function (t) {
  10229. o.dataManager.completeData(t),
  10230. o.postMessage({ id: e.data.id, payload: t, status: 'success' })
  10231. },
  10232. function () {
  10233. o.postMessage({ id: e.data.id, status: 'error' })
  10234. }
  10235. )
  10236. else if ('complete' === e.data.type) {
  10237. var t = e.data.animation
  10238. o.dataManager.completeData(t),
  10239. o.postMessage({ id: e.data.id, payload: t, status: 'success' })
  10240. } else
  10241. 'loadData' === e.data.type &&
  10242. o.assetLoader.load(
  10243. e.data.path,
  10244. e.data.fullPath,
  10245. function (t) {
  10246. o.postMessage({ id: e.data.id, payload: t, status: 'success' })
  10247. },
  10248. function () {
  10249. o.postMessage({ id: e.data.id, status: 'error' })
  10250. }
  10251. )
  10252. })),
  10253. (t.onmessage = function (e) {
  10254. var t = e.data,
  10255. n = t.id,
  10256. a = r[n]
  10257. ;(r[n] = null),
  10258. 'success' === t.status
  10259. ? a.onComplete(t.payload)
  10260. : a.onError && a.onError()
  10261. }))
  10262. }
  10263. function s(e, t) {
  10264. var a = 'processId_' + (n += 1)
  10265. return (r[a] = { onComplete: e, onError: t }), a
  10266. }
  10267. return {
  10268. loadAnimation: function (e, n, r) {
  10269. i()
  10270. var a = s(n, r)
  10271. t.postMessage({
  10272. type: 'loadAnimation',
  10273. path: e,
  10274. fullPath: window.location.origin + window.location.pathname,
  10275. id: a
  10276. })
  10277. },
  10278. loadData: function (e, n, r) {
  10279. i()
  10280. var a = s(n, r)
  10281. t.postMessage({
  10282. type: 'loadData',
  10283. path: e,
  10284. fullPath: window.location.origin + window.location.pathname,
  10285. id: a
  10286. })
  10287. },
  10288. completeAnimation: function (e, n, r) {
  10289. i()
  10290. var a = s(n, r)
  10291. t.postMessage({ type: 'complete', animation: e, id: a })
  10292. }
  10293. }
  10294. })(),
  10295. ImagePreloader = (function () {
  10296. var e = (function () {
  10297. var e = createTag('canvas')
  10298. ;(e.width = 1), (e.height = 1)
  10299. var t = e.getContext('2d')
  10300. return (t.fillStyle = 'rgba(0,0,0,0)'), t.fillRect(0, 0, 1, 1), e
  10301. })()
  10302. function t() {
  10303. ;(this.loadedAssets += 1),
  10304. this.loadedAssets === this.totalImages &&
  10305. this.loadedFootagesCount === this.totalFootages &&
  10306. this.imagesLoadedCb &&
  10307. this.imagesLoadedCb(null)
  10308. }
  10309. function n() {
  10310. ;(this.loadedFootagesCount += 1),
  10311. this.loadedAssets === this.totalImages &&
  10312. this.loadedFootagesCount === this.totalFootages &&
  10313. this.imagesLoadedCb &&
  10314. this.imagesLoadedCb(null)
  10315. }
  10316. function r(e, t, n) {
  10317. var r = ''
  10318. if (e.e) r = e.p
  10319. else if (t) {
  10320. var a = e.p
  10321. ;-1 !== a.indexOf('images/') && (a = a.split('/')[1]), (r = t + a)
  10322. } else (r = n), (r += e.u ? e.u : ''), (r += e.p)
  10323. return r
  10324. }
  10325. function a(e) {
  10326. var t = 0,
  10327. n = setInterval(
  10328. function () {
  10329. ;(e.getBBox().width || t > 500) &&
  10330. (this._imageLoaded(), clearInterval(n)),
  10331. (t += 1)
  10332. }.bind(this),
  10333. 50
  10334. )
  10335. }
  10336. function o(e) {
  10337. var t = { assetData: e },
  10338. n = r(e, this.assetsPath, this.path)
  10339. return (
  10340. dataManager.loadData(
  10341. n,
  10342. function (e) {
  10343. ;(t.img = e), this._footageLoaded()
  10344. }.bind(this),
  10345. function () {
  10346. ;(t.img = {}), this._footageLoaded()
  10347. }.bind(this)
  10348. ),
  10349. t
  10350. )
  10351. }
  10352. function i() {
  10353. ;(this._imageLoaded = t.bind(this)),
  10354. (this._footageLoaded = n.bind(this)),
  10355. (this.testImageLoaded = a.bind(this)),
  10356. (this.createFootageData = o.bind(this)),
  10357. (this.assetsPath = ''),
  10358. (this.path = ''),
  10359. (this.totalImages = 0),
  10360. (this.totalFootages = 0),
  10361. (this.loadedAssets = 0),
  10362. (this.loadedFootagesCount = 0),
  10363. (this.imagesLoadedCb = null),
  10364. (this.images = [])
  10365. }
  10366. return (
  10367. (i.prototype = {
  10368. loadAssets: function (e, t) {
  10369. var n
  10370. this.imagesLoadedCb = t
  10371. var r = e.length
  10372. for (n = 0; n < r; n += 1)
  10373. e[n].layers ||
  10374. (e[n].t && 'seq' !== e[n].t
  10375. ? 3 === e[n].t &&
  10376. ((this.totalFootages += 1),
  10377. this.images.push(this.createFootageData(e[n])))
  10378. : ((this.totalImages += 1),
  10379. this.images.push(this._createImageData(e[n]))))
  10380. },
  10381. setAssetsPath: function (e) {
  10382. this.assetsPath = e || ''
  10383. },
  10384. setPath: function (e) {
  10385. this.path = e || ''
  10386. },
  10387. loadedImages: function () {
  10388. return this.totalImages === this.loadedAssets
  10389. },
  10390. loadedFootages: function () {
  10391. return this.totalFootages === this.loadedFootagesCount
  10392. },
  10393. destroy: function () {
  10394. ;(this.imagesLoadedCb = null), (this.images.length = 0)
  10395. },
  10396. getAsset: function (e) {
  10397. for (var t = 0, n = this.images.length; t < n; ) {
  10398. if (this.images[t].assetData === e) return this.images[t].img
  10399. t += 1
  10400. }
  10401. return null
  10402. },
  10403. createImgData: function (t) {
  10404. var n = r(t, this.assetsPath, this.path),
  10405. a = createTag('img')
  10406. ;(a.crossOrigin = 'anonymous'),
  10407. a.addEventListener('load', this._imageLoaded, !1),
  10408. a.addEventListener(
  10409. 'error',
  10410. function () {
  10411. ;(o.img = e), this._imageLoaded()
  10412. }.bind(this),
  10413. !1
  10414. ),
  10415. (a.src = n)
  10416. var o = { img: a, assetData: t }
  10417. return o
  10418. },
  10419. createImageData: function (t) {
  10420. var n = r(t, this.assetsPath, this.path),
  10421. a = createNS('image')
  10422. isSafari
  10423. ? this.testImageLoaded(a)
  10424. : a.addEventListener('load', this._imageLoaded, !1),
  10425. a.addEventListener(
  10426. 'error',
  10427. function () {
  10428. ;(o.img = e), this._imageLoaded()
  10429. }.bind(this),
  10430. !1
  10431. ),
  10432. a.setAttributeNS('http://www.w3.org/1999/xlink', 'href', n),
  10433. this._elementHelper.append
  10434. ? this._elementHelper.append(a)
  10435. : this._elementHelper.appendChild(a)
  10436. var o = { img: a, assetData: t }
  10437. return o
  10438. },
  10439. imageLoaded: t,
  10440. footageLoaded: n,
  10441. setCacheType: function (e, t) {
  10442. 'svg' === e
  10443. ? ((this._elementHelper = t),
  10444. (this._createImageData = this.createImageData.bind(this)))
  10445. : (this._createImageData = this.createImgData.bind(this))
  10446. }
  10447. }),
  10448. i
  10449. )
  10450. })()
  10451. function BaseEvent() {}
  10452. BaseEvent.prototype = {
  10453. triggerEvent: function (e, t) {
  10454. if (this._cbs[e])
  10455. for (var n = this._cbs[e], r = 0; r < n.length; r += 1) n[r](t)
  10456. },
  10457. addEventListener: function (e, t) {
  10458. return (
  10459. this._cbs[e] || (this._cbs[e] = []),
  10460. this._cbs[e].push(t),
  10461. function () {
  10462. this.removeEventListener(e, t)
  10463. }.bind(this)
  10464. )
  10465. },
  10466. removeEventListener: function (e, t) {
  10467. if (t) {
  10468. if (this._cbs[e]) {
  10469. for (var n = 0, r = this._cbs[e].length; n < r; )
  10470. this._cbs[e][n] === t && (this._cbs[e].splice(n, 1), (n -= 1), (r -= 1)),
  10471. (n += 1)
  10472. this._cbs[e].length || (this._cbs[e] = null)
  10473. }
  10474. } else this._cbs[e] = null
  10475. }
  10476. }
  10477. var markerParser = (function () {
  10478. function e(e) {
  10479. for (var t, n = e.split('\r\n'), r = {}, a = 0, o = 0; o < n.length; o += 1)
  10480. 2 === (t = n[o].split(':')).length && ((r[t[0]] = t[1].trim()), (a += 1))
  10481. if (0 === a) throw new Error()
  10482. return r
  10483. }
  10484. return function (t) {
  10485. for (var n = [], r = 0; r < t.length; r += 1) {
  10486. var a = t[r],
  10487. o = { time: a.tm, duration: a.dr }
  10488. try {
  10489. o.payload = JSON.parse(t[r].cm)
  10490. } catch (i) {
  10491. try {
  10492. o.payload = e(t[r].cm)
  10493. } catch (s) {
  10494. o.payload = { name: t[r].cm }
  10495. }
  10496. }
  10497. n.push(o)
  10498. }
  10499. return n
  10500. }
  10501. })(),
  10502. ProjectInterface = (function () {
  10503. function e(e) {
  10504. this.compositions.push(e)
  10505. }
  10506. return function () {
  10507. function t(e) {
  10508. for (var t = 0, n = this.compositions.length; t < n; ) {
  10509. if (this.compositions[t].data && this.compositions[t].data.nm === e)
  10510. return (
  10511. this.compositions[t].prepareFrame &&
  10512. this.compositions[t].data.xt &&
  10513. this.compositions[t].prepareFrame(this.currentFrame),
  10514. this.compositions[t].compInterface
  10515. )
  10516. t += 1
  10517. }
  10518. return null
  10519. }
  10520. return (
  10521. (t.compositions = []), (t.currentFrame = 0), (t.registerComposition = e), t
  10522. )
  10523. }
  10524. })(),
  10525. renderers = {},
  10526. registerRenderer = function (e, t) {
  10527. renderers[e] = t
  10528. }
  10529. function getRenderer(e) {
  10530. return renderers[e]
  10531. }
  10532. function _typeof$4(e) {
  10533. return (
  10534. (_typeof$4 =
  10535. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  10536. ? function (e) {
  10537. return typeof e
  10538. }
  10539. : function (e) {
  10540. return e &&
  10541. 'function' == typeof Symbol &&
  10542. e.constructor === Symbol &&
  10543. e !== Symbol.prototype
  10544. ? 'symbol'
  10545. : typeof e
  10546. }),
  10547. _typeof$4(e)
  10548. )
  10549. }
  10550. var AnimationItem = function () {
  10551. ;(this._cbs = []),
  10552. (this.name = ''),
  10553. (this.path = ''),
  10554. (this.isLoaded = !1),
  10555. (this.currentFrame = 0),
  10556. (this.currentRawFrame = 0),
  10557. (this.firstFrame = 0),
  10558. (this.totalFrames = 0),
  10559. (this.frameRate = 0),
  10560. (this.frameMult = 0),
  10561. (this.playSpeed = 1),
  10562. (this.playDirection = 1),
  10563. (this.playCount = 0),
  10564. (this.animationData = {}),
  10565. (this.assets = []),
  10566. (this.isPaused = !0),
  10567. (this.autoplay = !1),
  10568. (this.loop = !0),
  10569. (this.renderer = null),
  10570. (this.animationID = createElementID()),
  10571. (this.assetsPath = ''),
  10572. (this.timeCompleted = 0),
  10573. (this.segmentPos = 0),
  10574. (this.isSubframeEnabled = getSubframeEnabled()),
  10575. (this.segments = []),
  10576. (this._idle = !0),
  10577. (this._completedLoop = !1),
  10578. (this.projectInterface = ProjectInterface()),
  10579. (this.imagePreloader = new ImagePreloader()),
  10580. (this.audioController = audioControllerFactory()),
  10581. (this.markers = []),
  10582. (this.configAnimation = this.configAnimation.bind(this)),
  10583. (this.onSetupError = this.onSetupError.bind(this)),
  10584. (this.onSegmentComplete = this.onSegmentComplete.bind(this)),
  10585. (this.drawnFrameEvent = new BMEnterFrameEvent('drawnFrame', 0, 0, 0))
  10586. }
  10587. extendPrototype([BaseEvent], AnimationItem),
  10588. (AnimationItem.prototype.setParams = function (e) {
  10589. ;(e.wrapper || e.container) && (this.wrapper = e.wrapper || e.container)
  10590. var t = 'svg'
  10591. e.animType ? (t = e.animType) : e.renderer && (t = e.renderer)
  10592. var n = getRenderer(t)
  10593. ;(this.renderer = new n(this, e.rendererSettings)),
  10594. this.imagePreloader.setCacheType(t, this.renderer.globalData.defs),
  10595. this.renderer.setProjectInterface(this.projectInterface),
  10596. (this.animType = t),
  10597. '' === e.loop || null === e.loop || void 0 === e.loop || !0 === e.loop
  10598. ? (this.loop = !0)
  10599. : !1 === e.loop
  10600. ? (this.loop = !1)
  10601. : (this.loop = parseInt(e.loop, 10)),
  10602. (this.autoplay = !('autoplay' in e) || e.autoplay),
  10603. (this.name = e.name ? e.name : ''),
  10604. (this.autoloadSegments =
  10605. !Object.prototype.hasOwnProperty.call(e, 'autoloadSegments') ||
  10606. e.autoloadSegments),
  10607. (this.assetsPath = e.assetsPath),
  10608. (this.initialSegment = e.initialSegment),
  10609. e.audioFactory && this.audioController.setAudioFactory(e.audioFactory),
  10610. e.animationData
  10611. ? this.setupAnimation(e.animationData)
  10612. : e.path &&
  10613. (-1 !== e.path.lastIndexOf('\\')
  10614. ? (this.path = e.path.substr(0, e.path.lastIndexOf('\\') + 1))
  10615. : (this.path = e.path.substr(0, e.path.lastIndexOf('/') + 1)),
  10616. (this.fileName = e.path.substr(e.path.lastIndexOf('/') + 1)),
  10617. (this.fileName = this.fileName.substr(
  10618. 0,
  10619. this.fileName.lastIndexOf('.json')
  10620. )),
  10621. dataManager.loadAnimation(
  10622. e.path,
  10623. this.configAnimation,
  10624. this.onSetupError
  10625. ))
  10626. }),
  10627. (AnimationItem.prototype.onSetupError = function () {
  10628. this.trigger('data_failed')
  10629. }),
  10630. (AnimationItem.prototype.setupAnimation = function (e) {
  10631. dataManager.completeAnimation(e, this.configAnimation)
  10632. }),
  10633. (AnimationItem.prototype.setData = function (e, t) {
  10634. t && 'object' !== _typeof$4(t) && (t = JSON.parse(t))
  10635. var n = { wrapper: e, animationData: t },
  10636. r = e.attributes
  10637. ;(n.path = r.getNamedItem('data-animation-path')
  10638. ? r.getNamedItem('data-animation-path').value
  10639. : r.getNamedItem('data-bm-path')
  10640. ? r.getNamedItem('data-bm-path').value
  10641. : r.getNamedItem('bm-path')
  10642. ? r.getNamedItem('bm-path').value
  10643. : ''),
  10644. (n.animType = r.getNamedItem('data-anim-type')
  10645. ? r.getNamedItem('data-anim-type').value
  10646. : r.getNamedItem('data-bm-type')
  10647. ? r.getNamedItem('data-bm-type').value
  10648. : r.getNamedItem('bm-type')
  10649. ? r.getNamedItem('bm-type').value
  10650. : r.getNamedItem('data-bm-renderer')
  10651. ? r.getNamedItem('data-bm-renderer').value
  10652. : r.getNamedItem('bm-renderer')
  10653. ? r.getNamedItem('bm-renderer').value
  10654. : 'canvas')
  10655. var a = r.getNamedItem('data-anim-loop')
  10656. ? r.getNamedItem('data-anim-loop').value
  10657. : r.getNamedItem('data-bm-loop')
  10658. ? r.getNamedItem('data-bm-loop').value
  10659. : r.getNamedItem('bm-loop')
  10660. ? r.getNamedItem('bm-loop').value
  10661. : ''
  10662. 'false' === a
  10663. ? (n.loop = !1)
  10664. : 'true' === a
  10665. ? (n.loop = !0)
  10666. : '' !== a && (n.loop = parseInt(a, 10))
  10667. var o = r.getNamedItem('data-anim-autoplay')
  10668. ? r.getNamedItem('data-anim-autoplay').value
  10669. : r.getNamedItem('data-bm-autoplay')
  10670. ? r.getNamedItem('data-bm-autoplay').value
  10671. : !r.getNamedItem('bm-autoplay') || r.getNamedItem('bm-autoplay').value
  10672. ;(n.autoplay = 'false' !== o),
  10673. (n.name = r.getNamedItem('data-name')
  10674. ? r.getNamedItem('data-name').value
  10675. : r.getNamedItem('data-bm-name')
  10676. ? r.getNamedItem('data-bm-name').value
  10677. : r.getNamedItem('bm-name')
  10678. ? r.getNamedItem('bm-name').value
  10679. : ''),
  10680. 'false' ===
  10681. (r.getNamedItem('data-anim-prerender')
  10682. ? r.getNamedItem('data-anim-prerender').value
  10683. : r.getNamedItem('data-bm-prerender')
  10684. ? r.getNamedItem('data-bm-prerender').value
  10685. : r.getNamedItem('bm-prerender')
  10686. ? r.getNamedItem('bm-prerender').value
  10687. : '') && (n.prerender = !1),
  10688. this.setParams(n)
  10689. }),
  10690. (AnimationItem.prototype.includeLayers = function (e) {
  10691. e.op > this.animationData.op &&
  10692. ((this.animationData.op = e.op),
  10693. (this.totalFrames = Math.floor(e.op - this.animationData.ip)))
  10694. var t,
  10695. n,
  10696. r = this.animationData.layers,
  10697. a = r.length,
  10698. o = e.layers,
  10699. i = o.length
  10700. for (n = 0; n < i; n += 1)
  10701. for (t = 0; t < a; ) {
  10702. if (r[t].id === o[n].id) {
  10703. r[t] = o[n]
  10704. break
  10705. }
  10706. t += 1
  10707. }
  10708. if (
  10709. ((e.chars || e.fonts) &&
  10710. (this.renderer.globalData.fontManager.addChars(e.chars),
  10711. this.renderer.globalData.fontManager.addFonts(
  10712. e.fonts,
  10713. this.renderer.globalData.defs
  10714. )),
  10715. e.assets)
  10716. )
  10717. for (a = e.assets.length, t = 0; t < a; t += 1)
  10718. this.animationData.assets.push(e.assets[t])
  10719. ;(this.animationData.__complete = !1),
  10720. dataManager.completeAnimation(this.animationData, this.onSegmentComplete)
  10721. }),
  10722. (AnimationItem.prototype.onSegmentComplete = function (e) {
  10723. this.animationData = e
  10724. var t = getExpressionsPlugin()
  10725. t && t.initExpressions(this), this.loadNextSegment()
  10726. }),
  10727. (AnimationItem.prototype.loadNextSegment = function () {
  10728. var e = this.animationData.segments
  10729. if (!e || 0 === e.length || !this.autoloadSegments)
  10730. return (
  10731. this.trigger('data_ready'), void (this.timeCompleted = this.totalFrames)
  10732. )
  10733. var t = e.shift()
  10734. this.timeCompleted = t.time * this.frameRate
  10735. var n = this.path + this.fileName + '_' + this.segmentPos + '.json'
  10736. ;(this.segmentPos += 1),
  10737. dataManager.loadData(
  10738. n,
  10739. this.includeLayers.bind(this),
  10740. function () {
  10741. this.trigger('data_failed')
  10742. }.bind(this)
  10743. )
  10744. }),
  10745. (AnimationItem.prototype.loadSegments = function () {
  10746. this.animationData.segments || (this.timeCompleted = this.totalFrames),
  10747. this.loadNextSegment()
  10748. }),
  10749. (AnimationItem.prototype.imagesLoaded = function () {
  10750. this.trigger('loaded_images'), this.checkLoaded()
  10751. }),
  10752. (AnimationItem.prototype.preloadImages = function () {
  10753. this.imagePreloader.setAssetsPath(this.assetsPath),
  10754. this.imagePreloader.setPath(this.path),
  10755. this.imagePreloader.loadAssets(
  10756. this.animationData.assets,
  10757. this.imagesLoaded.bind(this)
  10758. )
  10759. }),
  10760. (AnimationItem.prototype.configAnimation = function (e) {
  10761. if (this.renderer)
  10762. try {
  10763. ;(this.animationData = e),
  10764. this.initialSegment
  10765. ? ((this.totalFrames = Math.floor(
  10766. this.initialSegment[1] - this.initialSegment[0]
  10767. )),
  10768. (this.firstFrame = Math.round(this.initialSegment[0])))
  10769. : ((this.totalFrames = Math.floor(
  10770. this.animationData.op - this.animationData.ip
  10771. )),
  10772. (this.firstFrame = Math.round(this.animationData.ip))),
  10773. this.renderer.configAnimation(e),
  10774. e.assets || (e.assets = []),
  10775. (this.assets = this.animationData.assets),
  10776. (this.frameRate = this.animationData.fr),
  10777. (this.frameMult = this.animationData.fr / 1e3),
  10778. this.renderer.searchExtraCompositions(e.assets),
  10779. (this.markers = markerParser(e.markers || [])),
  10780. this.trigger('config_ready'),
  10781. this.preloadImages(),
  10782. this.loadSegments(),
  10783. this.updaFrameModifier(),
  10784. this.waitForFontsLoaded(),
  10785. this.isPaused && this.audioController.pause()
  10786. } catch (error) {
  10787. this.triggerConfigError(error)
  10788. }
  10789. }),
  10790. (AnimationItem.prototype.waitForFontsLoaded = function () {
  10791. this.renderer &&
  10792. (this.renderer.globalData.fontManager.isLoaded
  10793. ? this.checkLoaded()
  10794. : setTimeout(this.waitForFontsLoaded.bind(this), 20))
  10795. }),
  10796. (AnimationItem.prototype.checkLoaded = function () {
  10797. if (
  10798. !this.isLoaded &&
  10799. this.renderer.globalData.fontManager.isLoaded &&
  10800. (this.imagePreloader.loadedImages() ||
  10801. 'canvas' !== this.renderer.rendererType) &&
  10802. this.imagePreloader.loadedFootages()
  10803. ) {
  10804. this.isLoaded = !0
  10805. var e = getExpressionsPlugin()
  10806. e && e.initExpressions(this),
  10807. this.renderer.initItems(),
  10808. setTimeout(
  10809. function () {
  10810. this.trigger('DOMLoaded')
  10811. }.bind(this),
  10812. 0
  10813. ),
  10814. this.gotoFrame(),
  10815. this.autoplay && this.play()
  10816. }
  10817. }),
  10818. (AnimationItem.prototype.resize = function () {
  10819. this.renderer.updateContainerSize()
  10820. }),
  10821. (AnimationItem.prototype.setSubframe = function (e) {
  10822. this.isSubframeEnabled = !!e
  10823. }),
  10824. (AnimationItem.prototype.gotoFrame = function () {
  10825. ;(this.currentFrame = this.isSubframeEnabled
  10826. ? this.currentRawFrame
  10827. : ~~this.currentRawFrame),
  10828. this.timeCompleted !== this.totalFrames &&
  10829. this.currentFrame > this.timeCompleted &&
  10830. (this.currentFrame = this.timeCompleted),
  10831. this.trigger('enterFrame'),
  10832. this.renderFrame(),
  10833. this.trigger('drawnFrame')
  10834. }),
  10835. (AnimationItem.prototype.renderFrame = function () {
  10836. if (!1 !== this.isLoaded && this.renderer)
  10837. try {
  10838. this.renderer.renderFrame(this.currentFrame + this.firstFrame)
  10839. } catch (error) {
  10840. this.triggerRenderFrameError(error)
  10841. }
  10842. }),
  10843. (AnimationItem.prototype.play = function (e) {
  10844. ;(e && this.name !== e) ||
  10845. (!0 === this.isPaused &&
  10846. ((this.isPaused = !1),
  10847. this.trigger('_pause'),
  10848. this.audioController.resume(),
  10849. this._idle && ((this._idle = !1), this.trigger('_active'))))
  10850. }),
  10851. (AnimationItem.prototype.pause = function (e) {
  10852. ;(e && this.name !== e) ||
  10853. (!1 === this.isPaused &&
  10854. ((this.isPaused = !0),
  10855. this.trigger('_play'),
  10856. (this._idle = !0),
  10857. this.trigger('_idle'),
  10858. this.audioController.pause()))
  10859. }),
  10860. (AnimationItem.prototype.togglePause = function (e) {
  10861. ;(e && this.name !== e) || (!0 === this.isPaused ? this.play() : this.pause())
  10862. }),
  10863. (AnimationItem.prototype.stop = function (e) {
  10864. ;(e && this.name !== e) ||
  10865. (this.pause(),
  10866. (this.playCount = 0),
  10867. (this._completedLoop = !1),
  10868. this.setCurrentRawFrameValue(0))
  10869. }),
  10870. (AnimationItem.prototype.getMarkerData = function (e) {
  10871. for (var t, n = 0; n < this.markers.length; n += 1)
  10872. if ((t = this.markers[n]).payload && t.payload.name === e) return t
  10873. return null
  10874. }),
  10875. (AnimationItem.prototype.goToAndStop = function (e, t, n) {
  10876. if (!n || this.name === n) {
  10877. var r = Number(e)
  10878. if (isNaN(r)) {
  10879. var a = this.getMarkerData(e)
  10880. a && this.goToAndStop(a.time, !0)
  10881. } else
  10882. t
  10883. ? this.setCurrentRawFrameValue(e)
  10884. : this.setCurrentRawFrameValue(e * this.frameModifier)
  10885. this.pause()
  10886. }
  10887. }),
  10888. (AnimationItem.prototype.goToAndPlay = function (e, t, n) {
  10889. if (!n || this.name === n) {
  10890. var r = Number(e)
  10891. if (isNaN(r)) {
  10892. var a = this.getMarkerData(e)
  10893. a &&
  10894. (a.duration
  10895. ? this.playSegments([a.time, a.time + a.duration], !0)
  10896. : this.goToAndStop(a.time, !0))
  10897. } else this.goToAndStop(r, t, n)
  10898. this.play()
  10899. }
  10900. }),
  10901. (AnimationItem.prototype.advanceTime = function (e) {
  10902. if (!0 !== this.isPaused && !1 !== this.isLoaded) {
  10903. var t = this.currentRawFrame + e * this.frameModifier,
  10904. n = !1
  10905. t >= this.totalFrames - 1 && this.frameModifier > 0
  10906. ? this.loop && this.playCount !== this.loop
  10907. ? t >= this.totalFrames
  10908. ? ((this.playCount += 1),
  10909. this.checkSegments(t % this.totalFrames) ||
  10910. (this.setCurrentRawFrameValue(t % this.totalFrames),
  10911. (this._completedLoop = !0),
  10912. this.trigger('loopComplete')))
  10913. : this.setCurrentRawFrameValue(t)
  10914. : this.checkSegments(t > this.totalFrames ? t % this.totalFrames : 0) ||
  10915. ((n = !0), (t = this.totalFrames - 1))
  10916. : t < 0
  10917. ? this.checkSegments(t % this.totalFrames) ||
  10918. (!this.loop || (this.playCount-- <= 0 && !0 !== this.loop)
  10919. ? ((n = !0), (t = 0))
  10920. : (this.setCurrentRawFrameValue(
  10921. this.totalFrames + (t % this.totalFrames)
  10922. ),
  10923. this._completedLoop
  10924. ? this.trigger('loopComplete')
  10925. : (this._completedLoop = !0)))
  10926. : this.setCurrentRawFrameValue(t),
  10927. n &&
  10928. (this.setCurrentRawFrameValue(t), this.pause(), this.trigger('complete'))
  10929. }
  10930. }),
  10931. (AnimationItem.prototype.adjustSegment = function (e, t) {
  10932. ;(this.playCount = 0),
  10933. e[1] < e[0]
  10934. ? (this.frameModifier > 0 &&
  10935. (this.playSpeed < 0
  10936. ? this.setSpeed(-this.playSpeed)
  10937. : this.setDirection(-1)),
  10938. (this.totalFrames = e[0] - e[1]),
  10939. (this.timeCompleted = this.totalFrames),
  10940. (this.firstFrame = e[1]),
  10941. this.setCurrentRawFrameValue(this.totalFrames - 0.001 - t))
  10942. : e[1] > e[0] &&
  10943. (this.frameModifier < 0 &&
  10944. (this.playSpeed < 0
  10945. ? this.setSpeed(-this.playSpeed)
  10946. : this.setDirection(1)),
  10947. (this.totalFrames = e[1] - e[0]),
  10948. (this.timeCompleted = this.totalFrames),
  10949. (this.firstFrame = e[0]),
  10950. this.setCurrentRawFrameValue(0.001 + t)),
  10951. this.trigger('segmentStart')
  10952. }),
  10953. (AnimationItem.prototype.setSegment = function (e, t) {
  10954. var n = -1
  10955. this.isPaused &&
  10956. (this.currentRawFrame + this.firstFrame < e
  10957. ? (n = e)
  10958. : this.currentRawFrame + this.firstFrame > t && (n = t - e)),
  10959. (this.firstFrame = e),
  10960. (this.totalFrames = t - e),
  10961. (this.timeCompleted = this.totalFrames),
  10962. -1 !== n && this.goToAndStop(n, !0)
  10963. }),
  10964. (AnimationItem.prototype.playSegments = function (e, t) {
  10965. if ((t && (this.segments.length = 0), 'object' === _typeof$4(e[0]))) {
  10966. var n,
  10967. r = e.length
  10968. for (n = 0; n < r; n += 1) this.segments.push(e[n])
  10969. } else this.segments.push(e)
  10970. this.segments.length && t && this.adjustSegment(this.segments.shift(), 0),
  10971. this.isPaused && this.play()
  10972. }),
  10973. (AnimationItem.prototype.resetSegments = function (e) {
  10974. ;(this.segments.length = 0),
  10975. this.segments.push([this.animationData.ip, this.animationData.op]),
  10976. e && this.checkSegments(0)
  10977. }),
  10978. (AnimationItem.prototype.checkSegments = function (e) {
  10979. return (
  10980. !!this.segments.length && (this.adjustSegment(this.segments.shift(), e), !0)
  10981. )
  10982. }),
  10983. (AnimationItem.prototype.destroy = function (e) {
  10984. ;(e && this.name !== e) ||
  10985. !this.renderer ||
  10986. (this.renderer.destroy(),
  10987. this.imagePreloader.destroy(),
  10988. this.trigger('destroy'),
  10989. (this._cbs = null),
  10990. (this.onEnterFrame = null),
  10991. (this.onLoopComplete = null),
  10992. (this.onComplete = null),
  10993. (this.onSegmentStart = null),
  10994. (this.onDestroy = null),
  10995. (this.renderer = null),
  10996. (this.renderer = null),
  10997. (this.imagePreloader = null),
  10998. (this.projectInterface = null))
  10999. }),
  11000. (AnimationItem.prototype.setCurrentRawFrameValue = function (e) {
  11001. ;(this.currentRawFrame = e), this.gotoFrame()
  11002. }),
  11003. (AnimationItem.prototype.setSpeed = function (e) {
  11004. ;(this.playSpeed = e), this.updaFrameModifier()
  11005. }),
  11006. (AnimationItem.prototype.setDirection = function (e) {
  11007. ;(this.playDirection = e < 0 ? -1 : 1), this.updaFrameModifier()
  11008. }),
  11009. (AnimationItem.prototype.setVolume = function (e, t) {
  11010. ;(t && this.name !== t) || this.audioController.setVolume(e)
  11011. }),
  11012. (AnimationItem.prototype.getVolume = function () {
  11013. return this.audioController.getVolume()
  11014. }),
  11015. (AnimationItem.prototype.mute = function (e) {
  11016. ;(e && this.name !== e) || this.audioController.mute()
  11017. }),
  11018. (AnimationItem.prototype.unmute = function (e) {
  11019. ;(e && this.name !== e) || this.audioController.unmute()
  11020. }),
  11021. (AnimationItem.prototype.updaFrameModifier = function () {
  11022. ;(this.frameModifier = this.frameMult * this.playSpeed * this.playDirection),
  11023. this.audioController.setRate(this.playSpeed * this.playDirection)
  11024. }),
  11025. (AnimationItem.prototype.getPath = function () {
  11026. return this.path
  11027. }),
  11028. (AnimationItem.prototype.getAssetsPath = function (e) {
  11029. var t = ''
  11030. if (e.e) t = e.p
  11031. else if (this.assetsPath) {
  11032. var n = e.p
  11033. ;-1 !== n.indexOf('images/') && (n = n.split('/')[1]),
  11034. (t = this.assetsPath + n)
  11035. } else (t = this.path), (t += e.u ? e.u : ''), (t += e.p)
  11036. return t
  11037. }),
  11038. (AnimationItem.prototype.getAssetData = function (e) {
  11039. for (var t = 0, n = this.assets.length; t < n; ) {
  11040. if (e === this.assets[t].id) return this.assets[t]
  11041. t += 1
  11042. }
  11043. return null
  11044. }),
  11045. (AnimationItem.prototype.hide = function () {
  11046. this.renderer.hide()
  11047. }),
  11048. (AnimationItem.prototype.show = function () {
  11049. this.renderer.show()
  11050. }),
  11051. (AnimationItem.prototype.getDuration = function (e) {
  11052. return e ? this.totalFrames : this.totalFrames / this.frameRate
  11053. }),
  11054. (AnimationItem.prototype.updateDocumentData = function (e, t, n) {
  11055. try {
  11056. this.renderer.getElementByPath(e).updateDocumentData(t, n)
  11057. } catch (error) {}
  11058. }),
  11059. (AnimationItem.prototype.trigger = function (e) {
  11060. if (this._cbs && this._cbs[e])
  11061. switch (e) {
  11062. case 'enterFrame':
  11063. this.triggerEvent(
  11064. e,
  11065. new BMEnterFrameEvent(
  11066. e,
  11067. this.currentFrame,
  11068. this.totalFrames,
  11069. this.frameModifier
  11070. )
  11071. )
  11072. break
  11073. case 'drawnFrame':
  11074. ;(this.drawnFrameEvent.currentTime = this.currentFrame),
  11075. (this.drawnFrameEvent.totalTime = this.totalFrames),
  11076. (this.drawnFrameEvent.direction = this.frameModifier),
  11077. this.triggerEvent(e, this.drawnFrameEvent)
  11078. break
  11079. case 'loopComplete':
  11080. this.triggerEvent(
  11081. e,
  11082. new BMCompleteLoopEvent(e, this.loop, this.playCount, this.frameMult)
  11083. )
  11084. break
  11085. case 'complete':
  11086. this.triggerEvent(e, new BMCompleteEvent(e, this.frameMult))
  11087. break
  11088. case 'segmentStart':
  11089. this.triggerEvent(
  11090. e,
  11091. new BMSegmentStartEvent(e, this.firstFrame, this.totalFrames)
  11092. )
  11093. break
  11094. case 'destroy':
  11095. this.triggerEvent(e, new BMDestroyEvent(e, this))
  11096. break
  11097. default:
  11098. this.triggerEvent(e)
  11099. }
  11100. 'enterFrame' === e &&
  11101. this.onEnterFrame &&
  11102. this.onEnterFrame.call(
  11103. this,
  11104. new BMEnterFrameEvent(
  11105. e,
  11106. this.currentFrame,
  11107. this.totalFrames,
  11108. this.frameMult
  11109. )
  11110. ),
  11111. 'loopComplete' === e &&
  11112. this.onLoopComplete &&
  11113. this.onLoopComplete.call(
  11114. this,
  11115. new BMCompleteLoopEvent(e, this.loop, this.playCount, this.frameMult)
  11116. ),
  11117. 'complete' === e &&
  11118. this.onComplete &&
  11119. this.onComplete.call(this, new BMCompleteEvent(e, this.frameMult)),
  11120. 'segmentStart' === e &&
  11121. this.onSegmentStart &&
  11122. this.onSegmentStart.call(
  11123. this,
  11124. new BMSegmentStartEvent(e, this.firstFrame, this.totalFrames)
  11125. ),
  11126. 'destroy' === e &&
  11127. this.onDestroy &&
  11128. this.onDestroy.call(this, new BMDestroyEvent(e, this))
  11129. }),
  11130. (AnimationItem.prototype.triggerRenderFrameError = function (e) {
  11131. var t = new BMRenderFrameErrorEvent(e, this.currentFrame)
  11132. this.triggerEvent('error', t), this.onError && this.onError.call(this, t)
  11133. }),
  11134. (AnimationItem.prototype.triggerConfigError = function (e) {
  11135. var t = new BMConfigErrorEvent(e, this.currentFrame)
  11136. this.triggerEvent('error', t), this.onError && this.onError.call(this, t)
  11137. })
  11138. var animationManager = (function () {
  11139. var e = {},
  11140. t = [],
  11141. n = 0,
  11142. r = 0,
  11143. a = 0,
  11144. o = !0,
  11145. i = !1
  11146. function s(e) {
  11147. for (var n = 0, a = e.target; n < r; )
  11148. t[n].animation === a &&
  11149. (t.splice(n, 1), (n -= 1), (r -= 1), a.isPaused || u()),
  11150. (n += 1)
  11151. }
  11152. function l(e, n) {
  11153. if (!e) return null
  11154. for (var a = 0; a < r; ) {
  11155. if (t[a].elem === e && null !== t[a].elem) return t[a].animation
  11156. a += 1
  11157. }
  11158. var o = new AnimationItem()
  11159. return p(o, e), o.setData(e, n), o
  11160. }
  11161. function c() {
  11162. ;(a += 1), h()
  11163. }
  11164. function u() {
  11165. a -= 1
  11166. }
  11167. function p(e, n) {
  11168. e.addEventListener('destroy', s),
  11169. e.addEventListener('_active', c),
  11170. e.addEventListener('_idle', u),
  11171. t.push({ elem: n, animation: e }),
  11172. (r += 1)
  11173. }
  11174. function d(e) {
  11175. var s,
  11176. l = e - n
  11177. for (s = 0; s < r; s += 1) t[s].animation.advanceTime(l)
  11178. ;(n = e), a && !i ? window.requestAnimationFrame(d) : (o = !0)
  11179. }
  11180. function f(e) {
  11181. ;(n = e), window.requestAnimationFrame(d)
  11182. }
  11183. function h() {
  11184. !i && a && o && (window.requestAnimationFrame(f), (o = !1))
  11185. }
  11186. return (
  11187. (e.registerAnimation = l),
  11188. (e.loadAnimation = function (e) {
  11189. var t = new AnimationItem()
  11190. return p(t, null), t.setParams(e), t
  11191. }),
  11192. (e.setSpeed = function (e, n) {
  11193. var a
  11194. for (a = 0; a < r; a += 1) t[a].animation.setSpeed(e, n)
  11195. }),
  11196. (e.setDirection = function (e, n) {
  11197. var a
  11198. for (a = 0; a < r; a += 1) t[a].animation.setDirection(e, n)
  11199. }),
  11200. (e.play = function (e) {
  11201. var n
  11202. for (n = 0; n < r; n += 1) t[n].animation.play(e)
  11203. }),
  11204. (e.pause = function (e) {
  11205. var n
  11206. for (n = 0; n < r; n += 1) t[n].animation.pause(e)
  11207. }),
  11208. (e.stop = function (e) {
  11209. var n
  11210. for (n = 0; n < r; n += 1) t[n].animation.stop(e)
  11211. }),
  11212. (e.togglePause = function (e) {
  11213. var n
  11214. for (n = 0; n < r; n += 1) t[n].animation.togglePause(e)
  11215. }),
  11216. (e.searchAnimations = function (e, t, n) {
  11217. var r,
  11218. a = [].concat(
  11219. [].slice.call(document.getElementsByClassName('lottie')),
  11220. [].slice.call(document.getElementsByClassName('bodymovin'))
  11221. ),
  11222. o = a.length
  11223. for (r = 0; r < o; r += 1)
  11224. n && a[r].setAttribute('data-bm-type', n), l(a[r], e)
  11225. if (t && 0 === o) {
  11226. n || (n = 'svg')
  11227. var i = document.getElementsByTagName('body')[0]
  11228. i.innerText = ''
  11229. var s = createTag('div')
  11230. ;(s.style.width = '100%'),
  11231. (s.style.height = '100%'),
  11232. s.setAttribute('data-bm-type', n),
  11233. i.appendChild(s),
  11234. l(s, e)
  11235. }
  11236. }),
  11237. (e.resize = function () {
  11238. var e
  11239. for (e = 0; e < r; e += 1) t[e].animation.resize()
  11240. }),
  11241. (e.goToAndStop = function (e, n, a) {
  11242. var o
  11243. for (o = 0; o < r; o += 1) t[o].animation.goToAndStop(e, n, a)
  11244. }),
  11245. (e.destroy = function (e) {
  11246. var n
  11247. for (n = r - 1; n >= 0; n -= 1) t[n].animation.destroy(e)
  11248. }),
  11249. (e.freeze = function () {
  11250. i = !0
  11251. }),
  11252. (e.unfreeze = function () {
  11253. ;(i = !1), h()
  11254. }),
  11255. (e.setVolume = function (e, n) {
  11256. var a
  11257. for (a = 0; a < r; a += 1) t[a].animation.setVolume(e, n)
  11258. }),
  11259. (e.mute = function (e) {
  11260. var n
  11261. for (n = 0; n < r; n += 1) t[n].animation.mute(e)
  11262. }),
  11263. (e.unmute = function (e) {
  11264. var n
  11265. for (n = 0; n < r; n += 1) t[n].animation.unmute(e)
  11266. }),
  11267. (e.getRegisteredAnimations = function () {
  11268. var e,
  11269. n = t.length,
  11270. r = []
  11271. for (e = 0; e < n; e += 1) r.push(t[e].animation)
  11272. return r
  11273. }),
  11274. e
  11275. )
  11276. })(),
  11277. BezierFactory = (function () {
  11278. var e = {
  11279. getBezierEasing: function (e, n, r, a, o) {
  11280. var i =
  11281. o || ('bez_' + e + '_' + n + '_' + r + '_' + a).replace(/\./g, 'p')
  11282. if (t[i]) return t[i]
  11283. var s = new c([e, n, r, a])
  11284. return (t[i] = s), s
  11285. }
  11286. },
  11287. t = {},
  11288. n = 0.1,
  11289. r = 'function' == typeof Float32Array
  11290. function a(e, t) {
  11291. return 1 - 3 * t + 3 * e
  11292. }
  11293. function o(e, t) {
  11294. return 3 * t - 6 * e
  11295. }
  11296. function i(e) {
  11297. return 3 * e
  11298. }
  11299. function s(e, t, n) {
  11300. return ((a(t, n) * e + o(t, n)) * e + i(t)) * e
  11301. }
  11302. function l(e, t, n) {
  11303. return 3 * a(t, n) * e * e + 2 * o(t, n) * e + i(t)
  11304. }
  11305. function c(e) {
  11306. ;(this._p = e),
  11307. (this._mSampleValues = r ? new Float32Array(11) : new Array(11)),
  11308. (this._precomputed = !1),
  11309. (this.get = this.get.bind(this))
  11310. }
  11311. return (
  11312. (c.prototype = {
  11313. get: function (e) {
  11314. var t = this._p[0],
  11315. n = this._p[1],
  11316. r = this._p[2],
  11317. a = this._p[3]
  11318. return (
  11319. this._precomputed || this._precompute(),
  11320. t === n && r === a
  11321. ? e
  11322. : 0 === e
  11323. ? 0
  11324. : 1 === e
  11325. ? 1
  11326. : s(this._getTForX(e), n, a)
  11327. )
  11328. },
  11329. _precompute: function () {
  11330. var e = this._p[0],
  11331. t = this._p[1],
  11332. n = this._p[2],
  11333. r = this._p[3]
  11334. ;(this._precomputed = !0),
  11335. (e === t && n === r) || this._calcSampleValues()
  11336. },
  11337. _calcSampleValues: function () {
  11338. for (var e = this._p[0], t = this._p[2], r = 0; r < 11; ++r)
  11339. this._mSampleValues[r] = s(r * n, e, t)
  11340. },
  11341. _getTForX: function (e) {
  11342. for (
  11343. var t = this._p[0],
  11344. r = this._p[2],
  11345. a = this._mSampleValues,
  11346. o = 0,
  11347. i = 1;
  11348. 10 !== i && a[i] <= e;
  11349. ++i
  11350. )
  11351. o += n
  11352. var c = o + ((e - a[--i]) / (a[i + 1] - a[i])) * n,
  11353. u = l(c, t, r)
  11354. return u >= 0.001
  11355. ? (function (e, t, n, r) {
  11356. for (var a = 0; a < 4; ++a) {
  11357. var o = l(t, n, r)
  11358. if (0 === o) return t
  11359. t -= (s(t, n, r) - e) / o
  11360. }
  11361. return t
  11362. })(e, c, t, r)
  11363. : 0 === u
  11364. ? c
  11365. : (function (e, t, n, r, a) {
  11366. var o,
  11367. i,
  11368. l = 0
  11369. do {
  11370. ;(o = s((i = t + (n - t) / 2), r, a) - e) > 0 ? (n = i) : (t = i)
  11371. } while (Math.abs(o) > 1e-7 && ++l < 10)
  11372. return i
  11373. })(e, o, o + n, t, r)
  11374. }
  11375. }),
  11376. e
  11377. )
  11378. })(),
  11379. pooling = {
  11380. double: function (e) {
  11381. return e.concat(createSizedArray(e.length))
  11382. }
  11383. },
  11384. poolFactory = function (e, t, n) {
  11385. var r = 0,
  11386. a = e,
  11387. o = createSizedArray(a)
  11388. return {
  11389. newElement: function () {
  11390. return r ? o[(r -= 1)] : t()
  11391. },
  11392. release: function (e) {
  11393. r === a && ((o = pooling.double(o)), (a *= 2)),
  11394. n && n(e),
  11395. (o[r] = e),
  11396. (r += 1)
  11397. }
  11398. }
  11399. },
  11400. bezierLengthPool = poolFactory(8, function () {
  11401. return {
  11402. addedLength: 0,
  11403. percents: createTypedArray('float32', getDefaultCurveSegments()),
  11404. lengths: createTypedArray('float32', getDefaultCurveSegments())
  11405. }
  11406. }),
  11407. segmentsLengthPool = poolFactory(
  11408. 8,
  11409. function () {
  11410. return { lengths: [], totalLength: 0 }
  11411. },
  11412. function (e) {
  11413. var t,
  11414. n = e.lengths.length
  11415. for (t = 0; t < n; t += 1) bezierLengthPool.release(e.lengths[t])
  11416. e.lengths.length = 0
  11417. }
  11418. )
  11419. function bezFunction() {
  11420. var e = Math
  11421. function t(e, t, n, r, a, o) {
  11422. var i = e * r + t * a + n * o - a * r - o * e - n * t
  11423. return i > -0.001 && i < 0.001
  11424. }
  11425. var n = function (e, t, n, r) {
  11426. var a,
  11427. o,
  11428. i,
  11429. s,
  11430. l,
  11431. c,
  11432. u = getDefaultCurveSegments(),
  11433. p = 0,
  11434. d = [],
  11435. f = [],
  11436. h = bezierLengthPool.newElement()
  11437. for (i = n.length, a = 0; a < u; a += 1) {
  11438. for (l = a / (u - 1), c = 0, o = 0; o < i; o += 1)
  11439. (s =
  11440. bmPow(1 - l, 3) * e[o] +
  11441. 3 * bmPow(1 - l, 2) * l * n[o] +
  11442. 3 * (1 - l) * bmPow(l, 2) * r[o] +
  11443. bmPow(l, 3) * t[o]),
  11444. (d[o] = s),
  11445. null !== f[o] && (c += bmPow(d[o] - f[o], 2)),
  11446. (f[o] = d[o])
  11447. c && (p += c = bmSqrt(c)), (h.percents[a] = l), (h.lengths[a] = p)
  11448. }
  11449. return (h.addedLength = p), h
  11450. }
  11451. function r(e) {
  11452. ;(this.segmentLength = 0), (this.points = new Array(e))
  11453. }
  11454. function a(e, t) {
  11455. ;(this.partialLength = e), (this.point = t)
  11456. }
  11457. var o,
  11458. i =
  11459. ((o = {}),
  11460. function (e, n, i, s) {
  11461. var l = (
  11462. e[0] +
  11463. '_' +
  11464. e[1] +
  11465. '_' +
  11466. n[0] +
  11467. '_' +
  11468. n[1] +
  11469. '_' +
  11470. i[0] +
  11471. '_' +
  11472. i[1] +
  11473. '_' +
  11474. s[0] +
  11475. '_' +
  11476. s[1]
  11477. ).replace(/\./g, 'p')
  11478. if (!o[l]) {
  11479. var c,
  11480. u,
  11481. p,
  11482. d,
  11483. f,
  11484. h,
  11485. v,
  11486. m = getDefaultCurveSegments(),
  11487. g = 0,
  11488. y = null
  11489. 2 === e.length &&
  11490. (e[0] !== n[0] || e[1] !== n[1]) &&
  11491. t(e[0], e[1], n[0], n[1], e[0] + i[0], e[1] + i[1]) &&
  11492. t(e[0], e[1], n[0], n[1], n[0] + s[0], n[1] + s[1]) &&
  11493. (m = 2)
  11494. var b = new r(m)
  11495. for (p = i.length, c = 0; c < m; c += 1) {
  11496. for (
  11497. v = createSizedArray(p), f = c / (m - 1), h = 0, u = 0;
  11498. u < p;
  11499. u += 1
  11500. )
  11501. (d =
  11502. bmPow(1 - f, 3) * e[u] +
  11503. 3 * bmPow(1 - f, 2) * f * (e[u] + i[u]) +
  11504. 3 * (1 - f) * bmPow(f, 2) * (n[u] + s[u]) +
  11505. bmPow(f, 3) * n[u]),
  11506. (v[u] = d),
  11507. null !== y && (h += bmPow(v[u] - y[u], 2))
  11508. ;(g += h = bmSqrt(h)), (b.points[c] = new a(h, v)), (y = v)
  11509. }
  11510. ;(b.segmentLength = g), (o[l] = b)
  11511. }
  11512. return o[l]
  11513. })
  11514. function s(e, t) {
  11515. var n = t.percents,
  11516. r = t.lengths,
  11517. a = n.length,
  11518. o = bmFloor((a - 1) * e),
  11519. i = e * t.addedLength,
  11520. s = 0
  11521. if (o === a - 1 || 0 === o || i === r[o]) return n[o]
  11522. for (var l = r[o] > i ? -1 : 1, c = !0; c; )
  11523. if (
  11524. (r[o] <= i && r[o + 1] > i
  11525. ? ((s = (i - r[o]) / (r[o + 1] - r[o])), (c = !1))
  11526. : (o += l),
  11527. o < 0 || o >= a - 1)
  11528. ) {
  11529. if (o === a - 1) return n[o]
  11530. c = !1
  11531. }
  11532. return n[o] + (n[o + 1] - n[o]) * s
  11533. }
  11534. var l = createTypedArray('float32', 8)
  11535. return {
  11536. getSegmentsLength: function (e) {
  11537. var t,
  11538. r = segmentsLengthPool.newElement(),
  11539. a = e.c,
  11540. o = e.v,
  11541. i = e.o,
  11542. s = e.i,
  11543. l = e._length,
  11544. c = r.lengths,
  11545. u = 0
  11546. for (t = 0; t < l - 1; t += 1)
  11547. (c[t] = n(o[t], o[t + 1], i[t], s[t + 1])), (u += c[t].addedLength)
  11548. return (
  11549. a && l && ((c[t] = n(o[t], o[0], i[t], s[0])), (u += c[t].addedLength)),
  11550. (r.totalLength = u),
  11551. r
  11552. )
  11553. },
  11554. getNewSegment: function (t, n, r, a, o, i, c) {
  11555. o < 0 ? (o = 0) : o > 1 && (o = 1)
  11556. var u,
  11557. p = s(o, c),
  11558. d = s((i = i > 1 ? 1 : i), c),
  11559. f = t.length,
  11560. h = 1 - p,
  11561. v = 1 - d,
  11562. m = h * h * h,
  11563. g = p * h * h * 3,
  11564. y = p * p * h * 3,
  11565. b = p * p * p,
  11566. _ = h * h * v,
  11567. A = p * h * v + h * p * v + h * h * d,
  11568. x = p * p * v + h * p * d + p * h * d,
  11569. w = p * p * d,
  11570. k = h * v * v,
  11571. S = p * v * v + h * d * v + h * v * d,
  11572. E = p * d * v + h * d * d + p * v * d,
  11573. P = p * d * d,
  11574. C = v * v * v,
  11575. T = d * v * v + v * d * v + v * v * d,
  11576. I = d * d * v + v * d * d + d * v * d,
  11577. R = d * d * d
  11578. for (u = 0; u < f; u += 1)
  11579. (l[4 * u] =
  11580. e.round(1e3 * (m * t[u] + g * r[u] + y * a[u] + b * n[u])) / 1e3),
  11581. (l[4 * u + 1] =
  11582. e.round(1e3 * (_ * t[u] + A * r[u] + x * a[u] + w * n[u])) / 1e3),
  11583. (l[4 * u + 2] =
  11584. e.round(1e3 * (k * t[u] + S * r[u] + E * a[u] + P * n[u])) / 1e3),
  11585. (l[4 * u + 3] =
  11586. e.round(1e3 * (C * t[u] + T * r[u] + I * a[u] + R * n[u])) / 1e3)
  11587. return l
  11588. },
  11589. getPointInSegment: function (t, n, r, a, o, i) {
  11590. var l = s(o, i),
  11591. c = 1 - l
  11592. return [
  11593. e.round(
  11594. 1e3 *
  11595. (c * c * c * t[0] +
  11596. (l * c * c + c * l * c + c * c * l) * r[0] +
  11597. (l * l * c + c * l * l + l * c * l) * a[0] +
  11598. l * l * l * n[0])
  11599. ) / 1e3,
  11600. e.round(
  11601. 1e3 *
  11602. (c * c * c * t[1] +
  11603. (l * c * c + c * l * c + c * c * l) * r[1] +
  11604. (l * l * c + c * l * l + l * c * l) * a[1] +
  11605. l * l * l * n[1])
  11606. ) / 1e3
  11607. ]
  11608. },
  11609. buildBezierData: i,
  11610. pointOnLine2D: t,
  11611. pointOnLine3D: function (n, r, a, o, i, s, l, c, u) {
  11612. if (0 === a && 0 === s && 0 === u) return t(n, r, o, i, l, c)
  11613. var p,
  11614. d = e.sqrt(e.pow(o - n, 2) + e.pow(i - r, 2) + e.pow(s - a, 2)),
  11615. f = e.sqrt(e.pow(l - n, 2) + e.pow(c - r, 2) + e.pow(u - a, 2)),
  11616. h = e.sqrt(e.pow(l - o, 2) + e.pow(c - i, 2) + e.pow(u - s, 2))
  11617. return (
  11618. (p =
  11619. d > f ? (d > h ? d - f - h : h - f - d) : h > f ? h - f - d : f - d - h) >
  11620. -1e-4 && p < 1e-4
  11621. )
  11622. }
  11623. }
  11624. }
  11625. var bez = bezFunction(),
  11626. PropertyFactory = (function () {
  11627. var e = initialDefaultFrame,
  11628. t = Math.abs
  11629. function n(e, t) {
  11630. var n,
  11631. a = this.offsetTime
  11632. 'multidimensional' === this.propType &&
  11633. (n = createTypedArray('float32', this.pv.length))
  11634. for (
  11635. var o,
  11636. i,
  11637. s,
  11638. l,
  11639. c,
  11640. u,
  11641. p,
  11642. d,
  11643. f,
  11644. h = t.lastIndex,
  11645. v = h,
  11646. m = this.keyframes.length - 1,
  11647. g = !0;
  11648. g;
  11649. ) {
  11650. if (
  11651. ((o = this.keyframes[v]),
  11652. (i = this.keyframes[v + 1]),
  11653. v === m - 1 && e >= i.t - a)
  11654. ) {
  11655. o.h && (o = i), (h = 0)
  11656. break
  11657. }
  11658. if (i.t - a > e) {
  11659. h = v
  11660. break
  11661. }
  11662. v < m - 1 ? (v += 1) : ((h = 0), (g = !1))
  11663. }
  11664. s = this.keyframesMetadata[v] || {}
  11665. var y,
  11666. b,
  11667. _,
  11668. A,
  11669. x,
  11670. w,
  11671. k,
  11672. S,
  11673. E,
  11674. P,
  11675. C = i.t - a,
  11676. T = o.t - a
  11677. if (o.to) {
  11678. s.bezierData ||
  11679. (s.bezierData = bez.buildBezierData(o.s, i.s || o.e, o.to, o.ti))
  11680. var I = s.bezierData
  11681. if (e >= C || e < T) {
  11682. var R = e >= C ? I.points.length - 1 : 0
  11683. for (c = I.points[R].point.length, l = 0; l < c; l += 1)
  11684. n[l] = I.points[R].point[l]
  11685. } else {
  11686. s.__fnct
  11687. ? (f = s.__fnct)
  11688. : ((f = BezierFactory.getBezierEasing(
  11689. o.o.x,
  11690. o.o.y,
  11691. o.i.x,
  11692. o.i.y,
  11693. o.n
  11694. ).get),
  11695. (s.__fnct = f)),
  11696. (u = f((e - T) / (C - T)))
  11697. var M,
  11698. z = I.segmentLength * u,
  11699. O =
  11700. t.lastFrame < e && t._lastKeyframeIndex === v ? t._lastAddedLength : 0
  11701. for (
  11702. d = t.lastFrame < e && t._lastKeyframeIndex === v ? t._lastPoint : 0,
  11703. g = !0,
  11704. p = I.points.length;
  11705. g;
  11706. ) {
  11707. if (
  11708. ((O += I.points[d].partialLength),
  11709. 0 === z || 0 === u || d === I.points.length - 1)
  11710. ) {
  11711. for (c = I.points[d].point.length, l = 0; l < c; l += 1)
  11712. n[l] = I.points[d].point[l]
  11713. break
  11714. }
  11715. if (z >= O && z < O + I.points[d + 1].partialLength) {
  11716. for (
  11717. M = (z - O) / I.points[d + 1].partialLength,
  11718. c = I.points[d].point.length,
  11719. l = 0;
  11720. l < c;
  11721. l += 1
  11722. )
  11723. n[l] =
  11724. I.points[d].point[l] +
  11725. (I.points[d + 1].point[l] - I.points[d].point[l]) * M
  11726. break
  11727. }
  11728. d < p - 1 ? (d += 1) : (g = !1)
  11729. }
  11730. ;(t._lastPoint = d),
  11731. (t._lastAddedLength = O - I.points[d].partialLength),
  11732. (t._lastKeyframeIndex = v)
  11733. }
  11734. } else {
  11735. var D, F, B, N, j
  11736. if (((m = o.s.length), (y = i.s || o.e), this.sh && 1 !== o.h))
  11737. if (e >= C) (n[0] = y[0]), (n[1] = y[1]), (n[2] = y[2])
  11738. else if (e <= T) (n[0] = o.s[0]), (n[1] = o.s[1]), (n[2] = o.s[2])
  11739. else {
  11740. var V = r(o.s),
  11741. L = r(y)
  11742. ;(b = n),
  11743. (_ = (function (e, t, n) {
  11744. var r,
  11745. a,
  11746. o,
  11747. i,
  11748. s,
  11749. l = [],
  11750. c = e[0],
  11751. u = e[1],
  11752. p = e[2],
  11753. d = e[3],
  11754. f = t[0],
  11755. h = t[1],
  11756. v = t[2],
  11757. m = t[3]
  11758. return (
  11759. (a = c * f + u * h + p * v + d * m) < 0 &&
  11760. ((a = -a), (f = -f), (h = -h), (v = -v), (m = -m)),
  11761. 1 - a > 1e-6
  11762. ? ((r = Math.acos(a)),
  11763. (o = Math.sin(r)),
  11764. (i = Math.sin((1 - n) * r) / o),
  11765. (s = Math.sin(n * r) / o))
  11766. : ((i = 1 - n), (s = n)),
  11767. (l[0] = i * c + s * f),
  11768. (l[1] = i * u + s * h),
  11769. (l[2] = i * p + s * v),
  11770. (l[3] = i * d + s * m),
  11771. l
  11772. )
  11773. })(V, L, (e - T) / (C - T))),
  11774. (A = _[0]),
  11775. (x = _[1]),
  11776. (w = _[2]),
  11777. (k = _[3]),
  11778. (S = Math.atan2(2 * x * k - 2 * A * w, 1 - 2 * x * x - 2 * w * w)),
  11779. (E = Math.asin(2 * A * x + 2 * w * k)),
  11780. (P = Math.atan2(2 * A * k - 2 * x * w, 1 - 2 * A * A - 2 * w * w)),
  11781. (b[0] = S / degToRads),
  11782. (b[1] = E / degToRads),
  11783. (b[2] = P / degToRads)
  11784. }
  11785. else
  11786. for (v = 0; v < m; v += 1)
  11787. 1 !== o.h &&
  11788. (e >= C
  11789. ? (u = 1)
  11790. : e < T
  11791. ? (u = 0)
  11792. : (o.o.x.constructor === Array
  11793. ? (s.__fnct || (s.__fnct = []),
  11794. s.__fnct[v]
  11795. ? (f = s.__fnct[v])
  11796. : ((D = void 0 === o.o.x[v] ? o.o.x[0] : o.o.x[v]),
  11797. (F = void 0 === o.o.y[v] ? o.o.y[0] : o.o.y[v]),
  11798. (B = void 0 === o.i.x[v] ? o.i.x[0] : o.i.x[v]),
  11799. (N = void 0 === o.i.y[v] ? o.i.y[0] : o.i.y[v]),
  11800. (f = BezierFactory.getBezierEasing(D, F, B, N).get),
  11801. (s.__fnct[v] = f)))
  11802. : s.__fnct
  11803. ? (f = s.__fnct)
  11804. : ((D = o.o.x),
  11805. (F = o.o.y),
  11806. (B = o.i.x),
  11807. (N = o.i.y),
  11808. (f = BezierFactory.getBezierEasing(D, F, B, N).get),
  11809. (o.keyframeMetadata = f)),
  11810. (u = f((e - T) / (C - T))))),
  11811. (y = i.s || o.e),
  11812. (j = 1 === o.h ? o.s[v] : o.s[v] + (y[v] - o.s[v]) * u),
  11813. 'multidimensional' === this.propType ? (n[v] = j) : (n = j)
  11814. }
  11815. return (t.lastIndex = h), n
  11816. }
  11817. function r(e) {
  11818. var t = e[0] * degToRads,
  11819. n = e[1] * degToRads,
  11820. r = e[2] * degToRads,
  11821. a = Math.cos(t / 2),
  11822. o = Math.cos(n / 2),
  11823. i = Math.cos(r / 2),
  11824. s = Math.sin(t / 2),
  11825. l = Math.sin(n / 2),
  11826. c = Math.sin(r / 2)
  11827. return [
  11828. s * l * i + a * o * c,
  11829. s * o * i + a * l * c,
  11830. a * l * i - s * o * c,
  11831. a * o * i - s * l * c
  11832. ]
  11833. }
  11834. function a() {
  11835. var t = this.comp.renderedFrame - this.offsetTime,
  11836. n = this.keyframes[0].t - this.offsetTime,
  11837. r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime
  11838. if (
  11839. !(
  11840. t === this._caching.lastFrame ||
  11841. (this._caching.lastFrame !== e &&
  11842. ((this._caching.lastFrame >= r && t >= r) ||
  11843. (this._caching.lastFrame < n && t < n)))
  11844. )
  11845. ) {
  11846. this._caching.lastFrame >= t &&
  11847. ((this._caching._lastKeyframeIndex = -1), (this._caching.lastIndex = 0))
  11848. var a = this.interpolateValue(t, this._caching)
  11849. this.pv = a
  11850. }
  11851. return (this._caching.lastFrame = t), this.pv
  11852. }
  11853. function o(e) {
  11854. var n
  11855. if ('unidimensional' === this.propType)
  11856. (n = e * this.mult),
  11857. t(this.v - n) > 1e-5 && ((this.v = n), (this._mdf = !0))
  11858. else
  11859. for (var r = 0, a = this.v.length; r < a; )
  11860. (n = e[r] * this.mult),
  11861. t(this.v[r] - n) > 1e-5 && ((this.v[r] = n), (this._mdf = !0)),
  11862. (r += 1)
  11863. }
  11864. function i() {
  11865. if (
  11866. this.elem.globalData.frameId !== this.frameId &&
  11867. this.effectsSequence.length
  11868. )
  11869. if (this.lock) this.setVValue(this.pv)
  11870. else {
  11871. var e
  11872. ;(this.lock = !0), (this._mdf = this._isFirstFrame)
  11873. var t = this.effectsSequence.length,
  11874. n = this.kf ? this.pv : this.data.k
  11875. for (e = 0; e < t; e += 1) n = this.effectsSequence[e](n)
  11876. this.setVValue(n),
  11877. (this._isFirstFrame = !1),
  11878. (this.lock = !1),
  11879. (this.frameId = this.elem.globalData.frameId)
  11880. }
  11881. }
  11882. function s(e) {
  11883. this.effectsSequence.push(e), this.container.addDynamicProperty(this)
  11884. }
  11885. function l(e, t, n, r) {
  11886. ;(this.propType = 'unidimensional'),
  11887. (this.mult = n || 1),
  11888. (this.data = t),
  11889. (this.v = n ? t.k * n : t.k),
  11890. (this.pv = t.k),
  11891. (this._mdf = !1),
  11892. (this.elem = e),
  11893. (this.container = r),
  11894. (this.comp = e.comp),
  11895. (this.k = !1),
  11896. (this.kf = !1),
  11897. (this.vel = 0),
  11898. (this.effectsSequence = []),
  11899. (this._isFirstFrame = !0),
  11900. (this.getValue = i),
  11901. (this.setVValue = o),
  11902. (this.addEffect = s)
  11903. }
  11904. function c(e, t, n, r) {
  11905. var a
  11906. ;(this.propType = 'multidimensional'),
  11907. (this.mult = n || 1),
  11908. (this.data = t),
  11909. (this._mdf = !1),
  11910. (this.elem = e),
  11911. (this.container = r),
  11912. (this.comp = e.comp),
  11913. (this.k = !1),
  11914. (this.kf = !1),
  11915. (this.frameId = -1)
  11916. var l = t.k.length
  11917. for (
  11918. this.v = createTypedArray('float32', l),
  11919. this.pv = createTypedArray('float32', l),
  11920. this.vel = createTypedArray('float32', l),
  11921. a = 0;
  11922. a < l;
  11923. a += 1
  11924. )
  11925. (this.v[a] = t.k[a] * this.mult), (this.pv[a] = t.k[a])
  11926. ;(this._isFirstFrame = !0),
  11927. (this.effectsSequence = []),
  11928. (this.getValue = i),
  11929. (this.setVValue = o),
  11930. (this.addEffect = s)
  11931. }
  11932. function u(t, r, l, c) {
  11933. ;(this.propType = 'unidimensional'),
  11934. (this.keyframes = r.k),
  11935. (this.keyframesMetadata = []),
  11936. (this.offsetTime = t.data.st),
  11937. (this.frameId = -1),
  11938. (this._caching = {
  11939. lastFrame: e,
  11940. lastIndex: 0,
  11941. value: 0,
  11942. _lastKeyframeIndex: -1
  11943. }),
  11944. (this.k = !0),
  11945. (this.kf = !0),
  11946. (this.data = r),
  11947. (this.mult = l || 1),
  11948. (this.elem = t),
  11949. (this.container = c),
  11950. (this.comp = t.comp),
  11951. (this.v = e),
  11952. (this.pv = e),
  11953. (this._isFirstFrame = !0),
  11954. (this.getValue = i),
  11955. (this.setVValue = o),
  11956. (this.interpolateValue = n),
  11957. (this.effectsSequence = [a.bind(this)]),
  11958. (this.addEffect = s)
  11959. }
  11960. function p(t, r, l, c) {
  11961. var u
  11962. this.propType = 'multidimensional'
  11963. var p,
  11964. d,
  11965. f,
  11966. h,
  11967. v = r.k.length
  11968. for (u = 0; u < v - 1; u += 1)
  11969. r.k[u].to &&
  11970. r.k[u].s &&
  11971. r.k[u + 1] &&
  11972. r.k[u + 1].s &&
  11973. ((p = r.k[u].s),
  11974. (d = r.k[u + 1].s),
  11975. (f = r.k[u].to),
  11976. (h = r.k[u].ti),
  11977. ((2 === p.length &&
  11978. (p[0] !== d[0] || p[1] !== d[1]) &&
  11979. bez.pointOnLine2D(p[0], p[1], d[0], d[1], p[0] + f[0], p[1] + f[1]) &&
  11980. bez.pointOnLine2D(p[0], p[1], d[0], d[1], d[0] + h[0], d[1] + h[1])) ||
  11981. (3 === p.length &&
  11982. (p[0] !== d[0] || p[1] !== d[1] || p[2] !== d[2]) &&
  11983. bez.pointOnLine3D(
  11984. p[0],
  11985. p[1],
  11986. p[2],
  11987. d[0],
  11988. d[1],
  11989. d[2],
  11990. p[0] + f[0],
  11991. p[1] + f[1],
  11992. p[2] + f[2]
  11993. ) &&
  11994. bez.pointOnLine3D(
  11995. p[0],
  11996. p[1],
  11997. p[2],
  11998. d[0],
  11999. d[1],
  12000. d[2],
  12001. d[0] + h[0],
  12002. d[1] + h[1],
  12003. d[2] + h[2]
  12004. ))) &&
  12005. ((r.k[u].to = null), (r.k[u].ti = null)),
  12006. p[0] === d[0] &&
  12007. p[1] === d[1] &&
  12008. 0 === f[0] &&
  12009. 0 === f[1] &&
  12010. 0 === h[0] &&
  12011. 0 === h[1] &&
  12012. (2 === p.length || (p[2] === d[2] && 0 === f[2] && 0 === h[2])) &&
  12013. ((r.k[u].to = null), (r.k[u].ti = null)))
  12014. ;(this.effectsSequence = [a.bind(this)]),
  12015. (this.data = r),
  12016. (this.keyframes = r.k),
  12017. (this.keyframesMetadata = []),
  12018. (this.offsetTime = t.data.st),
  12019. (this.k = !0),
  12020. (this.kf = !0),
  12021. (this._isFirstFrame = !0),
  12022. (this.mult = l || 1),
  12023. (this.elem = t),
  12024. (this.container = c),
  12025. (this.comp = t.comp),
  12026. (this.getValue = i),
  12027. (this.setVValue = o),
  12028. (this.interpolateValue = n),
  12029. (this.frameId = -1)
  12030. var m = r.k[0].s.length
  12031. for (
  12032. this.v = createTypedArray('float32', m),
  12033. this.pv = createTypedArray('float32', m),
  12034. u = 0;
  12035. u < m;
  12036. u += 1
  12037. )
  12038. (this.v[u] = e), (this.pv[u] = e)
  12039. ;(this._caching = {
  12040. lastFrame: e,
  12041. lastIndex: 0,
  12042. value: createTypedArray('float32', m)
  12043. }),
  12044. (this.addEffect = s)
  12045. }
  12046. var d = {
  12047. getProp: function (e, t, n, r, a) {
  12048. var o
  12049. if (t.k.length)
  12050. if ('number' == typeof t.k[0]) o = new c(e, t, r, a)
  12051. else
  12052. switch (n) {
  12053. case 0:
  12054. o = new u(e, t, r, a)
  12055. break
  12056. case 1:
  12057. o = new p(e, t, r, a)
  12058. }
  12059. else o = new l(e, t, r, a)
  12060. return o.effectsSequence.length && a.addDynamicProperty(o), o
  12061. }
  12062. }
  12063. return d
  12064. })()
  12065. function DynamicPropertyContainer() {}
  12066. DynamicPropertyContainer.prototype = {
  12067. addDynamicProperty: function (e) {
  12068. ;-1 === this.dynamicProperties.indexOf(e) &&
  12069. (this.dynamicProperties.push(e),
  12070. this.container.addDynamicProperty(this),
  12071. (this._isAnimated = !0))
  12072. },
  12073. iterateDynamicProperties: function () {
  12074. var e
  12075. this._mdf = !1
  12076. var t = this.dynamicProperties.length
  12077. for (e = 0; e < t; e += 1)
  12078. this.dynamicProperties[e].getValue(),
  12079. this.dynamicProperties[e]._mdf && (this._mdf = !0)
  12080. },
  12081. initDynamicPropertyContainer: function (e) {
  12082. ;(this.container = e),
  12083. (this.dynamicProperties = []),
  12084. (this._mdf = !1),
  12085. (this._isAnimated = !1)
  12086. }
  12087. }
  12088. var pointPool = poolFactory(8, function () {
  12089. return createTypedArray('float32', 2)
  12090. })
  12091. function ShapePath() {
  12092. ;(this.c = !1),
  12093. (this._length = 0),
  12094. (this._maxLength = 8),
  12095. (this.v = createSizedArray(this._maxLength)),
  12096. (this.o = createSizedArray(this._maxLength)),
  12097. (this.i = createSizedArray(this._maxLength))
  12098. }
  12099. ;(ShapePath.prototype.setPathData = function (e, t) {
  12100. ;(this.c = e), this.setLength(t)
  12101. for (var n = 0; n < t; )
  12102. (this.v[n] = pointPool.newElement()),
  12103. (this.o[n] = pointPool.newElement()),
  12104. (this.i[n] = pointPool.newElement()),
  12105. (n += 1)
  12106. }),
  12107. (ShapePath.prototype.setLength = function (e) {
  12108. for (; this._maxLength < e; ) this.doubleArrayLength()
  12109. this._length = e
  12110. }),
  12111. (ShapePath.prototype.doubleArrayLength = function () {
  12112. ;(this.v = this.v.concat(createSizedArray(this._maxLength))),
  12113. (this.i = this.i.concat(createSizedArray(this._maxLength))),
  12114. (this.o = this.o.concat(createSizedArray(this._maxLength))),
  12115. (this._maxLength *= 2)
  12116. }),
  12117. (ShapePath.prototype.setXYAt = function (e, t, n, r, a) {
  12118. var o
  12119. switch (
  12120. ((this._length = Math.max(this._length, r + 1)),
  12121. this._length >= this._maxLength && this.doubleArrayLength(),
  12122. n)
  12123. ) {
  12124. case 'v':
  12125. o = this.v
  12126. break
  12127. case 'i':
  12128. o = this.i
  12129. break
  12130. case 'o':
  12131. o = this.o
  12132. break
  12133. default:
  12134. o = []
  12135. }
  12136. ;(!o[r] || (o[r] && !a)) && (o[r] = pointPool.newElement()),
  12137. (o[r][0] = e),
  12138. (o[r][1] = t)
  12139. }),
  12140. (ShapePath.prototype.setTripleAt = function (e, t, n, r, a, o, i, s) {
  12141. this.setXYAt(e, t, 'v', i, s),
  12142. this.setXYAt(n, r, 'o', i, s),
  12143. this.setXYAt(a, o, 'i', i, s)
  12144. }),
  12145. (ShapePath.prototype.reverse = function () {
  12146. var e = new ShapePath()
  12147. e.setPathData(this.c, this._length)
  12148. var t = this.v,
  12149. n = this.o,
  12150. r = this.i,
  12151. a = 0
  12152. this.c &&
  12153. (e.setTripleAt(t[0][0], t[0][1], r[0][0], r[0][1], n[0][0], n[0][1], 0, !1),
  12154. (a = 1))
  12155. var o,
  12156. i = this._length - 1,
  12157. s = this._length
  12158. for (o = a; o < s; o += 1)
  12159. e.setTripleAt(t[i][0], t[i][1], r[i][0], r[i][1], n[i][0], n[i][1], o, !1),
  12160. (i -= 1)
  12161. return e
  12162. })
  12163. var shapePool =
  12164. ((factory = poolFactory(
  12165. 4,
  12166. function () {
  12167. return new ShapePath()
  12168. },
  12169. function (e) {
  12170. var t,
  12171. n = e._length
  12172. for (t = 0; t < n; t += 1)
  12173. pointPool.release(e.v[t]),
  12174. pointPool.release(e.i[t]),
  12175. pointPool.release(e.o[t]),
  12176. (e.v[t] = null),
  12177. (e.i[t] = null),
  12178. (e.o[t] = null)
  12179. ;(e._length = 0), (e.c = !1)
  12180. }
  12181. )),
  12182. (factory.clone = function (e) {
  12183. var t,
  12184. n = factory.newElement(),
  12185. r = void 0 === e._length ? e.v.length : e._length
  12186. for (n.setLength(r), n.c = e.c, t = 0; t < r; t += 1)
  12187. n.setTripleAt(
  12188. e.v[t][0],
  12189. e.v[t][1],
  12190. e.o[t][0],
  12191. e.o[t][1],
  12192. e.i[t][0],
  12193. e.i[t][1],
  12194. t
  12195. )
  12196. return n
  12197. }),
  12198. factory),
  12199. factory
  12200. function ShapeCollection() {
  12201. ;(this._length = 0),
  12202. (this._maxLength = 4),
  12203. (this.shapes = createSizedArray(this._maxLength))
  12204. }
  12205. ;(ShapeCollection.prototype.addShape = function (e) {
  12206. this._length === this._maxLength &&
  12207. ((this.shapes = this.shapes.concat(createSizedArray(this._maxLength))),
  12208. (this._maxLength *= 2)),
  12209. (this.shapes[this._length] = e),
  12210. (this._length += 1)
  12211. }),
  12212. (ShapeCollection.prototype.releaseShapes = function () {
  12213. var e
  12214. for (e = 0; e < this._length; e += 1) shapePool.release(this.shapes[e])
  12215. this._length = 0
  12216. })
  12217. var shapeCollectionPool =
  12218. ((ob = {
  12219. newShapeCollection: function () {
  12220. return _length ? pool[(_length -= 1)] : new ShapeCollection()
  12221. },
  12222. release: function (e) {
  12223. var t,
  12224. n = e._length
  12225. for (t = 0; t < n; t += 1) shapePool.release(e.shapes[t])
  12226. ;(e._length = 0),
  12227. _length === _maxLength &&
  12228. ((pool = pooling.double(pool)), (_maxLength *= 2)),
  12229. (pool[_length] = e),
  12230. (_length += 1)
  12231. }
  12232. }),
  12233. (_length = 0),
  12234. (_maxLength = 4),
  12235. (pool = createSizedArray(_maxLength)),
  12236. ob),
  12237. ob,
  12238. _length,
  12239. _maxLength,
  12240. pool,
  12241. ShapePropertyFactory = (function () {
  12242. var e = -999999
  12243. function t(e, t, n) {
  12244. var r,
  12245. a,
  12246. o,
  12247. i,
  12248. s,
  12249. l,
  12250. c,
  12251. u,
  12252. p,
  12253. d = n.lastIndex,
  12254. f = this.keyframes
  12255. if (e < f[0].t - this.offsetTime) (r = f[0].s[0]), (o = !0), (d = 0)
  12256. else if (e >= f[f.length - 1].t - this.offsetTime)
  12257. (r = f[f.length - 1].s ? f[f.length - 1].s[0] : f[f.length - 2].e[0]),
  12258. (o = !0)
  12259. else {
  12260. for (
  12261. var h, v, m, g = d, y = f.length - 1, b = !0;
  12262. b && ((h = f[g]), !((v = f[g + 1]).t - this.offsetTime > e));
  12263. )
  12264. g < y - 1 ? (g += 1) : (b = !1)
  12265. if (((m = this.keyframesMetadata[g] || {}), (d = g), !(o = 1 === h.h))) {
  12266. if (e >= v.t - this.offsetTime) u = 1
  12267. else if (e < h.t - this.offsetTime) u = 0
  12268. else {
  12269. var _
  12270. m.__fnct
  12271. ? (_ = m.__fnct)
  12272. : ((_ = BezierFactory.getBezierEasing(
  12273. h.o.x,
  12274. h.o.y,
  12275. h.i.x,
  12276. h.i.y
  12277. ).get),
  12278. (m.__fnct = _)),
  12279. (u = _(
  12280. (e - (h.t - this.offsetTime)) /
  12281. (v.t - this.offsetTime - (h.t - this.offsetTime))
  12282. ))
  12283. }
  12284. a = v.s ? v.s[0] : h.e[0]
  12285. }
  12286. r = h.s[0]
  12287. }
  12288. for (l = t._length, c = r.i[0].length, n.lastIndex = d, i = 0; i < l; i += 1)
  12289. for (s = 0; s < c; s += 1)
  12290. (p = o ? r.i[i][s] : r.i[i][s] + (a.i[i][s] - r.i[i][s]) * u),
  12291. (t.i[i][s] = p),
  12292. (p = o ? r.o[i][s] : r.o[i][s] + (a.o[i][s] - r.o[i][s]) * u),
  12293. (t.o[i][s] = p),
  12294. (p = o ? r.v[i][s] : r.v[i][s] + (a.v[i][s] - r.v[i][s]) * u),
  12295. (t.v[i][s] = p)
  12296. }
  12297. function n() {
  12298. var t = this.comp.renderedFrame - this.offsetTime,
  12299. n = this.keyframes[0].t - this.offsetTime,
  12300. r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime,
  12301. a = this._caching.lastFrame
  12302. return (
  12303. (a !== e && ((a < n && t < n) || (a > r && t > r))) ||
  12304. ((this._caching.lastIndex = a < t ? this._caching.lastIndex : 0),
  12305. this.interpolateShape(t, this.pv, this._caching)),
  12306. (this._caching.lastFrame = t),
  12307. this.pv
  12308. )
  12309. }
  12310. function r() {
  12311. this.paths = this.localShapeCollection
  12312. }
  12313. function a(e) {
  12314. ;(function (e, t) {
  12315. if (e._length !== t._length || e.c !== t.c) return !1
  12316. var n,
  12317. r = e._length
  12318. for (n = 0; n < r; n += 1)
  12319. if (
  12320. e.v[n][0] !== t.v[n][0] ||
  12321. e.v[n][1] !== t.v[n][1] ||
  12322. e.o[n][0] !== t.o[n][0] ||
  12323. e.o[n][1] !== t.o[n][1] ||
  12324. e.i[n][0] !== t.i[n][0] ||
  12325. e.i[n][1] !== t.i[n][1]
  12326. )
  12327. return !1
  12328. return !0
  12329. })(this.v, e) ||
  12330. ((this.v = shapePool.clone(e)),
  12331. this.localShapeCollection.releaseShapes(),
  12332. this.localShapeCollection.addShape(this.v),
  12333. (this._mdf = !0),
  12334. (this.paths = this.localShapeCollection))
  12335. }
  12336. function o() {
  12337. if (this.elem.globalData.frameId !== this.frameId)
  12338. if (this.effectsSequence.length)
  12339. if (this.lock) this.setVValue(this.pv)
  12340. else {
  12341. var e, t
  12342. ;(this.lock = !0),
  12343. (this._mdf = !1),
  12344. (e = this.kf
  12345. ? this.pv
  12346. : this.data.ks
  12347. ? this.data.ks.k
  12348. : this.data.pt.k)
  12349. var n = this.effectsSequence.length
  12350. for (t = 0; t < n; t += 1) e = this.effectsSequence[t](e)
  12351. this.setVValue(e),
  12352. (this.lock = !1),
  12353. (this.frameId = this.elem.globalData.frameId)
  12354. }
  12355. else this._mdf = !1
  12356. }
  12357. function i(e, t, n) {
  12358. ;(this.propType = 'shape'),
  12359. (this.comp = e.comp),
  12360. (this.container = e),
  12361. (this.elem = e),
  12362. (this.data = t),
  12363. (this.k = !1),
  12364. (this.kf = !1),
  12365. (this._mdf = !1)
  12366. var a = 3 === n ? t.pt.k : t.ks.k
  12367. ;(this.v = shapePool.clone(a)),
  12368. (this.pv = shapePool.clone(this.v)),
  12369. (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
  12370. (this.paths = this.localShapeCollection),
  12371. this.paths.addShape(this.v),
  12372. (this.reset = r),
  12373. (this.effectsSequence = [])
  12374. }
  12375. function s(e) {
  12376. this.effectsSequence.push(e), this.container.addDynamicProperty(this)
  12377. }
  12378. function l(t, a, o) {
  12379. ;(this.propType = 'shape'),
  12380. (this.comp = t.comp),
  12381. (this.elem = t),
  12382. (this.container = t),
  12383. (this.offsetTime = t.data.st),
  12384. (this.keyframes = 3 === o ? a.pt.k : a.ks.k),
  12385. (this.keyframesMetadata = []),
  12386. (this.k = !0),
  12387. (this.kf = !0)
  12388. var i = this.keyframes[0].s[0].i.length
  12389. ;(this.v = shapePool.newElement()),
  12390. this.v.setPathData(this.keyframes[0].s[0].c, i),
  12391. (this.pv = shapePool.clone(this.v)),
  12392. (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
  12393. (this.paths = this.localShapeCollection),
  12394. this.paths.addShape(this.v),
  12395. (this.lastFrame = e),
  12396. (this.reset = r),
  12397. (this._caching = { lastFrame: e, lastIndex: 0 }),
  12398. (this.effectsSequence = [n.bind(this)])
  12399. }
  12400. ;(i.prototype.interpolateShape = t),
  12401. (i.prototype.getValue = o),
  12402. (i.prototype.setVValue = a),
  12403. (i.prototype.addEffect = s),
  12404. (l.prototype.getValue = o),
  12405. (l.prototype.interpolateShape = t),
  12406. (l.prototype.setVValue = a),
  12407. (l.prototype.addEffect = s)
  12408. var c = (function () {
  12409. var e = roundCorner
  12410. function t(e, t) {
  12411. ;(this.v = shapePool.newElement()),
  12412. this.v.setPathData(!0, 4),
  12413. (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
  12414. (this.paths = this.localShapeCollection),
  12415. this.localShapeCollection.addShape(this.v),
  12416. (this.d = t.d),
  12417. (this.elem = e),
  12418. (this.comp = e.comp),
  12419. (this.frameId = -1),
  12420. this.initDynamicPropertyContainer(e),
  12421. (this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
  12422. (this.s = PropertyFactory.getProp(e, t.s, 1, 0, this)),
  12423. this.dynamicProperties.length
  12424. ? (this.k = !0)
  12425. : ((this.k = !1), this.convertEllToPath())
  12426. }
  12427. return (
  12428. (t.prototype = {
  12429. reset: r,
  12430. getValue: function () {
  12431. this.elem.globalData.frameId !== this.frameId &&
  12432. ((this.frameId = this.elem.globalData.frameId),
  12433. this.iterateDynamicProperties(),
  12434. this._mdf && this.convertEllToPath())
  12435. },
  12436. convertEllToPath: function () {
  12437. var t = this.p.v[0],
  12438. n = this.p.v[1],
  12439. r = this.s.v[0] / 2,
  12440. a = this.s.v[1] / 2,
  12441. o = 3 !== this.d,
  12442. i = this.v
  12443. ;(i.v[0][0] = t),
  12444. (i.v[0][1] = n - a),
  12445. (i.v[1][0] = o ? t + r : t - r),
  12446. (i.v[1][1] = n),
  12447. (i.v[2][0] = t),
  12448. (i.v[2][1] = n + a),
  12449. (i.v[3][0] = o ? t - r : t + r),
  12450. (i.v[3][1] = n),
  12451. (i.i[0][0] = o ? t - r * e : t + r * e),
  12452. (i.i[0][1] = n - a),
  12453. (i.i[1][0] = o ? t + r : t - r),
  12454. (i.i[1][1] = n - a * e),
  12455. (i.i[2][0] = o ? t + r * e : t - r * e),
  12456. (i.i[2][1] = n + a),
  12457. (i.i[3][0] = o ? t - r : t + r),
  12458. (i.i[3][1] = n + a * e),
  12459. (i.o[0][0] = o ? t + r * e : t - r * e),
  12460. (i.o[0][1] = n - a),
  12461. (i.o[1][0] = o ? t + r : t - r),
  12462. (i.o[1][1] = n + a * e),
  12463. (i.o[2][0] = o ? t - r * e : t + r * e),
  12464. (i.o[2][1] = n + a),
  12465. (i.o[3][0] = o ? t - r : t + r),
  12466. (i.o[3][1] = n - a * e)
  12467. }
  12468. }),
  12469. extendPrototype([DynamicPropertyContainer], t),
  12470. t
  12471. )
  12472. })(),
  12473. u = (function () {
  12474. function e(e, t) {
  12475. ;(this.v = shapePool.newElement()),
  12476. this.v.setPathData(!0, 0),
  12477. (this.elem = e),
  12478. (this.comp = e.comp),
  12479. (this.data = t),
  12480. (this.frameId = -1),
  12481. (this.d = t.d),
  12482. this.initDynamicPropertyContainer(e),
  12483. 1 === t.sy
  12484. ? ((this.ir = PropertyFactory.getProp(e, t.ir, 0, 0, this)),
  12485. (this.is = PropertyFactory.getProp(e, t.is, 0, 0.01, this)),
  12486. (this.convertToPath = this.convertStarToPath))
  12487. : (this.convertToPath = this.convertPolygonToPath),
  12488. (this.pt = PropertyFactory.getProp(e, t.pt, 0, 0, this)),
  12489. (this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
  12490. (this.r = PropertyFactory.getProp(e, t.r, 0, degToRads, this)),
  12491. (this.or = PropertyFactory.getProp(e, t.or, 0, 0, this)),
  12492. (this.os = PropertyFactory.getProp(e, t.os, 0, 0.01, this)),
  12493. (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
  12494. this.localShapeCollection.addShape(this.v),
  12495. (this.paths = this.localShapeCollection),
  12496. this.dynamicProperties.length
  12497. ? (this.k = !0)
  12498. : ((this.k = !1), this.convertToPath())
  12499. }
  12500. return (
  12501. (e.prototype = {
  12502. reset: r,
  12503. getValue: function () {
  12504. this.elem.globalData.frameId !== this.frameId &&
  12505. ((this.frameId = this.elem.globalData.frameId),
  12506. this.iterateDynamicProperties(),
  12507. this._mdf && this.convertToPath())
  12508. },
  12509. convertStarToPath: function () {
  12510. var e,
  12511. t,
  12512. n,
  12513. r,
  12514. a = 2 * Math.floor(this.pt.v),
  12515. o = (2 * Math.PI) / a,
  12516. i = !0,
  12517. s = this.or.v,
  12518. l = this.ir.v,
  12519. c = this.os.v,
  12520. u = this.is.v,
  12521. p = (2 * Math.PI * s) / (2 * a),
  12522. d = (2 * Math.PI * l) / (2 * a),
  12523. f = -Math.PI / 2
  12524. f += this.r.v
  12525. var h = 3 === this.data.d ? -1 : 1
  12526. for (this.v._length = 0, e = 0; e < a; e += 1) {
  12527. ;(n = i ? c : u), (r = i ? p : d)
  12528. var v = (t = i ? s : l) * Math.cos(f),
  12529. m = t * Math.sin(f),
  12530. g = 0 === v && 0 === m ? 0 : m / Math.sqrt(v * v + m * m),
  12531. y = 0 === v && 0 === m ? 0 : -v / Math.sqrt(v * v + m * m)
  12532. ;(v += +this.p.v[0]),
  12533. (m += +this.p.v[1]),
  12534. this.v.setTripleAt(
  12535. v,
  12536. m,
  12537. v - g * r * n * h,
  12538. m - y * r * n * h,
  12539. v + g * r * n * h,
  12540. m + y * r * n * h,
  12541. e,
  12542. !0
  12543. ),
  12544. (i = !i),
  12545. (f += o * h)
  12546. }
  12547. },
  12548. convertPolygonToPath: function () {
  12549. var e,
  12550. t = Math.floor(this.pt.v),
  12551. n = (2 * Math.PI) / t,
  12552. r = this.or.v,
  12553. a = this.os.v,
  12554. o = (2 * Math.PI * r) / (4 * t),
  12555. i = 0.5 * -Math.PI,
  12556. s = 3 === this.data.d ? -1 : 1
  12557. for (i += this.r.v, this.v._length = 0, e = 0; e < t; e += 1) {
  12558. var l = r * Math.cos(i),
  12559. c = r * Math.sin(i),
  12560. u = 0 === l && 0 === c ? 0 : c / Math.sqrt(l * l + c * c),
  12561. p = 0 === l && 0 === c ? 0 : -l / Math.sqrt(l * l + c * c)
  12562. ;(l += +this.p.v[0]),
  12563. (c += +this.p.v[1]),
  12564. this.v.setTripleAt(
  12565. l,
  12566. c,
  12567. l - u * o * a * s,
  12568. c - p * o * a * s,
  12569. l + u * o * a * s,
  12570. c + p * o * a * s,
  12571. e,
  12572. !0
  12573. ),
  12574. (i += n * s)
  12575. }
  12576. ;(this.paths.length = 0), (this.paths[0] = this.v)
  12577. }
  12578. }),
  12579. extendPrototype([DynamicPropertyContainer], e),
  12580. e
  12581. )
  12582. })(),
  12583. p = (function () {
  12584. function e(e, t) {
  12585. ;(this.v = shapePool.newElement()),
  12586. (this.v.c = !0),
  12587. (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
  12588. this.localShapeCollection.addShape(this.v),
  12589. (this.paths = this.localShapeCollection),
  12590. (this.elem = e),
  12591. (this.comp = e.comp),
  12592. (this.frameId = -1),
  12593. (this.d = t.d),
  12594. this.initDynamicPropertyContainer(e),
  12595. (this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
  12596. (this.s = PropertyFactory.getProp(e, t.s, 1, 0, this)),
  12597. (this.r = PropertyFactory.getProp(e, t.r, 0, 0, this)),
  12598. this.dynamicProperties.length
  12599. ? (this.k = !0)
  12600. : ((this.k = !1), this.convertRectToPath())
  12601. }
  12602. return (
  12603. (e.prototype = {
  12604. convertRectToPath: function () {
  12605. var e = this.p.v[0],
  12606. t = this.p.v[1],
  12607. n = this.s.v[0] / 2,
  12608. r = this.s.v[1] / 2,
  12609. a = bmMin(n, r, this.r.v),
  12610. o = a * (1 - roundCorner)
  12611. ;(this.v._length = 0),
  12612. 2 === this.d || 1 === this.d
  12613. ? (this.v.setTripleAt(
  12614. e + n,
  12615. t - r + a,
  12616. e + n,
  12617. t - r + a,
  12618. e + n,
  12619. t - r + o,
  12620. 0,
  12621. !0
  12622. ),
  12623. this.v.setTripleAt(
  12624. e + n,
  12625. t + r - a,
  12626. e + n,
  12627. t + r - o,
  12628. e + n,
  12629. t + r - a,
  12630. 1,
  12631. !0
  12632. ),
  12633. 0 !== a
  12634. ? (this.v.setTripleAt(
  12635. e + n - a,
  12636. t + r,
  12637. e + n - a,
  12638. t + r,
  12639. e + n - o,
  12640. t + r,
  12641. 2,
  12642. !0
  12643. ),
  12644. this.v.setTripleAt(
  12645. e - n + a,
  12646. t + r,
  12647. e - n + o,
  12648. t + r,
  12649. e - n + a,
  12650. t + r,
  12651. 3,
  12652. !0
  12653. ),
  12654. this.v.setTripleAt(
  12655. e - n,
  12656. t + r - a,
  12657. e - n,
  12658. t + r - a,
  12659. e - n,
  12660. t + r - o,
  12661. 4,
  12662. !0
  12663. ),
  12664. this.v.setTripleAt(
  12665. e - n,
  12666. t - r + a,
  12667. e - n,
  12668. t - r + o,
  12669. e - n,
  12670. t - r + a,
  12671. 5,
  12672. !0
  12673. ),
  12674. this.v.setTripleAt(
  12675. e - n + a,
  12676. t - r,
  12677. e - n + a,
  12678. t - r,
  12679. e - n + o,
  12680. t - r,
  12681. 6,
  12682. !0
  12683. ),
  12684. this.v.setTripleAt(
  12685. e + n - a,
  12686. t - r,
  12687. e + n - o,
  12688. t - r,
  12689. e + n - a,
  12690. t - r,
  12691. 7,
  12692. !0
  12693. ))
  12694. : (this.v.setTripleAt(
  12695. e - n,
  12696. t + r,
  12697. e - n + o,
  12698. t + r,
  12699. e - n,
  12700. t + r,
  12701. 2
  12702. ),
  12703. this.v.setTripleAt(
  12704. e - n,
  12705. t - r,
  12706. e - n,
  12707. t - r + o,
  12708. e - n,
  12709. t - r,
  12710. 3
  12711. )))
  12712. : (this.v.setTripleAt(
  12713. e + n,
  12714. t - r + a,
  12715. e + n,
  12716. t - r + o,
  12717. e + n,
  12718. t - r + a,
  12719. 0,
  12720. !0
  12721. ),
  12722. 0 !== a
  12723. ? (this.v.setTripleAt(
  12724. e + n - a,
  12725. t - r,
  12726. e + n - a,
  12727. t - r,
  12728. e + n - o,
  12729. t - r,
  12730. 1,
  12731. !0
  12732. ),
  12733. this.v.setTripleAt(
  12734. e - n + a,
  12735. t - r,
  12736. e - n + o,
  12737. t - r,
  12738. e - n + a,
  12739. t - r,
  12740. 2,
  12741. !0
  12742. ),
  12743. this.v.setTripleAt(
  12744. e - n,
  12745. t - r + a,
  12746. e - n,
  12747. t - r + a,
  12748. e - n,
  12749. t - r + o,
  12750. 3,
  12751. !0
  12752. ),
  12753. this.v.setTripleAt(
  12754. e - n,
  12755. t + r - a,
  12756. e - n,
  12757. t + r - o,
  12758. e - n,
  12759. t + r - a,
  12760. 4,
  12761. !0
  12762. ),
  12763. this.v.setTripleAt(
  12764. e - n + a,
  12765. t + r,
  12766. e - n + a,
  12767. t + r,
  12768. e - n + o,
  12769. t + r,
  12770. 5,
  12771. !0
  12772. ),
  12773. this.v.setTripleAt(
  12774. e + n - a,
  12775. t + r,
  12776. e + n - o,
  12777. t + r,
  12778. e + n - a,
  12779. t + r,
  12780. 6,
  12781. !0
  12782. ),
  12783. this.v.setTripleAt(
  12784. e + n,
  12785. t + r - a,
  12786. e + n,
  12787. t + r - a,
  12788. e + n,
  12789. t + r - o,
  12790. 7,
  12791. !0
  12792. ))
  12793. : (this.v.setTripleAt(
  12794. e - n,
  12795. t - r,
  12796. e - n + o,
  12797. t - r,
  12798. e - n,
  12799. t - r,
  12800. 1,
  12801. !0
  12802. ),
  12803. this.v.setTripleAt(
  12804. e - n,
  12805. t + r,
  12806. e - n,
  12807. t + r - o,
  12808. e - n,
  12809. t + r,
  12810. 2,
  12811. !0
  12812. ),
  12813. this.v.setTripleAt(
  12814. e + n,
  12815. t + r,
  12816. e + n - o,
  12817. t + r,
  12818. e + n,
  12819. t + r,
  12820. 3,
  12821. !0
  12822. )))
  12823. },
  12824. getValue: function () {
  12825. this.elem.globalData.frameId !== this.frameId &&
  12826. ((this.frameId = this.elem.globalData.frameId),
  12827. this.iterateDynamicProperties(),
  12828. this._mdf && this.convertRectToPath())
  12829. },
  12830. reset: r
  12831. }),
  12832. extendPrototype([DynamicPropertyContainer], e),
  12833. e
  12834. )
  12835. })(),
  12836. d = {
  12837. getShapeProp: function (e, t, n) {
  12838. var r
  12839. return (
  12840. 3 === n || 4 === n
  12841. ? (r = (3 === n ? t.pt : t.ks).k.length
  12842. ? new l(e, t, n)
  12843. : new i(e, t, n))
  12844. : 5 === n
  12845. ? (r = new p(e, t))
  12846. : 6 === n
  12847. ? (r = new c(e, t))
  12848. : 7 === n && (r = new u(e, t)),
  12849. r.k && e.addDynamicProperty(r),
  12850. r
  12851. )
  12852. },
  12853. getConstructorFunction: function () {
  12854. return i
  12855. },
  12856. getKeyframedConstructorFunction: function () {
  12857. return l
  12858. }
  12859. }
  12860. return d
  12861. })(),
  12862. Matrix = (function () {
  12863. var e = Math.cos,
  12864. t = Math.sin,
  12865. n = Math.tan,
  12866. r = Math.round
  12867. function a() {
  12868. return (
  12869. (this.props[0] = 1),
  12870. (this.props[1] = 0),
  12871. (this.props[2] = 0),
  12872. (this.props[3] = 0),
  12873. (this.props[4] = 0),
  12874. (this.props[5] = 1),
  12875. (this.props[6] = 0),
  12876. (this.props[7] = 0),
  12877. (this.props[8] = 0),
  12878. (this.props[9] = 0),
  12879. (this.props[10] = 1),
  12880. (this.props[11] = 0),
  12881. (this.props[12] = 0),
  12882. (this.props[13] = 0),
  12883. (this.props[14] = 0),
  12884. (this.props[15] = 1),
  12885. this
  12886. )
  12887. }
  12888. function o(n) {
  12889. if (0 === n) return this
  12890. var r = e(n),
  12891. a = t(n)
  12892. return this._t(r, -a, 0, 0, a, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  12893. }
  12894. function i(n) {
  12895. if (0 === n) return this
  12896. var r = e(n),
  12897. a = t(n)
  12898. return this._t(1, 0, 0, 0, 0, r, -a, 0, 0, a, r, 0, 0, 0, 0, 1)
  12899. }
  12900. function s(n) {
  12901. if (0 === n) return this
  12902. var r = e(n),
  12903. a = t(n)
  12904. return this._t(r, 0, a, 0, 0, 1, 0, 0, -a, 0, r, 0, 0, 0, 0, 1)
  12905. }
  12906. function l(n) {
  12907. if (0 === n) return this
  12908. var r = e(n),
  12909. a = t(n)
  12910. return this._t(r, -a, 0, 0, a, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  12911. }
  12912. function c(e, t) {
  12913. return this._t(1, t, e, 1, 0, 0)
  12914. }
  12915. function u(e, t) {
  12916. return this.shear(n(e), n(t))
  12917. }
  12918. function p(r, a) {
  12919. var o = e(a),
  12920. i = t(a)
  12921. return this._t(o, i, 0, 0, -i, o, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  12922. ._t(1, 0, 0, 0, n(r), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  12923. ._t(o, -i, 0, 0, i, o, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  12924. }
  12925. function d(e, t, n) {
  12926. return (
  12927. n || 0 === n || (n = 1),
  12928. 1 === e && 1 === t && 1 === n
  12929. ? this
  12930. : this._t(e, 0, 0, 0, 0, t, 0, 0, 0, 0, n, 0, 0, 0, 0, 1)
  12931. )
  12932. }
  12933. function f(e, t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
  12934. return (
  12935. (this.props[0] = e),
  12936. (this.props[1] = t),
  12937. (this.props[2] = n),
  12938. (this.props[3] = r),
  12939. (this.props[4] = a),
  12940. (this.props[5] = o),
  12941. (this.props[6] = i),
  12942. (this.props[7] = s),
  12943. (this.props[8] = l),
  12944. (this.props[9] = c),
  12945. (this.props[10] = u),
  12946. (this.props[11] = p),
  12947. (this.props[12] = d),
  12948. (this.props[13] = f),
  12949. (this.props[14] = h),
  12950. (this.props[15] = v),
  12951. this
  12952. )
  12953. }
  12954. function h(e, t, n) {
  12955. return (
  12956. (n = n || 0),
  12957. 0 !== e || 0 !== t || 0 !== n
  12958. ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, e, t, n, 1)
  12959. : this
  12960. )
  12961. }
  12962. function v(e, t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
  12963. var m = this.props
  12964. if (
  12965. 1 === e &&
  12966. 0 === t &&
  12967. 0 === n &&
  12968. 0 === r &&
  12969. 0 === a &&
  12970. 1 === o &&
  12971. 0 === i &&
  12972. 0 === s &&
  12973. 0 === l &&
  12974. 0 === c &&
  12975. 1 === u &&
  12976. 0 === p
  12977. )
  12978. return (
  12979. (m[12] = m[12] * e + m[15] * d),
  12980. (m[13] = m[13] * o + m[15] * f),
  12981. (m[14] = m[14] * u + m[15] * h),
  12982. (m[15] *= v),
  12983. (this._identityCalculated = !1),
  12984. this
  12985. )
  12986. var g = m[0],
  12987. y = m[1],
  12988. b = m[2],
  12989. _ = m[3],
  12990. A = m[4],
  12991. x = m[5],
  12992. w = m[6],
  12993. k = m[7],
  12994. S = m[8],
  12995. E = m[9],
  12996. P = m[10],
  12997. C = m[11],
  12998. T = m[12],
  12999. I = m[13],
  13000. R = m[14],
  13001. M = m[15]
  13002. return (
  13003. (m[0] = g * e + y * a + b * l + _ * d),
  13004. (m[1] = g * t + y * o + b * c + _ * f),
  13005. (m[2] = g * n + y * i + b * u + _ * h),
  13006. (m[3] = g * r + y * s + b * p + _ * v),
  13007. (m[4] = A * e + x * a + w * l + k * d),
  13008. (m[5] = A * t + x * o + w * c + k * f),
  13009. (m[6] = A * n + x * i + w * u + k * h),
  13010. (m[7] = A * r + x * s + w * p + k * v),
  13011. (m[8] = S * e + E * a + P * l + C * d),
  13012. (m[9] = S * t + E * o + P * c + C * f),
  13013. (m[10] = S * n + E * i + P * u + C * h),
  13014. (m[11] = S * r + E * s + P * p + C * v),
  13015. (m[12] = T * e + I * a + R * l + M * d),
  13016. (m[13] = T * t + I * o + R * c + M * f),
  13017. (m[14] = T * n + I * i + R * u + M * h),
  13018. (m[15] = T * r + I * s + R * p + M * v),
  13019. (this._identityCalculated = !1),
  13020. this
  13021. )
  13022. }
  13023. function m() {
  13024. return (
  13025. this._identityCalculated ||
  13026. ((this._identity = !(
  13027. 1 !== this.props[0] ||
  13028. 0 !== this.props[1] ||
  13029. 0 !== this.props[2] ||
  13030. 0 !== this.props[3] ||
  13031. 0 !== this.props[4] ||
  13032. 1 !== this.props[5] ||
  13033. 0 !== this.props[6] ||
  13034. 0 !== this.props[7] ||
  13035. 0 !== this.props[8] ||
  13036. 0 !== this.props[9] ||
  13037. 1 !== this.props[10] ||
  13038. 0 !== this.props[11] ||
  13039. 0 !== this.props[12] ||
  13040. 0 !== this.props[13] ||
  13041. 0 !== this.props[14] ||
  13042. 1 !== this.props[15]
  13043. )),
  13044. (this._identityCalculated = !0)),
  13045. this._identity
  13046. )
  13047. }
  13048. function g(e) {
  13049. for (var t = 0; t < 16; ) {
  13050. if (e.props[t] !== this.props[t]) return !1
  13051. t += 1
  13052. }
  13053. return !0
  13054. }
  13055. function y(e) {
  13056. var t
  13057. for (t = 0; t < 16; t += 1) e.props[t] = this.props[t]
  13058. return e
  13059. }
  13060. function b(e) {
  13061. var t
  13062. for (t = 0; t < 16; t += 1) this.props[t] = e[t]
  13063. }
  13064. function _(e, t, n) {
  13065. return {
  13066. x:
  13067. e * this.props[0] +
  13068. t * this.props[4] +
  13069. n * this.props[8] +
  13070. this.props[12],
  13071. y:
  13072. e * this.props[1] +
  13073. t * this.props[5] +
  13074. n * this.props[9] +
  13075. this.props[13],
  13076. z:
  13077. e * this.props[2] +
  13078. t * this.props[6] +
  13079. n * this.props[10] +
  13080. this.props[14]
  13081. }
  13082. }
  13083. function A(e, t, n) {
  13084. return (
  13085. e * this.props[0] + t * this.props[4] + n * this.props[8] + this.props[12]
  13086. )
  13087. }
  13088. function x(e, t, n) {
  13089. return (
  13090. e * this.props[1] + t * this.props[5] + n * this.props[9] + this.props[13]
  13091. )
  13092. }
  13093. function w(e, t, n) {
  13094. return (
  13095. e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14]
  13096. )
  13097. }
  13098. function k() {
  13099. var e = this.props[0] * this.props[5] - this.props[1] * this.props[4],
  13100. t = this.props[5] / e,
  13101. n = -this.props[1] / e,
  13102. r = -this.props[4] / e,
  13103. a = this.props[0] / e,
  13104. o = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / e,
  13105. i = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / e,
  13106. s = new Matrix()
  13107. return (
  13108. (s.props[0] = t),
  13109. (s.props[1] = n),
  13110. (s.props[4] = r),
  13111. (s.props[5] = a),
  13112. (s.props[12] = o),
  13113. (s.props[13] = i),
  13114. s
  13115. )
  13116. }
  13117. function S(e) {
  13118. return this.getInverseMatrix().applyToPointArray(e[0], e[1], e[2] || 0)
  13119. }
  13120. function E(e) {
  13121. var t,
  13122. n = e.length,
  13123. r = []
  13124. for (t = 0; t < n; t += 1) r[t] = S(e[t])
  13125. return r
  13126. }
  13127. function P(e, t, n) {
  13128. var r = createTypedArray('float32', 6)
  13129. if (this.isIdentity())
  13130. (r[0] = e[0]),
  13131. (r[1] = e[1]),
  13132. (r[2] = t[0]),
  13133. (r[3] = t[1]),
  13134. (r[4] = n[0]),
  13135. (r[5] = n[1])
  13136. else {
  13137. var a = this.props[0],
  13138. o = this.props[1],
  13139. i = this.props[4],
  13140. s = this.props[5],
  13141. l = this.props[12],
  13142. c = this.props[13]
  13143. ;(r[0] = e[0] * a + e[1] * i + l),
  13144. (r[1] = e[0] * o + e[1] * s + c),
  13145. (r[2] = t[0] * a + t[1] * i + l),
  13146. (r[3] = t[0] * o + t[1] * s + c),
  13147. (r[4] = n[0] * a + n[1] * i + l),
  13148. (r[5] = n[0] * o + n[1] * s + c)
  13149. }
  13150. return r
  13151. }
  13152. function C(e, t, n) {
  13153. return this.isIdentity()
  13154. ? [e, t, n]
  13155. : [
  13156. e * this.props[0] +
  13157. t * this.props[4] +
  13158. n * this.props[8] +
  13159. this.props[12],
  13160. e * this.props[1] +
  13161. t * this.props[5] +
  13162. n * this.props[9] +
  13163. this.props[13],
  13164. e * this.props[2] +
  13165. t * this.props[6] +
  13166. n * this.props[10] +
  13167. this.props[14]
  13168. ]
  13169. }
  13170. function T(e, t) {
  13171. if (this.isIdentity()) return e + ',' + t
  13172. var n = this.props
  13173. return (
  13174. Math.round(100 * (e * n[0] + t * n[4] + n[12])) / 100 +
  13175. ',' +
  13176. Math.round(100 * (e * n[1] + t * n[5] + n[13])) / 100
  13177. )
  13178. }
  13179. function I() {
  13180. for (var e = 0, t = this.props, n = 'matrix3d('; e < 16; )
  13181. (n += r(1e4 * t[e]) / 1e4), (n += 15 === e ? ')' : ','), (e += 1)
  13182. return n
  13183. }
  13184. function R(e) {
  13185. return (e < 1e-6 && e > 0) || (e > -1e-6 && e < 0) ? r(1e4 * e) / 1e4 : e
  13186. }
  13187. function M() {
  13188. var e = this.props
  13189. return (
  13190. 'matrix(' +
  13191. R(e[0]) +
  13192. ',' +
  13193. R(e[1]) +
  13194. ',' +
  13195. R(e[4]) +
  13196. ',' +
  13197. R(e[5]) +
  13198. ',' +
  13199. R(e[12]) +
  13200. ',' +
  13201. R(e[13]) +
  13202. ')'
  13203. )
  13204. }
  13205. return function () {
  13206. ;(this.reset = a),
  13207. (this.rotate = o),
  13208. (this.rotateX = i),
  13209. (this.rotateY = s),
  13210. (this.rotateZ = l),
  13211. (this.skew = u),
  13212. (this.skewFromAxis = p),
  13213. (this.shear = c),
  13214. (this.scale = d),
  13215. (this.setTransform = f),
  13216. (this.translate = h),
  13217. (this.transform = v),
  13218. (this.applyToPoint = _),
  13219. (this.applyToX = A),
  13220. (this.applyToY = x),
  13221. (this.applyToZ = w),
  13222. (this.applyToPointArray = C),
  13223. (this.applyToTriplePoints = P),
  13224. (this.applyToPointStringified = T),
  13225. (this.toCSS = I),
  13226. (this.to2dCSS = M),
  13227. (this.clone = y),
  13228. (this.cloneFromProps = b),
  13229. (this.equals = g),
  13230. (this.inversePoints = E),
  13231. (this.inversePoint = S),
  13232. (this.getInverseMatrix = k),
  13233. (this._t = this.transform),
  13234. (this.isIdentity = m),
  13235. (this._identity = !0),
  13236. (this._identityCalculated = !1),
  13237. (this.props = createTypedArray('float32', 16)),
  13238. this.reset()
  13239. }
  13240. })()
  13241. function _typeof$3(e) {
  13242. return (
  13243. (_typeof$3 =
  13244. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  13245. ? function (e) {
  13246. return typeof e
  13247. }
  13248. : function (e) {
  13249. return e &&
  13250. 'function' == typeof Symbol &&
  13251. e.constructor === Symbol &&
  13252. e !== Symbol.prototype
  13253. ? 'symbol'
  13254. : typeof e
  13255. }),
  13256. _typeof$3(e)
  13257. )
  13258. }
  13259. var lottie = {}
  13260. function setLocation(e) {
  13261. setLocationHref(e)
  13262. }
  13263. function searchAnimations() {
  13264. animationManager.searchAnimations()
  13265. }
  13266. function setSubframeRendering(e) {
  13267. setSubframeEnabled(e)
  13268. }
  13269. function setPrefix(e) {
  13270. setIdPrefix(e)
  13271. }
  13272. function loadAnimation(e) {
  13273. return animationManager.loadAnimation(e)
  13274. }
  13275. function setQuality(e) {
  13276. if ('string' == typeof e)
  13277. switch (e) {
  13278. case 'high':
  13279. setDefaultCurveSegments(200)
  13280. break
  13281. default:
  13282. case 'medium':
  13283. setDefaultCurveSegments(50)
  13284. break
  13285. case 'low':
  13286. setDefaultCurveSegments(10)
  13287. }
  13288. else !isNaN(e) && e > 1 && setDefaultCurveSegments(e)
  13289. }
  13290. function inBrowser() {
  13291. return 'undefined' != typeof navigator
  13292. }
  13293. function installPlugin(e, t) {
  13294. 'expressions' === e && setExpressionsPlugin(t)
  13295. }
  13296. function getFactory(e) {
  13297. switch (e) {
  13298. case 'propertyFactory':
  13299. return PropertyFactory
  13300. case 'shapePropertyFactory':
  13301. return ShapePropertyFactory
  13302. case 'matrix':
  13303. return Matrix
  13304. default:
  13305. return null
  13306. }
  13307. }
  13308. function checkReady() {
  13309. 'complete' === document.readyState &&
  13310. (clearInterval(readyStateCheckInterval), searchAnimations())
  13311. }
  13312. function getQueryVariable(e) {
  13313. for (var t = queryString.split('&'), n = 0; n < t.length; n += 1) {
  13314. var r = t[n].split('=')
  13315. if (decodeURIComponent(r[0]) == e) return decodeURIComponent(r[1])
  13316. }
  13317. return null
  13318. }
  13319. ;(lottie.play = animationManager.play),
  13320. (lottie.pause = animationManager.pause),
  13321. (lottie.setLocationHref = setLocation),
  13322. (lottie.togglePause = animationManager.togglePause),
  13323. (lottie.setSpeed = animationManager.setSpeed),
  13324. (lottie.setDirection = animationManager.setDirection),
  13325. (lottie.stop = animationManager.stop),
  13326. (lottie.searchAnimations = searchAnimations),
  13327. (lottie.registerAnimation = animationManager.registerAnimation),
  13328. (lottie.loadAnimation = loadAnimation),
  13329. (lottie.setSubframeRendering = setSubframeRendering),
  13330. (lottie.resize = animationManager.resize),
  13331. (lottie.goToAndStop = animationManager.goToAndStop),
  13332. (lottie.destroy = animationManager.destroy),
  13333. (lottie.setQuality = setQuality),
  13334. (lottie.inBrowser = inBrowser),
  13335. (lottie.installPlugin = installPlugin),
  13336. (lottie.freeze = animationManager.freeze),
  13337. (lottie.unfreeze = animationManager.unfreeze),
  13338. (lottie.setVolume = animationManager.setVolume),
  13339. (lottie.mute = animationManager.mute),
  13340. (lottie.unmute = animationManager.unmute),
  13341. (lottie.getRegisteredAnimations = animationManager.getRegisteredAnimations),
  13342. (lottie.useWebWorker = setWebWorker),
  13343. (lottie.setIDPrefix = setPrefix),
  13344. (lottie.__getFactory = getFactory),
  13345. (lottie.version = '5.9.6')
  13346. var queryString = '',
  13347. scripts = document.getElementsByTagName('script'),
  13348. index = scripts.length - 1,
  13349. myScript = scripts[index] || { src: '' }
  13350. ;(queryString = myScript.src ? myScript.src.replace(/^[^\?]+\??/, '') : ''),
  13351. getQueryVariable('renderer')
  13352. var readyStateCheckInterval = setInterval(checkReady, 100)
  13353. try {
  13354. 'object' !== _typeof$3(exports$1) && (window.bodymovin = lottie)
  13355. } catch (err) {}
  13356. var ShapeModifiers = (function () {
  13357. var e = {},
  13358. t = {}
  13359. return (
  13360. (e.registerModifier = function (e, n) {
  13361. t[e] || (t[e] = n)
  13362. }),
  13363. (e.getModifier = function (e, n, r) {
  13364. return new t[e](n, r)
  13365. }),
  13366. e
  13367. )
  13368. })()
  13369. function ShapeModifier() {}
  13370. function TrimModifier() {}
  13371. function PuckerAndBloatModifier() {}
  13372. ;(ShapeModifier.prototype.initModifierProperties = function () {}),
  13373. (ShapeModifier.prototype.addShapeToModifier = function () {}),
  13374. (ShapeModifier.prototype.addShape = function (e) {
  13375. if (!this.closed) {
  13376. e.sh.container.addDynamicProperty(e.sh)
  13377. var t = {
  13378. shape: e.sh,
  13379. data: e,
  13380. localShapeCollection: shapeCollectionPool.newShapeCollection()
  13381. }
  13382. this.shapes.push(t),
  13383. this.addShapeToModifier(t),
  13384. this._isAnimated && e.setAsAnimated()
  13385. }
  13386. }),
  13387. (ShapeModifier.prototype.init = function (e, t) {
  13388. ;(this.shapes = []),
  13389. (this.elem = e),
  13390. this.initDynamicPropertyContainer(e),
  13391. this.initModifierProperties(e, t),
  13392. (this.frameId = initialDefaultFrame),
  13393. (this.closed = !1),
  13394. (this.k = !1),
  13395. this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0)
  13396. }),
  13397. (ShapeModifier.prototype.processKeys = function () {
  13398. this.elem.globalData.frameId !== this.frameId &&
  13399. ((this.frameId = this.elem.globalData.frameId),
  13400. this.iterateDynamicProperties())
  13401. }),
  13402. extendPrototype([DynamicPropertyContainer], ShapeModifier),
  13403. extendPrototype([ShapeModifier], TrimModifier),
  13404. (TrimModifier.prototype.initModifierProperties = function (e, t) {
  13405. ;(this.s = PropertyFactory.getProp(e, t.s, 0, 0.01, this)),
  13406. (this.e = PropertyFactory.getProp(e, t.e, 0, 0.01, this)),
  13407. (this.o = PropertyFactory.getProp(e, t.o, 0, 0, this)),
  13408. (this.sValue = 0),
  13409. (this.eValue = 0),
  13410. (this.getValue = this.processKeys),
  13411. (this.m = t.m),
  13412. (this._isAnimated =
  13413. !!this.s.effectsSequence.length ||
  13414. !!this.e.effectsSequence.length ||
  13415. !!this.o.effectsSequence.length)
  13416. }),
  13417. (TrimModifier.prototype.addShapeToModifier = function (e) {
  13418. e.pathsData = []
  13419. }),
  13420. (TrimModifier.prototype.calculateShapeEdges = function (e, t, n, r, a) {
  13421. var o = []
  13422. t <= 1
  13423. ? o.push({ s: e, e: t })
  13424. : e >= 1
  13425. ? o.push({ s: e - 1, e: t - 1 })
  13426. : (o.push({ s: e, e: 1 }), o.push({ s: 0, e: t - 1 }))
  13427. var i,
  13428. s,
  13429. l = [],
  13430. c = o.length
  13431. for (i = 0; i < c; i += 1) {
  13432. var u, p
  13433. ;(s = o[i]).e * a < r ||
  13434. s.s * a > r + n ||
  13435. ((u = s.s * a <= r ? 0 : (s.s * a - r) / n),
  13436. (p = s.e * a >= r + n ? 1 : (s.e * a - r) / n),
  13437. l.push([u, p]))
  13438. }
  13439. return l.length || l.push([0, 0]), l
  13440. }),
  13441. (TrimModifier.prototype.releasePathsData = function (e) {
  13442. var t,
  13443. n = e.length
  13444. for (t = 0; t < n; t += 1) segmentsLengthPool.release(e[t])
  13445. return (e.length = 0), e
  13446. }),
  13447. (TrimModifier.prototype.processShapes = function (e) {
  13448. var t, n, r, a
  13449. if (this._mdf || e) {
  13450. var o = (this.o.v % 360) / 360
  13451. if (
  13452. (o < 0 && (o += 1),
  13453. (t = this.s.v > 1 ? 1 + o : this.s.v < 0 ? 0 + o : this.s.v + o) >
  13454. (n = this.e.v > 1 ? 1 + o : this.e.v < 0 ? 0 + o : this.e.v + o))
  13455. ) {
  13456. var i = t
  13457. ;(t = n), (n = i)
  13458. }
  13459. ;(t = 1e-4 * Math.round(1e4 * t)),
  13460. (n = 1e-4 * Math.round(1e4 * n)),
  13461. (this.sValue = t),
  13462. (this.eValue = n)
  13463. } else (t = this.sValue), (n = this.eValue)
  13464. var s,
  13465. l,
  13466. c,
  13467. u,
  13468. p,
  13469. d = this.shapes.length,
  13470. f = 0
  13471. if (n === t)
  13472. for (a = 0; a < d; a += 1)
  13473. this.shapes[a].localShapeCollection.releaseShapes(),
  13474. (this.shapes[a].shape._mdf = !0),
  13475. (this.shapes[a].shape.paths = this.shapes[a].localShapeCollection),
  13476. this._mdf && (this.shapes[a].pathsData.length = 0)
  13477. else if ((1 === n && 0 === t) || (0 === n && 1 === t)) {
  13478. if (this._mdf)
  13479. for (a = 0; a < d; a += 1)
  13480. (this.shapes[a].pathsData.length = 0), (this.shapes[a].shape._mdf = !0)
  13481. } else {
  13482. var h,
  13483. v,
  13484. m = []
  13485. for (a = 0; a < d; a += 1)
  13486. if ((h = this.shapes[a]).shape._mdf || this._mdf || e || 2 === this.m) {
  13487. if (
  13488. ((l = (r = h.shape.paths)._length),
  13489. (p = 0),
  13490. !h.shape._mdf && h.pathsData.length)
  13491. )
  13492. p = h.totalShapeLength
  13493. else {
  13494. for (c = this.releasePathsData(h.pathsData), s = 0; s < l; s += 1)
  13495. (u = bez.getSegmentsLength(r.shapes[s])),
  13496. c.push(u),
  13497. (p += u.totalLength)
  13498. ;(h.totalShapeLength = p), (h.pathsData = c)
  13499. }
  13500. ;(f += p), (h.shape._mdf = !0)
  13501. } else h.shape.paths = h.localShapeCollection
  13502. var g,
  13503. y = t,
  13504. b = n,
  13505. _ = 0
  13506. for (a = d - 1; a >= 0; a -= 1)
  13507. if ((h = this.shapes[a]).shape._mdf) {
  13508. for (
  13509. (v = h.localShapeCollection).releaseShapes(),
  13510. 2 === this.m && d > 1
  13511. ? ((g = this.calculateShapeEdges(t, n, h.totalShapeLength, _, f)),
  13512. (_ += h.totalShapeLength))
  13513. : (g = [[y, b]]),
  13514. l = g.length,
  13515. s = 0;
  13516. s < l;
  13517. s += 1
  13518. ) {
  13519. ;(y = g[s][0]),
  13520. (b = g[s][1]),
  13521. (m.length = 0),
  13522. b <= 1
  13523. ? m.push({ s: h.totalShapeLength * y, e: h.totalShapeLength * b })
  13524. : y >= 1
  13525. ? m.push({
  13526. s: h.totalShapeLength * (y - 1),
  13527. e: h.totalShapeLength * (b - 1)
  13528. })
  13529. : (m.push({ s: h.totalShapeLength * y, e: h.totalShapeLength }),
  13530. m.push({ s: 0, e: h.totalShapeLength * (b - 1) }))
  13531. var A = this.addShapes(h, m[0])
  13532. if (m[0].s !== m[0].e) {
  13533. if (m.length > 1)
  13534. if (h.shape.paths.shapes[h.shape.paths._length - 1].c) {
  13535. var x = A.pop()
  13536. this.addPaths(A, v), (A = this.addShapes(h, m[1], x))
  13537. } else this.addPaths(A, v), (A = this.addShapes(h, m[1]))
  13538. this.addPaths(A, v)
  13539. }
  13540. }
  13541. h.shape.paths = v
  13542. }
  13543. }
  13544. }),
  13545. (TrimModifier.prototype.addPaths = function (e, t) {
  13546. var n,
  13547. r = e.length
  13548. for (n = 0; n < r; n += 1) t.addShape(e[n])
  13549. }),
  13550. (TrimModifier.prototype.addSegment = function (e, t, n, r, a, o, i) {
  13551. a.setXYAt(t[0], t[1], 'o', o),
  13552. a.setXYAt(n[0], n[1], 'i', o + 1),
  13553. i && a.setXYAt(e[0], e[1], 'v', o),
  13554. a.setXYAt(r[0], r[1], 'v', o + 1)
  13555. }),
  13556. (TrimModifier.prototype.addSegmentFromArray = function (e, t, n, r) {
  13557. t.setXYAt(e[1], e[5], 'o', n),
  13558. t.setXYAt(e[2], e[6], 'i', n + 1),
  13559. r && t.setXYAt(e[0], e[4], 'v', n),
  13560. t.setXYAt(e[3], e[7], 'v', n + 1)
  13561. }),
  13562. (TrimModifier.prototype.addShapes = function (e, t, n) {
  13563. var r,
  13564. a,
  13565. o,
  13566. i,
  13567. s,
  13568. l,
  13569. c,
  13570. u,
  13571. p = e.pathsData,
  13572. d = e.shape.paths.shapes,
  13573. f = e.shape.paths._length,
  13574. h = 0,
  13575. v = [],
  13576. m = !0
  13577. for (
  13578. n
  13579. ? ((s = n._length), (u = n._length))
  13580. : ((n = shapePool.newElement()), (s = 0), (u = 0)),
  13581. v.push(n),
  13582. r = 0;
  13583. r < f;
  13584. r += 1
  13585. ) {
  13586. for (
  13587. l = p[r].lengths, n.c = d[r].c, o = d[r].c ? l.length : l.length + 1, a = 1;
  13588. a < o;
  13589. a += 1
  13590. )
  13591. if (h + (i = l[a - 1]).addedLength < t.s) (h += i.addedLength), (n.c = !1)
  13592. else {
  13593. if (h > t.e) {
  13594. n.c = !1
  13595. break
  13596. }
  13597. t.s <= h && t.e >= h + i.addedLength
  13598. ? (this.addSegment(
  13599. d[r].v[a - 1],
  13600. d[r].o[a - 1],
  13601. d[r].i[a],
  13602. d[r].v[a],
  13603. n,
  13604. s,
  13605. m
  13606. ),
  13607. (m = !1))
  13608. : ((c = bez.getNewSegment(
  13609. d[r].v[a - 1],
  13610. d[r].v[a],
  13611. d[r].o[a - 1],
  13612. d[r].i[a],
  13613. (t.s - h) / i.addedLength,
  13614. (t.e - h) / i.addedLength,
  13615. l[a - 1]
  13616. )),
  13617. this.addSegmentFromArray(c, n, s, m),
  13618. (m = !1),
  13619. (n.c = !1)),
  13620. (h += i.addedLength),
  13621. (s += 1)
  13622. }
  13623. if (d[r].c && l.length) {
  13624. if (((i = l[a - 1]), h <= t.e)) {
  13625. var g = l[a - 1].addedLength
  13626. t.s <= h && t.e >= h + g
  13627. ? (this.addSegment(
  13628. d[r].v[a - 1],
  13629. d[r].o[a - 1],
  13630. d[r].i[0],
  13631. d[r].v[0],
  13632. n,
  13633. s,
  13634. m
  13635. ),
  13636. (m = !1))
  13637. : ((c = bez.getNewSegment(
  13638. d[r].v[a - 1],
  13639. d[r].v[0],
  13640. d[r].o[a - 1],
  13641. d[r].i[0],
  13642. (t.s - h) / g,
  13643. (t.e - h) / g,
  13644. l[a - 1]
  13645. )),
  13646. this.addSegmentFromArray(c, n, s, m),
  13647. (m = !1),
  13648. (n.c = !1))
  13649. } else n.c = !1
  13650. ;(h += i.addedLength), (s += 1)
  13651. }
  13652. if (
  13653. (n._length &&
  13654. (n.setXYAt(n.v[u][0], n.v[u][1], 'i', u),
  13655. n.setXYAt(
  13656. n.v[n._length - 1][0],
  13657. n.v[n._length - 1][1],
  13658. 'o',
  13659. n._length - 1
  13660. )),
  13661. h > t.e)
  13662. )
  13663. break
  13664. r < f - 1 && ((n = shapePool.newElement()), (m = !0), v.push(n), (s = 0))
  13665. }
  13666. return v
  13667. }),
  13668. extendPrototype([ShapeModifier], PuckerAndBloatModifier),
  13669. (PuckerAndBloatModifier.prototype.initModifierProperties = function (e, t) {
  13670. ;(this.getValue = this.processKeys),
  13671. (this.amount = PropertyFactory.getProp(e, t.a, 0, null, this)),
  13672. (this._isAnimated = !!this.amount.effectsSequence.length)
  13673. }),
  13674. (PuckerAndBloatModifier.prototype.processPath = function (e, t) {
  13675. var n = t / 100,
  13676. r = [0, 0],
  13677. a = e._length,
  13678. o = 0
  13679. for (o = 0; o < a; o += 1) (r[0] += e.v[o][0]), (r[1] += e.v[o][1])
  13680. ;(r[0] /= a), (r[1] /= a)
  13681. var i,
  13682. s,
  13683. l,
  13684. c,
  13685. u,
  13686. p,
  13687. d = shapePool.newElement()
  13688. for (d.c = e.c, o = 0; o < a; o += 1)
  13689. (i = e.v[o][0] + (r[0] - e.v[o][0]) * n),
  13690. (s = e.v[o][1] + (r[1] - e.v[o][1]) * n),
  13691. (l = e.o[o][0] + (r[0] - e.o[o][0]) * -n),
  13692. (c = e.o[o][1] + (r[1] - e.o[o][1]) * -n),
  13693. (u = e.i[o][0] + (r[0] - e.i[o][0]) * -n),
  13694. (p = e.i[o][1] + (r[1] - e.i[o][1]) * -n),
  13695. d.setTripleAt(i, s, l, c, u, p, o)
  13696. return d
  13697. }),
  13698. (PuckerAndBloatModifier.prototype.processShapes = function (e) {
  13699. var t,
  13700. n,
  13701. r,
  13702. a,
  13703. o,
  13704. i,
  13705. s = this.shapes.length,
  13706. l = this.amount.v
  13707. if (0 !== l)
  13708. for (n = 0; n < s; n += 1) {
  13709. if (
  13710. ((i = (o = this.shapes[n]).localShapeCollection),
  13711. o.shape._mdf || this._mdf || e)
  13712. )
  13713. for (
  13714. i.releaseShapes(),
  13715. o.shape._mdf = !0,
  13716. t = o.shape.paths.shapes,
  13717. a = o.shape.paths._length,
  13718. r = 0;
  13719. r < a;
  13720. r += 1
  13721. )
  13722. i.addShape(this.processPath(t[r], l))
  13723. o.shape.paths = o.localShapeCollection
  13724. }
  13725. this.dynamicProperties.length || (this._mdf = !1)
  13726. })
  13727. var TransformPropertyFactory = (function () {
  13728. var e = [0, 0]
  13729. function t(e, t, n) {
  13730. if (
  13731. ((this.elem = e),
  13732. (this.frameId = -1),
  13733. (this.propType = 'transform'),
  13734. (this.data = t),
  13735. (this.v = new Matrix()),
  13736. (this.pre = new Matrix()),
  13737. (this.appliedTransformations = 0),
  13738. this.initDynamicPropertyContainer(n || e),
  13739. t.p && t.p.s
  13740. ? ((this.px = PropertyFactory.getProp(e, t.p.x, 0, 0, this)),
  13741. (this.py = PropertyFactory.getProp(e, t.p.y, 0, 0, this)),
  13742. t.p.z && (this.pz = PropertyFactory.getProp(e, t.p.z, 0, 0, this)))
  13743. : (this.p = PropertyFactory.getProp(
  13744. e,
  13745. t.p || { k: [0, 0, 0] },
  13746. 1,
  13747. 0,
  13748. this
  13749. )),
  13750. t.rx)
  13751. ) {
  13752. if (
  13753. ((this.rx = PropertyFactory.getProp(e, t.rx, 0, degToRads, this)),
  13754. (this.ry = PropertyFactory.getProp(e, t.ry, 0, degToRads, this)),
  13755. (this.rz = PropertyFactory.getProp(e, t.rz, 0, degToRads, this)),
  13756. t.or.k[0].ti)
  13757. ) {
  13758. var r,
  13759. a = t.or.k.length
  13760. for (r = 0; r < a; r += 1) (t.or.k[r].to = null), (t.or.k[r].ti = null)
  13761. }
  13762. ;(this.or = PropertyFactory.getProp(e, t.or, 1, degToRads, this)),
  13763. (this.or.sh = !0)
  13764. } else this.r = PropertyFactory.getProp(e, t.r || { k: 0 }, 0, degToRads, this)
  13765. t.sk &&
  13766. ((this.sk = PropertyFactory.getProp(e, t.sk, 0, degToRads, this)),
  13767. (this.sa = PropertyFactory.getProp(e, t.sa, 0, degToRads, this))),
  13768. (this.a = PropertyFactory.getProp(e, t.a || { k: [0, 0, 0] }, 1, 0, this)),
  13769. (this.s = PropertyFactory.getProp(
  13770. e,
  13771. t.s || { k: [100, 100, 100] },
  13772. 1,
  13773. 0.01,
  13774. this
  13775. )),
  13776. t.o
  13777. ? (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, e))
  13778. : (this.o = { _mdf: !1, v: 1 }),
  13779. (this._isDirty = !0),
  13780. this.dynamicProperties.length || this.getValue(!0)
  13781. }
  13782. return (
  13783. (t.prototype = {
  13784. applyToMatrix: function (e) {
  13785. var t = this._mdf
  13786. this.iterateDynamicProperties(),
  13787. (this._mdf = this._mdf || t),
  13788. this.a && e.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
  13789. this.s && e.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
  13790. this.sk && e.skewFromAxis(-this.sk.v, this.sa.v),
  13791. this.r
  13792. ? e.rotate(-this.r.v)
  13793. : e
  13794. .rotateZ(-this.rz.v)
  13795. .rotateY(this.ry.v)
  13796. .rotateX(this.rx.v)
  13797. .rotateZ(-this.or.v[2])
  13798. .rotateY(this.or.v[1])
  13799. .rotateX(this.or.v[0]),
  13800. this.data.p.s
  13801. ? this.data.p.z
  13802. ? e.translate(this.px.v, this.py.v, -this.pz.v)
  13803. : e.translate(this.px.v, this.py.v, 0)
  13804. : e.translate(this.p.v[0], this.p.v[1], -this.p.v[2])
  13805. },
  13806. getValue: function (t) {
  13807. if (this.elem.globalData.frameId !== this.frameId) {
  13808. if (
  13809. (this._isDirty && (this.precalculateMatrix(), (this._isDirty = !1)),
  13810. this.iterateDynamicProperties(),
  13811. this._mdf || t)
  13812. ) {
  13813. var n
  13814. if (
  13815. (this.v.cloneFromProps(this.pre.props),
  13816. this.appliedTransformations < 1 &&
  13817. this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
  13818. this.appliedTransformations < 2 &&
  13819. this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
  13820. this.sk &&
  13821. this.appliedTransformations < 3 &&
  13822. this.v.skewFromAxis(-this.sk.v, this.sa.v),
  13823. this.r && this.appliedTransformations < 4
  13824. ? this.v.rotate(-this.r.v)
  13825. : !this.r &&
  13826. this.appliedTransformations < 4 &&
  13827. this.v
  13828. .rotateZ(-this.rz.v)
  13829. .rotateY(this.ry.v)
  13830. .rotateX(this.rx.v)
  13831. .rotateZ(-this.or.v[2])
  13832. .rotateY(this.or.v[1])
  13833. .rotateX(this.or.v[0]),
  13834. this.autoOriented)
  13835. ) {
  13836. var r, a
  13837. if (
  13838. ((n = this.elem.globalData.frameRate),
  13839. this.p && this.p.keyframes && this.p.getValueAtTime)
  13840. )
  13841. this.p._caching.lastFrame + this.p.offsetTime <=
  13842. this.p.keyframes[0].t
  13843. ? ((r = this.p.getValueAtTime(
  13844. (this.p.keyframes[0].t + 0.01) / n,
  13845. 0
  13846. )),
  13847. (a = this.p.getValueAtTime(this.p.keyframes[0].t / n, 0)))
  13848. : this.p._caching.lastFrame + this.p.offsetTime >=
  13849. this.p.keyframes[this.p.keyframes.length - 1].t
  13850. ? ((r = this.p.getValueAtTime(
  13851. this.p.keyframes[this.p.keyframes.length - 1].t / n,
  13852. 0
  13853. )),
  13854. (a = this.p.getValueAtTime(
  13855. (this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / n,
  13856. 0
  13857. )))
  13858. : ((r = this.p.pv),
  13859. (a = this.p.getValueAtTime(
  13860. (this.p._caching.lastFrame + this.p.offsetTime - 0.01) / n,
  13861. this.p.offsetTime
  13862. )))
  13863. else if (
  13864. this.px &&
  13865. this.px.keyframes &&
  13866. this.py.keyframes &&
  13867. this.px.getValueAtTime &&
  13868. this.py.getValueAtTime
  13869. ) {
  13870. ;(r = []), (a = [])
  13871. var o = this.px,
  13872. i = this.py
  13873. o._caching.lastFrame + o.offsetTime <= o.keyframes[0].t
  13874. ? ((r[0] = o.getValueAtTime((o.keyframes[0].t + 0.01) / n, 0)),
  13875. (r[1] = i.getValueAtTime((i.keyframes[0].t + 0.01) / n, 0)),
  13876. (a[0] = o.getValueAtTime(o.keyframes[0].t / n, 0)),
  13877. (a[1] = i.getValueAtTime(i.keyframes[0].t / n, 0)))
  13878. : o._caching.lastFrame + o.offsetTime >=
  13879. o.keyframes[o.keyframes.length - 1].t
  13880. ? ((r[0] = o.getValueAtTime(
  13881. o.keyframes[o.keyframes.length - 1].t / n,
  13882. 0
  13883. )),
  13884. (r[1] = i.getValueAtTime(
  13885. i.keyframes[i.keyframes.length - 1].t / n,
  13886. 0
  13887. )),
  13888. (a[0] = o.getValueAtTime(
  13889. (o.keyframes[o.keyframes.length - 1].t - 0.01) / n,
  13890. 0
  13891. )),
  13892. (a[1] = i.getValueAtTime(
  13893. (i.keyframes[i.keyframes.length - 1].t - 0.01) / n,
  13894. 0
  13895. )))
  13896. : ((r = [o.pv, i.pv]),
  13897. (a[0] = o.getValueAtTime(
  13898. (o._caching.lastFrame + o.offsetTime - 0.01) / n,
  13899. o.offsetTime
  13900. )),
  13901. (a[1] = i.getValueAtTime(
  13902. (i._caching.lastFrame + i.offsetTime - 0.01) / n,
  13903. i.offsetTime
  13904. )))
  13905. } else r = a = e
  13906. this.v.rotate(-Math.atan2(r[1] - a[1], r[0] - a[0]))
  13907. }
  13908. this.data.p && this.data.p.s
  13909. ? this.data.p.z
  13910. ? this.v.translate(this.px.v, this.py.v, -this.pz.v)
  13911. : this.v.translate(this.px.v, this.py.v, 0)
  13912. : this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2])
  13913. }
  13914. this.frameId = this.elem.globalData.frameId
  13915. }
  13916. },
  13917. precalculateMatrix: function () {
  13918. if (
  13919. !this.a.k &&
  13920. (this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
  13921. (this.appliedTransformations = 1),
  13922. !this.s.effectsSequence.length)
  13923. ) {
  13924. if (
  13925. (this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
  13926. (this.appliedTransformations = 2),
  13927. this.sk)
  13928. ) {
  13929. if (this.sk.effectsSequence.length || this.sa.effectsSequence.length)
  13930. return
  13931. this.pre.skewFromAxis(-this.sk.v, this.sa.v),
  13932. (this.appliedTransformations = 3)
  13933. }
  13934. this.r
  13935. ? this.r.effectsSequence.length ||
  13936. (this.pre.rotate(-this.r.v), (this.appliedTransformations = 4))
  13937. : this.rz.effectsSequence.length ||
  13938. this.ry.effectsSequence.length ||
  13939. this.rx.effectsSequence.length ||
  13940. this.or.effectsSequence.length ||
  13941. (this.pre
  13942. .rotateZ(-this.rz.v)
  13943. .rotateY(this.ry.v)
  13944. .rotateX(this.rx.v)
  13945. .rotateZ(-this.or.v[2])
  13946. .rotateY(this.or.v[1])
  13947. .rotateX(this.or.v[0]),
  13948. (this.appliedTransformations = 4))
  13949. }
  13950. },
  13951. autoOrient: function () {}
  13952. }),
  13953. extendPrototype([DynamicPropertyContainer], t),
  13954. (t.prototype.addDynamicProperty = function (e) {
  13955. this._addDynamicProperty(e),
  13956. this.elem.addDynamicProperty(e),
  13957. (this._isDirty = !0)
  13958. }),
  13959. (t.prototype._addDynamicProperty =
  13960. DynamicPropertyContainer.prototype.addDynamicProperty),
  13961. {
  13962. getTransformProperty: function (e, n, r) {
  13963. return new t(e, n, r)
  13964. }
  13965. }
  13966. )
  13967. })()
  13968. function RepeaterModifier() {}
  13969. function RoundCornersModifier() {}
  13970. function getFontProperties(e) {
  13971. for (
  13972. var t = e.fStyle ? e.fStyle.split(' ') : [],
  13973. n = 'normal',
  13974. r = 'normal',
  13975. a = t.length,
  13976. o = 0;
  13977. o < a;
  13978. o += 1
  13979. )
  13980. switch (t[o].toLowerCase()) {
  13981. case 'italic':
  13982. r = 'italic'
  13983. break
  13984. case 'bold':
  13985. n = '700'
  13986. break
  13987. case 'black':
  13988. n = '900'
  13989. break
  13990. case 'medium':
  13991. n = '500'
  13992. break
  13993. case 'regular':
  13994. case 'normal':
  13995. n = '400'
  13996. break
  13997. case 'light':
  13998. case 'thin':
  13999. n = '200'
  14000. }
  14001. return { style: r, weight: e.fWeight || n }
  14002. }
  14003. extendPrototype([ShapeModifier], RepeaterModifier),
  14004. (RepeaterModifier.prototype.initModifierProperties = function (e, t) {
  14005. ;(this.getValue = this.processKeys),
  14006. (this.c = PropertyFactory.getProp(e, t.c, 0, null, this)),
  14007. (this.o = PropertyFactory.getProp(e, t.o, 0, null, this)),
  14008. (this.tr = TransformPropertyFactory.getTransformProperty(e, t.tr, this)),
  14009. (this.so = PropertyFactory.getProp(e, t.tr.so, 0, 0.01, this)),
  14010. (this.eo = PropertyFactory.getProp(e, t.tr.eo, 0, 0.01, this)),
  14011. (this.data = t),
  14012. this.dynamicProperties.length || this.getValue(!0),
  14013. (this._isAnimated = !!this.dynamicProperties.length),
  14014. (this.pMatrix = new Matrix()),
  14015. (this.rMatrix = new Matrix()),
  14016. (this.sMatrix = new Matrix()),
  14017. (this.tMatrix = new Matrix()),
  14018. (this.matrix = new Matrix())
  14019. }),
  14020. (RepeaterModifier.prototype.applyTransforms = function (e, t, n, r, a, o) {
  14021. var i = o ? -1 : 1,
  14022. s = r.s.v[0] + (1 - r.s.v[0]) * (1 - a),
  14023. l = r.s.v[1] + (1 - r.s.v[1]) * (1 - a)
  14024. e.translate(r.p.v[0] * i * a, r.p.v[1] * i * a, r.p.v[2]),
  14025. t.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]),
  14026. t.rotate(-r.r.v * i * a),
  14027. t.translate(r.a.v[0], r.a.v[1], r.a.v[2]),
  14028. n.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]),
  14029. n.scale(o ? 1 / s : s, o ? 1 / l : l),
  14030. n.translate(r.a.v[0], r.a.v[1], r.a.v[2])
  14031. }),
  14032. (RepeaterModifier.prototype.init = function (e, t, n, r) {
  14033. for (
  14034. this.elem = e,
  14035. this.arr = t,
  14036. this.pos = n,
  14037. this.elemsData = r,
  14038. this._currentCopies = 0,
  14039. this._elements = [],
  14040. this._groups = [],
  14041. this.frameId = -1,
  14042. this.initDynamicPropertyContainer(e),
  14043. this.initModifierProperties(e, t[n]);
  14044. n > 0;
  14045. )
  14046. (n -= 1), this._elements.unshift(t[n])
  14047. this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0)
  14048. }),
  14049. (RepeaterModifier.prototype.resetElements = function (e) {
  14050. var t,
  14051. n = e.length
  14052. for (t = 0; t < n; t += 1)
  14053. (e[t]._processed = !1), 'gr' === e[t].ty && this.resetElements(e[t].it)
  14054. }),
  14055. (RepeaterModifier.prototype.cloneElements = function (e) {
  14056. var t = JSON.parse(JSON.stringify(e))
  14057. return this.resetElements(t), t
  14058. }),
  14059. (RepeaterModifier.prototype.changeGroupRender = function (e, t) {
  14060. var n,
  14061. r = e.length
  14062. for (n = 0; n < r; n += 1)
  14063. (e[n]._render = t), 'gr' === e[n].ty && this.changeGroupRender(e[n].it, t)
  14064. }),
  14065. (RepeaterModifier.prototype.processShapes = function (e) {
  14066. var t,
  14067. n,
  14068. r,
  14069. a,
  14070. o,
  14071. i = !1
  14072. if (this._mdf || e) {
  14073. var s,
  14074. l = Math.ceil(this.c.v)
  14075. if (this._groups.length < l) {
  14076. for (; this._groups.length < l; ) {
  14077. var c = { it: this.cloneElements(this._elements), ty: 'gr' }
  14078. c.it.push({
  14079. a: { a: 0, ix: 1, k: [0, 0] },
  14080. nm: 'Transform',
  14081. o: { a: 0, ix: 7, k: 100 },
  14082. p: { a: 0, ix: 2, k: [0, 0] },
  14083. r: {
  14084. a: 1,
  14085. ix: 6,
  14086. k: [
  14087. { s: 0, e: 0, t: 0 },
  14088. { s: 0, e: 0, t: 1 }
  14089. ]
  14090. },
  14091. s: { a: 0, ix: 3, k: [100, 100] },
  14092. sa: { a: 0, ix: 5, k: 0 },
  14093. sk: { a: 0, ix: 4, k: 0 },
  14094. ty: 'tr'
  14095. }),
  14096. this.arr.splice(0, 0, c),
  14097. this._groups.splice(0, 0, c),
  14098. (this._currentCopies += 1)
  14099. }
  14100. this.elem.reloadShapes(), (i = !0)
  14101. }
  14102. for (o = 0, r = 0; r <= this._groups.length - 1; r += 1) {
  14103. if (
  14104. ((s = o < l),
  14105. (this._groups[r]._render = s),
  14106. this.changeGroupRender(this._groups[r].it, s),
  14107. !s)
  14108. ) {
  14109. var u = this.elemsData[r].it,
  14110. p = u[u.length - 1]
  14111. 0 !== p.transform.op.v
  14112. ? ((p.transform.op._mdf = !0), (p.transform.op.v = 0))
  14113. : (p.transform.op._mdf = !1)
  14114. }
  14115. o += 1
  14116. }
  14117. this._currentCopies = l
  14118. var d = this.o.v,
  14119. f = d % 1,
  14120. h = d > 0 ? Math.floor(d) : Math.ceil(d),
  14121. v = this.pMatrix.props,
  14122. m = this.rMatrix.props,
  14123. g = this.sMatrix.props
  14124. this.pMatrix.reset(),
  14125. this.rMatrix.reset(),
  14126. this.sMatrix.reset(),
  14127. this.tMatrix.reset(),
  14128. this.matrix.reset()
  14129. var y,
  14130. b,
  14131. _ = 0
  14132. if (d > 0) {
  14133. for (; _ < h; )
  14134. this.applyTransforms(
  14135. this.pMatrix,
  14136. this.rMatrix,
  14137. this.sMatrix,
  14138. this.tr,
  14139. 1,
  14140. !1
  14141. ),
  14142. (_ += 1)
  14143. f &&
  14144. (this.applyTransforms(
  14145. this.pMatrix,
  14146. this.rMatrix,
  14147. this.sMatrix,
  14148. this.tr,
  14149. f,
  14150. !1
  14151. ),
  14152. (_ += f))
  14153. } else if (d < 0) {
  14154. for (; _ > h; )
  14155. this.applyTransforms(
  14156. this.pMatrix,
  14157. this.rMatrix,
  14158. this.sMatrix,
  14159. this.tr,
  14160. 1,
  14161. !0
  14162. ),
  14163. (_ -= 1)
  14164. f &&
  14165. (this.applyTransforms(
  14166. this.pMatrix,
  14167. this.rMatrix,
  14168. this.sMatrix,
  14169. this.tr,
  14170. -f,
  14171. !0
  14172. ),
  14173. (_ -= f))
  14174. }
  14175. for (
  14176. r = 1 === this.data.m ? 0 : this._currentCopies - 1,
  14177. a = 1 === this.data.m ? 1 : -1,
  14178. o = this._currentCopies;
  14179. o;
  14180. ) {
  14181. if (
  14182. ((b = (n = (t = this.elemsData[r].it)[t.length - 1].transform.mProps.v
  14183. .props).length),
  14184. (t[t.length - 1].transform.mProps._mdf = !0),
  14185. (t[t.length - 1].transform.op._mdf = !0),
  14186. (t[t.length - 1].transform.op.v =
  14187. 1 === this._currentCopies
  14188. ? this.so.v
  14189. : this.so.v +
  14190. (this.eo.v - this.so.v) * (r / (this._currentCopies - 1))),
  14191. 0 !== _)
  14192. ) {
  14193. for (
  14194. ((0 !== r && 1 === a) || (r !== this._currentCopies - 1 && -1 === a)) &&
  14195. this.applyTransforms(
  14196. this.pMatrix,
  14197. this.rMatrix,
  14198. this.sMatrix,
  14199. this.tr,
  14200. 1,
  14201. !1
  14202. ),
  14203. this.matrix.transform(
  14204. m[0],
  14205. m[1],
  14206. m[2],
  14207. m[3],
  14208. m[4],
  14209. m[5],
  14210. m[6],
  14211. m[7],
  14212. m[8],
  14213. m[9],
  14214. m[10],
  14215. m[11],
  14216. m[12],
  14217. m[13],
  14218. m[14],
  14219. m[15]
  14220. ),
  14221. this.matrix.transform(
  14222. g[0],
  14223. g[1],
  14224. g[2],
  14225. g[3],
  14226. g[4],
  14227. g[5],
  14228. g[6],
  14229. g[7],
  14230. g[8],
  14231. g[9],
  14232. g[10],
  14233. g[11],
  14234. g[12],
  14235. g[13],
  14236. g[14],
  14237. g[15]
  14238. ),
  14239. this.matrix.transform(
  14240. v[0],
  14241. v[1],
  14242. v[2],
  14243. v[3],
  14244. v[4],
  14245. v[5],
  14246. v[6],
  14247. v[7],
  14248. v[8],
  14249. v[9],
  14250. v[10],
  14251. v[11],
  14252. v[12],
  14253. v[13],
  14254. v[14],
  14255. v[15]
  14256. ),
  14257. y = 0;
  14258. y < b;
  14259. y += 1
  14260. )
  14261. n[y] = this.matrix.props[y]
  14262. this.matrix.reset()
  14263. } else
  14264. for (this.matrix.reset(), y = 0; y < b; y += 1)
  14265. n[y] = this.matrix.props[y]
  14266. ;(_ += 1), (o -= 1), (r += a)
  14267. }
  14268. } else
  14269. for (o = this._currentCopies, r = 0, a = 1; o; )
  14270. (n = (t = this.elemsData[r].it)[t.length - 1].transform.mProps.v.props),
  14271. (t[t.length - 1].transform.mProps._mdf = !1),
  14272. (t[t.length - 1].transform.op._mdf = !1),
  14273. (o -= 1),
  14274. (r += a)
  14275. return i
  14276. }),
  14277. (RepeaterModifier.prototype.addShape = function () {}),
  14278. extendPrototype([ShapeModifier], RoundCornersModifier),
  14279. (RoundCornersModifier.prototype.initModifierProperties = function (e, t) {
  14280. ;(this.getValue = this.processKeys),
  14281. (this.rd = PropertyFactory.getProp(e, t.r, 0, null, this)),
  14282. (this._isAnimated = !!this.rd.effectsSequence.length)
  14283. }),
  14284. (RoundCornersModifier.prototype.processPath = function (e, t) {
  14285. var n,
  14286. r = shapePool.newElement()
  14287. r.c = e.c
  14288. var a,
  14289. o,
  14290. i,
  14291. s,
  14292. l,
  14293. c,
  14294. u,
  14295. p,
  14296. d,
  14297. f,
  14298. h,
  14299. v,
  14300. m = e._length,
  14301. g = 0
  14302. for (n = 0; n < m; n += 1)
  14303. (a = e.v[n]),
  14304. (i = e.o[n]),
  14305. (o = e.i[n]),
  14306. a[0] === i[0] && a[1] === i[1] && a[0] === o[0] && a[1] === o[1]
  14307. ? (0 !== n && n !== m - 1) || e.c
  14308. ? ((s = 0 === n ? e.v[m - 1] : e.v[n - 1]),
  14309. (c = (l = Math.sqrt(
  14310. Math.pow(a[0] - s[0], 2) + Math.pow(a[1] - s[1], 2)
  14311. ))
  14312. ? Math.min(l / 2, t) / l
  14313. : 0),
  14314. (u = h = a[0] + (s[0] - a[0]) * c),
  14315. (p = v = a[1] - (a[1] - s[1]) * c),
  14316. (d = u - (u - a[0]) * roundCorner),
  14317. (f = p - (p - a[1]) * roundCorner),
  14318. r.setTripleAt(u, p, d, f, h, v, g),
  14319. (g += 1),
  14320. (s = n === m - 1 ? e.v[0] : e.v[n + 1]),
  14321. (c = (l = Math.sqrt(
  14322. Math.pow(a[0] - s[0], 2) + Math.pow(a[1] - s[1], 2)
  14323. ))
  14324. ? Math.min(l / 2, t) / l
  14325. : 0),
  14326. (u = d = a[0] + (s[0] - a[0]) * c),
  14327. (p = f = a[1] + (s[1] - a[1]) * c),
  14328. (h = u - (u - a[0]) * roundCorner),
  14329. (v = p - (p - a[1]) * roundCorner),
  14330. r.setTripleAt(u, p, d, f, h, v, g),
  14331. (g += 1))
  14332. : (r.setTripleAt(a[0], a[1], i[0], i[1], o[0], o[1], g), (g += 1))
  14333. : (r.setTripleAt(
  14334. e.v[n][0],
  14335. e.v[n][1],
  14336. e.o[n][0],
  14337. e.o[n][1],
  14338. e.i[n][0],
  14339. e.i[n][1],
  14340. g
  14341. ),
  14342. (g += 1))
  14343. return r
  14344. }),
  14345. (RoundCornersModifier.prototype.processShapes = function (e) {
  14346. var t,
  14347. n,
  14348. r,
  14349. a,
  14350. o,
  14351. i,
  14352. s = this.shapes.length,
  14353. l = this.rd.v
  14354. if (0 !== l)
  14355. for (n = 0; n < s; n += 1) {
  14356. if (
  14357. ((i = (o = this.shapes[n]).localShapeCollection),
  14358. o.shape._mdf || this._mdf || e)
  14359. )
  14360. for (
  14361. i.releaseShapes(),
  14362. o.shape._mdf = !0,
  14363. t = o.shape.paths.shapes,
  14364. a = o.shape.paths._length,
  14365. r = 0;
  14366. r < a;
  14367. r += 1
  14368. )
  14369. i.addShape(this.processPath(t[r], l))
  14370. o.shape.paths = o.localShapeCollection
  14371. }
  14372. this.dynamicProperties.length || (this._mdf = !1)
  14373. })
  14374. var FontManager = (function () {
  14375. var e = { w: 0, size: 0, shapes: [], data: { shapes: [] } },
  14376. t = []
  14377. t = t.concat([
  14378. 2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370,
  14379. 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383,
  14380. 2387, 2388, 2389, 2390, 2391, 2402, 2403
  14381. ])
  14382. var n = ['d83cdffb', 'd83cdffc', 'd83cdffd', 'd83cdffe', 'd83cdfff'],
  14383. r = [65039, 8205]
  14384. function a(e, t) {
  14385. var n = createTag('span')
  14386. n.setAttribute('aria-hidden', !0), (n.style.fontFamily = t)
  14387. var r = createTag('span')
  14388. ;(r.innerText = 'giItT1WQy@!-/#'),
  14389. (n.style.position = 'absolute'),
  14390. (n.style.left = '-10000px'),
  14391. (n.style.top = '-10000px'),
  14392. (n.style.fontSize = '300px'),
  14393. (n.style.fontVariant = 'normal'),
  14394. (n.style.fontStyle = 'normal'),
  14395. (n.style.fontWeight = 'normal'),
  14396. (n.style.letterSpacing = '0'),
  14397. n.appendChild(r),
  14398. document.body.appendChild(n)
  14399. var a = r.offsetWidth
  14400. return (
  14401. (r.style.fontFamily =
  14402. (function (e) {
  14403. var t,
  14404. n = e.split(','),
  14405. r = n.length,
  14406. a = []
  14407. for (t = 0; t < r; t += 1)
  14408. 'sans-serif' !== n[t] && 'monospace' !== n[t] && a.push(n[t])
  14409. return a.join(',')
  14410. })(e) +
  14411. ', ' +
  14412. t),
  14413. { node: r, w: a, parent: n }
  14414. )
  14415. }
  14416. function o(e, t) {
  14417. var n,
  14418. r = document.body && t ? 'svg' : 'canvas',
  14419. a = getFontProperties(e)
  14420. if ('svg' === r) {
  14421. var o = createNS('text')
  14422. ;(o.style.fontSize = '100px'),
  14423. o.setAttribute('font-family', e.fFamily),
  14424. o.setAttribute('font-style', a.style),
  14425. o.setAttribute('font-weight', a.weight),
  14426. (o.textContent = '1'),
  14427. e.fClass
  14428. ? ((o.style.fontFamily = 'inherit'), o.setAttribute('class', e.fClass))
  14429. : (o.style.fontFamily = e.fFamily),
  14430. t.appendChild(o),
  14431. (n = o)
  14432. } else {
  14433. var i = new OffscreenCanvas(500, 500).getContext('2d')
  14434. ;(i.font = a.style + ' ' + a.weight + ' 100px ' + e.fFamily), (n = i)
  14435. }
  14436. return {
  14437. measureText: function (e) {
  14438. return 'svg' === r
  14439. ? ((n.textContent = e), n.getComputedTextLength())
  14440. : n.measureText(e).width
  14441. }
  14442. }
  14443. }
  14444. var i = function () {
  14445. ;(this.fonts = []),
  14446. (this.chars = null),
  14447. (this.typekitLoaded = 0),
  14448. (this.isLoaded = !1),
  14449. (this._warned = !1),
  14450. (this.initTime = Date.now()),
  14451. (this.setIsLoadedBinded = this.setIsLoaded.bind(this)),
  14452. (this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this))
  14453. }
  14454. ;(i.isModifier = function (e, t) {
  14455. var r = e.toString(16) + t.toString(16)
  14456. return -1 !== n.indexOf(r)
  14457. }),
  14458. (i.isZeroWidthJoiner = function (e, t) {
  14459. return t ? e === r[0] && t === r[1] : e === r[1]
  14460. }),
  14461. (i.isCombinedCharacter = function (e) {
  14462. return -1 !== t.indexOf(e)
  14463. })
  14464. var s = {
  14465. addChars: function (e) {
  14466. if (e) {
  14467. var t
  14468. this.chars || (this.chars = [])
  14469. var n,
  14470. r,
  14471. a = e.length,
  14472. o = this.chars.length
  14473. for (t = 0; t < a; t += 1) {
  14474. for (n = 0, r = !1; n < o; )
  14475. this.chars[n].style === e[t].style &&
  14476. this.chars[n].fFamily === e[t].fFamily &&
  14477. this.chars[n].ch === e[t].ch &&
  14478. (r = !0),
  14479. (n += 1)
  14480. r || (this.chars.push(e[t]), (o += 1))
  14481. }
  14482. }
  14483. },
  14484. addFonts: function (e, t) {
  14485. if (e) {
  14486. if (this.chars) return (this.isLoaded = !0), void (this.fonts = e.list)
  14487. if (!document.body)
  14488. return (
  14489. (this.isLoaded = !0),
  14490. e.list.forEach(function (e) {
  14491. ;(e.helper = o(e)), (e.cache = {})
  14492. }),
  14493. void (this.fonts = e.list)
  14494. )
  14495. var n,
  14496. r = e.list,
  14497. i = r.length,
  14498. s = i
  14499. for (n = 0; n < i; n += 1) {
  14500. var l,
  14501. c,
  14502. u = !0
  14503. if (
  14504. ((r[n].loaded = !1),
  14505. (r[n].monoCase = a(r[n].fFamily, 'monospace')),
  14506. (r[n].sansCase = a(r[n].fFamily, 'sans-serif')),
  14507. r[n].fPath)
  14508. ) {
  14509. if ('p' === r[n].fOrigin || 3 === r[n].origin) {
  14510. if (
  14511. ((l = document.querySelectorAll(
  14512. 'style[f-forigin="p"][f-family="' +
  14513. r[n].fFamily +
  14514. '"], style[f-origin="3"][f-family="' +
  14515. r[n].fFamily +
  14516. '"]'
  14517. )).length > 0 && (u = !1),
  14518. u)
  14519. ) {
  14520. var p = createTag('style')
  14521. p.setAttribute('f-forigin', r[n].fOrigin),
  14522. p.setAttribute('f-origin', r[n].origin),
  14523. p.setAttribute('f-family', r[n].fFamily),
  14524. (p.type = 'text/css'),
  14525. (p.innerText =
  14526. '@font-face {font-family: ' +
  14527. r[n].fFamily +
  14528. "; font-style: normal; src: url('" +
  14529. r[n].fPath +
  14530. "');}"),
  14531. t.appendChild(p)
  14532. }
  14533. } else if ('g' === r[n].fOrigin || 1 === r[n].origin) {
  14534. for (
  14535. l = document.querySelectorAll(
  14536. 'link[f-forigin="g"], link[f-origin="1"]'
  14537. ),
  14538. c = 0;
  14539. c < l.length;
  14540. c += 1
  14541. )
  14542. -1 !== l[c].href.indexOf(r[n].fPath) && (u = !1)
  14543. if (u) {
  14544. var d = createTag('link')
  14545. d.setAttribute('f-forigin', r[n].fOrigin),
  14546. d.setAttribute('f-origin', r[n].origin),
  14547. (d.type = 'text/css'),
  14548. (d.rel = 'stylesheet'),
  14549. (d.href = r[n].fPath),
  14550. document.body.appendChild(d)
  14551. }
  14552. } else if ('t' === r[n].fOrigin || 2 === r[n].origin) {
  14553. for (
  14554. l = document.querySelectorAll(
  14555. 'script[f-forigin="t"], script[f-origin="2"]'
  14556. ),
  14557. c = 0;
  14558. c < l.length;
  14559. c += 1
  14560. )
  14561. r[n].fPath === l[c].src && (u = !1)
  14562. if (u) {
  14563. var f = createTag('link')
  14564. f.setAttribute('f-forigin', r[n].fOrigin),
  14565. f.setAttribute('f-origin', r[n].origin),
  14566. f.setAttribute('rel', 'stylesheet'),
  14567. f.setAttribute('href', r[n].fPath),
  14568. t.appendChild(f)
  14569. }
  14570. }
  14571. } else (r[n].loaded = !0), (s -= 1)
  14572. ;(r[n].helper = o(r[n], t)), (r[n].cache = {}), this.fonts.push(r[n])
  14573. }
  14574. 0 === s
  14575. ? (this.isLoaded = !0)
  14576. : setTimeout(this.checkLoadedFonts.bind(this), 100)
  14577. } else this.isLoaded = !0
  14578. },
  14579. getCharData: function (t, n, r) {
  14580. for (var a = 0, o = this.chars.length; a < o; ) {
  14581. if (
  14582. this.chars[a].ch === t &&
  14583. this.chars[a].style === n &&
  14584. this.chars[a].fFamily === r
  14585. )
  14586. return this.chars[a]
  14587. a += 1
  14588. }
  14589. return (
  14590. (('string' == typeof t && 13 !== t.charCodeAt(0)) || !t) &&
  14591. console &&
  14592. console.warn &&
  14593. !this._warned &&
  14594. ((this._warned = !0),
  14595. console.warn(
  14596. 'Missing character from exported characters list: ',
  14597. t,
  14598. n,
  14599. r
  14600. )),
  14601. e
  14602. )
  14603. },
  14604. getFontByName: function (e) {
  14605. for (var t = 0, n = this.fonts.length; t < n; ) {
  14606. if (this.fonts[t].fName === e) return this.fonts[t]
  14607. t += 1
  14608. }
  14609. return this.fonts[0]
  14610. },
  14611. measureText: function (e, t, n) {
  14612. var r = this.getFontByName(t),
  14613. a = e.charCodeAt(0)
  14614. if (!r.cache[a + 1]) {
  14615. var o = r.helper
  14616. if (' ' === e) {
  14617. var i = o.measureText('|' + e + '|'),
  14618. s = o.measureText('||')
  14619. r.cache[a + 1] = (i - s) / 100
  14620. } else r.cache[a + 1] = o.measureText(e) / 100
  14621. }
  14622. return r.cache[a + 1] * n
  14623. },
  14624. checkLoadedFonts: function () {
  14625. var e,
  14626. t,
  14627. n,
  14628. r = this.fonts.length,
  14629. a = r
  14630. for (e = 0; e < r; e += 1)
  14631. this.fonts[e].loaded
  14632. ? (a -= 1)
  14633. : 'n' === this.fonts[e].fOrigin || 0 === this.fonts[e].origin
  14634. ? (this.fonts[e].loaded = !0)
  14635. : ((t = this.fonts[e].monoCase.node),
  14636. (n = this.fonts[e].monoCase.w),
  14637. t.offsetWidth !== n
  14638. ? ((a -= 1), (this.fonts[e].loaded = !0))
  14639. : ((t = this.fonts[e].sansCase.node),
  14640. (n = this.fonts[e].sansCase.w),
  14641. t.offsetWidth !== n && ((a -= 1), (this.fonts[e].loaded = !0))),
  14642. this.fonts[e].loaded &&
  14643. (this.fonts[e].sansCase.parent.parentNode.removeChild(
  14644. this.fonts[e].sansCase.parent
  14645. ),
  14646. this.fonts[e].monoCase.parent.parentNode.removeChild(
  14647. this.fonts[e].monoCase.parent
  14648. )))
  14649. 0 !== a && Date.now() - this.initTime < 5e3
  14650. ? setTimeout(this.checkLoadedFontsBinded, 20)
  14651. : setTimeout(this.setIsLoadedBinded, 10)
  14652. },
  14653. setIsLoaded: function () {
  14654. this.isLoaded = !0
  14655. }
  14656. }
  14657. return (i.prototype = s), i
  14658. })()
  14659. function RenderableElement() {}
  14660. RenderableElement.prototype = {
  14661. initRenderable: function () {
  14662. ;(this.isInRange = !1),
  14663. (this.hidden = !1),
  14664. (this.isTransparent = !1),
  14665. (this.renderableComponents = [])
  14666. },
  14667. addRenderableComponent: function (e) {
  14668. ;-1 === this.renderableComponents.indexOf(e) &&
  14669. this.renderableComponents.push(e)
  14670. },
  14671. removeRenderableComponent: function (e) {
  14672. ;-1 !== this.renderableComponents.indexOf(e) &&
  14673. this.renderableComponents.splice(this.renderableComponents.indexOf(e), 1)
  14674. },
  14675. prepareRenderableFrame: function (e) {
  14676. this.checkLayerLimits(e)
  14677. },
  14678. checkTransparency: function () {
  14679. this.finalTransform.mProp.o.v <= 0
  14680. ? !this.isTransparent &&
  14681. this.globalData.renderConfig.hideOnTransparent &&
  14682. ((this.isTransparent = !0), this.hide())
  14683. : this.isTransparent && ((this.isTransparent = !1), this.show())
  14684. },
  14685. checkLayerLimits: function (e) {
  14686. this.data.ip - this.data.st <= e && this.data.op - this.data.st > e
  14687. ? !0 !== this.isInRange &&
  14688. ((this.globalData._mdf = !0),
  14689. (this._mdf = !0),
  14690. (this.isInRange = !0),
  14691. this.show())
  14692. : !1 !== this.isInRange &&
  14693. ((this.globalData._mdf = !0), (this.isInRange = !1), this.hide())
  14694. },
  14695. renderRenderable: function () {
  14696. var e,
  14697. t = this.renderableComponents.length
  14698. for (e = 0; e < t; e += 1)
  14699. this.renderableComponents[e].renderFrame(this._isFirstFrame)
  14700. },
  14701. sourceRectAtTime: function () {
  14702. return { top: 0, left: 0, width: 100, height: 100 }
  14703. },
  14704. getLayerSize: function () {
  14705. return 5 === this.data.ty
  14706. ? { w: this.data.textData.width, h: this.data.textData.height }
  14707. : { w: this.data.width, h: this.data.height }
  14708. }
  14709. }
  14710. var MaskManagerInterface = (function () {
  14711. function e(e, t) {
  14712. ;(this._mask = e), (this._data = t)
  14713. }
  14714. return (
  14715. Object.defineProperty(e.prototype, 'maskPath', {
  14716. get: function () {
  14717. return this._mask.prop.k && this._mask.prop.getValue(), this._mask.prop
  14718. }
  14719. }),
  14720. Object.defineProperty(e.prototype, 'maskOpacity', {
  14721. get: function () {
  14722. return this._mask.op.k && this._mask.op.getValue(), 100 * this._mask.op.v
  14723. }
  14724. }),
  14725. function (t) {
  14726. var n,
  14727. r = createSizedArray(t.viewData.length),
  14728. a = t.viewData.length
  14729. for (n = 0; n < a; n += 1) r[n] = new e(t.viewData[n], t.masksProperties[n])
  14730. return function (e) {
  14731. for (n = 0; n < a; ) {
  14732. if (t.masksProperties[n].nm === e) return r[n]
  14733. n += 1
  14734. }
  14735. return null
  14736. }
  14737. }
  14738. )
  14739. })(),
  14740. ExpressionPropertyInterface = (function () {
  14741. var e = { pv: 0, v: 0, mult: 1 },
  14742. t = { pv: [0, 0, 0], v: [0, 0, 0], mult: 1 }
  14743. function n(e, t, n) {
  14744. Object.defineProperty(e, 'velocity', {
  14745. get: function () {
  14746. return t.getVelocityAtTime(t.comp.currentFrame)
  14747. }
  14748. }),
  14749. (e.numKeys = t.keyframes ? t.keyframes.length : 0),
  14750. (e.key = function (r) {
  14751. if (!e.numKeys) return 0
  14752. var a = ''
  14753. a =
  14754. 's' in t.keyframes[r - 1]
  14755. ? t.keyframes[r - 1].s
  14756. : 'e' in t.keyframes[r - 2]
  14757. ? t.keyframes[r - 2].e
  14758. : t.keyframes[r - 2].s
  14759. var o = 'unidimensional' === n ? new Number(a) : Object.assign({}, a)
  14760. return (
  14761. (o.time = t.keyframes[r - 1].t / t.elem.comp.globalData.frameRate),
  14762. (o.value = 'unidimensional' === n ? a[0] : a),
  14763. o
  14764. )
  14765. }),
  14766. (e.valueAtTime = t.getValueAtTime),
  14767. (e.speedAtTime = t.getSpeedAtTime),
  14768. (e.velocityAtTime = t.getVelocityAtTime),
  14769. (e.propertyGroup = t.propertyGroup)
  14770. }
  14771. function r() {
  14772. return e
  14773. }
  14774. return function (a) {
  14775. return a
  14776. ? 'unidimensional' === a.propType
  14777. ? (function (t) {
  14778. ;(t && 'pv' in t) || (t = e)
  14779. var r = 1 / t.mult,
  14780. a = t.pv * r,
  14781. o = new Number(a)
  14782. return (
  14783. (o.value = a),
  14784. n(o, t, 'unidimensional'),
  14785. function () {
  14786. return (
  14787. t.k && t.getValue(),
  14788. (a = t.v * r),
  14789. o.value !== a &&
  14790. (((o = new Number(a)).value = a), n(o, t, 'unidimensional')),
  14791. o
  14792. )
  14793. }
  14794. )
  14795. })(a)
  14796. : (function (e) {
  14797. ;(e && 'pv' in e) || (e = t)
  14798. var r = 1 / e.mult,
  14799. a = (e.data && e.data.l) || e.pv.length,
  14800. o = createTypedArray('float32', a),
  14801. i = createTypedArray('float32', a)
  14802. return (
  14803. (o.value = i),
  14804. n(o, e, 'multidimensional'),
  14805. function () {
  14806. e.k && e.getValue()
  14807. for (var t = 0; t < a; t += 1) (i[t] = e.v[t] * r), (o[t] = i[t])
  14808. return o
  14809. }
  14810. )
  14811. })(a)
  14812. : r
  14813. }
  14814. })(),
  14815. TransformExpressionInterface = function (e) {
  14816. function t(e) {
  14817. switch (e) {
  14818. case 'scale':
  14819. case 'Scale':
  14820. case 'ADBE Scale':
  14821. case 6:
  14822. return t.scale
  14823. case 'rotation':
  14824. case 'Rotation':
  14825. case 'ADBE Rotation':
  14826. case 'ADBE Rotate Z':
  14827. case 10:
  14828. return t.rotation
  14829. case 'ADBE Rotate X':
  14830. return t.xRotation
  14831. case 'ADBE Rotate Y':
  14832. return t.yRotation
  14833. case 'position':
  14834. case 'Position':
  14835. case 'ADBE Position':
  14836. case 2:
  14837. return t.position
  14838. case 'ADBE Position_0':
  14839. return t.xPosition
  14840. case 'ADBE Position_1':
  14841. return t.yPosition
  14842. case 'ADBE Position_2':
  14843. return t.zPosition
  14844. case 'anchorPoint':
  14845. case 'AnchorPoint':
  14846. case 'Anchor Point':
  14847. case 'ADBE AnchorPoint':
  14848. case 1:
  14849. return t.anchorPoint
  14850. case 'opacity':
  14851. case 'Opacity':
  14852. case 11:
  14853. return t.opacity
  14854. default:
  14855. return null
  14856. }
  14857. }
  14858. var n, r, a, o
  14859. return (
  14860. Object.defineProperty(t, 'rotation', {
  14861. get: ExpressionPropertyInterface(e.r || e.rz)
  14862. }),
  14863. Object.defineProperty(t, 'zRotation', {
  14864. get: ExpressionPropertyInterface(e.rz || e.r)
  14865. }),
  14866. Object.defineProperty(t, 'xRotation', {
  14867. get: ExpressionPropertyInterface(e.rx)
  14868. }),
  14869. Object.defineProperty(t, 'yRotation', {
  14870. get: ExpressionPropertyInterface(e.ry)
  14871. }),
  14872. Object.defineProperty(t, 'scale', { get: ExpressionPropertyInterface(e.s) }),
  14873. e.p
  14874. ? (o = ExpressionPropertyInterface(e.p))
  14875. : ((n = ExpressionPropertyInterface(e.px)),
  14876. (r = ExpressionPropertyInterface(e.py)),
  14877. e.pz && (a = ExpressionPropertyInterface(e.pz))),
  14878. Object.defineProperty(t, 'position', {
  14879. get: function () {
  14880. return e.p ? o() : [n(), r(), a ? a() : 0]
  14881. }
  14882. }),
  14883. Object.defineProperty(t, 'xPosition', {
  14884. get: ExpressionPropertyInterface(e.px)
  14885. }),
  14886. Object.defineProperty(t, 'yPosition', {
  14887. get: ExpressionPropertyInterface(e.py)
  14888. }),
  14889. Object.defineProperty(t, 'zPosition', {
  14890. get: ExpressionPropertyInterface(e.pz)
  14891. }),
  14892. Object.defineProperty(t, 'anchorPoint', {
  14893. get: ExpressionPropertyInterface(e.a)
  14894. }),
  14895. Object.defineProperty(t, 'opacity', {
  14896. get: ExpressionPropertyInterface(e.o)
  14897. }),
  14898. Object.defineProperty(t, 'skew', { get: ExpressionPropertyInterface(e.sk) }),
  14899. Object.defineProperty(t, 'skewAxis', {
  14900. get: ExpressionPropertyInterface(e.sa)
  14901. }),
  14902. Object.defineProperty(t, 'orientation', {
  14903. get: ExpressionPropertyInterface(e.or)
  14904. }),
  14905. t
  14906. )
  14907. },
  14908. LayerExpressionInterface = (function () {
  14909. function e(e) {
  14910. var t = new Matrix()
  14911. return (
  14912. void 0 !== e
  14913. ? this._elem.finalTransform.mProp.getValueAtTime(e).clone(t)
  14914. : this._elem.finalTransform.mProp.applyToMatrix(t),
  14915. t
  14916. )
  14917. }
  14918. function t(e, t) {
  14919. var n = this.getMatrix(t)
  14920. return (
  14921. (n.props[12] = 0),
  14922. (n.props[13] = 0),
  14923. (n.props[14] = 0),
  14924. this.applyPoint(n, e)
  14925. )
  14926. }
  14927. function n(e, t) {
  14928. var n = this.getMatrix(t)
  14929. return this.applyPoint(n, e)
  14930. }
  14931. function r(e, t) {
  14932. var n = this.getMatrix(t)
  14933. return (
  14934. (n.props[12] = 0),
  14935. (n.props[13] = 0),
  14936. (n.props[14] = 0),
  14937. this.invertPoint(n, e)
  14938. )
  14939. }
  14940. function a(e, t) {
  14941. var n = this.getMatrix(t)
  14942. return this.invertPoint(n, e)
  14943. }
  14944. function o(e, t) {
  14945. if (this._elem.hierarchy && this._elem.hierarchy.length) {
  14946. var n,
  14947. r = this._elem.hierarchy.length
  14948. for (n = 0; n < r; n += 1)
  14949. this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)
  14950. }
  14951. return e.applyToPointArray(t[0], t[1], t[2] || 0)
  14952. }
  14953. function i(e, t) {
  14954. if (this._elem.hierarchy && this._elem.hierarchy.length) {
  14955. var n,
  14956. r = this._elem.hierarchy.length
  14957. for (n = 0; n < r; n += 1)
  14958. this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)
  14959. }
  14960. return e.inversePoint(t)
  14961. }
  14962. function s(e) {
  14963. var t = new Matrix()
  14964. if (
  14965. (t.reset(),
  14966. this._elem.finalTransform.mProp.applyToMatrix(t),
  14967. this._elem.hierarchy && this._elem.hierarchy.length)
  14968. ) {
  14969. var n,
  14970. r = this._elem.hierarchy.length
  14971. for (n = 0; n < r; n += 1)
  14972. this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)
  14973. return t.inversePoint(e)
  14974. }
  14975. return t.inversePoint(e)
  14976. }
  14977. function l() {
  14978. return [1, 1, 1, 1]
  14979. }
  14980. return function (c) {
  14981. var u
  14982. function p(e) {
  14983. switch (e) {
  14984. case 'ADBE Root Vectors Group':
  14985. case 'Contents':
  14986. case 2:
  14987. return p.shapeInterface
  14988. case 1:
  14989. case 6:
  14990. case 'Transform':
  14991. case 'transform':
  14992. case 'ADBE Transform Group':
  14993. return u
  14994. case 4:
  14995. case 'ADBE Effect Parade':
  14996. case 'effects':
  14997. case 'Effects':
  14998. return p.effect
  14999. case 'ADBE Text Properties':
  15000. return p.textInterface
  15001. default:
  15002. return null
  15003. }
  15004. }
  15005. ;(p.getMatrix = e),
  15006. (p.invertPoint = i),
  15007. (p.applyPoint = o),
  15008. (p.toWorld = n),
  15009. (p.toWorldVec = t),
  15010. (p.fromWorld = a),
  15011. (p.fromWorldVec = r),
  15012. (p.toComp = n),
  15013. (p.fromComp = s),
  15014. (p.sampleImage = l),
  15015. (p.sourceRectAtTime = c.sourceRectAtTime.bind(c)),
  15016. (p._elem = c)
  15017. var d = getDescriptor(
  15018. (u = TransformExpressionInterface(c.finalTransform.mProp)),
  15019. 'anchorPoint'
  15020. )
  15021. return (
  15022. Object.defineProperties(p, {
  15023. hasParent: {
  15024. get: function () {
  15025. return c.hierarchy.length
  15026. }
  15027. },
  15028. parent: {
  15029. get: function () {
  15030. return c.hierarchy[0].layerInterface
  15031. }
  15032. },
  15033. rotation: getDescriptor(u, 'rotation'),
  15034. scale: getDescriptor(u, 'scale'),
  15035. position: getDescriptor(u, 'position'),
  15036. opacity: getDescriptor(u, 'opacity'),
  15037. anchorPoint: d,
  15038. anchor_point: d,
  15039. transform: {
  15040. get: function () {
  15041. return u
  15042. }
  15043. },
  15044. active: {
  15045. get: function () {
  15046. return c.isInRange
  15047. }
  15048. }
  15049. }),
  15050. (p.startTime = c.data.st),
  15051. (p.index = c.data.ind),
  15052. (p.source = c.data.refId),
  15053. (p.height = 0 === c.data.ty ? c.data.h : 100),
  15054. (p.width = 0 === c.data.ty ? c.data.w : 100),
  15055. (p.inPoint = c.data.ip / c.comp.globalData.frameRate),
  15056. (p.outPoint = c.data.op / c.comp.globalData.frameRate),
  15057. (p._name = c.data.nm),
  15058. (p.registerMaskInterface = function (e) {
  15059. p.mask = new MaskManagerInterface(e, c)
  15060. }),
  15061. (p.registerEffectsInterface = function (e) {
  15062. p.effect = e
  15063. }),
  15064. p
  15065. )
  15066. }
  15067. })(),
  15068. propertyGroupFactory = function (e, t) {
  15069. return function (n) {
  15070. return (n = void 0 === n ? 1 : n) <= 0 ? e : t(n - 1)
  15071. }
  15072. },
  15073. PropertyInterface = function (e, t) {
  15074. var n = { _name: e }
  15075. return function (e) {
  15076. return (e = void 0 === e ? 1 : e) <= 0 ? n : t(e - 1)
  15077. }
  15078. },
  15079. EffectsExpressionInterface = (function () {
  15080. var e = {
  15081. createEffectsInterface: function (e, n) {
  15082. if (e.effectsManager) {
  15083. var r,
  15084. a = [],
  15085. o = e.data.ef,
  15086. i = e.effectsManager.effectElements.length
  15087. for (r = 0; r < i; r += 1)
  15088. a.push(t(o[r], e.effectsManager.effectElements[r], n, e))
  15089. var s = e.data.ef || [],
  15090. l = function (e) {
  15091. for (r = 0, i = s.length; r < i; ) {
  15092. if (e === s[r].nm || e === s[r].mn || e === s[r].ix) return a[r]
  15093. r += 1
  15094. }
  15095. return null
  15096. }
  15097. return (
  15098. Object.defineProperty(l, 'numProperties', {
  15099. get: function () {
  15100. return s.length
  15101. }
  15102. }),
  15103. l
  15104. )
  15105. }
  15106. return null
  15107. }
  15108. }
  15109. function t(e, r, a, o) {
  15110. function i(t) {
  15111. for (var n = e.ef, r = 0, a = n.length; r < a; ) {
  15112. if (t === n[r].nm || t === n[r].mn || t === n[r].ix)
  15113. return 5 === n[r].ty ? c[r] : c[r]()
  15114. r += 1
  15115. }
  15116. throw new Error()
  15117. }
  15118. var s,
  15119. l = propertyGroupFactory(i, a),
  15120. c = [],
  15121. u = e.ef.length
  15122. for (s = 0; s < u; s += 1)
  15123. 5 === e.ef[s].ty
  15124. ? c.push(
  15125. t(e.ef[s], r.effectElements[s], r.effectElements[s].propertyGroup, o)
  15126. )
  15127. : c.push(n(r.effectElements[s], e.ef[s].ty, o, l))
  15128. return (
  15129. 'ADBE Color Control' === e.mn &&
  15130. Object.defineProperty(i, 'color', {
  15131. get: function () {
  15132. return c[0]()
  15133. }
  15134. }),
  15135. Object.defineProperties(i, {
  15136. numProperties: {
  15137. get: function () {
  15138. return e.np
  15139. }
  15140. },
  15141. _name: { value: e.nm },
  15142. propertyGroup: { value: l }
  15143. }),
  15144. (i.enabled = 0 !== e.en),
  15145. (i.active = i.enabled),
  15146. i
  15147. )
  15148. }
  15149. function n(e, t, n, r) {
  15150. var a = ExpressionPropertyInterface(e.p)
  15151. return (
  15152. e.p.setGroupProperty && e.p.setGroupProperty(PropertyInterface('', r)),
  15153. function () {
  15154. return 10 === t ? n.comp.compInterface(e.p.v) : a()
  15155. }
  15156. )
  15157. }
  15158. return e
  15159. })(),
  15160. CompExpressionInterface = function (e) {
  15161. function t(t) {
  15162. for (var n = 0, r = e.layers.length; n < r; ) {
  15163. if (e.layers[n].nm === t || e.layers[n].ind === t)
  15164. return e.elements[n].layerInterface
  15165. n += 1
  15166. }
  15167. return null
  15168. }
  15169. return (
  15170. Object.defineProperty(t, '_name', { value: e.data.nm }),
  15171. (t.layer = t),
  15172. (t.pixelAspect = 1),
  15173. (t.height = e.data.h || e.globalData.compSize.h),
  15174. (t.width = e.data.w || e.globalData.compSize.w),
  15175. (t.pixelAspect = 1),
  15176. (t.frameDuration = 1 / e.globalData.frameRate),
  15177. (t.displayStartTime = 0),
  15178. (t.numLayers = e.layers.length),
  15179. t
  15180. )
  15181. },
  15182. ShapePathInterface = function (e, t, n) {
  15183. var r = t.sh
  15184. function a(e) {
  15185. return 'Shape' === e ||
  15186. 'shape' === e ||
  15187. 'Path' === e ||
  15188. 'path' === e ||
  15189. 'ADBE Vector Shape' === e ||
  15190. 2 === e
  15191. ? a.path
  15192. : null
  15193. }
  15194. var o = propertyGroupFactory(a, n)
  15195. return (
  15196. r.setGroupProperty(PropertyInterface('Path', o)),
  15197. Object.defineProperties(a, {
  15198. path: {
  15199. get: function () {
  15200. return r.k && r.getValue(), r
  15201. }
  15202. },
  15203. shape: {
  15204. get: function () {
  15205. return r.k && r.getValue(), r
  15206. }
  15207. },
  15208. _name: { value: e.nm },
  15209. ix: { value: e.ix },
  15210. propertyIndex: { value: e.ix },
  15211. mn: { value: e.mn },
  15212. propertyGroup: { value: n }
  15213. }),
  15214. a
  15215. )
  15216. },
  15217. ShapeExpressionInterface = (function () {
  15218. function e(e, i, d) {
  15219. var f,
  15220. h = [],
  15221. v = e ? e.length : 0
  15222. for (f = 0; f < v; f += 1)
  15223. 'gr' === e[f].ty
  15224. ? h.push(t(e[f], i[f], d))
  15225. : 'fl' === e[f].ty
  15226. ? h.push(n(e[f], i[f], d))
  15227. : 'st' === e[f].ty
  15228. ? h.push(a(e[f], i[f], d))
  15229. : 'tm' === e[f].ty
  15230. ? h.push(o(e[f], i[f], d))
  15231. : 'tr' === e[f].ty ||
  15232. ('el' === e[f].ty
  15233. ? h.push(s(e[f], i[f], d))
  15234. : 'sr' === e[f].ty
  15235. ? h.push(l(e[f], i[f], d))
  15236. : 'sh' === e[f].ty
  15237. ? h.push(ShapePathInterface(e[f], i[f], d))
  15238. : 'rc' === e[f].ty
  15239. ? h.push(c(e[f], i[f], d))
  15240. : 'rd' === e[f].ty
  15241. ? h.push(u(e[f], i[f], d))
  15242. : 'rp' === e[f].ty
  15243. ? h.push(p(e[f], i[f], d))
  15244. : 'gf' === e[f].ty
  15245. ? h.push(r(e[f], i[f], d))
  15246. : h.push(
  15247. (e[f],
  15248. i[f],
  15249. function () {
  15250. return null
  15251. })
  15252. ))
  15253. return h
  15254. }
  15255. function t(t, n, r) {
  15256. var a = function (e) {
  15257. switch (e) {
  15258. case 'ADBE Vectors Group':
  15259. case 'Contents':
  15260. case 2:
  15261. return a.content
  15262. default:
  15263. return a.transform
  15264. }
  15265. }
  15266. a.propertyGroup = propertyGroupFactory(a, r)
  15267. var o = (function (t, n, r) {
  15268. var a,
  15269. o = function (e) {
  15270. for (var t = 0, n = a.length; t < n; ) {
  15271. if (
  15272. a[t]._name === e ||
  15273. a[t].mn === e ||
  15274. a[t].propertyIndex === e ||
  15275. a[t].ix === e ||
  15276. a[t].ind === e
  15277. )
  15278. return a[t]
  15279. t += 1
  15280. }
  15281. return 'number' == typeof e ? a[e - 1] : null
  15282. }
  15283. ;(o.propertyGroup = propertyGroupFactory(o, r)),
  15284. (a = e(t.it, n.it, o.propertyGroup)),
  15285. (o.numProperties = a.length)
  15286. var s = i(t.it[t.it.length - 1], n.it[n.it.length - 1], o.propertyGroup)
  15287. return (o.transform = s), (o.propertyIndex = t.cix), (o._name = t.nm), o
  15288. })(t, n, a.propertyGroup),
  15289. s = i(t.it[t.it.length - 1], n.it[n.it.length - 1], a.propertyGroup)
  15290. return (
  15291. (a.content = o),
  15292. (a.transform = s),
  15293. Object.defineProperty(a, '_name', {
  15294. get: function () {
  15295. return t.nm
  15296. }
  15297. }),
  15298. (a.numProperties = t.np),
  15299. (a.propertyIndex = t.ix),
  15300. (a.nm = t.nm),
  15301. (a.mn = t.mn),
  15302. a
  15303. )
  15304. }
  15305. function n(e, t, n) {
  15306. function r(e) {
  15307. return 'Color' === e || 'color' === e
  15308. ? r.color
  15309. : 'Opacity' === e || 'opacity' === e
  15310. ? r.opacity
  15311. : null
  15312. }
  15313. return (
  15314. Object.defineProperties(r, {
  15315. color: { get: ExpressionPropertyInterface(t.c) },
  15316. opacity: { get: ExpressionPropertyInterface(t.o) },
  15317. _name: { value: e.nm },
  15318. mn: { value: e.mn }
  15319. }),
  15320. t.c.setGroupProperty(PropertyInterface('Color', n)),
  15321. t.o.setGroupProperty(PropertyInterface('Opacity', n)),
  15322. r
  15323. )
  15324. }
  15325. function r(e, t, n) {
  15326. function r(e) {
  15327. return 'Start Point' === e || 'start point' === e
  15328. ? r.startPoint
  15329. : 'End Point' === e || 'end point' === e
  15330. ? r.endPoint
  15331. : 'Opacity' === e || 'opacity' === e
  15332. ? r.opacity
  15333. : null
  15334. }
  15335. return (
  15336. Object.defineProperties(r, {
  15337. startPoint: { get: ExpressionPropertyInterface(t.s) },
  15338. endPoint: { get: ExpressionPropertyInterface(t.e) },
  15339. opacity: { get: ExpressionPropertyInterface(t.o) },
  15340. type: {
  15341. get: function () {
  15342. return 'a'
  15343. }
  15344. },
  15345. _name: { value: e.nm },
  15346. mn: { value: e.mn }
  15347. }),
  15348. t.s.setGroupProperty(PropertyInterface('Start Point', n)),
  15349. t.e.setGroupProperty(PropertyInterface('End Point', n)),
  15350. t.o.setGroupProperty(PropertyInterface('Opacity', n)),
  15351. r
  15352. )
  15353. }
  15354. function a(e, t, n) {
  15355. var r,
  15356. a = propertyGroupFactory(c, n),
  15357. o = propertyGroupFactory(l, a)
  15358. function i(n) {
  15359. Object.defineProperty(l, e.d[n].nm, {
  15360. get: ExpressionPropertyInterface(t.d.dataProps[n].p)
  15361. })
  15362. }
  15363. var s = e.d ? e.d.length : 0,
  15364. l = {}
  15365. for (r = 0; r < s; r += 1) i(r), t.d.dataProps[r].p.setGroupProperty(o)
  15366. function c(e) {
  15367. return 'Color' === e || 'color' === e
  15368. ? c.color
  15369. : 'Opacity' === e || 'opacity' === e
  15370. ? c.opacity
  15371. : 'Stroke Width' === e || 'stroke width' === e
  15372. ? c.strokeWidth
  15373. : null
  15374. }
  15375. return (
  15376. Object.defineProperties(c, {
  15377. color: { get: ExpressionPropertyInterface(t.c) },
  15378. opacity: { get: ExpressionPropertyInterface(t.o) },
  15379. strokeWidth: { get: ExpressionPropertyInterface(t.w) },
  15380. dash: {
  15381. get: function () {
  15382. return l
  15383. }
  15384. },
  15385. _name: { value: e.nm },
  15386. mn: { value: e.mn }
  15387. }),
  15388. t.c.setGroupProperty(PropertyInterface('Color', a)),
  15389. t.o.setGroupProperty(PropertyInterface('Opacity', a)),
  15390. t.w.setGroupProperty(PropertyInterface('Stroke Width', a)),
  15391. c
  15392. )
  15393. }
  15394. function o(e, t, n) {
  15395. function r(t) {
  15396. return t === e.e.ix || 'End' === t || 'end' === t
  15397. ? r.end
  15398. : t === e.s.ix
  15399. ? r.start
  15400. : t === e.o.ix
  15401. ? r.offset
  15402. : null
  15403. }
  15404. var a = propertyGroupFactory(r, n)
  15405. return (
  15406. (r.propertyIndex = e.ix),
  15407. t.s.setGroupProperty(PropertyInterface('Start', a)),
  15408. t.e.setGroupProperty(PropertyInterface('End', a)),
  15409. t.o.setGroupProperty(PropertyInterface('Offset', a)),
  15410. (r.propertyIndex = e.ix),
  15411. (r.propertyGroup = n),
  15412. Object.defineProperties(r, {
  15413. start: { get: ExpressionPropertyInterface(t.s) },
  15414. end: { get: ExpressionPropertyInterface(t.e) },
  15415. offset: { get: ExpressionPropertyInterface(t.o) },
  15416. _name: { value: e.nm }
  15417. }),
  15418. (r.mn = e.mn),
  15419. r
  15420. )
  15421. }
  15422. function i(e, t, n) {
  15423. function r(t) {
  15424. return e.a.ix === t || 'Anchor Point' === t
  15425. ? r.anchorPoint
  15426. : e.o.ix === t || 'Opacity' === t
  15427. ? r.opacity
  15428. : e.p.ix === t || 'Position' === t
  15429. ? r.position
  15430. : e.r.ix === t || 'Rotation' === t || 'ADBE Vector Rotation' === t
  15431. ? r.rotation
  15432. : e.s.ix === t || 'Scale' === t
  15433. ? r.scale
  15434. : (e.sk && e.sk.ix === t) || 'Skew' === t
  15435. ? r.skew
  15436. : (e.sa && e.sa.ix === t) || 'Skew Axis' === t
  15437. ? r.skewAxis
  15438. : null
  15439. }
  15440. var a = propertyGroupFactory(r, n)
  15441. return (
  15442. t.transform.mProps.o.setGroupProperty(PropertyInterface('Opacity', a)),
  15443. t.transform.mProps.p.setGroupProperty(PropertyInterface('Position', a)),
  15444. t.transform.mProps.a.setGroupProperty(PropertyInterface('Anchor Point', a)),
  15445. t.transform.mProps.s.setGroupProperty(PropertyInterface('Scale', a)),
  15446. t.transform.mProps.r.setGroupProperty(PropertyInterface('Rotation', a)),
  15447. t.transform.mProps.sk &&
  15448. (t.transform.mProps.sk.setGroupProperty(PropertyInterface('Skew', a)),
  15449. t.transform.mProps.sa.setGroupProperty(
  15450. PropertyInterface('Skew Angle', a)
  15451. )),
  15452. t.transform.op.setGroupProperty(PropertyInterface('Opacity', a)),
  15453. Object.defineProperties(r, {
  15454. opacity: { get: ExpressionPropertyInterface(t.transform.mProps.o) },
  15455. position: { get: ExpressionPropertyInterface(t.transform.mProps.p) },
  15456. anchorPoint: { get: ExpressionPropertyInterface(t.transform.mProps.a) },
  15457. scale: { get: ExpressionPropertyInterface(t.transform.mProps.s) },
  15458. rotation: { get: ExpressionPropertyInterface(t.transform.mProps.r) },
  15459. skew: { get: ExpressionPropertyInterface(t.transform.mProps.sk) },
  15460. skewAxis: { get: ExpressionPropertyInterface(t.transform.mProps.sa) },
  15461. _name: { value: e.nm }
  15462. }),
  15463. (r.ty = 'tr'),
  15464. (r.mn = e.mn),
  15465. (r.propertyGroup = n),
  15466. r
  15467. )
  15468. }
  15469. function s(e, t, n) {
  15470. function r(t) {
  15471. return e.p.ix === t ? r.position : e.s.ix === t ? r.size : null
  15472. }
  15473. var a = propertyGroupFactory(r, n)
  15474. r.propertyIndex = e.ix
  15475. var o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
  15476. return (
  15477. o.s.setGroupProperty(PropertyInterface('Size', a)),
  15478. o.p.setGroupProperty(PropertyInterface('Position', a)),
  15479. Object.defineProperties(r, {
  15480. size: { get: ExpressionPropertyInterface(o.s) },
  15481. position: { get: ExpressionPropertyInterface(o.p) },
  15482. _name: { value: e.nm }
  15483. }),
  15484. (r.mn = e.mn),
  15485. r
  15486. )
  15487. }
  15488. function l(e, t, n) {
  15489. function r(t) {
  15490. return e.p.ix === t
  15491. ? r.position
  15492. : e.r.ix === t
  15493. ? r.rotation
  15494. : e.pt.ix === t
  15495. ? r.points
  15496. : e.or.ix === t || 'ADBE Vector Star Outer Radius' === t
  15497. ? r.outerRadius
  15498. : e.os.ix === t
  15499. ? r.outerRoundness
  15500. : !e.ir || (e.ir.ix !== t && 'ADBE Vector Star Inner Radius' !== t)
  15501. ? e.is && e.is.ix === t
  15502. ? r.innerRoundness
  15503. : null
  15504. : r.innerRadius
  15505. }
  15506. var a = propertyGroupFactory(r, n),
  15507. o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
  15508. return (
  15509. (r.propertyIndex = e.ix),
  15510. o.or.setGroupProperty(PropertyInterface('Outer Radius', a)),
  15511. o.os.setGroupProperty(PropertyInterface('Outer Roundness', a)),
  15512. o.pt.setGroupProperty(PropertyInterface('Points', a)),
  15513. o.p.setGroupProperty(PropertyInterface('Position', a)),
  15514. o.r.setGroupProperty(PropertyInterface('Rotation', a)),
  15515. e.ir &&
  15516. (o.ir.setGroupProperty(PropertyInterface('Inner Radius', a)),
  15517. o.is.setGroupProperty(PropertyInterface('Inner Roundness', a))),
  15518. Object.defineProperties(r, {
  15519. position: { get: ExpressionPropertyInterface(o.p) },
  15520. rotation: { get: ExpressionPropertyInterface(o.r) },
  15521. points: { get: ExpressionPropertyInterface(o.pt) },
  15522. outerRadius: { get: ExpressionPropertyInterface(o.or) },
  15523. outerRoundness: { get: ExpressionPropertyInterface(o.os) },
  15524. innerRadius: { get: ExpressionPropertyInterface(o.ir) },
  15525. innerRoundness: { get: ExpressionPropertyInterface(o.is) },
  15526. _name: { value: e.nm }
  15527. }),
  15528. (r.mn = e.mn),
  15529. r
  15530. )
  15531. }
  15532. function c(e, t, n) {
  15533. function r(t) {
  15534. return e.p.ix === t
  15535. ? r.position
  15536. : e.r.ix === t
  15537. ? r.roundness
  15538. : e.s.ix === t || 'Size' === t || 'ADBE Vector Rect Size' === t
  15539. ? r.size
  15540. : null
  15541. }
  15542. var a = propertyGroupFactory(r, n),
  15543. o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
  15544. return (
  15545. (r.propertyIndex = e.ix),
  15546. o.p.setGroupProperty(PropertyInterface('Position', a)),
  15547. o.s.setGroupProperty(PropertyInterface('Size', a)),
  15548. o.r.setGroupProperty(PropertyInterface('Rotation', a)),
  15549. Object.defineProperties(r, {
  15550. position: { get: ExpressionPropertyInterface(o.p) },
  15551. roundness: { get: ExpressionPropertyInterface(o.r) },
  15552. size: { get: ExpressionPropertyInterface(o.s) },
  15553. _name: { value: e.nm }
  15554. }),
  15555. (r.mn = e.mn),
  15556. r
  15557. )
  15558. }
  15559. function u(e, t, n) {
  15560. function r(t) {
  15561. return e.r.ix === t || 'Round Corners 1' === t ? r.radius : null
  15562. }
  15563. var a = propertyGroupFactory(r, n),
  15564. o = t
  15565. return (
  15566. (r.propertyIndex = e.ix),
  15567. o.rd.setGroupProperty(PropertyInterface('Radius', a)),
  15568. Object.defineProperties(r, {
  15569. radius: { get: ExpressionPropertyInterface(o.rd) },
  15570. _name: { value: e.nm }
  15571. }),
  15572. (r.mn = e.mn),
  15573. r
  15574. )
  15575. }
  15576. function p(e, t, n) {
  15577. function r(t) {
  15578. return e.c.ix === t || 'Copies' === t
  15579. ? r.copies
  15580. : e.o.ix === t || 'Offset' === t
  15581. ? r.offset
  15582. : null
  15583. }
  15584. var a = propertyGroupFactory(r, n),
  15585. o = t
  15586. return (
  15587. (r.propertyIndex = e.ix),
  15588. o.c.setGroupProperty(PropertyInterface('Copies', a)),
  15589. o.o.setGroupProperty(PropertyInterface('Offset', a)),
  15590. Object.defineProperties(r, {
  15591. copies: { get: ExpressionPropertyInterface(o.c) },
  15592. offset: { get: ExpressionPropertyInterface(o.o) },
  15593. _name: { value: e.nm }
  15594. }),
  15595. (r.mn = e.mn),
  15596. r
  15597. )
  15598. }
  15599. return function (t, n, r) {
  15600. var a
  15601. function o(e) {
  15602. if ('number' == typeof e)
  15603. return 0 === (e = void 0 === e ? 1 : e) ? r : a[e - 1]
  15604. for (var t = 0, n = a.length; t < n; ) {
  15605. if (a[t]._name === e) return a[t]
  15606. t += 1
  15607. }
  15608. return null
  15609. }
  15610. return (
  15611. (o.propertyGroup = propertyGroupFactory(o, function () {
  15612. return r
  15613. })),
  15614. (a = e(t, n, o.propertyGroup)),
  15615. (o.numProperties = a.length),
  15616. (o._name = 'Contents'),
  15617. o
  15618. )
  15619. }
  15620. })(),
  15621. TextExpressionInterface = function (e) {
  15622. var t, n
  15623. function r(e) {
  15624. return 'ADBE Text Document' === e ? r.sourceText : null
  15625. }
  15626. return (
  15627. Object.defineProperty(r, 'sourceText', {
  15628. get: function () {
  15629. e.textProperty.getValue()
  15630. var r = e.textProperty.currentData.t
  15631. return (
  15632. r !== t &&
  15633. ((e.textProperty.currentData.t = t),
  15634. ((n = new String(r)).value = r || new String(r))),
  15635. n
  15636. )
  15637. }
  15638. }),
  15639. r
  15640. )
  15641. },
  15642. getBlendMode =
  15643. ((blendModeEnums = {
  15644. 0: 'source-over',
  15645. 1: 'multiply',
  15646. 2: 'screen',
  15647. 3: 'overlay',
  15648. 4: 'darken',
  15649. 5: 'lighten',
  15650. 6: 'color-dodge',
  15651. 7: 'color-burn',
  15652. 8: 'hard-light',
  15653. 9: 'soft-light',
  15654. 10: 'difference',
  15655. 11: 'exclusion',
  15656. 12: 'hue',
  15657. 13: 'saturation',
  15658. 14: 'color',
  15659. 15: 'luminosity'
  15660. }),
  15661. function (e) {
  15662. return blendModeEnums[e] || ''
  15663. }),
  15664. blendModeEnums
  15665. function SliderEffect(e, t, n) {
  15666. this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
  15667. }
  15668. function AngleEffect(e, t, n) {
  15669. this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
  15670. }
  15671. function ColorEffect(e, t, n) {
  15672. this.p = PropertyFactory.getProp(t, e.v, 1, 0, n)
  15673. }
  15674. function PointEffect(e, t, n) {
  15675. this.p = PropertyFactory.getProp(t, e.v, 1, 0, n)
  15676. }
  15677. function LayerIndexEffect(e, t, n) {
  15678. this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
  15679. }
  15680. function MaskIndexEffect(e, t, n) {
  15681. this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
  15682. }
  15683. function CheckboxEffect(e, t, n) {
  15684. this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
  15685. }
  15686. function NoValueEffect() {
  15687. this.p = {}
  15688. }
  15689. function EffectsManager(e, t) {
  15690. var n,
  15691. r = e.ef || []
  15692. this.effectElements = []
  15693. var a,
  15694. o = r.length
  15695. for (n = 0; n < o; n += 1)
  15696. (a = new GroupEffect(r[n], t)), this.effectElements.push(a)
  15697. }
  15698. function GroupEffect(e, t) {
  15699. this.init(e, t)
  15700. }
  15701. function BaseElement() {}
  15702. function FrameElement() {}
  15703. function _typeof$2(e) {
  15704. return (
  15705. (_typeof$2 =
  15706. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  15707. ? function (e) {
  15708. return typeof e
  15709. }
  15710. : function (e) {
  15711. return e &&
  15712. 'function' == typeof Symbol &&
  15713. e.constructor === Symbol &&
  15714. e !== Symbol.prototype
  15715. ? 'symbol'
  15716. : typeof e
  15717. }),
  15718. _typeof$2(e)
  15719. )
  15720. }
  15721. extendPrototype([DynamicPropertyContainer], GroupEffect),
  15722. (GroupEffect.prototype.getValue = GroupEffect.prototype.iterateDynamicProperties),
  15723. (GroupEffect.prototype.init = function (e, t) {
  15724. var n
  15725. ;(this.data = e),
  15726. (this.effectElements = []),
  15727. this.initDynamicPropertyContainer(t)
  15728. var r,
  15729. a = this.data.ef.length,
  15730. o = this.data.ef
  15731. for (n = 0; n < a; n += 1) {
  15732. switch (((r = null), o[n].ty)) {
  15733. case 0:
  15734. r = new SliderEffect(o[n], t, this)
  15735. break
  15736. case 1:
  15737. r = new AngleEffect(o[n], t, this)
  15738. break
  15739. case 2:
  15740. r = new ColorEffect(o[n], t, this)
  15741. break
  15742. case 3:
  15743. r = new PointEffect(o[n], t, this)
  15744. break
  15745. case 4:
  15746. case 7:
  15747. r = new CheckboxEffect(o[n], t, this)
  15748. break
  15749. case 10:
  15750. r = new LayerIndexEffect(o[n], t, this)
  15751. break
  15752. case 11:
  15753. r = new MaskIndexEffect(o[n], t, this)
  15754. break
  15755. case 5:
  15756. r = new EffectsManager(o[n], t)
  15757. break
  15758. default:
  15759. r = new NoValueEffect(o[n])
  15760. }
  15761. r && this.effectElements.push(r)
  15762. }
  15763. }),
  15764. (BaseElement.prototype = {
  15765. checkMasks: function () {
  15766. if (!this.data.hasMask) return !1
  15767. for (var e = 0, t = this.data.masksProperties.length; e < t; ) {
  15768. if (
  15769. 'n' !== this.data.masksProperties[e].mode &&
  15770. !1 !== this.data.masksProperties[e].cl
  15771. )
  15772. return !0
  15773. e += 1
  15774. }
  15775. return !1
  15776. },
  15777. initExpressions: function () {
  15778. ;(this.layerInterface = LayerExpressionInterface(this)),
  15779. this.data.hasMask &&
  15780. this.maskManager &&
  15781. this.layerInterface.registerMaskInterface(this.maskManager)
  15782. var e = EffectsExpressionInterface.createEffectsInterface(
  15783. this,
  15784. this.layerInterface
  15785. )
  15786. this.layerInterface.registerEffectsInterface(e),
  15787. 0 === this.data.ty || this.data.xt
  15788. ? (this.compInterface = CompExpressionInterface(this))
  15789. : 4 === this.data.ty
  15790. ? ((this.layerInterface.shapeInterface = ShapeExpressionInterface(
  15791. this.shapesData,
  15792. this.itemsData,
  15793. this.layerInterface
  15794. )),
  15795. (this.layerInterface.content = this.layerInterface.shapeInterface))
  15796. : 5 === this.data.ty &&
  15797. ((this.layerInterface.textInterface = TextExpressionInterface(this)),
  15798. (this.layerInterface.text = this.layerInterface.textInterface))
  15799. },
  15800. setBlendMode: function () {
  15801. var e = getBlendMode(this.data.bm)
  15802. ;(this.baseElement || this.layerElement).style['mix-blend-mode'] = e
  15803. },
  15804. initBaseData: function (e, t, n) {
  15805. ;(this.globalData = t),
  15806. (this.comp = n),
  15807. (this.data = e),
  15808. (this.layerId = createElementID()),
  15809. this.data.sr || (this.data.sr = 1),
  15810. (this.effectsManager = new EffectsManager(
  15811. this.data,
  15812. this,
  15813. this.dynamicProperties
  15814. ))
  15815. },
  15816. getType: function () {
  15817. return this.type
  15818. },
  15819. sourceRectAtTime: function () {}
  15820. }),
  15821. (FrameElement.prototype = {
  15822. initFrame: function () {
  15823. ;(this._isFirstFrame = !1), (this.dynamicProperties = []), (this._mdf = !1)
  15824. },
  15825. prepareProperties: function (e, t) {
  15826. var n,
  15827. r = this.dynamicProperties.length
  15828. for (n = 0; n < r; n += 1)
  15829. (t ||
  15830. (this._isParent && 'transform' === this.dynamicProperties[n].propType)) &&
  15831. (this.dynamicProperties[n].getValue(),
  15832. this.dynamicProperties[n]._mdf &&
  15833. ((this.globalData._mdf = !0), (this._mdf = !0)))
  15834. },
  15835. addDynamicProperty: function (e) {
  15836. ;-1 === this.dynamicProperties.indexOf(e) && this.dynamicProperties.push(e)
  15837. }
  15838. })
  15839. var FootageInterface =
  15840. ((dataInterfaceFactory = function (e) {
  15841. function t(e) {
  15842. return 'Outline' === e ? t.outlineInterface() : null
  15843. }
  15844. return (
  15845. (t._name = 'Outline'),
  15846. (t.outlineInterface = (function (e) {
  15847. var t = '',
  15848. n = e.getFootageData()
  15849. function r(e) {
  15850. if (n[e]) return (t = e), 'object' === _typeof$2((n = n[e])) ? r : n
  15851. var a = e.indexOf(t)
  15852. if (-1 !== a) {
  15853. var o = parseInt(e.substr(a + t.length), 10)
  15854. return 'object' === _typeof$2((n = n[o])) ? r : n
  15855. }
  15856. return ''
  15857. }
  15858. return function () {
  15859. return (t = ''), (n = e.getFootageData()), r
  15860. }
  15861. })(e)),
  15862. t
  15863. )
  15864. }),
  15865. function (e) {
  15866. function t(e) {
  15867. return 'Data' === e ? t.dataInterface : null
  15868. }
  15869. return (t._name = 'Data'), (t.dataInterface = dataInterfaceFactory(e)), t
  15870. }),
  15871. dataInterfaceFactory
  15872. function FootageElement(e, t, n) {
  15873. this.initFrame(),
  15874. this.initRenderable(),
  15875. (this.assetData = t.getAssetData(e.refId)),
  15876. (this.footageData = t.imageLoader.getAsset(this.assetData)),
  15877. this.initBaseData(e, t, n)
  15878. }
  15879. function AudioElement(e, t, n) {
  15880. this.initFrame(),
  15881. this.initRenderable(),
  15882. (this.assetData = t.getAssetData(e.refId)),
  15883. this.initBaseData(e, t, n),
  15884. (this._isPlaying = !1),
  15885. (this._canPlay = !1)
  15886. var r = this.globalData.getAssetsPath(this.assetData)
  15887. ;(this.audio = this.globalData.audioController.createAudio(r)),
  15888. (this._currentTime = 0),
  15889. this.globalData.audioController.addAudio(this),
  15890. (this._volumeMultiplier = 1),
  15891. (this._volume = 1),
  15892. (this._previousVolume = null),
  15893. (this.tm = e.tm
  15894. ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
  15895. : { _placeholder: !0 }),
  15896. (this.lv = PropertyFactory.getProp(
  15897. this,
  15898. e.au && e.au.lv ? e.au.lv : { k: [100] },
  15899. 1,
  15900. 0.01,
  15901. this
  15902. ))
  15903. }
  15904. function BaseRenderer() {}
  15905. function TransformElement() {}
  15906. function MaskElement(e, t, n) {
  15907. ;(this.data = e),
  15908. (this.element = t),
  15909. (this.globalData = n),
  15910. (this.storedData = []),
  15911. (this.masksProperties = this.data.masksProperties || []),
  15912. (this.maskElement = null)
  15913. var r,
  15914. a,
  15915. o = this.globalData.defs,
  15916. i = this.masksProperties ? this.masksProperties.length : 0
  15917. ;(this.viewData = createSizedArray(i)), (this.solidPath = '')
  15918. var s,
  15919. l,
  15920. c,
  15921. u,
  15922. p,
  15923. d,
  15924. f = this.masksProperties,
  15925. h = 0,
  15926. v = [],
  15927. m = createElementID(),
  15928. g = 'clipPath',
  15929. y = 'clip-path'
  15930. for (r = 0; r < i; r += 1)
  15931. if (
  15932. ((('a' !== f[r].mode && 'n' !== f[r].mode) ||
  15933. f[r].inv ||
  15934. 100 !== f[r].o.k ||
  15935. f[r].o.x) &&
  15936. ((g = 'mask'), (y = 'mask')),
  15937. ('s' !== f[r].mode && 'i' !== f[r].mode) || 0 !== h
  15938. ? (c = null)
  15939. : ((c = createNS('rect')).setAttribute('fill', '#ffffff'),
  15940. c.setAttribute('width', this.element.comp.data.w || 0),
  15941. c.setAttribute('height', this.element.comp.data.h || 0),
  15942. v.push(c)),
  15943. (a = createNS('path')),
  15944. 'n' === f[r].mode)
  15945. )
  15946. (this.viewData[r] = {
  15947. op: PropertyFactory.getProp(this.element, f[r].o, 0, 0.01, this.element),
  15948. prop: ShapePropertyFactory.getShapeProp(this.element, f[r], 3),
  15949. elem: a,
  15950. lastPath: ''
  15951. }),
  15952. o.appendChild(a)
  15953. else {
  15954. var b
  15955. if (
  15956. ((h += 1),
  15957. a.setAttribute('fill', 's' === f[r].mode ? '#000000' : '#ffffff'),
  15958. a.setAttribute('clip-rule', 'nonzero'),
  15959. 0 !== f[r].x.k
  15960. ? ((g = 'mask'),
  15961. (y = 'mask'),
  15962. (d = PropertyFactory.getProp(
  15963. this.element,
  15964. f[r].x,
  15965. 0,
  15966. null,
  15967. this.element
  15968. )),
  15969. (b = createElementID()),
  15970. (u = createNS('filter')).setAttribute('id', b),
  15971. (p = createNS('feMorphology')).setAttribute('operator', 'erode'),
  15972. p.setAttribute('in', 'SourceGraphic'),
  15973. p.setAttribute('radius', '0'),
  15974. u.appendChild(p),
  15975. o.appendChild(u),
  15976. a.setAttribute('stroke', 's' === f[r].mode ? '#000000' : '#ffffff'))
  15977. : ((p = null), (d = null)),
  15978. (this.storedData[r] = {
  15979. elem: a,
  15980. x: d,
  15981. expan: p,
  15982. lastPath: '',
  15983. lastOperator: '',
  15984. filterId: b,
  15985. lastRadius: 0
  15986. }),
  15987. 'i' === f[r].mode)
  15988. ) {
  15989. l = v.length
  15990. var _ = createNS('g')
  15991. for (s = 0; s < l; s += 1) _.appendChild(v[s])
  15992. var A = createNS('mask')
  15993. A.setAttribute('mask-type', 'alpha'),
  15994. A.setAttribute('id', m + '_' + h),
  15995. A.appendChild(a),
  15996. o.appendChild(A),
  15997. _.setAttribute(
  15998. 'mask',
  15999. 'url(' + getLocationHref() + '#' + m + '_' + h + ')'
  16000. ),
  16001. (v.length = 0),
  16002. v.push(_)
  16003. } else v.push(a)
  16004. f[r].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()),
  16005. (this.viewData[r] = {
  16006. elem: a,
  16007. lastPath: '',
  16008. op: PropertyFactory.getProp(this.element, f[r].o, 0, 0.01, this.element),
  16009. prop: ShapePropertyFactory.getShapeProp(this.element, f[r], 3),
  16010. invRect: c
  16011. }),
  16012. this.viewData[r].prop.k ||
  16013. this.drawPath(f[r], this.viewData[r].prop.v, this.viewData[r])
  16014. }
  16015. for (this.maskElement = createNS(g), i = v.length, r = 0; r < i; r += 1)
  16016. this.maskElement.appendChild(v[r])
  16017. h > 0 &&
  16018. (this.maskElement.setAttribute('id', m),
  16019. this.element.maskedElement.setAttribute(
  16020. y,
  16021. 'url(' + getLocationHref() + '#' + m + ')'
  16022. ),
  16023. o.appendChild(this.maskElement)),
  16024. this.viewData.length && this.element.addRenderableComponent(this)
  16025. }
  16026. ;(FootageElement.prototype.prepareFrame = function () {}),
  16027. extendPrototype([RenderableElement, BaseElement, FrameElement], FootageElement),
  16028. (FootageElement.prototype.getBaseElement = function () {
  16029. return null
  16030. }),
  16031. (FootageElement.prototype.renderFrame = function () {}),
  16032. (FootageElement.prototype.destroy = function () {}),
  16033. (FootageElement.prototype.initExpressions = function () {
  16034. this.layerInterface = FootageInterface(this)
  16035. }),
  16036. (FootageElement.prototype.getFootageData = function () {
  16037. return this.footageData
  16038. }),
  16039. (AudioElement.prototype.prepareFrame = function (e) {
  16040. if (
  16041. (this.prepareRenderableFrame(e, !0),
  16042. this.prepareProperties(e, !0),
  16043. this.tm._placeholder)
  16044. )
  16045. this._currentTime = e / this.data.sr
  16046. else {
  16047. var t = this.tm.v
  16048. this._currentTime = t
  16049. }
  16050. this._volume = this.lv.v[0]
  16051. var n = this._volume * this._volumeMultiplier
  16052. this._previousVolume !== n && ((this._previousVolume = n), this.audio.volume(n))
  16053. }),
  16054. extendPrototype([RenderableElement, BaseElement, FrameElement], AudioElement),
  16055. (AudioElement.prototype.renderFrame = function () {
  16056. this.isInRange &&
  16057. this._canPlay &&
  16058. (this._isPlaying
  16059. ? (!this.audio.playing() ||
  16060. Math.abs(
  16061. this._currentTime / this.globalData.frameRate - this.audio.seek()
  16062. ) > 0.1) &&
  16063. this.audio.seek(this._currentTime / this.globalData.frameRate)
  16064. : (this.audio.play(),
  16065. this.audio.seek(this._currentTime / this.globalData.frameRate),
  16066. (this._isPlaying = !0)))
  16067. }),
  16068. (AudioElement.prototype.show = function () {}),
  16069. (AudioElement.prototype.hide = function () {
  16070. this.audio.pause(), (this._isPlaying = !1)
  16071. }),
  16072. (AudioElement.prototype.pause = function () {
  16073. this.audio.pause(), (this._isPlaying = !1), (this._canPlay = !1)
  16074. }),
  16075. (AudioElement.prototype.resume = function () {
  16076. this._canPlay = !0
  16077. }),
  16078. (AudioElement.prototype.setRate = function (e) {
  16079. this.audio.rate(e)
  16080. }),
  16081. (AudioElement.prototype.volume = function (e) {
  16082. ;(this._volumeMultiplier = e),
  16083. (this._previousVolume = e * this._volume),
  16084. this.audio.volume(this._previousVolume)
  16085. }),
  16086. (AudioElement.prototype.getBaseElement = function () {
  16087. return null
  16088. }),
  16089. (AudioElement.prototype.destroy = function () {}),
  16090. (AudioElement.prototype.sourceRectAtTime = function () {}),
  16091. (AudioElement.prototype.initExpressions = function () {}),
  16092. (BaseRenderer.prototype.checkLayers = function (e) {
  16093. var t,
  16094. n,
  16095. r = this.layers.length
  16096. for (this.completeLayers = !0, t = r - 1; t >= 0; t -= 1)
  16097. this.elements[t] ||
  16098. ((n = this.layers[t]).ip - n.st <= e - this.layers[t].st &&
  16099. n.op - n.st > e - this.layers[t].st &&
  16100. this.buildItem(t)),
  16101. (this.completeLayers = !!this.elements[t] && this.completeLayers)
  16102. this.checkPendingElements()
  16103. }),
  16104. (BaseRenderer.prototype.createItem = function (e) {
  16105. switch (e.ty) {
  16106. case 2:
  16107. return this.createImage(e)
  16108. case 0:
  16109. return this.createComp(e)
  16110. case 1:
  16111. return this.createSolid(e)
  16112. case 3:
  16113. default:
  16114. return this.createNull(e)
  16115. case 4:
  16116. return this.createShape(e)
  16117. case 5:
  16118. return this.createText(e)
  16119. case 6:
  16120. return this.createAudio(e)
  16121. case 13:
  16122. return this.createCamera(e)
  16123. case 15:
  16124. return this.createFootage(e)
  16125. }
  16126. }),
  16127. (BaseRenderer.prototype.createCamera = function () {
  16128. throw new Error("You're using a 3d camera. Try the html renderer.")
  16129. }),
  16130. (BaseRenderer.prototype.createAudio = function (e) {
  16131. return new AudioElement(e, this.globalData, this)
  16132. }),
  16133. (BaseRenderer.prototype.createFootage = function (e) {
  16134. return new FootageElement(e, this.globalData, this)
  16135. }),
  16136. (BaseRenderer.prototype.buildAllItems = function () {
  16137. var e,
  16138. t = this.layers.length
  16139. for (e = 0; e < t; e += 1) this.buildItem(e)
  16140. this.checkPendingElements()
  16141. }),
  16142. (BaseRenderer.prototype.includeLayers = function (e) {
  16143. var t
  16144. this.completeLayers = !1
  16145. var n,
  16146. r = e.length,
  16147. a = this.layers.length
  16148. for (t = 0; t < r; t += 1)
  16149. for (n = 0; n < a; ) {
  16150. if (this.layers[n].id === e[t].id) {
  16151. this.layers[n] = e[t]
  16152. break
  16153. }
  16154. n += 1
  16155. }
  16156. }),
  16157. (BaseRenderer.prototype.setProjectInterface = function (e) {
  16158. this.globalData.projectInterface = e
  16159. }),
  16160. (BaseRenderer.prototype.initItems = function () {
  16161. this.globalData.progressiveLoad || this.buildAllItems()
  16162. }),
  16163. (BaseRenderer.prototype.buildElementParenting = function (e, t, n) {
  16164. for (var r = this.elements, a = this.layers, o = 0, i = a.length; o < i; )
  16165. a[o].ind == t &&
  16166. (r[o] && !0 !== r[o]
  16167. ? (n.push(r[o]),
  16168. r[o].setAsParent(),
  16169. void 0 !== a[o].parent
  16170. ? this.buildElementParenting(e, a[o].parent, n)
  16171. : e.setHierarchy(n))
  16172. : (this.buildItem(o), this.addPendingElement(e))),
  16173. (o += 1)
  16174. }),
  16175. (BaseRenderer.prototype.addPendingElement = function (e) {
  16176. this.pendingElements.push(e)
  16177. }),
  16178. (BaseRenderer.prototype.searchExtraCompositions = function (e) {
  16179. var t,
  16180. n = e.length
  16181. for (t = 0; t < n; t += 1)
  16182. if (e[t].xt) {
  16183. var r = this.createComp(e[t])
  16184. r.initExpressions(), this.globalData.projectInterface.registerComposition(r)
  16185. }
  16186. }),
  16187. (BaseRenderer.prototype.getElementByPath = function (e) {
  16188. var t,
  16189. n = e.shift()
  16190. if ('number' == typeof n) t = this.elements[n]
  16191. else {
  16192. var r,
  16193. a = this.elements.length
  16194. for (r = 0; r < a; r += 1)
  16195. if (this.elements[r].data.nm === n) {
  16196. t = this.elements[r]
  16197. break
  16198. }
  16199. }
  16200. return 0 === e.length ? t : t.getElementByPath(e)
  16201. }),
  16202. (BaseRenderer.prototype.setupGlobalData = function (e, t) {
  16203. ;(this.globalData.fontManager = new FontManager()),
  16204. this.globalData.fontManager.addChars(e.chars),
  16205. this.globalData.fontManager.addFonts(e.fonts, t),
  16206. (this.globalData.getAssetData = this.animationItem.getAssetData.bind(
  16207. this.animationItem
  16208. )),
  16209. (this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(
  16210. this.animationItem
  16211. )),
  16212. (this.globalData.imageLoader = this.animationItem.imagePreloader),
  16213. (this.globalData.audioController = this.animationItem.audioController),
  16214. (this.globalData.frameId = 0),
  16215. (this.globalData.frameRate = e.fr),
  16216. (this.globalData.nm = e.nm),
  16217. (this.globalData.compSize = { w: e.w, h: e.h })
  16218. }),
  16219. (TransformElement.prototype = {
  16220. initTransform: function () {
  16221. ;(this.finalTransform = {
  16222. mProp: this.data.ks
  16223. ? TransformPropertyFactory.getTransformProperty(this, this.data.ks, this)
  16224. : { o: 0 },
  16225. _matMdf: !1,
  16226. _opMdf: !1,
  16227. mat: new Matrix()
  16228. }),
  16229. this.data.ao && (this.finalTransform.mProp.autoOriented = !0),
  16230. this.data.ty
  16231. },
  16232. renderTransform: function () {
  16233. if (
  16234. ((this.finalTransform._opMdf =
  16235. this.finalTransform.mProp.o._mdf || this._isFirstFrame),
  16236. (this.finalTransform._matMdf =
  16237. this.finalTransform.mProp._mdf || this._isFirstFrame),
  16238. this.hierarchy)
  16239. ) {
  16240. var e,
  16241. t = this.finalTransform.mat,
  16242. n = 0,
  16243. r = this.hierarchy.length
  16244. if (!this.finalTransform._matMdf)
  16245. for (; n < r; ) {
  16246. if (this.hierarchy[n].finalTransform.mProp._mdf) {
  16247. this.finalTransform._matMdf = !0
  16248. break
  16249. }
  16250. n += 1
  16251. }
  16252. if (this.finalTransform._matMdf)
  16253. for (
  16254. e = this.finalTransform.mProp.v.props, t.cloneFromProps(e), n = 0;
  16255. n < r;
  16256. n += 1
  16257. )
  16258. (e = this.hierarchy[n].finalTransform.mProp.v.props),
  16259. t.transform(
  16260. e[0],
  16261. e[1],
  16262. e[2],
  16263. e[3],
  16264. e[4],
  16265. e[5],
  16266. e[6],
  16267. e[7],
  16268. e[8],
  16269. e[9],
  16270. e[10],
  16271. e[11],
  16272. e[12],
  16273. e[13],
  16274. e[14],
  16275. e[15]
  16276. )
  16277. }
  16278. },
  16279. globalToLocal: function (e) {
  16280. var t = []
  16281. t.push(this.finalTransform)
  16282. for (var n, r = !0, a = this.comp; r; )
  16283. a.finalTransform
  16284. ? (a.data.hasMask && t.splice(0, 0, a.finalTransform), (a = a.comp))
  16285. : (r = !1)
  16286. var o,
  16287. i = t.length
  16288. for (n = 0; n < i; n += 1)
  16289. (o = t[n].mat.applyToPointArray(0, 0, 0)),
  16290. (e = [e[0] - o[0], e[1] - o[1], 0])
  16291. return e
  16292. },
  16293. mHelper: new Matrix()
  16294. }),
  16295. (MaskElement.prototype.getMaskProperty = function (e) {
  16296. return this.viewData[e].prop
  16297. }),
  16298. (MaskElement.prototype.renderFrame = function (e) {
  16299. var t,
  16300. n = this.element.finalTransform.mat,
  16301. r = this.masksProperties.length
  16302. for (t = 0; t < r; t += 1)
  16303. if (
  16304. ((this.viewData[t].prop._mdf || e) &&
  16305. this.drawPath(
  16306. this.masksProperties[t],
  16307. this.viewData[t].prop.v,
  16308. this.viewData[t]
  16309. ),
  16310. (this.viewData[t].op._mdf || e) &&
  16311. this.viewData[t].elem.setAttribute('fill-opacity', this.viewData[t].op.v),
  16312. 'n' !== this.masksProperties[t].mode &&
  16313. (this.viewData[t].invRect &&
  16314. (this.element.finalTransform.mProp._mdf || e) &&
  16315. this.viewData[t].invRect.setAttribute(
  16316. 'transform',
  16317. n.getInverseMatrix().to2dCSS()
  16318. ),
  16319. this.storedData[t].x && (this.storedData[t].x._mdf || e)))
  16320. ) {
  16321. var a = this.storedData[t].expan
  16322. this.storedData[t].x.v < 0
  16323. ? ('erode' !== this.storedData[t].lastOperator &&
  16324. ((this.storedData[t].lastOperator = 'erode'),
  16325. this.storedData[t].elem.setAttribute(
  16326. 'filter',
  16327. 'url(' + getLocationHref() + '#' + this.storedData[t].filterId + ')'
  16328. )),
  16329. a.setAttribute('radius', -this.storedData[t].x.v))
  16330. : ('dilate' !== this.storedData[t].lastOperator &&
  16331. ((this.storedData[t].lastOperator = 'dilate'),
  16332. this.storedData[t].elem.setAttribute('filter', null)),
  16333. this.storedData[t].elem.setAttribute(
  16334. 'stroke-width',
  16335. 2 * this.storedData[t].x.v
  16336. ))
  16337. }
  16338. }),
  16339. (MaskElement.prototype.getMaskelement = function () {
  16340. return this.maskElement
  16341. }),
  16342. (MaskElement.prototype.createLayerSolidPath = function () {
  16343. var e = 'M0,0 '
  16344. return (
  16345. (e += ' h' + this.globalData.compSize.w),
  16346. (e += ' v' + this.globalData.compSize.h),
  16347. (e += ' h-' + this.globalData.compSize.w),
  16348. (e += ' v-' + this.globalData.compSize.h + ' ')
  16349. )
  16350. }),
  16351. (MaskElement.prototype.drawPath = function (e, t, n) {
  16352. var r,
  16353. a,
  16354. o = ' M' + t.v[0][0] + ',' + t.v[0][1]
  16355. for (a = t._length, r = 1; r < a; r += 1)
  16356. o +=
  16357. ' C' +
  16358. t.o[r - 1][0] +
  16359. ',' +
  16360. t.o[r - 1][1] +
  16361. ' ' +
  16362. t.i[r][0] +
  16363. ',' +
  16364. t.i[r][1] +
  16365. ' ' +
  16366. t.v[r][0] +
  16367. ',' +
  16368. t.v[r][1]
  16369. if (
  16370. (t.c &&
  16371. a > 1 &&
  16372. (o +=
  16373. ' C' +
  16374. t.o[r - 1][0] +
  16375. ',' +
  16376. t.o[r - 1][1] +
  16377. ' ' +
  16378. t.i[0][0] +
  16379. ',' +
  16380. t.i[0][1] +
  16381. ' ' +
  16382. t.v[0][0] +
  16383. ',' +
  16384. t.v[0][1]),
  16385. n.lastPath !== o)
  16386. ) {
  16387. var i = ''
  16388. n.elem &&
  16389. (t.c && (i = e.inv ? this.solidPath + o : o), n.elem.setAttribute('d', i)),
  16390. (n.lastPath = o)
  16391. }
  16392. }),
  16393. (MaskElement.prototype.destroy = function () {
  16394. ;(this.element = null),
  16395. (this.globalData = null),
  16396. (this.maskElement = null),
  16397. (this.data = null),
  16398. (this.masksProperties = null)
  16399. })
  16400. var filtersFactory = (function () {
  16401. var e = {
  16402. createFilter: function (e, t) {
  16403. var n = createNS('filter')
  16404. return (
  16405. n.setAttribute('id', e),
  16406. !0 !== t &&
  16407. (n.setAttribute('filterUnits', 'objectBoundingBox'),
  16408. n.setAttribute('x', '0%'),
  16409. n.setAttribute('y', '0%'),
  16410. n.setAttribute('width', '100%'),
  16411. n.setAttribute('height', '100%')),
  16412. n
  16413. )
  16414. },
  16415. createAlphaToLuminanceFilter: function () {
  16416. var e = createNS('feColorMatrix')
  16417. return (
  16418. e.setAttribute('type', 'matrix'),
  16419. e.setAttribute('color-interpolation-filters', 'sRGB'),
  16420. e.setAttribute('values', '0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1'),
  16421. e
  16422. )
  16423. }
  16424. }
  16425. return e
  16426. })(),
  16427. featureSupport = (function () {
  16428. var e = { maskType: !0 }
  16429. return (
  16430. (/MSIE 10/i.test(navigator.userAgent) ||
  16431. /MSIE 9/i.test(navigator.userAgent) ||
  16432. /rv:11.0/i.test(navigator.userAgent) ||
  16433. /Edge\/\d./i.test(navigator.userAgent)) &&
  16434. (e.maskType = !1),
  16435. e
  16436. )
  16437. })(),
  16438. registeredEffects = {},
  16439. idPrefix = 'filter_result_'
  16440. function SVGEffects(e) {
  16441. var t,
  16442. n,
  16443. r = 'SourceGraphic',
  16444. a = e.data.ef ? e.data.ef.length : 0,
  16445. o = createElementID(),
  16446. i = filtersFactory.createFilter(o, !0),
  16447. s = 0
  16448. for (this.filters = [], t = 0; t < a; t += 1) {
  16449. n = null
  16450. var l = e.data.ef[t].ty
  16451. registeredEffects[l] &&
  16452. ((n = new (0, registeredEffects[l].effect)(
  16453. i,
  16454. e.effectsManager.effectElements[t],
  16455. e,
  16456. idPrefix + s,
  16457. r
  16458. )),
  16459. (r = idPrefix + s),
  16460. registeredEffects[l].countsAsEffect && (s += 1)),
  16461. n && this.filters.push(n)
  16462. }
  16463. s &&
  16464. (e.globalData.defs.appendChild(i),
  16465. e.layerElement.setAttribute(
  16466. 'filter',
  16467. 'url(' + getLocationHref() + '#' + o + ')'
  16468. )),
  16469. this.filters.length && e.addRenderableComponent(this)
  16470. }
  16471. function registerEffect(e, t, n) {
  16472. registeredEffects[e] = { effect: t, countsAsEffect: n }
  16473. }
  16474. function SVGBaseElement() {}
  16475. function HierarchyElement() {}
  16476. function RenderableDOMElement() {}
  16477. function IImageElement(e, t, n) {
  16478. ;(this.assetData = t.getAssetData(e.refId)),
  16479. this.initElement(e, t, n),
  16480. (this.sourceRect = {
  16481. top: 0,
  16482. left: 0,
  16483. width: this.assetData.w,
  16484. height: this.assetData.h
  16485. })
  16486. }
  16487. function ProcessedElement(e, t) {
  16488. ;(this.elem = e), (this.pos = t)
  16489. }
  16490. function IShapeElement() {}
  16491. ;(SVGEffects.prototype.renderFrame = function (e) {
  16492. var t,
  16493. n = this.filters.length
  16494. for (t = 0; t < n; t += 1) this.filters[t].renderFrame(e)
  16495. }),
  16496. (SVGBaseElement.prototype = {
  16497. initRendererElement: function () {
  16498. this.layerElement = createNS('g')
  16499. },
  16500. createContainerElements: function () {
  16501. ;(this.matteElement = createNS('g')),
  16502. (this.transformedElement = this.layerElement),
  16503. (this.maskedElement = this.layerElement),
  16504. (this._sizeChanged = !1)
  16505. var e,
  16506. t,
  16507. n,
  16508. r = null
  16509. if (this.data.td) {
  16510. if (3 == this.data.td || 1 == this.data.td) {
  16511. var a = createNS('mask')
  16512. a.setAttribute('id', this.layerId),
  16513. a.setAttribute('mask-type', 3 == this.data.td ? 'luminance' : 'alpha'),
  16514. a.appendChild(this.layerElement),
  16515. (r = a),
  16516. this.globalData.defs.appendChild(a),
  16517. featureSupport.maskType ||
  16518. 1 != this.data.td ||
  16519. (a.setAttribute('mask-type', 'luminance'),
  16520. (e = createElementID()),
  16521. (t = filtersFactory.createFilter(e)),
  16522. this.globalData.defs.appendChild(t),
  16523. t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),
  16524. (n = createNS('g')).appendChild(this.layerElement),
  16525. (r = n),
  16526. a.appendChild(n),
  16527. n.setAttribute('filter', 'url(' + getLocationHref() + '#' + e + ')'))
  16528. } else if (2 == this.data.td) {
  16529. var o = createNS('mask')
  16530. o.setAttribute('id', this.layerId), o.setAttribute('mask-type', 'alpha')
  16531. var i = createNS('g')
  16532. o.appendChild(i),
  16533. (e = createElementID()),
  16534. (t = filtersFactory.createFilter(e))
  16535. var s = createNS('feComponentTransfer')
  16536. s.setAttribute('in', 'SourceGraphic'), t.appendChild(s)
  16537. var l = createNS('feFuncA')
  16538. l.setAttribute('type', 'table'),
  16539. l.setAttribute('tableValues', '1.0 0.0'),
  16540. s.appendChild(l),
  16541. this.globalData.defs.appendChild(t)
  16542. var c = createNS('rect')
  16543. c.setAttribute('width', this.comp.data.w),
  16544. c.setAttribute('height', this.comp.data.h),
  16545. c.setAttribute('x', '0'),
  16546. c.setAttribute('y', '0'),
  16547. c.setAttribute('fill', '#ffffff'),
  16548. c.setAttribute('opacity', '0'),
  16549. i.setAttribute('filter', 'url(' + getLocationHref() + '#' + e + ')'),
  16550. i.appendChild(c),
  16551. i.appendChild(this.layerElement),
  16552. (r = i),
  16553. featureSupport.maskType ||
  16554. (o.setAttribute('mask-type', 'luminance'),
  16555. t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),
  16556. (n = createNS('g')),
  16557. i.appendChild(c),
  16558. n.appendChild(this.layerElement),
  16559. (r = n),
  16560. i.appendChild(n)),
  16561. this.globalData.defs.appendChild(o)
  16562. }
  16563. } else
  16564. this.data.tt
  16565. ? (this.matteElement.appendChild(this.layerElement),
  16566. (r = this.matteElement),
  16567. (this.baseElement = this.matteElement))
  16568. : (this.baseElement = this.layerElement)
  16569. if (
  16570. (this.data.ln && this.layerElement.setAttribute('id', this.data.ln),
  16571. this.data.cl && this.layerElement.setAttribute('class', this.data.cl),
  16572. 0 === this.data.ty && !this.data.hd)
  16573. ) {
  16574. var u = createNS('clipPath'),
  16575. p = createNS('path')
  16576. p.setAttribute(
  16577. 'd',
  16578. 'M0,0 L' +
  16579. this.data.w +
  16580. ',0 L' +
  16581. this.data.w +
  16582. ',' +
  16583. this.data.h +
  16584. ' L0,' +
  16585. this.data.h +
  16586. 'z'
  16587. )
  16588. var d = createElementID()
  16589. if (
  16590. (u.setAttribute('id', d),
  16591. u.appendChild(p),
  16592. this.globalData.defs.appendChild(u),
  16593. this.checkMasks())
  16594. ) {
  16595. var f = createNS('g')
  16596. f.setAttribute('clip-path', 'url(' + getLocationHref() + '#' + d + ')'),
  16597. f.appendChild(this.layerElement),
  16598. (this.transformedElement = f),
  16599. r
  16600. ? r.appendChild(this.transformedElement)
  16601. : (this.baseElement = this.transformedElement)
  16602. } else
  16603. this.layerElement.setAttribute(
  16604. 'clip-path',
  16605. 'url(' + getLocationHref() + '#' + d + ')'
  16606. )
  16607. }
  16608. 0 !== this.data.bm && this.setBlendMode()
  16609. },
  16610. renderElement: function () {
  16611. this.finalTransform._matMdf &&
  16612. this.transformedElement.setAttribute(
  16613. 'transform',
  16614. this.finalTransform.mat.to2dCSS()
  16615. ),
  16616. this.finalTransform._opMdf &&
  16617. this.transformedElement.setAttribute(
  16618. 'opacity',
  16619. this.finalTransform.mProp.o.v
  16620. )
  16621. },
  16622. destroyBaseElement: function () {
  16623. ;(this.layerElement = null),
  16624. (this.matteElement = null),
  16625. this.maskManager.destroy()
  16626. },
  16627. getBaseElement: function () {
  16628. return this.data.hd ? null : this.baseElement
  16629. },
  16630. createRenderableComponents: function () {
  16631. ;(this.maskManager = new MaskElement(this.data, this, this.globalData)),
  16632. (this.renderableEffectsManager = new SVGEffects(this))
  16633. },
  16634. setMatte: function (e) {
  16635. this.matteElement &&
  16636. this.matteElement.setAttribute(
  16637. 'mask',
  16638. 'url(' + getLocationHref() + '#' + e + ')'
  16639. )
  16640. }
  16641. }),
  16642. (HierarchyElement.prototype = {
  16643. initHierarchy: function () {
  16644. ;(this.hierarchy = []), (this._isParent = !1), this.checkParenting()
  16645. },
  16646. setHierarchy: function (e) {
  16647. this.hierarchy = e
  16648. },
  16649. setAsParent: function () {
  16650. this._isParent = !0
  16651. },
  16652. checkParenting: function () {
  16653. void 0 !== this.data.parent &&
  16654. this.comp.buildElementParenting(this, this.data.parent, [])
  16655. }
  16656. }),
  16657. extendPrototype(
  16658. [
  16659. RenderableElement,
  16660. createProxyFunction({
  16661. initElement: function (e, t, n) {
  16662. this.initFrame(),
  16663. this.initBaseData(e, t, n),
  16664. this.initTransform(e, t, n),
  16665. this.initHierarchy(),
  16666. this.initRenderable(),
  16667. this.initRendererElement(),
  16668. this.createContainerElements(),
  16669. this.createRenderableComponents(),
  16670. this.createContent(),
  16671. this.hide()
  16672. },
  16673. hide: function () {
  16674. this.hidden ||
  16675. (this.isInRange && !this.isTransparent) ||
  16676. (((this.baseElement || this.layerElement).style.display = 'none'),
  16677. (this.hidden = !0))
  16678. },
  16679. show: function () {
  16680. this.isInRange &&
  16681. !this.isTransparent &&
  16682. (this.data.hd ||
  16683. ((this.baseElement || this.layerElement).style.display = 'block'),
  16684. (this.hidden = !1),
  16685. (this._isFirstFrame = !0))
  16686. },
  16687. renderFrame: function () {
  16688. this.data.hd ||
  16689. this.hidden ||
  16690. (this.renderTransform(),
  16691. this.renderRenderable(),
  16692. this.renderElement(),
  16693. this.renderInnerContent(),
  16694. this._isFirstFrame && (this._isFirstFrame = !1))
  16695. },
  16696. renderInnerContent: function () {},
  16697. prepareFrame: function (e) {
  16698. ;(this._mdf = !1),
  16699. this.prepareRenderableFrame(e),
  16700. this.prepareProperties(e, this.isInRange),
  16701. this.checkTransparency()
  16702. },
  16703. destroy: function () {
  16704. ;(this.innerElem = null), this.destroyBaseElement()
  16705. }
  16706. })
  16707. ],
  16708. RenderableDOMElement
  16709. ),
  16710. extendPrototype(
  16711. [
  16712. BaseElement,
  16713. TransformElement,
  16714. SVGBaseElement,
  16715. HierarchyElement,
  16716. FrameElement,
  16717. RenderableDOMElement
  16718. ],
  16719. IImageElement
  16720. ),
  16721. (IImageElement.prototype.createContent = function () {
  16722. var e = this.globalData.getAssetsPath(this.assetData)
  16723. ;(this.innerElem = createNS('image')),
  16724. this.innerElem.setAttribute('width', this.assetData.w + 'px'),
  16725. this.innerElem.setAttribute('height', this.assetData.h + 'px'),
  16726. this.innerElem.setAttribute(
  16727. 'preserveAspectRatio',
  16728. this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio
  16729. ),
  16730. this.innerElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', e),
  16731. this.layerElement.appendChild(this.innerElem)
  16732. }),
  16733. (IImageElement.prototype.sourceRectAtTime = function () {
  16734. return this.sourceRect
  16735. }),
  16736. (IShapeElement.prototype = {
  16737. addShapeToModifiers: function (e) {
  16738. var t,
  16739. n = this.shapeModifiers.length
  16740. for (t = 0; t < n; t += 1) this.shapeModifiers[t].addShape(e)
  16741. },
  16742. isShapeInAnimatedModifiers: function (e) {
  16743. for (var t = this.shapeModifiers.length; 0 < t; )
  16744. if (this.shapeModifiers[0].isAnimatedWithShape(e)) return !0
  16745. return !1
  16746. },
  16747. renderModifiers: function () {
  16748. if (this.shapeModifiers.length) {
  16749. var e,
  16750. t = this.shapes.length
  16751. for (e = 0; e < t; e += 1) this.shapes[e].sh.reset()
  16752. for (
  16753. e = (t = this.shapeModifiers.length) - 1;
  16754. e >= 0 && !this.shapeModifiers[e].processShapes(this._isFirstFrame);
  16755. e -= 1
  16756. );
  16757. }
  16758. },
  16759. searchProcessedElement: function (e) {
  16760. for (var t = this.processedElements, n = 0, r = t.length; n < r; ) {
  16761. if (t[n].elem === e) return t[n].pos
  16762. n += 1
  16763. }
  16764. return 0
  16765. },
  16766. addProcessedElement: function (e, t) {
  16767. for (var n = this.processedElements, r = n.length; r; )
  16768. if (n[(r -= 1)].elem === e) return void (n[r].pos = t)
  16769. n.push(new ProcessedElement(e, t))
  16770. },
  16771. prepareFrame: function (e) {
  16772. this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange)
  16773. }
  16774. })
  16775. var lineCapEnum = { 1: 'butt', 2: 'round', 3: 'square' },
  16776. lineJoinEnum = { 1: 'miter', 2: 'round', 3: 'bevel' }
  16777. function SVGShapeData(e, t, n) {
  16778. ;(this.caches = []),
  16779. (this.styles = []),
  16780. (this.transformers = e),
  16781. (this.lStr = ''),
  16782. (this.sh = n),
  16783. (this.lvl = t),
  16784. (this._isAnimated = !!n.k)
  16785. for (var r = 0, a = e.length; r < a; ) {
  16786. if (e[r].mProps.dynamicProperties.length) {
  16787. this._isAnimated = !0
  16788. break
  16789. }
  16790. r += 1
  16791. }
  16792. }
  16793. function SVGStyleData(e, t) {
  16794. ;(this.data = e),
  16795. (this.type = e.ty),
  16796. (this.d = ''),
  16797. (this.lvl = t),
  16798. (this._mdf = !1),
  16799. (this.closed = !0 === e.hd),
  16800. (this.pElem = createNS('path')),
  16801. (this.msElem = null)
  16802. }
  16803. function DashProperty(e, t, n, r) {
  16804. var a
  16805. ;(this.elem = e),
  16806. (this.frameId = -1),
  16807. (this.dataProps = createSizedArray(t.length)),
  16808. (this.renderer = n),
  16809. (this.k = !1),
  16810. (this.dashStr = ''),
  16811. (this.dashArray = createTypedArray('float32', t.length ? t.length - 1 : 0)),
  16812. (this.dashoffset = createTypedArray('float32', 1)),
  16813. this.initDynamicPropertyContainer(r)
  16814. var o,
  16815. i = t.length || 0
  16816. for (a = 0; a < i; a += 1)
  16817. (o = PropertyFactory.getProp(e, t[a].v, 0, 0, this)),
  16818. (this.k = o.k || this.k),
  16819. (this.dataProps[a] = { n: t[a].n, p: o })
  16820. this.k || this.getValue(!0), (this._isAnimated = this.k)
  16821. }
  16822. function SVGStrokeStyleData(e, t, n) {
  16823. this.initDynamicPropertyContainer(e),
  16824. (this.getValue = this.iterateDynamicProperties),
  16825. (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
  16826. (this.w = PropertyFactory.getProp(e, t.w, 0, null, this)),
  16827. (this.d = new DashProperty(e, t.d || {}, 'svg', this)),
  16828. (this.c = PropertyFactory.getProp(e, t.c, 1, 255, this)),
  16829. (this.style = n),
  16830. (this._isAnimated = !!this._isAnimated)
  16831. }
  16832. function SVGFillStyleData(e, t, n) {
  16833. this.initDynamicPropertyContainer(e),
  16834. (this.getValue = this.iterateDynamicProperties),
  16835. (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
  16836. (this.c = PropertyFactory.getProp(e, t.c, 1, 255, this)),
  16837. (this.style = n)
  16838. }
  16839. function SVGNoStyleData(e, t, n) {
  16840. this.initDynamicPropertyContainer(e),
  16841. (this.getValue = this.iterateDynamicProperties),
  16842. (this.style = n)
  16843. }
  16844. function GradientProperty(e, t, n) {
  16845. ;(this.data = t), (this.c = createTypedArray('uint8c', 4 * t.p))
  16846. var r = t.k.k[0].s ? t.k.k[0].s.length - 4 * t.p : t.k.k.length - 4 * t.p
  16847. ;(this.o = createTypedArray('float32', r)),
  16848. (this._cmdf = !1),
  16849. (this._omdf = !1),
  16850. (this._collapsable = this.checkCollapsable()),
  16851. (this._hasOpacity = r),
  16852. this.initDynamicPropertyContainer(n),
  16853. (this.prop = PropertyFactory.getProp(e, t.k, 1, null, this)),
  16854. (this.k = this.prop.k),
  16855. this.getValue(!0)
  16856. }
  16857. function SVGGradientFillStyleData(e, t, n) {
  16858. this.initDynamicPropertyContainer(e),
  16859. (this.getValue = this.iterateDynamicProperties),
  16860. this.initGradientData(e, t, n)
  16861. }
  16862. function SVGGradientStrokeStyleData(e, t, n) {
  16863. this.initDynamicPropertyContainer(e),
  16864. (this.getValue = this.iterateDynamicProperties),
  16865. (this.w = PropertyFactory.getProp(e, t.w, 0, null, this)),
  16866. (this.d = new DashProperty(e, t.d || {}, 'svg', this)),
  16867. this.initGradientData(e, t, n),
  16868. (this._isAnimated = !!this._isAnimated)
  16869. }
  16870. function ShapeGroupData() {
  16871. ;(this.it = []), (this.prevViewData = []), (this.gr = createNS('g'))
  16872. }
  16873. function SVGTransformData(e, t, n) {
  16874. ;(this.transform = { mProps: e, op: t, container: n }),
  16875. (this.elements = []),
  16876. (this._isAnimated =
  16877. this.transform.mProps.dynamicProperties.length ||
  16878. this.transform.op.effectsSequence.length)
  16879. }
  16880. ;(SVGShapeData.prototype.setAsAnimated = function () {
  16881. this._isAnimated = !0
  16882. }),
  16883. (SVGStyleData.prototype.reset = function () {
  16884. ;(this.d = ''), (this._mdf = !1)
  16885. }),
  16886. (DashProperty.prototype.getValue = function (e) {
  16887. if (
  16888. (this.elem.globalData.frameId !== this.frameId || e) &&
  16889. ((this.frameId = this.elem.globalData.frameId),
  16890. this.iterateDynamicProperties(),
  16891. (this._mdf = this._mdf || e),
  16892. this._mdf)
  16893. ) {
  16894. var t = 0,
  16895. n = this.dataProps.length
  16896. for ('svg' === this.renderer && (this.dashStr = ''), t = 0; t < n; t += 1)
  16897. 'o' !== this.dataProps[t].n
  16898. ? 'svg' === this.renderer
  16899. ? (this.dashStr += ' ' + this.dataProps[t].p.v)
  16900. : (this.dashArray[t] = this.dataProps[t].p.v)
  16901. : (this.dashoffset[0] = this.dataProps[t].p.v)
  16902. }
  16903. }),
  16904. extendPrototype([DynamicPropertyContainer], DashProperty),
  16905. extendPrototype([DynamicPropertyContainer], SVGStrokeStyleData),
  16906. extendPrototype([DynamicPropertyContainer], SVGFillStyleData),
  16907. extendPrototype([DynamicPropertyContainer], SVGNoStyleData),
  16908. (GradientProperty.prototype.comparePoints = function (e, t) {
  16909. for (var n = 0, r = this.o.length / 2; n < r; ) {
  16910. if (Math.abs(e[4 * n] - e[4 * t + 2 * n]) > 0.01) return !1
  16911. n += 1
  16912. }
  16913. return !0
  16914. }),
  16915. (GradientProperty.prototype.checkCollapsable = function () {
  16916. if (this.o.length / 2 != this.c.length / 4) return !1
  16917. if (this.data.k.k[0].s)
  16918. for (var e = 0, t = this.data.k.k.length; e < t; ) {
  16919. if (!this.comparePoints(this.data.k.k[e].s, this.data.p)) return !1
  16920. e += 1
  16921. }
  16922. else if (!this.comparePoints(this.data.k.k, this.data.p)) return !1
  16923. return !0
  16924. }),
  16925. (GradientProperty.prototype.getValue = function (e) {
  16926. if (
  16927. (this.prop.getValue(),
  16928. (this._mdf = !1),
  16929. (this._cmdf = !1),
  16930. (this._omdf = !1),
  16931. this.prop._mdf || e)
  16932. ) {
  16933. var t,
  16934. n,
  16935. r,
  16936. a = 4 * this.data.p
  16937. for (t = 0; t < a; t += 1)
  16938. (n = t % 4 == 0 ? 100 : 255),
  16939. (r = Math.round(this.prop.v[t] * n)),
  16940. this.c[t] !== r && ((this.c[t] = r), (this._cmdf = !e))
  16941. if (this.o.length)
  16942. for (a = this.prop.v.length, t = 4 * this.data.p; t < a; t += 1)
  16943. (n = t % 2 == 0 ? 100 : 1),
  16944. (r = t % 2 == 0 ? Math.round(100 * this.prop.v[t]) : this.prop.v[t]),
  16945. this.o[t - 4 * this.data.p] !== r &&
  16946. ((this.o[t - 4 * this.data.p] = r), (this._omdf = !e))
  16947. this._mdf = !e
  16948. }
  16949. }),
  16950. extendPrototype([DynamicPropertyContainer], GradientProperty),
  16951. (SVGGradientFillStyleData.prototype.initGradientData = function (e, t, n) {
  16952. ;(this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
  16953. (this.s = PropertyFactory.getProp(e, t.s, 1, null, this)),
  16954. (this.e = PropertyFactory.getProp(e, t.e, 1, null, this)),
  16955. (this.h = PropertyFactory.getProp(e, t.h || { k: 0 }, 0, 0.01, this)),
  16956. (this.a = PropertyFactory.getProp(e, t.a || { k: 0 }, 0, degToRads, this)),
  16957. (this.g = new GradientProperty(e, t.g, this)),
  16958. (this.style = n),
  16959. (this.stops = []),
  16960. this.setGradientData(n.pElem, t),
  16961. this.setGradientOpacity(t, n),
  16962. (this._isAnimated = !!this._isAnimated)
  16963. }),
  16964. (SVGGradientFillStyleData.prototype.setGradientData = function (e, t) {
  16965. var n = createElementID(),
  16966. r = createNS(1 === t.t ? 'linearGradient' : 'radialGradient')
  16967. r.setAttribute('id', n),
  16968. r.setAttribute('spreadMethod', 'pad'),
  16969. r.setAttribute('gradientUnits', 'userSpaceOnUse')
  16970. var a,
  16971. o,
  16972. i,
  16973. s = []
  16974. for (i = 4 * t.g.p, o = 0; o < i; o += 4)
  16975. (a = createNS('stop')), r.appendChild(a), s.push(a)
  16976. e.setAttribute(
  16977. 'gf' === t.ty ? 'fill' : 'stroke',
  16978. 'url(' + getLocationHref() + '#' + n + ')'
  16979. ),
  16980. (this.gf = r),
  16981. (this.cst = s)
  16982. }),
  16983. (SVGGradientFillStyleData.prototype.setGradientOpacity = function (e, t) {
  16984. if (this.g._hasOpacity && !this.g._collapsable) {
  16985. var n,
  16986. r,
  16987. a,
  16988. o = createNS('mask'),
  16989. i = createNS('path')
  16990. o.appendChild(i)
  16991. var s = createElementID(),
  16992. l = createElementID()
  16993. o.setAttribute('id', l)
  16994. var c = createNS(1 === e.t ? 'linearGradient' : 'radialGradient')
  16995. c.setAttribute('id', s),
  16996. c.setAttribute('spreadMethod', 'pad'),
  16997. c.setAttribute('gradientUnits', 'userSpaceOnUse'),
  16998. (a = e.g.k.k[0].s ? e.g.k.k[0].s.length : e.g.k.k.length)
  16999. var u = this.stops
  17000. for (r = 4 * e.g.p; r < a; r += 2)
  17001. (n = createNS('stop')).setAttribute('stop-color', 'rgb(255,255,255)'),
  17002. c.appendChild(n),
  17003. u.push(n)
  17004. i.setAttribute(
  17005. 'gf' === e.ty ? 'fill' : 'stroke',
  17006. 'url(' + getLocationHref() + '#' + s + ')'
  17007. ),
  17008. 'gs' === e.ty &&
  17009. (i.setAttribute('stroke-linecap', lineCapEnum[e.lc || 2]),
  17010. i.setAttribute('stroke-linejoin', lineJoinEnum[e.lj || 2]),
  17011. 1 === e.lj && i.setAttribute('stroke-miterlimit', e.ml)),
  17012. (this.of = c),
  17013. (this.ms = o),
  17014. (this.ost = u),
  17015. (this.maskId = l),
  17016. (t.msElem = i)
  17017. }
  17018. }),
  17019. extendPrototype([DynamicPropertyContainer], SVGGradientFillStyleData),
  17020. extendPrototype(
  17021. [SVGGradientFillStyleData, DynamicPropertyContainer],
  17022. SVGGradientStrokeStyleData
  17023. )
  17024. var buildShapeString = function (e, t, n, r) {
  17025. if (0 === t) return ''
  17026. var a,
  17027. o = e.o,
  17028. i = e.i,
  17029. s = e.v,
  17030. l = ' M' + r.applyToPointStringified(s[0][0], s[0][1])
  17031. for (a = 1; a < t; a += 1)
  17032. l +=
  17033. ' C' +
  17034. r.applyToPointStringified(o[a - 1][0], o[a - 1][1]) +
  17035. ' ' +
  17036. r.applyToPointStringified(i[a][0], i[a][1]) +
  17037. ' ' +
  17038. r.applyToPointStringified(s[a][0], s[a][1])
  17039. return (
  17040. n &&
  17041. t &&
  17042. ((l +=
  17043. ' C' +
  17044. r.applyToPointStringified(o[a - 1][0], o[a - 1][1]) +
  17045. ' ' +
  17046. r.applyToPointStringified(i[0][0], i[0][1]) +
  17047. ' ' +
  17048. r.applyToPointStringified(s[0][0], s[0][1])),
  17049. (l += 'z')),
  17050. l
  17051. )
  17052. },
  17053. SVGElementsRenderer = (function () {
  17054. var e = new Matrix(),
  17055. t = new Matrix()
  17056. function n(e, t, n) {
  17057. ;(n || t.transform.op._mdf) &&
  17058. t.transform.container.setAttribute('opacity', t.transform.op.v),
  17059. (n || t.transform.mProps._mdf) &&
  17060. t.transform.container.setAttribute(
  17061. 'transform',
  17062. t.transform.mProps.v.to2dCSS()
  17063. )
  17064. }
  17065. function r() {}
  17066. function a(n, r, a) {
  17067. var o,
  17068. i,
  17069. s,
  17070. l,
  17071. c,
  17072. u,
  17073. p,
  17074. d,
  17075. f,
  17076. h,
  17077. v,
  17078. m = r.styles.length,
  17079. g = r.lvl
  17080. for (u = 0; u < m; u += 1) {
  17081. if (((l = r.sh._mdf || a), r.styles[u].lvl < g)) {
  17082. for (
  17083. d = t.reset(), h = g - r.styles[u].lvl, v = r.transformers.length - 1;
  17084. !l && h > 0;
  17085. )
  17086. (l = r.transformers[v].mProps._mdf || l), (h -= 1), (v -= 1)
  17087. if (l)
  17088. for (h = g - r.styles[u].lvl, v = r.transformers.length - 1; h > 0; )
  17089. (f = r.transformers[v].mProps.v.props),
  17090. d.transform(
  17091. f[0],
  17092. f[1],
  17093. f[2],
  17094. f[3],
  17095. f[4],
  17096. f[5],
  17097. f[6],
  17098. f[7],
  17099. f[8],
  17100. f[9],
  17101. f[10],
  17102. f[11],
  17103. f[12],
  17104. f[13],
  17105. f[14],
  17106. f[15]
  17107. ),
  17108. (h -= 1),
  17109. (v -= 1)
  17110. } else d = e
  17111. if (((i = (p = r.sh.paths)._length), l)) {
  17112. for (s = '', o = 0; o < i; o += 1)
  17113. (c = p.shapes[o]) &&
  17114. c._length &&
  17115. (s += buildShapeString(c, c._length, c.c, d))
  17116. r.caches[u] = s
  17117. } else s = r.caches[u]
  17118. ;(r.styles[u].d += !0 === n.hd ? '' : s),
  17119. (r.styles[u]._mdf = l || r.styles[u]._mdf)
  17120. }
  17121. }
  17122. function o(e, t, n) {
  17123. var r = t.style
  17124. ;(t.c._mdf || n) &&
  17125. r.pElem.setAttribute(
  17126. 'fill',
  17127. 'rgb(' +
  17128. bmFloor(t.c.v[0]) +
  17129. ',' +
  17130. bmFloor(t.c.v[1]) +
  17131. ',' +
  17132. bmFloor(t.c.v[2]) +
  17133. ')'
  17134. ),
  17135. (t.o._mdf || n) && r.pElem.setAttribute('fill-opacity', t.o.v)
  17136. }
  17137. function i(e, t, n) {
  17138. s(e, t, n), l(0, t, n)
  17139. }
  17140. function s(e, t, n) {
  17141. var r,
  17142. a,
  17143. o,
  17144. i,
  17145. s,
  17146. l = t.gf,
  17147. c = t.g._hasOpacity,
  17148. u = t.s.v,
  17149. p = t.e.v
  17150. if (t.o._mdf || n) {
  17151. var d = 'gf' === e.ty ? 'fill-opacity' : 'stroke-opacity'
  17152. t.style.pElem.setAttribute(d, t.o.v)
  17153. }
  17154. if (t.s._mdf || n) {
  17155. var f = 1 === e.t ? 'x1' : 'cx',
  17156. h = 'x1' === f ? 'y1' : 'cy'
  17157. l.setAttribute(f, u[0]),
  17158. l.setAttribute(h, u[1]),
  17159. c &&
  17160. !t.g._collapsable &&
  17161. (t.of.setAttribute(f, u[0]), t.of.setAttribute(h, u[1]))
  17162. }
  17163. if (t.g._cmdf || n) {
  17164. r = t.cst
  17165. var v = t.g.c
  17166. for (o = r.length, a = 0; a < o; a += 1)
  17167. (i = r[a]).setAttribute('offset', v[4 * a] + '%'),
  17168. i.setAttribute(
  17169. 'stop-color',
  17170. 'rgb(' + v[4 * a + 1] + ',' + v[4 * a + 2] + ',' + v[4 * a + 3] + ')'
  17171. )
  17172. }
  17173. if (c && (t.g._omdf || n)) {
  17174. var m = t.g.o
  17175. for (
  17176. o = (r = t.g._collapsable ? t.cst : t.ost).length, a = 0;
  17177. a < o;
  17178. a += 1
  17179. )
  17180. (i = r[a]),
  17181. t.g._collapsable || i.setAttribute('offset', m[2 * a] + '%'),
  17182. i.setAttribute('stop-opacity', m[2 * a + 1])
  17183. }
  17184. if (1 === e.t)
  17185. (t.e._mdf || n) &&
  17186. (l.setAttribute('x2', p[0]),
  17187. l.setAttribute('y2', p[1]),
  17188. c &&
  17189. !t.g._collapsable &&
  17190. (t.of.setAttribute('x2', p[0]), t.of.setAttribute('y2', p[1])))
  17191. else if (
  17192. ((t.s._mdf || t.e._mdf || n) &&
  17193. ((s = Math.sqrt(Math.pow(u[0] - p[0], 2) + Math.pow(u[1] - p[1], 2))),
  17194. l.setAttribute('r', s),
  17195. c && !t.g._collapsable && t.of.setAttribute('r', s)),
  17196. t.e._mdf || t.h._mdf || t.a._mdf || n)
  17197. ) {
  17198. s || (s = Math.sqrt(Math.pow(u[0] - p[0], 2) + Math.pow(u[1] - p[1], 2)))
  17199. var g = Math.atan2(p[1] - u[1], p[0] - u[0]),
  17200. y = t.h.v
  17201. y >= 1 ? (y = 0.99) : y <= -1 && (y = -0.99)
  17202. var b = s * y,
  17203. _ = Math.cos(g + t.a.v) * b + u[0],
  17204. A = Math.sin(g + t.a.v) * b + u[1]
  17205. l.setAttribute('fx', _),
  17206. l.setAttribute('fy', A),
  17207. c &&
  17208. !t.g._collapsable &&
  17209. (t.of.setAttribute('fx', _), t.of.setAttribute('fy', A))
  17210. }
  17211. }
  17212. function l(e, t, n) {
  17213. var r = t.style,
  17214. a = t.d
  17215. a &&
  17216. (a._mdf || n) &&
  17217. a.dashStr &&
  17218. (r.pElem.setAttribute('stroke-dasharray', a.dashStr),
  17219. r.pElem.setAttribute('stroke-dashoffset', a.dashoffset[0])),
  17220. t.c &&
  17221. (t.c._mdf || n) &&
  17222. r.pElem.setAttribute(
  17223. 'stroke',
  17224. 'rgb(' +
  17225. bmFloor(t.c.v[0]) +
  17226. ',' +
  17227. bmFloor(t.c.v[1]) +
  17228. ',' +
  17229. bmFloor(t.c.v[2]) +
  17230. ')'
  17231. ),
  17232. (t.o._mdf || n) && r.pElem.setAttribute('stroke-opacity', t.o.v),
  17233. (t.w._mdf || n) &&
  17234. (r.pElem.setAttribute('stroke-width', t.w.v),
  17235. r.msElem && r.msElem.setAttribute('stroke-width', t.w.v))
  17236. }
  17237. return {
  17238. createRenderFunction: function (e) {
  17239. switch (e.ty) {
  17240. case 'fl':
  17241. return o
  17242. case 'gf':
  17243. return s
  17244. case 'gs':
  17245. return i
  17246. case 'st':
  17247. return l
  17248. case 'sh':
  17249. case 'el':
  17250. case 'rc':
  17251. case 'sr':
  17252. return a
  17253. case 'tr':
  17254. return n
  17255. case 'no':
  17256. return r
  17257. default:
  17258. return null
  17259. }
  17260. }
  17261. }
  17262. })()
  17263. function SVGShapeElement(e, t, n) {
  17264. ;(this.shapes = []),
  17265. (this.shapesData = e.shapes),
  17266. (this.stylesList = []),
  17267. (this.shapeModifiers = []),
  17268. (this.itemsData = []),
  17269. (this.processedElements = []),
  17270. (this.animatedContents = []),
  17271. this.initElement(e, t, n),
  17272. (this.prevViewData = [])
  17273. }
  17274. function LetterProps(e, t, n, r, a, o) {
  17275. ;(this.o = e),
  17276. (this.sw = t),
  17277. (this.sc = n),
  17278. (this.fc = r),
  17279. (this.m = a),
  17280. (this.p = o),
  17281. (this._mdf = { o: !0, sw: !!t, sc: !!n, fc: !!r, m: !0, p: !0 })
  17282. }
  17283. function TextProperty(e, t) {
  17284. ;(this._frameId = initialDefaultFrame),
  17285. (this.pv = ''),
  17286. (this.v = ''),
  17287. (this.kf = !1),
  17288. (this._isFirstFrame = !0),
  17289. (this._mdf = !1),
  17290. (this.data = t),
  17291. (this.elem = e),
  17292. (this.comp = this.elem.comp),
  17293. (this.keysIndex = 0),
  17294. (this.canResize = !1),
  17295. (this.minimumFontSize = 1),
  17296. (this.effectsSequence = []),
  17297. (this.currentData = {
  17298. ascent: 0,
  17299. boxWidth: this.defaultBoxWidth,
  17300. f: '',
  17301. fStyle: '',
  17302. fWeight: '',
  17303. fc: '',
  17304. j: '',
  17305. justifyOffset: '',
  17306. l: [],
  17307. lh: 0,
  17308. lineWidths: [],
  17309. ls: '',
  17310. of: '',
  17311. s: '',
  17312. sc: '',
  17313. sw: 0,
  17314. t: 0,
  17315. tr: 0,
  17316. sz: 0,
  17317. ps: null,
  17318. fillColorAnim: !1,
  17319. strokeColorAnim: !1,
  17320. strokeWidthAnim: !1,
  17321. yOffset: 0,
  17322. finalSize: 0,
  17323. finalText: [],
  17324. finalLineHeight: 0,
  17325. __complete: !1
  17326. }),
  17327. this.copyData(this.currentData, this.data.d.k[0].s),
  17328. this.searchProperty() || this.completeTextData(this.currentData)
  17329. }
  17330. extendPrototype(
  17331. [
  17332. BaseElement,
  17333. TransformElement,
  17334. SVGBaseElement,
  17335. IShapeElement,
  17336. HierarchyElement,
  17337. FrameElement,
  17338. RenderableDOMElement
  17339. ],
  17340. SVGShapeElement
  17341. ),
  17342. (SVGShapeElement.prototype.initSecondaryElement = function () {}),
  17343. (SVGShapeElement.prototype.identityMatrix = new Matrix()),
  17344. (SVGShapeElement.prototype.buildExpressionInterface = function () {}),
  17345. (SVGShapeElement.prototype.createContent = function () {
  17346. this.searchShapes(
  17347. this.shapesData,
  17348. this.itemsData,
  17349. this.prevViewData,
  17350. this.layerElement,
  17351. 0,
  17352. [],
  17353. !0
  17354. ),
  17355. this.filterUniqueShapes()
  17356. }),
  17357. (SVGShapeElement.prototype.filterUniqueShapes = function () {
  17358. var e,
  17359. t,
  17360. n,
  17361. r,
  17362. a = this.shapes.length,
  17363. o = this.stylesList.length,
  17364. i = [],
  17365. s = !1
  17366. for (n = 0; n < o; n += 1) {
  17367. for (r = this.stylesList[n], s = !1, i.length = 0, e = 0; e < a; e += 1)
  17368. -1 !== (t = this.shapes[e]).styles.indexOf(r) &&
  17369. (i.push(t), (s = t._isAnimated || s))
  17370. i.length > 1 && s && this.setShapesAsAnimated(i)
  17371. }
  17372. }),
  17373. (SVGShapeElement.prototype.setShapesAsAnimated = function (e) {
  17374. var t,
  17375. n = e.length
  17376. for (t = 0; t < n; t += 1) e[t].setAsAnimated()
  17377. }),
  17378. (SVGShapeElement.prototype.createStyleElement = function (e, t) {
  17379. var n,
  17380. r = new SVGStyleData(e, t),
  17381. a = r.pElem
  17382. return (
  17383. 'st' === e.ty
  17384. ? (n = new SVGStrokeStyleData(this, e, r))
  17385. : 'fl' === e.ty
  17386. ? (n = new SVGFillStyleData(this, e, r))
  17387. : 'gf' === e.ty || 'gs' === e.ty
  17388. ? ((n = new (
  17389. 'gf' === e.ty ? SVGGradientFillStyleData : SVGGradientStrokeStyleData
  17390. )(this, e, r)),
  17391. this.globalData.defs.appendChild(n.gf),
  17392. n.maskId &&
  17393. (this.globalData.defs.appendChild(n.ms),
  17394. this.globalData.defs.appendChild(n.of),
  17395. a.setAttribute(
  17396. 'mask',
  17397. 'url(' + getLocationHref() + '#' + n.maskId + ')'
  17398. )))
  17399. : 'no' === e.ty && (n = new SVGNoStyleData(this, e, r)),
  17400. ('st' !== e.ty && 'gs' !== e.ty) ||
  17401. (a.setAttribute('stroke-linecap', lineCapEnum[e.lc || 2]),
  17402. a.setAttribute('stroke-linejoin', lineJoinEnum[e.lj || 2]),
  17403. a.setAttribute('fill-opacity', '0'),
  17404. 1 === e.lj && a.setAttribute('stroke-miterlimit', e.ml)),
  17405. 2 === e.r && a.setAttribute('fill-rule', 'evenodd'),
  17406. e.ln && a.setAttribute('id', e.ln),
  17407. e.cl && a.setAttribute('class', e.cl),
  17408. e.bm && (a.style['mix-blend-mode'] = getBlendMode(e.bm)),
  17409. this.stylesList.push(r),
  17410. this.addToAnimatedContents(e, n),
  17411. n
  17412. )
  17413. }),
  17414. (SVGShapeElement.prototype.createGroupElement = function (e) {
  17415. var t = new ShapeGroupData()
  17416. return (
  17417. e.ln && t.gr.setAttribute('id', e.ln),
  17418. e.cl && t.gr.setAttribute('class', e.cl),
  17419. e.bm && (t.gr.style['mix-blend-mode'] = getBlendMode(e.bm)),
  17420. t
  17421. )
  17422. }),
  17423. (SVGShapeElement.prototype.createTransformElement = function (e, t) {
  17424. var n = TransformPropertyFactory.getTransformProperty(this, e, this),
  17425. r = new SVGTransformData(n, n.o, t)
  17426. return this.addToAnimatedContents(e, r), r
  17427. }),
  17428. (SVGShapeElement.prototype.createShapeElement = function (e, t, n) {
  17429. var r = 4
  17430. 'rc' === e.ty ? (r = 5) : 'el' === e.ty ? (r = 6) : 'sr' === e.ty && (r = 7)
  17431. var a = new SVGShapeData(
  17432. t,
  17433. n,
  17434. ShapePropertyFactory.getShapeProp(this, e, r, this)
  17435. )
  17436. return (
  17437. this.shapes.push(a),
  17438. this.addShapeToModifiers(a),
  17439. this.addToAnimatedContents(e, a),
  17440. a
  17441. )
  17442. }),
  17443. (SVGShapeElement.prototype.addToAnimatedContents = function (e, t) {
  17444. for (var n = 0, r = this.animatedContents.length; n < r; ) {
  17445. if (this.animatedContents[n].element === t) return
  17446. n += 1
  17447. }
  17448. this.animatedContents.push({
  17449. fn: SVGElementsRenderer.createRenderFunction(e),
  17450. element: t,
  17451. data: e
  17452. })
  17453. }),
  17454. (SVGShapeElement.prototype.setElementStyles = function (e) {
  17455. var t,
  17456. n = e.styles,
  17457. r = this.stylesList.length
  17458. for (t = 0; t < r; t += 1)
  17459. this.stylesList[t].closed || n.push(this.stylesList[t])
  17460. }),
  17461. (SVGShapeElement.prototype.reloadShapes = function () {
  17462. var e
  17463. this._isFirstFrame = !0
  17464. var t = this.itemsData.length
  17465. for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e]
  17466. for (
  17467. this.searchShapes(
  17468. this.shapesData,
  17469. this.itemsData,
  17470. this.prevViewData,
  17471. this.layerElement,
  17472. 0,
  17473. [],
  17474. !0
  17475. ),
  17476. this.filterUniqueShapes(),
  17477. t = this.dynamicProperties.length,
  17478. e = 0;
  17479. e < t;
  17480. e += 1
  17481. )
  17482. this.dynamicProperties[e].getValue()
  17483. this.renderModifiers()
  17484. }),
  17485. (SVGShapeElement.prototype.searchShapes = function (e, t, n, r, a, o, i) {
  17486. var s,
  17487. l,
  17488. c,
  17489. u,
  17490. p,
  17491. d,
  17492. f = [].concat(o),
  17493. h = e.length - 1,
  17494. v = [],
  17495. m = []
  17496. for (s = h; s >= 0; s -= 1) {
  17497. if (
  17498. ((d = this.searchProcessedElement(e[s]))
  17499. ? (t[s] = n[d - 1])
  17500. : (e[s]._render = i),
  17501. 'fl' === e[s].ty ||
  17502. 'st' === e[s].ty ||
  17503. 'gf' === e[s].ty ||
  17504. 'gs' === e[s].ty ||
  17505. 'no' === e[s].ty)
  17506. )
  17507. d ? (t[s].style.closed = !1) : (t[s] = this.createStyleElement(e[s], a)),
  17508. e[s]._render &&
  17509. t[s].style.pElem.parentNode !== r &&
  17510. r.appendChild(t[s].style.pElem),
  17511. v.push(t[s].style)
  17512. else if ('gr' === e[s].ty) {
  17513. if (d)
  17514. for (c = t[s].it.length, l = 0; l < c; l += 1)
  17515. t[s].prevViewData[l] = t[s].it[l]
  17516. else t[s] = this.createGroupElement(e[s])
  17517. this.searchShapes(
  17518. e[s].it,
  17519. t[s].it,
  17520. t[s].prevViewData,
  17521. t[s].gr,
  17522. a + 1,
  17523. f,
  17524. i
  17525. ),
  17526. e[s]._render && t[s].gr.parentNode !== r && r.appendChild(t[s].gr)
  17527. } else
  17528. 'tr' === e[s].ty
  17529. ? (d || (t[s] = this.createTransformElement(e[s], r)),
  17530. (u = t[s].transform),
  17531. f.push(u))
  17532. : 'sh' === e[s].ty ||
  17533. 'rc' === e[s].ty ||
  17534. 'el' === e[s].ty ||
  17535. 'sr' === e[s].ty
  17536. ? (d || (t[s] = this.createShapeElement(e[s], f, a)),
  17537. this.setElementStyles(t[s]))
  17538. : 'tm' === e[s].ty ||
  17539. 'rd' === e[s].ty ||
  17540. 'ms' === e[s].ty ||
  17541. 'pb' === e[s].ty
  17542. ? (d
  17543. ? ((p = t[s]).closed = !1)
  17544. : ((p = ShapeModifiers.getModifier(e[s].ty)).init(this, e[s]),
  17545. (t[s] = p),
  17546. this.shapeModifiers.push(p)),
  17547. m.push(p))
  17548. : 'rp' === e[s].ty &&
  17549. (d
  17550. ? ((p = t[s]).closed = !0)
  17551. : ((p = ShapeModifiers.getModifier(e[s].ty)),
  17552. (t[s] = p),
  17553. p.init(this, e, s, t),
  17554. this.shapeModifiers.push(p),
  17555. (i = !1)),
  17556. m.push(p))
  17557. this.addProcessedElement(e[s], s + 1)
  17558. }
  17559. for (h = v.length, s = 0; s < h; s += 1) v[s].closed = !0
  17560. for (h = m.length, s = 0; s < h; s += 1) m[s].closed = !0
  17561. }),
  17562. (SVGShapeElement.prototype.renderInnerContent = function () {
  17563. var e
  17564. this.renderModifiers()
  17565. var t = this.stylesList.length
  17566. for (e = 0; e < t; e += 1) this.stylesList[e].reset()
  17567. for (this.renderShape(), e = 0; e < t; e += 1)
  17568. (this.stylesList[e]._mdf || this._isFirstFrame) &&
  17569. (this.stylesList[e].msElem &&
  17570. (this.stylesList[e].msElem.setAttribute('d', this.stylesList[e].d),
  17571. (this.stylesList[e].d = 'M0 0' + this.stylesList[e].d)),
  17572. this.stylesList[e].pElem.setAttribute('d', this.stylesList[e].d || 'M0 0'))
  17573. }),
  17574. (SVGShapeElement.prototype.renderShape = function () {
  17575. var e,
  17576. t,
  17577. n = this.animatedContents.length
  17578. for (e = 0; e < n; e += 1)
  17579. (t = this.animatedContents[e]),
  17580. (this._isFirstFrame || t.element._isAnimated) &&
  17581. !0 !== t.data &&
  17582. t.fn(t.data, t.element, this._isFirstFrame)
  17583. }),
  17584. (SVGShapeElement.prototype.destroy = function () {
  17585. this.destroyBaseElement(), (this.shapesData = null), (this.itemsData = null)
  17586. }),
  17587. (LetterProps.prototype.update = function (e, t, n, r, a, o) {
  17588. ;(this._mdf.o = !1),
  17589. (this._mdf.sw = !1),
  17590. (this._mdf.sc = !1),
  17591. (this._mdf.fc = !1),
  17592. (this._mdf.m = !1),
  17593. (this._mdf.p = !1)
  17594. var i = !1
  17595. return (
  17596. this.o !== e && ((this.o = e), (this._mdf.o = !0), (i = !0)),
  17597. this.sw !== t && ((this.sw = t), (this._mdf.sw = !0), (i = !0)),
  17598. this.sc !== n && ((this.sc = n), (this._mdf.sc = !0), (i = !0)),
  17599. this.fc !== r && ((this.fc = r), (this._mdf.fc = !0), (i = !0)),
  17600. this.m !== a && ((this.m = a), (this._mdf.m = !0), (i = !0)),
  17601. !o.length ||
  17602. (this.p[0] === o[0] &&
  17603. this.p[1] === o[1] &&
  17604. this.p[4] === o[4] &&
  17605. this.p[5] === o[5] &&
  17606. this.p[12] === o[12] &&
  17607. this.p[13] === o[13]) ||
  17608. ((this.p = o), (this._mdf.p = !0), (i = !0)),
  17609. i
  17610. )
  17611. }),
  17612. (TextProperty.prototype.defaultBoxWidth = [0, 0]),
  17613. (TextProperty.prototype.copyData = function (e, t) {
  17614. for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n])
  17615. return e
  17616. }),
  17617. (TextProperty.prototype.setCurrentData = function (e) {
  17618. e.__complete || this.completeTextData(e),
  17619. (this.currentData = e),
  17620. (this.currentData.boxWidth =
  17621. this.currentData.boxWidth || this.defaultBoxWidth),
  17622. (this._mdf = !0)
  17623. }),
  17624. (TextProperty.prototype.searchProperty = function () {
  17625. return this.searchKeyframes()
  17626. }),
  17627. (TextProperty.prototype.searchKeyframes = function () {
  17628. return (
  17629. (this.kf = this.data.d.k.length > 1),
  17630. this.kf && this.addEffect(this.getKeyframeValue.bind(this)),
  17631. this.kf
  17632. )
  17633. }),
  17634. (TextProperty.prototype.addEffect = function (e) {
  17635. this.effectsSequence.push(e), this.elem.addDynamicProperty(this)
  17636. }),
  17637. (TextProperty.prototype.getValue = function (e) {
  17638. if (
  17639. (this.elem.globalData.frameId !== this.frameId &&
  17640. this.effectsSequence.length) ||
  17641. e
  17642. ) {
  17643. this.currentData.t = this.data.d.k[this.keysIndex].s.t
  17644. var t = this.currentData,
  17645. n = this.keysIndex
  17646. if (this.lock) this.setCurrentData(this.currentData)
  17647. else {
  17648. var r
  17649. ;(this.lock = !0), (this._mdf = !1)
  17650. var a = this.effectsSequence.length,
  17651. o = e || this.data.d.k[this.keysIndex].s
  17652. for (r = 0; r < a; r += 1)
  17653. o =
  17654. n !== this.keysIndex
  17655. ? this.effectsSequence[r](o, o.t)
  17656. : this.effectsSequence[r](this.currentData, o.t)
  17657. t !== o && this.setCurrentData(o),
  17658. (this.v = this.currentData),
  17659. (this.pv = this.v),
  17660. (this.lock = !1),
  17661. (this.frameId = this.elem.globalData.frameId)
  17662. }
  17663. }
  17664. }),
  17665. (TextProperty.prototype.getKeyframeValue = function () {
  17666. for (
  17667. var e = this.data.d.k, t = this.elem.comp.renderedFrame, n = 0, r = e.length;
  17668. n <= r - 1 && !(n === r - 1 || e[n + 1].t > t);
  17669. )
  17670. n += 1
  17671. return (
  17672. this.keysIndex !== n && (this.keysIndex = n), this.data.d.k[this.keysIndex].s
  17673. )
  17674. }),
  17675. (TextProperty.prototype.buildFinalText = function (e) {
  17676. for (var t, n, r = [], a = 0, o = e.length, i = !1; a < o; )
  17677. (t = e.charCodeAt(a)),
  17678. FontManager.isCombinedCharacter(t)
  17679. ? (r[r.length - 1] += e.charAt(a))
  17680. : t >= 55296 && t <= 56319
  17681. ? (n = e.charCodeAt(a + 1)) >= 56320 && n <= 57343
  17682. ? (i || FontManager.isModifier(t, n)
  17683. ? ((r[r.length - 1] += e.substr(a, 2)), (i = !1))
  17684. : r.push(e.substr(a, 2)),
  17685. (a += 1))
  17686. : r.push(e.charAt(a))
  17687. : t > 56319
  17688. ? ((n = e.charCodeAt(a + 1)),
  17689. FontManager.isZeroWidthJoiner(t, n)
  17690. ? ((i = !0), (r[r.length - 1] += e.substr(a, 2)), (a += 1))
  17691. : r.push(e.charAt(a)))
  17692. : FontManager.isZeroWidthJoiner(t)
  17693. ? ((r[r.length - 1] += e.charAt(a)), (i = !0))
  17694. : r.push(e.charAt(a)),
  17695. (a += 1)
  17696. return r
  17697. }),
  17698. (TextProperty.prototype.completeTextData = function (e) {
  17699. e.__complete = !0
  17700. var t,
  17701. n,
  17702. r,
  17703. a,
  17704. o,
  17705. i,
  17706. s,
  17707. l = this.elem.globalData.fontManager,
  17708. c = this.data,
  17709. u = [],
  17710. p = 0,
  17711. d = c.m.g,
  17712. f = 0,
  17713. h = 0,
  17714. v = 0,
  17715. m = [],
  17716. g = 0,
  17717. y = 0,
  17718. b = l.getFontByName(e.f),
  17719. _ = 0,
  17720. A = getFontProperties(b)
  17721. ;(e.fWeight = A.weight),
  17722. (e.fStyle = A.style),
  17723. (e.finalSize = e.s),
  17724. (e.finalText = this.buildFinalText(e.t)),
  17725. (n = e.finalText.length),
  17726. (e.finalLineHeight = e.lh)
  17727. var x,
  17728. w = (e.tr / 1e3) * e.finalSize
  17729. if (e.sz)
  17730. for (var k, S, E = !0, P = e.sz[0], C = e.sz[1]; E; ) {
  17731. ;(k = 0),
  17732. (g = 0),
  17733. (n = (S = this.buildFinalText(e.t)).length),
  17734. (w = (e.tr / 1e3) * e.finalSize)
  17735. var T = -1
  17736. for (t = 0; t < n; t += 1)
  17737. (x = S[t].charCodeAt(0)),
  17738. (r = !1),
  17739. ' ' === S[t]
  17740. ? (T = t)
  17741. : (13 !== x && 3 !== x) ||
  17742. ((g = 0), (r = !0), (k += e.finalLineHeight || 1.2 * e.finalSize)),
  17743. l.chars
  17744. ? ((s = l.getCharData(S[t], b.fStyle, b.fFamily)),
  17745. (_ = r ? 0 : (s.w * e.finalSize) / 100))
  17746. : (_ = l.measureText(S[t], e.f, e.finalSize)),
  17747. g + _ > P && ' ' !== S[t]
  17748. ? (-1 === T ? (n += 1) : (t = T),
  17749. (k += e.finalLineHeight || 1.2 * e.finalSize),
  17750. S.splice(t, T === t ? 1 : 0, '\r'),
  17751. (T = -1),
  17752. (g = 0))
  17753. : ((g += _), (g += w))
  17754. ;(k += (b.ascent * e.finalSize) / 100),
  17755. this.canResize && e.finalSize > this.minimumFontSize && C < k
  17756. ? ((e.finalSize -= 1), (e.finalLineHeight = (e.finalSize * e.lh) / e.s))
  17757. : ((e.finalText = S), (n = e.finalText.length), (E = !1))
  17758. }
  17759. ;(g = -w), (_ = 0)
  17760. var I,
  17761. R = 0
  17762. for (t = 0; t < n; t += 1)
  17763. if (
  17764. ((r = !1),
  17765. 13 === (x = (I = e.finalText[t]).charCodeAt(0)) || 3 === x
  17766. ? ((R = 0),
  17767. m.push(g),
  17768. (y = g > y ? g : y),
  17769. (g = -2 * w),
  17770. (a = ''),
  17771. (r = !0),
  17772. (v += 1))
  17773. : (a = I),
  17774. l.chars
  17775. ? ((s = l.getCharData(I, b.fStyle, l.getFontByName(e.f).fFamily)),
  17776. (_ = r ? 0 : (s.w * e.finalSize) / 100))
  17777. : (_ = l.measureText(a, e.f, e.finalSize)),
  17778. ' ' === I ? (R += _ + w) : ((g += _ + w + R), (R = 0)),
  17779. u.push({
  17780. l: _,
  17781. an: _,
  17782. add: f,
  17783. n: r,
  17784. anIndexes: [],
  17785. val: a,
  17786. line: v,
  17787. animatorJustifyOffset: 0
  17788. }),
  17789. 2 == d)
  17790. ) {
  17791. if (((f += _), '' === a || ' ' === a || t === n - 1)) {
  17792. for (('' !== a && ' ' !== a) || (f -= _); h <= t; )
  17793. (u[h].an = f), (u[h].ind = p), (u[h].extra = _), (h += 1)
  17794. ;(p += 1), (f = 0)
  17795. }
  17796. } else if (3 == d) {
  17797. if (((f += _), '' === a || t === n - 1)) {
  17798. for ('' === a && (f -= _); h <= t; )
  17799. (u[h].an = f), (u[h].ind = p), (u[h].extra = _), (h += 1)
  17800. ;(f = 0), (p += 1)
  17801. }
  17802. } else (u[p].ind = p), (u[p].extra = 0), (p += 1)
  17803. if (((e.l = u), (y = g > y ? g : y), m.push(g), e.sz))
  17804. (e.boxWidth = e.sz[0]), (e.justifyOffset = 0)
  17805. else
  17806. switch (((e.boxWidth = y), e.j)) {
  17807. case 1:
  17808. e.justifyOffset = -e.boxWidth
  17809. break
  17810. case 2:
  17811. e.justifyOffset = -e.boxWidth / 2
  17812. break
  17813. default:
  17814. e.justifyOffset = 0
  17815. }
  17816. e.lineWidths = m
  17817. var M,
  17818. z,
  17819. O,
  17820. D,
  17821. F = c.a
  17822. i = F.length
  17823. var B = []
  17824. for (o = 0; o < i; o += 1) {
  17825. for (
  17826. (M = F[o]).a.sc && (e.strokeColorAnim = !0),
  17827. M.a.sw && (e.strokeWidthAnim = !0),
  17828. (M.a.fc || M.a.fh || M.a.fs || M.a.fb) && (e.fillColorAnim = !0),
  17829. D = 0,
  17830. O = M.s.b,
  17831. t = 0;
  17832. t < n;
  17833. t += 1
  17834. )
  17835. ((z = u[t]).anIndexes[o] = D),
  17836. ((1 == O && '' !== z.val) ||
  17837. (2 == O && '' !== z.val && ' ' !== z.val) ||
  17838. (3 == O && (z.n || ' ' == z.val || t == n - 1)) ||
  17839. (4 == O && (z.n || t == n - 1))) &&
  17840. (1 === M.s.rn && B.push(D), (D += 1))
  17841. c.a[o].s.totalChars = D
  17842. var N,
  17843. j = -1
  17844. if (1 === M.s.rn)
  17845. for (t = 0; t < n; t += 1)
  17846. j != (z = u[t]).anIndexes[o] &&
  17847. ((j = z.anIndexes[o]),
  17848. (N = B.splice(Math.floor(Math.random() * B.length), 1)[0])),
  17849. (z.anIndexes[o] = N)
  17850. }
  17851. ;(e.yOffset = e.finalLineHeight || 1.2 * e.finalSize),
  17852. (e.ls = e.ls || 0),
  17853. (e.ascent = (b.ascent * e.finalSize) / 100)
  17854. }),
  17855. (TextProperty.prototype.updateDocumentData = function (e, t) {
  17856. t = void 0 === t ? this.keysIndex : t
  17857. var n = this.copyData({}, this.data.d.k[t].s)
  17858. ;(n = this.copyData(n, e)),
  17859. (this.data.d.k[t].s = n),
  17860. this.recalculate(t),
  17861. this.elem.addDynamicProperty(this)
  17862. }),
  17863. (TextProperty.prototype.recalculate = function (e) {
  17864. var t = this.data.d.k[e].s
  17865. ;(t.__complete = !1),
  17866. (this.keysIndex = 0),
  17867. (this._isFirstFrame = !0),
  17868. this.getValue(t)
  17869. }),
  17870. (TextProperty.prototype.canResizeFont = function (e) {
  17871. ;(this.canResize = e),
  17872. this.recalculate(this.keysIndex),
  17873. this.elem.addDynamicProperty(this)
  17874. }),
  17875. (TextProperty.prototype.setMinimumFontSize = function (e) {
  17876. ;(this.minimumFontSize = Math.floor(e) || 1),
  17877. this.recalculate(this.keysIndex),
  17878. this.elem.addDynamicProperty(this)
  17879. })
  17880. var TextSelectorProp = (function () {
  17881. var e = Math.max,
  17882. t = Math.min,
  17883. n = Math.floor
  17884. function r(e, t) {
  17885. ;(this._currentTextLength = -1),
  17886. (this.k = !1),
  17887. (this.data = t),
  17888. (this.elem = e),
  17889. (this.comp = e.comp),
  17890. (this.finalS = 0),
  17891. (this.finalE = 0),
  17892. this.initDynamicPropertyContainer(e),
  17893. (this.s = PropertyFactory.getProp(e, t.s || { k: 0 }, 0, 0, this)),
  17894. (this.e =
  17895. 'e' in t ? PropertyFactory.getProp(e, t.e, 0, 0, this) : { v: 100 }),
  17896. (this.o = PropertyFactory.getProp(e, t.o || { k: 0 }, 0, 0, this)),
  17897. (this.xe = PropertyFactory.getProp(e, t.xe || { k: 0 }, 0, 0, this)),
  17898. (this.ne = PropertyFactory.getProp(e, t.ne || { k: 0 }, 0, 0, this)),
  17899. (this.sm = PropertyFactory.getProp(e, t.sm || { k: 100 }, 0, 0, this)),
  17900. (this.a = PropertyFactory.getProp(e, t.a, 0, 0.01, this)),
  17901. this.dynamicProperties.length || this.getValue()
  17902. }
  17903. return (
  17904. (r.prototype = {
  17905. getMult: function (r) {
  17906. this._currentTextLength !== this.elem.textProperty.currentData.l.length &&
  17907. this.getValue()
  17908. var a = 0,
  17909. o = 0,
  17910. i = 1,
  17911. s = 1
  17912. this.ne.v > 0 ? (a = this.ne.v / 100) : (o = -this.ne.v / 100),
  17913. this.xe.v > 0 ? (i = 1 - this.xe.v / 100) : (s = 1 + this.xe.v / 100)
  17914. var l = BezierFactory.getBezierEasing(a, o, i, s).get,
  17915. c = 0,
  17916. u = this.finalS,
  17917. p = this.finalE,
  17918. d = this.data.sh
  17919. if (2 === d)
  17920. c = l(
  17921. (c =
  17922. p === u
  17923. ? r >= p
  17924. ? 1
  17925. : 0
  17926. : e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1)))
  17927. )
  17928. else if (3 === d)
  17929. c = l(
  17930. (c =
  17931. p === u
  17932. ? r >= p
  17933. ? 0
  17934. : 1
  17935. : 1 - e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1)))
  17936. )
  17937. else if (4 === d)
  17938. p === u
  17939. ? (c = 0)
  17940. : (c = e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1))) < 0.5
  17941. ? (c *= 2)
  17942. : (c = 1 - 2 * (c - 0.5)),
  17943. (c = l(c))
  17944. else if (5 === d) {
  17945. if (p === u) c = 0
  17946. else {
  17947. var f = p - u,
  17948. h = -f / 2 + (r = t(e(0, r + 0.5 - u), p - u)),
  17949. v = f / 2
  17950. c = Math.sqrt(1 - (h * h) / (v * v))
  17951. }
  17952. c = l(c)
  17953. } else
  17954. 6 === d
  17955. ? (p === u
  17956. ? (c = 0)
  17957. : ((r = t(e(0, r + 0.5 - u), p - u)),
  17958. (c = (1 + Math.cos(Math.PI + (2 * Math.PI * r) / (p - u))) / 2)),
  17959. (c = l(c)))
  17960. : (r >= n(u) && (c = e(0, t(r - u < 0 ? t(p, 1) - (u - r) : p - r, 1))),
  17961. (c = l(c)))
  17962. if (100 !== this.sm.v) {
  17963. var m = 0.01 * this.sm.v
  17964. 0 === m && (m = 1e-8)
  17965. var g = 0.5 - 0.5 * m
  17966. c < g ? (c = 0) : (c = (c - g) / m) > 1 && (c = 1)
  17967. }
  17968. return c * this.a.v
  17969. },
  17970. getValue: function (e) {
  17971. this.iterateDynamicProperties(),
  17972. (this._mdf = e || this._mdf),
  17973. (this._currentTextLength =
  17974. this.elem.textProperty.currentData.l.length || 0),
  17975. e && 2 === this.data.r && (this.e.v = this._currentTextLength)
  17976. var t = 2 === this.data.r ? 1 : 100 / this.data.totalChars,
  17977. n = this.o.v / t,
  17978. r = this.s.v / t + n,
  17979. a = this.e.v / t + n
  17980. if (r > a) {
  17981. var o = r
  17982. ;(r = a), (a = o)
  17983. }
  17984. ;(this.finalS = r), (this.finalE = a)
  17985. }
  17986. }),
  17987. extendPrototype([DynamicPropertyContainer], r),
  17988. {
  17989. getTextSelectorProp: function (e, t, n) {
  17990. return new r(e, t)
  17991. }
  17992. }
  17993. )
  17994. })()
  17995. function TextAnimatorDataProperty(e, t, n) {
  17996. var r = { propType: !1 },
  17997. a = PropertyFactory.getProp,
  17998. o = t.a
  17999. ;(this.a = {
  18000. r: o.r ? a(e, o.r, 0, degToRads, n) : r,
  18001. rx: o.rx ? a(e, o.rx, 0, degToRads, n) : r,
  18002. ry: o.ry ? a(e, o.ry, 0, degToRads, n) : r,
  18003. sk: o.sk ? a(e, o.sk, 0, degToRads, n) : r,
  18004. sa: o.sa ? a(e, o.sa, 0, degToRads, n) : r,
  18005. s: o.s ? a(e, o.s, 1, 0.01, n) : r,
  18006. a: o.a ? a(e, o.a, 1, 0, n) : r,
  18007. o: o.o ? a(e, o.o, 0, 0.01, n) : r,
  18008. p: o.p ? a(e, o.p, 1, 0, n) : r,
  18009. sw: o.sw ? a(e, o.sw, 0, 0, n) : r,
  18010. sc: o.sc ? a(e, o.sc, 1, 0, n) : r,
  18011. fc: o.fc ? a(e, o.fc, 1, 0, n) : r,
  18012. fh: o.fh ? a(e, o.fh, 0, 0, n) : r,
  18013. fs: o.fs ? a(e, o.fs, 0, 0.01, n) : r,
  18014. fb: o.fb ? a(e, o.fb, 0, 0.01, n) : r,
  18015. t: o.t ? a(e, o.t, 0, 0, n) : r
  18016. }),
  18017. (this.s = TextSelectorProp.getTextSelectorProp(e, t.s, n)),
  18018. (this.s.t = t.s.t)
  18019. }
  18020. function TextAnimatorProperty(e, t, n) {
  18021. ;(this._isFirstFrame = !0),
  18022. (this._hasMaskedPath = !1),
  18023. (this._frameId = -1),
  18024. (this._textData = e),
  18025. (this._renderType = t),
  18026. (this._elem = n),
  18027. (this._animatorsData = createSizedArray(this._textData.a.length)),
  18028. (this._pathData = {}),
  18029. (this._moreOptions = { alignment: {} }),
  18030. (this.renderedLetters = []),
  18031. (this.lettersChangedFlag = !1),
  18032. this.initDynamicPropertyContainer(n)
  18033. }
  18034. function ITextElement() {}
  18035. ;(TextAnimatorProperty.prototype.searchProperties = function () {
  18036. var e,
  18037. t,
  18038. n = this._textData.a.length,
  18039. r = PropertyFactory.getProp
  18040. for (e = 0; e < n; e += 1)
  18041. (t = this._textData.a[e]),
  18042. (this._animatorsData[e] = new TextAnimatorDataProperty(this._elem, t, this))
  18043. this._textData.p && 'm' in this._textData.p
  18044. ? ((this._pathData = {
  18045. a: r(this._elem, this._textData.p.a, 0, 0, this),
  18046. f: r(this._elem, this._textData.p.f, 0, 0, this),
  18047. l: r(this._elem, this._textData.p.l, 0, 0, this),
  18048. r: r(this._elem, this._textData.p.r, 0, 0, this),
  18049. p: r(this._elem, this._textData.p.p, 0, 0, this),
  18050. m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
  18051. }),
  18052. (this._hasMaskedPath = !0))
  18053. : (this._hasMaskedPath = !1),
  18054. (this._moreOptions.alignment = r(this._elem, this._textData.m.a, 1, 0, this))
  18055. }),
  18056. (TextAnimatorProperty.prototype.getMeasures = function (e, t) {
  18057. if (
  18058. ((this.lettersChangedFlag = t),
  18059. this._mdf ||
  18060. this._isFirstFrame ||
  18061. t ||
  18062. (this._hasMaskedPath && this._pathData.m._mdf))
  18063. ) {
  18064. this._isFirstFrame = !1
  18065. var n,
  18066. r,
  18067. a,
  18068. o,
  18069. i,
  18070. s,
  18071. l,
  18072. c,
  18073. u,
  18074. p,
  18075. d,
  18076. f,
  18077. h,
  18078. v,
  18079. m,
  18080. g,
  18081. y,
  18082. b,
  18083. _,
  18084. A = this._moreOptions.alignment.v,
  18085. x = this._animatorsData,
  18086. w = this._textData,
  18087. k = this.mHelper,
  18088. S = this._renderType,
  18089. E = this.renderedLetters.length,
  18090. P = e.l
  18091. if (this._hasMaskedPath) {
  18092. if (((_ = this._pathData.m), !this._pathData.n || this._pathData._mdf)) {
  18093. var C,
  18094. T = _.v
  18095. for (
  18096. this._pathData.r.v && (T = T.reverse()),
  18097. i = { tLength: 0, segments: [] },
  18098. o = T._length - 1,
  18099. g = 0,
  18100. a = 0;
  18101. a < o;
  18102. a += 1
  18103. )
  18104. (C = bez.buildBezierData(
  18105. T.v[a],
  18106. T.v[a + 1],
  18107. [T.o[a][0] - T.v[a][0], T.o[a][1] - T.v[a][1]],
  18108. [T.i[a + 1][0] - T.v[a + 1][0], T.i[a + 1][1] - T.v[a + 1][1]]
  18109. )),
  18110. (i.tLength += C.segmentLength),
  18111. i.segments.push(C),
  18112. (g += C.segmentLength)
  18113. ;(a = o),
  18114. _.v.c &&
  18115. ((C = bez.buildBezierData(
  18116. T.v[a],
  18117. T.v[0],
  18118. [T.o[a][0] - T.v[a][0], T.o[a][1] - T.v[a][1]],
  18119. [T.i[0][0] - T.v[0][0], T.i[0][1] - T.v[0][1]]
  18120. )),
  18121. (i.tLength += C.segmentLength),
  18122. i.segments.push(C),
  18123. (g += C.segmentLength)),
  18124. (this._pathData.pi = i)
  18125. }
  18126. if (
  18127. ((i = this._pathData.pi),
  18128. (s = this._pathData.f.v),
  18129. (d = 0),
  18130. (p = 1),
  18131. (c = 0),
  18132. (u = !0),
  18133. (v = i.segments),
  18134. s < 0 && _.v.c)
  18135. )
  18136. for (
  18137. i.tLength < Math.abs(s) && (s = -Math.abs(s) % i.tLength),
  18138. p = (h = v[(d = v.length - 1)].points).length - 1;
  18139. s < 0;
  18140. )
  18141. (s += h[p].partialLength),
  18142. (p -= 1) < 0 && (p = (h = v[(d -= 1)].points).length - 1)
  18143. ;(f = (h = v[d].points)[p - 1]), (m = (l = h[p]).partialLength)
  18144. }
  18145. ;(o = P.length), (n = 0), (r = 0)
  18146. var I,
  18147. R,
  18148. M,
  18149. z,
  18150. O,
  18151. D = 1.2 * e.finalSize * 0.714,
  18152. F = !0
  18153. M = x.length
  18154. var B,
  18155. N,
  18156. j,
  18157. V,
  18158. L,
  18159. H,
  18160. G,
  18161. q,
  18162. U,
  18163. W,
  18164. $,
  18165. K,
  18166. Y = -1,
  18167. J = s,
  18168. Q = d,
  18169. X = p,
  18170. Z = -1,
  18171. ee = '',
  18172. te = this.defaultPropsArray
  18173. if (2 === e.j || 1 === e.j) {
  18174. var ne = 0,
  18175. re = 0,
  18176. ae = 2 === e.j ? -0.5 : -1,
  18177. oe = 0,
  18178. ie = !0
  18179. for (a = 0; a < o; a += 1)
  18180. if (P[a].n) {
  18181. for (ne && (ne += re); oe < a; )
  18182. (P[oe].animatorJustifyOffset = ne), (oe += 1)
  18183. ;(ne = 0), (ie = !0)
  18184. } else {
  18185. for (R = 0; R < M; R += 1)
  18186. (I = x[R].a).t.propType &&
  18187. (ie && 2 === e.j && (re += I.t.v * ae),
  18188. (O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
  18189. ? (ne += I.t.v * O[0] * ae)
  18190. : (ne += I.t.v * O * ae))
  18191. ie = !1
  18192. }
  18193. for (ne && (ne += re); oe < a; )
  18194. (P[oe].animatorJustifyOffset = ne), (oe += 1)
  18195. }
  18196. for (a = 0; a < o; a += 1) {
  18197. if ((k.reset(), (V = 1), P[a].n))
  18198. (n = 0),
  18199. (r += e.yOffset),
  18200. (r += F ? 1 : 0),
  18201. (s = J),
  18202. (F = !1),
  18203. this._hasMaskedPath &&
  18204. ((p = X),
  18205. (f = (h = v[(d = Q)].points)[p - 1]),
  18206. (m = (l = h[p]).partialLength),
  18207. (c = 0)),
  18208. (ee = ''),
  18209. ($ = ''),
  18210. (U = ''),
  18211. (K = ''),
  18212. (te = this.defaultPropsArray)
  18213. else {
  18214. if (this._hasMaskedPath) {
  18215. if (Z !== P[a].line) {
  18216. switch (e.j) {
  18217. case 1:
  18218. s += g - e.lineWidths[P[a].line]
  18219. break
  18220. case 2:
  18221. s += (g - e.lineWidths[P[a].line]) / 2
  18222. }
  18223. Z = P[a].line
  18224. }
  18225. Y !== P[a].ind &&
  18226. (P[Y] && (s += P[Y].extra), (s += P[a].an / 2), (Y = P[a].ind)),
  18227. (s += A[0] * P[a].an * 0.005)
  18228. var se = 0
  18229. for (R = 0; R < M; R += 1)
  18230. (I = x[R].a).p.propType &&
  18231. ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
  18232. ? (se += I.p.v[0] * O[0])
  18233. : (se += I.p.v[0] * O)),
  18234. I.a.propType &&
  18235. ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars))
  18236. .length
  18237. ? (se += I.a.v[0] * O[0])
  18238. : (se += I.a.v[0] * O))
  18239. for (
  18240. u = !0,
  18241. this._pathData.a.v &&
  18242. ((s =
  18243. 0.5 * P[0].an +
  18244. ((g -
  18245. this._pathData.f.v -
  18246. 0.5 * P[0].an -
  18247. 0.5 * P[P.length - 1].an) *
  18248. Y) /
  18249. (o - 1)),
  18250. (s += this._pathData.f.v));
  18251. u;
  18252. )
  18253. c + m >= s + se || !h
  18254. ? ((y = (s + se - c) / l.partialLength),
  18255. (N = f.point[0] + (l.point[0] - f.point[0]) * y),
  18256. (j = f.point[1] + (l.point[1] - f.point[1]) * y),
  18257. k.translate(-A[0] * P[a].an * 0.005, -A[1] * D * 0.01),
  18258. (u = !1))
  18259. : h &&
  18260. ((c += l.partialLength),
  18261. (p += 1) >= h.length &&
  18262. ((p = 0),
  18263. v[(d += 1)]
  18264. ? (h = v[d].points)
  18265. : _.v.c
  18266. ? ((p = 0), (h = v[(d = 0)].points))
  18267. : ((c -= l.partialLength), (h = null))),
  18268. h && ((f = l), (m = (l = h[p]).partialLength)))
  18269. ;(B = P[a].an / 2 - P[a].add), k.translate(-B, 0, 0)
  18270. } else
  18271. (B = P[a].an / 2 - P[a].add),
  18272. k.translate(-B, 0, 0),
  18273. k.translate(-A[0] * P[a].an * 0.005, -A[1] * D * 0.01, 0)
  18274. for (R = 0; R < M; R += 1)
  18275. (I = x[R].a).t.propType &&
  18276. ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)),
  18277. (0 === n && 0 === e.j) ||
  18278. (this._hasMaskedPath
  18279. ? O.length
  18280. ? (s += I.t.v * O[0])
  18281. : (s += I.t.v * O)
  18282. : O.length
  18283. ? (n += I.t.v * O[0])
  18284. : (n += I.t.v * O)))
  18285. for (
  18286. e.strokeWidthAnim && (H = e.sw || 0),
  18287. e.strokeColorAnim &&
  18288. (L = e.sc ? [e.sc[0], e.sc[1], e.sc[2]] : [0, 0, 0]),
  18289. e.fillColorAnim && e.fc && (G = [e.fc[0], e.fc[1], e.fc[2]]),
  18290. R = 0;
  18291. R < M;
  18292. R += 1
  18293. )
  18294. (I = x[R].a).a.propType &&
  18295. ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
  18296. ? k.translate(-I.a.v[0] * O[0], -I.a.v[1] * O[1], I.a.v[2] * O[2])
  18297. : k.translate(-I.a.v[0] * O, -I.a.v[1] * O, I.a.v[2] * O))
  18298. for (R = 0; R < M; R += 1)
  18299. (I = x[R].a).s.propType &&
  18300. ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
  18301. ? k.scale(1 + (I.s.v[0] - 1) * O[0], 1 + (I.s.v[1] - 1) * O[1], 1)
  18302. : k.scale(1 + (I.s.v[0] - 1) * O, 1 + (I.s.v[1] - 1) * O, 1))
  18303. for (R = 0; R < M; R += 1) {
  18304. if (
  18305. ((I = x[R].a),
  18306. (O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)),
  18307. I.sk.propType &&
  18308. (O.length
  18309. ? k.skewFromAxis(-I.sk.v * O[0], I.sa.v * O[1])
  18310. : k.skewFromAxis(-I.sk.v * O, I.sa.v * O)),
  18311. I.r.propType &&
  18312. (O.length ? k.rotateZ(-I.r.v * O[2]) : k.rotateZ(-I.r.v * O)),
  18313. I.ry.propType &&
  18314. (O.length ? k.rotateY(I.ry.v * O[1]) : k.rotateY(I.ry.v * O)),
  18315. I.rx.propType &&
  18316. (O.length ? k.rotateX(I.rx.v * O[0]) : k.rotateX(I.rx.v * O)),
  18317. I.o.propType &&
  18318. (O.length
  18319. ? (V += (I.o.v * O[0] - V) * O[0])
  18320. : (V += (I.o.v * O - V) * O)),
  18321. e.strokeWidthAnim &&
  18322. I.sw.propType &&
  18323. (O.length ? (H += I.sw.v * O[0]) : (H += I.sw.v * O)),
  18324. e.strokeColorAnim && I.sc.propType)
  18325. )
  18326. for (q = 0; q < 3; q += 1)
  18327. O.length
  18328. ? (L[q] += (I.sc.v[q] - L[q]) * O[0])
  18329. : (L[q] += (I.sc.v[q] - L[q]) * O)
  18330. if (e.fillColorAnim && e.fc) {
  18331. if (I.fc.propType)
  18332. for (q = 0; q < 3; q += 1)
  18333. O.length
  18334. ? (G[q] += (I.fc.v[q] - G[q]) * O[0])
  18335. : (G[q] += (I.fc.v[q] - G[q]) * O)
  18336. I.fh.propType &&
  18337. (G = O.length
  18338. ? addHueToRGB(G, I.fh.v * O[0])
  18339. : addHueToRGB(G, I.fh.v * O)),
  18340. I.fs.propType &&
  18341. (G = O.length
  18342. ? addSaturationToRGB(G, I.fs.v * O[0])
  18343. : addSaturationToRGB(G, I.fs.v * O)),
  18344. I.fb.propType &&
  18345. (G = O.length
  18346. ? addBrightnessToRGB(G, I.fb.v * O[0])
  18347. : addBrightnessToRGB(G, I.fb.v * O))
  18348. }
  18349. }
  18350. for (R = 0; R < M; R += 1)
  18351. (I = x[R].a).p.propType &&
  18352. ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)),
  18353. this._hasMaskedPath
  18354. ? O.length
  18355. ? k.translate(0, I.p.v[1] * O[0], -I.p.v[2] * O[1])
  18356. : k.translate(0, I.p.v[1] * O, -I.p.v[2] * O)
  18357. : O.length
  18358. ? k.translate(I.p.v[0] * O[0], I.p.v[1] * O[1], -I.p.v[2] * O[2])
  18359. : k.translate(I.p.v[0] * O, I.p.v[1] * O, -I.p.v[2] * O))
  18360. if (
  18361. (e.strokeWidthAnim && (U = H < 0 ? 0 : H),
  18362. e.strokeColorAnim &&
  18363. (W =
  18364. 'rgb(' +
  18365. Math.round(255 * L[0]) +
  18366. ',' +
  18367. Math.round(255 * L[1]) +
  18368. ',' +
  18369. Math.round(255 * L[2]) +
  18370. ')'),
  18371. e.fillColorAnim &&
  18372. e.fc &&
  18373. ($ =
  18374. 'rgb(' +
  18375. Math.round(255 * G[0]) +
  18376. ',' +
  18377. Math.round(255 * G[1]) +
  18378. ',' +
  18379. Math.round(255 * G[2]) +
  18380. ')'),
  18381. this._hasMaskedPath)
  18382. ) {
  18383. if (
  18384. (k.translate(0, -e.ls),
  18385. k.translate(0, A[1] * D * 0.01 + r, 0),
  18386. this._pathData.p.v)
  18387. ) {
  18388. b = (l.point[1] - f.point[1]) / (l.point[0] - f.point[0])
  18389. var le = (180 * Math.atan(b)) / Math.PI
  18390. l.point[0] < f.point[0] && (le += 180),
  18391. k.rotate((-le * Math.PI) / 180)
  18392. }
  18393. k.translate(N, j, 0),
  18394. (s -= A[0] * P[a].an * 0.005),
  18395. P[a + 1] &&
  18396. Y !== P[a + 1].ind &&
  18397. ((s += P[a].an / 2), (s += 0.001 * e.tr * e.finalSize))
  18398. } else {
  18399. switch (
  18400. (k.translate(n, r, 0),
  18401. e.ps && k.translate(e.ps[0], e.ps[1] + e.ascent, 0),
  18402. e.j)
  18403. ) {
  18404. case 1:
  18405. k.translate(
  18406. P[a].animatorJustifyOffset +
  18407. e.justifyOffset +
  18408. (e.boxWidth - e.lineWidths[P[a].line]),
  18409. 0,
  18410. 0
  18411. )
  18412. break
  18413. case 2:
  18414. k.translate(
  18415. P[a].animatorJustifyOffset +
  18416. e.justifyOffset +
  18417. (e.boxWidth - e.lineWidths[P[a].line]) / 2,
  18418. 0,
  18419. 0
  18420. )
  18421. }
  18422. k.translate(0, -e.ls),
  18423. k.translate(B, 0, 0),
  18424. k.translate(A[0] * P[a].an * 0.005, A[1] * D * 0.01, 0),
  18425. (n += P[a].l + 0.001 * e.tr * e.finalSize)
  18426. }
  18427. 'html' === S
  18428. ? (ee = k.toCSS())
  18429. : 'svg' === S
  18430. ? (ee = k.to2dCSS())
  18431. : (te = [
  18432. k.props[0],
  18433. k.props[1],
  18434. k.props[2],
  18435. k.props[3],
  18436. k.props[4],
  18437. k.props[5],
  18438. k.props[6],
  18439. k.props[7],
  18440. k.props[8],
  18441. k.props[9],
  18442. k.props[10],
  18443. k.props[11],
  18444. k.props[12],
  18445. k.props[13],
  18446. k.props[14],
  18447. k.props[15]
  18448. ]),
  18449. (K = V)
  18450. }
  18451. E <= a
  18452. ? ((z = new LetterProps(K, U, W, $, ee, te)),
  18453. this.renderedLetters.push(z),
  18454. (E += 1),
  18455. (this.lettersChangedFlag = !0))
  18456. : ((z = this.renderedLetters[a]),
  18457. (this.lettersChangedFlag =
  18458. z.update(K, U, W, $, ee, te) || this.lettersChangedFlag))
  18459. }
  18460. }
  18461. }),
  18462. (TextAnimatorProperty.prototype.getValue = function () {
  18463. this._elem.globalData.frameId !== this._frameId &&
  18464. ((this._frameId = this._elem.globalData.frameId),
  18465. this.iterateDynamicProperties())
  18466. }),
  18467. (TextAnimatorProperty.prototype.mHelper = new Matrix()),
  18468. (TextAnimatorProperty.prototype.defaultPropsArray = []),
  18469. extendPrototype([DynamicPropertyContainer], TextAnimatorProperty),
  18470. (ITextElement.prototype.initElement = function (e, t, n) {
  18471. ;(this.lettersChangedFlag = !0),
  18472. this.initFrame(),
  18473. this.initBaseData(e, t, n),
  18474. (this.textProperty = new TextProperty(this, e.t, this.dynamicProperties)),
  18475. (this.textAnimator = new TextAnimatorProperty(e.t, this.renderType, this)),
  18476. this.initTransform(e, t, n),
  18477. this.initHierarchy(),
  18478. this.initRenderable(),
  18479. this.initRendererElement(),
  18480. this.createContainerElements(),
  18481. this.createRenderableComponents(),
  18482. this.createContent(),
  18483. this.hide(),
  18484. this.textAnimator.searchProperties(this.dynamicProperties)
  18485. }),
  18486. (ITextElement.prototype.prepareFrame = function (e) {
  18487. ;(this._mdf = !1),
  18488. this.prepareRenderableFrame(e),
  18489. this.prepareProperties(e, this.isInRange),
  18490. (this.textProperty._mdf || this.textProperty._isFirstFrame) &&
  18491. (this.buildNewText(),
  18492. (this.textProperty._isFirstFrame = !1),
  18493. (this.textProperty._mdf = !1))
  18494. }),
  18495. (ITextElement.prototype.createPathShape = function (e, t) {
  18496. var n,
  18497. r,
  18498. a = t.length,
  18499. o = ''
  18500. for (n = 0; n < a; n += 1)
  18501. 'sh' === t[n].ty &&
  18502. ((r = t[n].ks.k), (o += buildShapeString(r, r.i.length, !0, e)))
  18503. return o
  18504. }),
  18505. (ITextElement.prototype.updateDocumentData = function (e, t) {
  18506. this.textProperty.updateDocumentData(e, t)
  18507. }),
  18508. (ITextElement.prototype.canResizeFont = function (e) {
  18509. this.textProperty.canResizeFont(e)
  18510. }),
  18511. (ITextElement.prototype.setMinimumFontSize = function (e) {
  18512. this.textProperty.setMinimumFontSize(e)
  18513. }),
  18514. (ITextElement.prototype.applyTextPropertiesToMatrix = function (e, t, n, r, a) {
  18515. switch (
  18516. (e.ps && t.translate(e.ps[0], e.ps[1] + e.ascent, 0),
  18517. t.translate(0, -e.ls, 0),
  18518. e.j)
  18519. ) {
  18520. case 1:
  18521. t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]), 0, 0)
  18522. break
  18523. case 2:
  18524. t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]) / 2, 0, 0)
  18525. }
  18526. t.translate(r, a, 0)
  18527. }),
  18528. (ITextElement.prototype.buildColor = function (e) {
  18529. return (
  18530. 'rgb(' +
  18531. Math.round(255 * e[0]) +
  18532. ',' +
  18533. Math.round(255 * e[1]) +
  18534. ',' +
  18535. Math.round(255 * e[2]) +
  18536. ')'
  18537. )
  18538. }),
  18539. (ITextElement.prototype.emptyProp = new LetterProps()),
  18540. (ITextElement.prototype.destroy = function () {})
  18541. var emptyShapeData = { shapes: [] }
  18542. function SVGTextLottieElement(e, t, n) {
  18543. ;(this.textSpans = []), (this.renderType = 'svg'), this.initElement(e, t, n)
  18544. }
  18545. function ISolidElement(e, t, n) {
  18546. this.initElement(e, t, n)
  18547. }
  18548. function NullElement(e, t, n) {
  18549. this.initFrame(),
  18550. this.initBaseData(e, t, n),
  18551. this.initFrame(),
  18552. this.initTransform(e, t, n),
  18553. this.initHierarchy()
  18554. }
  18555. function SVGRendererBase() {}
  18556. function ICompElement() {}
  18557. function SVGCompElement(e, t, n) {
  18558. ;(this.layers = e.layers),
  18559. (this.supports3d = !0),
  18560. (this.completeLayers = !1),
  18561. (this.pendingElements = []),
  18562. (this.elements = this.layers ? createSizedArray(this.layers.length) : []),
  18563. this.initElement(e, t, n),
  18564. (this.tm = e.tm
  18565. ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
  18566. : { _placeholder: !0 })
  18567. }
  18568. function SVGRenderer(e, t) {
  18569. ;(this.animationItem = e),
  18570. (this.layers = null),
  18571. (this.renderedFrame = -1),
  18572. (this.svgElement = createNS('svg'))
  18573. var n = ''
  18574. if (t && t.title) {
  18575. var r = createNS('title'),
  18576. a = createElementID()
  18577. r.setAttribute('id', a),
  18578. (r.textContent = t.title),
  18579. this.svgElement.appendChild(r),
  18580. (n += a)
  18581. }
  18582. if (t && t.description) {
  18583. var o = createNS('desc'),
  18584. i = createElementID()
  18585. o.setAttribute('id', i),
  18586. (o.textContent = t.description),
  18587. this.svgElement.appendChild(o),
  18588. (n += ' ' + i)
  18589. }
  18590. n && this.svgElement.setAttribute('aria-labelledby', n)
  18591. var s = createNS('defs')
  18592. this.svgElement.appendChild(s)
  18593. var l = createNS('g')
  18594. this.svgElement.appendChild(l),
  18595. (this.layerElement = l),
  18596. (this.renderConfig = {
  18597. preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
  18598. imagePreserveAspectRatio:
  18599. (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
  18600. contentVisibility: (t && t.contentVisibility) || 'visible',
  18601. progressiveLoad: (t && t.progressiveLoad) || !1,
  18602. hideOnTransparent: !(t && !1 === t.hideOnTransparent),
  18603. viewBoxOnly: (t && t.viewBoxOnly) || !1,
  18604. viewBoxSize: (t && t.viewBoxSize) || !1,
  18605. className: (t && t.className) || '',
  18606. id: (t && t.id) || '',
  18607. focusable: t && t.focusable,
  18608. filterSize: {
  18609. width: (t && t.filterSize && t.filterSize.width) || '100%',
  18610. height: (t && t.filterSize && t.filterSize.height) || '100%',
  18611. x: (t && t.filterSize && t.filterSize.x) || '0%',
  18612. y: (t && t.filterSize && t.filterSize.y) || '0%'
  18613. },
  18614. width: t && t.width,
  18615. height: t && t.height
  18616. }),
  18617. (this.globalData = {
  18618. _mdf: !1,
  18619. frameNum: -1,
  18620. defs: s,
  18621. renderConfig: this.renderConfig
  18622. }),
  18623. (this.elements = []),
  18624. (this.pendingElements = []),
  18625. (this.destroyed = !1),
  18626. (this.rendererType = 'svg')
  18627. }
  18628. function CVContextData() {
  18629. var e
  18630. for (
  18631. this.saved = [],
  18632. this.cArrPos = 0,
  18633. this.cTr = new Matrix(),
  18634. this.cO = 1,
  18635. this.savedOp = createTypedArray('float32', 15),
  18636. e = 0;
  18637. e < 15;
  18638. e += 1
  18639. )
  18640. this.saved[e] = createTypedArray('float32', 16)
  18641. this._length = 15
  18642. }
  18643. function ShapeTransformManager() {
  18644. ;(this.sequences = {}), (this.sequenceList = []), (this.transform_key_count = 0)
  18645. }
  18646. function CVEffects() {}
  18647. function CVMaskElement(e, t) {
  18648. var n
  18649. ;(this.data = e),
  18650. (this.element = t),
  18651. (this.masksProperties = this.data.masksProperties || []),
  18652. (this.viewData = createSizedArray(this.masksProperties.length))
  18653. var r = this.masksProperties.length,
  18654. a = !1
  18655. for (n = 0; n < r; n += 1)
  18656. 'n' !== this.masksProperties[n].mode && (a = !0),
  18657. (this.viewData[n] = ShapePropertyFactory.getShapeProp(
  18658. this.element,
  18659. this.masksProperties[n],
  18660. 3
  18661. ))
  18662. ;(this.hasMasks = a), a && this.element.addRenderableComponent(this)
  18663. }
  18664. function CVBaseElement() {}
  18665. function CVShapeData(e, t, n, r) {
  18666. ;(this.styledShapes = []), (this.tr = [0, 0, 0, 0, 0, 0])
  18667. var a,
  18668. o = 4
  18669. 'rc' === t.ty ? (o = 5) : 'el' === t.ty ? (o = 6) : 'sr' === t.ty && (o = 7),
  18670. (this.sh = ShapePropertyFactory.getShapeProp(e, t, o, e))
  18671. var i,
  18672. s = n.length
  18673. for (a = 0; a < s; a += 1)
  18674. n[a].closed ||
  18675. ((i = { transforms: r.addTransformSequence(n[a].transforms), trNodes: [] }),
  18676. this.styledShapes.push(i),
  18677. n[a].elements.push(i))
  18678. }
  18679. function CVShapeElement(e, t, n) {
  18680. ;(this.shapes = []),
  18681. (this.shapesData = e.shapes),
  18682. (this.stylesList = []),
  18683. (this.itemsData = []),
  18684. (this.prevViewData = []),
  18685. (this.shapeModifiers = []),
  18686. (this.processedElements = []),
  18687. (this.transformsManager = new ShapeTransformManager()),
  18688. this.initElement(e, t, n)
  18689. }
  18690. function CVTextElement(e, t, n) {
  18691. ;(this.textSpans = []),
  18692. (this.yOffset = 0),
  18693. (this.fillColorAnim = !1),
  18694. (this.strokeColorAnim = !1),
  18695. (this.strokeWidthAnim = !1),
  18696. (this.stroke = !1),
  18697. (this.fill = !1),
  18698. (this.justifyOffset = 0),
  18699. (this.currentRender = null),
  18700. (this.renderType = 'canvas'),
  18701. (this.values = {
  18702. fill: 'rgba(0,0,0,0)',
  18703. stroke: 'rgba(0,0,0,0)',
  18704. sWidth: 0,
  18705. fValue: ''
  18706. }),
  18707. this.initElement(e, t, n)
  18708. }
  18709. function CVImageElement(e, t, n) {
  18710. ;(this.assetData = t.getAssetData(e.refId)),
  18711. (this.img = t.imageLoader.getAsset(this.assetData)),
  18712. this.initElement(e, t, n)
  18713. }
  18714. function CVSolidElement(e, t, n) {
  18715. this.initElement(e, t, n)
  18716. }
  18717. function CanvasRendererBase(e, t) {
  18718. ;(this.animationItem = e),
  18719. (this.renderConfig = {
  18720. clearCanvas: !t || void 0 === t.clearCanvas || t.clearCanvas,
  18721. context: (t && t.context) || null,
  18722. progressiveLoad: (t && t.progressiveLoad) || !1,
  18723. preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
  18724. imagePreserveAspectRatio:
  18725. (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
  18726. contentVisibility: (t && t.contentVisibility) || 'visible',
  18727. className: (t && t.className) || '',
  18728. id: (t && t.id) || ''
  18729. }),
  18730. (this.renderConfig.dpr = (t && t.dpr) || 1),
  18731. this.animationItem.wrapper &&
  18732. (this.renderConfig.dpr = (t && t.dpr) || window.devicePixelRatio || 1),
  18733. (this.renderedFrame = -1),
  18734. (this.globalData = {
  18735. frameNum: -1,
  18736. _mdf: !1,
  18737. renderConfig: this.renderConfig,
  18738. currentGlobalAlpha: -1
  18739. }),
  18740. (this.contextData = new CVContextData()),
  18741. (this.elements = []),
  18742. (this.pendingElements = []),
  18743. (this.transformMat = new Matrix()),
  18744. (this.completeLayers = !1),
  18745. (this.rendererType = 'canvas')
  18746. }
  18747. function CVCompElement(e, t, n) {
  18748. ;(this.completeLayers = !1),
  18749. (this.layers = e.layers),
  18750. (this.pendingElements = []),
  18751. (this.elements = createSizedArray(this.layers.length)),
  18752. this.initElement(e, t, n),
  18753. (this.tm = e.tm
  18754. ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
  18755. : { _placeholder: !0 })
  18756. }
  18757. function CanvasRenderer(e, t) {
  18758. ;(this.animationItem = e),
  18759. (this.renderConfig = {
  18760. clearCanvas: !t || void 0 === t.clearCanvas || t.clearCanvas,
  18761. context: (t && t.context) || null,
  18762. progressiveLoad: (t && t.progressiveLoad) || !1,
  18763. preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
  18764. imagePreserveAspectRatio:
  18765. (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
  18766. contentVisibility: (t && t.contentVisibility) || 'visible',
  18767. className: (t && t.className) || '',
  18768. id: (t && t.id) || ''
  18769. }),
  18770. (this.renderConfig.dpr = (t && t.dpr) || 1),
  18771. this.animationItem.wrapper &&
  18772. (this.renderConfig.dpr = (t && t.dpr) || window.devicePixelRatio || 1),
  18773. (this.renderedFrame = -1),
  18774. (this.globalData = {
  18775. frameNum: -1,
  18776. _mdf: !1,
  18777. renderConfig: this.renderConfig,
  18778. currentGlobalAlpha: -1
  18779. }),
  18780. (this.contextData = new CVContextData()),
  18781. (this.elements = []),
  18782. (this.pendingElements = []),
  18783. (this.transformMat = new Matrix()),
  18784. (this.completeLayers = !1),
  18785. (this.rendererType = 'canvas')
  18786. }
  18787. function HBaseElement() {}
  18788. function HSolidElement(e, t, n) {
  18789. this.initElement(e, t, n)
  18790. }
  18791. function HShapeElement(e, t, n) {
  18792. ;(this.shapes = []),
  18793. (this.shapesData = e.shapes),
  18794. (this.stylesList = []),
  18795. (this.shapeModifiers = []),
  18796. (this.itemsData = []),
  18797. (this.processedElements = []),
  18798. (this.animatedContents = []),
  18799. (this.shapesContainer = createNS('g')),
  18800. this.initElement(e, t, n),
  18801. (this.prevViewData = []),
  18802. (this.currentBBox = { x: 999999, y: -999999, h: 0, w: 0 })
  18803. }
  18804. function HTextElement(e, t, n) {
  18805. ;(this.textSpans = []),
  18806. (this.textPaths = []),
  18807. (this.currentBBox = { x: 999999, y: -999999, h: 0, w: 0 }),
  18808. (this.renderType = 'svg'),
  18809. (this.isMasked = !1),
  18810. this.initElement(e, t, n)
  18811. }
  18812. function HCameraElement(e, t, n) {
  18813. this.initFrame(), this.initBaseData(e, t, n), this.initHierarchy()
  18814. var r = PropertyFactory.getProp
  18815. if (
  18816. ((this.pe = r(this, e.pe, 0, 0, this)),
  18817. e.ks.p.s
  18818. ? ((this.px = r(this, e.ks.p.x, 1, 0, this)),
  18819. (this.py = r(this, e.ks.p.y, 1, 0, this)),
  18820. (this.pz = r(this, e.ks.p.z, 1, 0, this)))
  18821. : (this.p = r(this, e.ks.p, 1, 0, this)),
  18822. e.ks.a && (this.a = r(this, e.ks.a, 1, 0, this)),
  18823. e.ks.or.k.length && e.ks.or.k[0].to)
  18824. ) {
  18825. var a,
  18826. o = e.ks.or.k.length
  18827. for (a = 0; a < o; a += 1) (e.ks.or.k[a].to = null), (e.ks.or.k[a].ti = null)
  18828. }
  18829. ;(this.or = r(this, e.ks.or, 1, degToRads, this)),
  18830. (this.or.sh = !0),
  18831. (this.rx = r(this, e.ks.rx, 0, degToRads, this)),
  18832. (this.ry = r(this, e.ks.ry, 0, degToRads, this)),
  18833. (this.rz = r(this, e.ks.rz, 0, degToRads, this)),
  18834. (this.mat = new Matrix()),
  18835. (this._prevMat = new Matrix()),
  18836. (this._isFirstFrame = !0),
  18837. (this.finalTransform = { mProp: this })
  18838. }
  18839. function HImageElement(e, t, n) {
  18840. ;(this.assetData = t.getAssetData(e.refId)), this.initElement(e, t, n)
  18841. }
  18842. function HybridRendererBase(e, t) {
  18843. ;(this.animationItem = e),
  18844. (this.layers = null),
  18845. (this.renderedFrame = -1),
  18846. (this.renderConfig = {
  18847. className: (t && t.className) || '',
  18848. imagePreserveAspectRatio:
  18849. (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
  18850. hideOnTransparent: !(t && !1 === t.hideOnTransparent),
  18851. filterSize: {
  18852. width: (t && t.filterSize && t.filterSize.width) || '400%',
  18853. height: (t && t.filterSize && t.filterSize.height) || '400%',
  18854. x: (t && t.filterSize && t.filterSize.x) || '-100%',
  18855. y: (t && t.filterSize && t.filterSize.y) || '-100%'
  18856. }
  18857. }),
  18858. (this.globalData = { _mdf: !1, frameNum: -1, renderConfig: this.renderConfig }),
  18859. (this.pendingElements = []),
  18860. (this.elements = []),
  18861. (this.threeDElements = []),
  18862. (this.destroyed = !1),
  18863. (this.camera = null),
  18864. (this.supports3d = !0),
  18865. (this.rendererType = 'html')
  18866. }
  18867. function HCompElement(e, t, n) {
  18868. ;(this.layers = e.layers),
  18869. (this.supports3d = !e.hasMask),
  18870. (this.completeLayers = !1),
  18871. (this.pendingElements = []),
  18872. (this.elements = this.layers ? createSizedArray(this.layers.length) : []),
  18873. this.initElement(e, t, n),
  18874. (this.tm = e.tm
  18875. ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
  18876. : { _placeholder: !0 })
  18877. }
  18878. function HybridRenderer(e, t) {
  18879. ;(this.animationItem = e),
  18880. (this.layers = null),
  18881. (this.renderedFrame = -1),
  18882. (this.renderConfig = {
  18883. className: (t && t.className) || '',
  18884. imagePreserveAspectRatio:
  18885. (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
  18886. hideOnTransparent: !(t && !1 === t.hideOnTransparent),
  18887. filterSize: {
  18888. width: (t && t.filterSize && t.filterSize.width) || '400%',
  18889. height: (t && t.filterSize && t.filterSize.height) || '400%',
  18890. x: (t && t.filterSize && t.filterSize.x) || '-100%',
  18891. y: (t && t.filterSize && t.filterSize.y) || '-100%'
  18892. }
  18893. }),
  18894. (this.globalData = { _mdf: !1, frameNum: -1, renderConfig: this.renderConfig }),
  18895. (this.pendingElements = []),
  18896. (this.elements = []),
  18897. (this.threeDElements = []),
  18898. (this.destroyed = !1),
  18899. (this.camera = null),
  18900. (this.supports3d = !0),
  18901. (this.rendererType = 'html')
  18902. }
  18903. extendPrototype(
  18904. [
  18905. BaseElement,
  18906. TransformElement,
  18907. SVGBaseElement,
  18908. HierarchyElement,
  18909. FrameElement,
  18910. RenderableDOMElement,
  18911. ITextElement
  18912. ],
  18913. SVGTextLottieElement
  18914. ),
  18915. (SVGTextLottieElement.prototype.createContent = function () {
  18916. this.data.singleShape &&
  18917. !this.globalData.fontManager.chars &&
  18918. (this.textContainer = createNS('text'))
  18919. }),
  18920. (SVGTextLottieElement.prototype.buildTextContents = function (e) {
  18921. for (var t = 0, n = e.length, r = [], a = ''; t < n; )
  18922. e[t] === String.fromCharCode(13) || e[t] === String.fromCharCode(3)
  18923. ? (r.push(a), (a = ''))
  18924. : (a += e[t]),
  18925. (t += 1)
  18926. return r.push(a), r
  18927. }),
  18928. (SVGTextLottieElement.prototype.buildShapeData = function (e, t) {
  18929. if (e.shapes && e.shapes.length) {
  18930. var n = e.shapes[0]
  18931. if (n.it) {
  18932. var r = n.it[n.it.length - 1]
  18933. r.s && ((r.s.k[0] = t), (r.s.k[1] = t))
  18934. }
  18935. }
  18936. return e
  18937. }),
  18938. (SVGTextLottieElement.prototype.buildNewText = function () {
  18939. var e, t
  18940. this.addDynamicProperty(this)
  18941. var n = this.textProperty.currentData
  18942. ;(this.renderedLetters = createSizedArray(n ? n.l.length : 0)),
  18943. n.fc
  18944. ? this.layerElement.setAttribute('fill', this.buildColor(n.fc))
  18945. : this.layerElement.setAttribute('fill', 'rgba(0,0,0,0)'),
  18946. n.sc &&
  18947. (this.layerElement.setAttribute('stroke', this.buildColor(n.sc)),
  18948. this.layerElement.setAttribute('stroke-width', n.sw)),
  18949. this.layerElement.setAttribute('font-size', n.finalSize)
  18950. var r = this.globalData.fontManager.getFontByName(n.f)
  18951. if (r.fClass) this.layerElement.setAttribute('class', r.fClass)
  18952. else {
  18953. this.layerElement.setAttribute('font-family', r.fFamily)
  18954. var a = n.fWeight,
  18955. o = n.fStyle
  18956. this.layerElement.setAttribute('font-style', o),
  18957. this.layerElement.setAttribute('font-weight', a)
  18958. }
  18959. this.layerElement.setAttribute('aria-label', n.t)
  18960. var i,
  18961. s = n.l || [],
  18962. l = !!this.globalData.fontManager.chars
  18963. t = s.length
  18964. var c = this.mHelper,
  18965. u = this.data.singleShape,
  18966. p = 0,
  18967. d = 0,
  18968. f = !0,
  18969. h = 0.001 * n.tr * n.finalSize
  18970. if (!u || l || n.sz) {
  18971. var v,
  18972. m = this.textSpans.length
  18973. for (e = 0; e < t; e += 1) {
  18974. if (
  18975. (this.textSpans[e] ||
  18976. (this.textSpans[e] = { span: null, childSpan: null, glyph: null }),
  18977. !l || !u || 0 === e)
  18978. ) {
  18979. if (
  18980. ((i = m > e ? this.textSpans[e].span : createNS(l ? 'g' : 'text')),
  18981. m <= e)
  18982. ) {
  18983. if (
  18984. (i.setAttribute('stroke-linecap', 'butt'),
  18985. i.setAttribute('stroke-linejoin', 'round'),
  18986. i.setAttribute('stroke-miterlimit', '4'),
  18987. (this.textSpans[e].span = i),
  18988. l)
  18989. ) {
  18990. var g = createNS('g')
  18991. i.appendChild(g), (this.textSpans[e].childSpan = g)
  18992. }
  18993. ;(this.textSpans[e].span = i), this.layerElement.appendChild(i)
  18994. }
  18995. i.style.display = 'inherit'
  18996. }
  18997. if (
  18998. (c.reset(),
  18999. u &&
  19000. (s[e].n && ((p = -h), (d += n.yOffset), (d += f ? 1 : 0), (f = !1)),
  19001. this.applyTextPropertiesToMatrix(n, c, s[e].line, p, d),
  19002. (p += s[e].l || 0),
  19003. (p += h)),
  19004. l)
  19005. ) {
  19006. var y
  19007. if (
  19008. 1 ===
  19009. (v = this.globalData.fontManager.getCharData(
  19010. n.finalText[e],
  19011. r.fStyle,
  19012. this.globalData.fontManager.getFontByName(n.f).fFamily
  19013. )).t
  19014. )
  19015. y = new SVGCompElement(v.data, this.globalData, this)
  19016. else {
  19017. var b = emptyShapeData
  19018. v.data &&
  19019. v.data.shapes &&
  19020. (b = this.buildShapeData(v.data, n.finalSize)),
  19021. (y = new SVGShapeElement(b, this.globalData, this))
  19022. }
  19023. if (this.textSpans[e].glyph) {
  19024. var _ = this.textSpans[e].glyph
  19025. this.textSpans[e].childSpan.removeChild(_.layerElement), _.destroy()
  19026. }
  19027. ;(this.textSpans[e].glyph = y),
  19028. (y._debug = !0),
  19029. y.prepareFrame(0),
  19030. y.renderFrame(),
  19031. this.textSpans[e].childSpan.appendChild(y.layerElement),
  19032. 1 === v.t &&
  19033. this.textSpans[e].childSpan.setAttribute(
  19034. 'transform',
  19035. 'scale(' + n.finalSize / 100 + ',' + n.finalSize / 100 + ')'
  19036. )
  19037. } else
  19038. u &&
  19039. i.setAttribute(
  19040. 'transform',
  19041. 'translate(' + c.props[12] + ',' + c.props[13] + ')'
  19042. ),
  19043. (i.textContent = s[e].val),
  19044. i.setAttributeNS(
  19045. 'http://www.w3.org/XML/1998/namespace',
  19046. 'xml:space',
  19047. 'preserve'
  19048. )
  19049. }
  19050. u && i && i.setAttribute('d', '')
  19051. } else {
  19052. var A = this.textContainer,
  19053. x = 'start'
  19054. switch (n.j) {
  19055. case 1:
  19056. x = 'end'
  19057. break
  19058. case 2:
  19059. x = 'middle'
  19060. break
  19061. default:
  19062. x = 'start'
  19063. }
  19064. A.setAttribute('text-anchor', x), A.setAttribute('letter-spacing', h)
  19065. var w = this.buildTextContents(n.finalText)
  19066. for (t = w.length, d = n.ps ? n.ps[1] + n.ascent : 0, e = 0; e < t; e += 1)
  19067. ((i = this.textSpans[e].span || createNS('tspan')).textContent = w[e]),
  19068. i.setAttribute('x', 0),
  19069. i.setAttribute('y', d),
  19070. (i.style.display = 'inherit'),
  19071. A.appendChild(i),
  19072. this.textSpans[e] || (this.textSpans[e] = { span: null, glyph: null }),
  19073. (this.textSpans[e].span = i),
  19074. (d += n.finalLineHeight)
  19075. this.layerElement.appendChild(A)
  19076. }
  19077. for (; e < this.textSpans.length; )
  19078. (this.textSpans[e].span.style.display = 'none'), (e += 1)
  19079. this._sizeChanged = !0
  19080. }),
  19081. (SVGTextLottieElement.prototype.sourceRectAtTime = function () {
  19082. if (
  19083. (this.prepareFrame(this.comp.renderedFrame - this.data.st),
  19084. this.renderInnerContent(),
  19085. this._sizeChanged)
  19086. ) {
  19087. this._sizeChanged = !1
  19088. var e = this.layerElement.getBBox()
  19089. this.bbox = { top: e.y, left: e.x, width: e.width, height: e.height }
  19090. }
  19091. return this.bbox
  19092. }),
  19093. (SVGTextLottieElement.prototype.getValue = function () {
  19094. var e,
  19095. t,
  19096. n = this.textSpans.length
  19097. for (this.renderedFrame = this.comp.renderedFrame, e = 0; e < n; e += 1)
  19098. (t = this.textSpans[e].glyph) &&
  19099. (t.prepareFrame(this.comp.renderedFrame - this.data.st),
  19100. t._mdf && (this._mdf = !0))
  19101. }),
  19102. (SVGTextLottieElement.prototype.renderInnerContent = function () {
  19103. if (
  19104. (!this.data.singleShape || this._mdf) &&
  19105. (this.textAnimator.getMeasures(
  19106. this.textProperty.currentData,
  19107. this.lettersChangedFlag
  19108. ),
  19109. this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)
  19110. ) {
  19111. var e, t
  19112. this._sizeChanged = !0
  19113. var n,
  19114. r,
  19115. a,
  19116. o = this.textAnimator.renderedLetters,
  19117. i = this.textProperty.currentData.l
  19118. for (t = i.length, e = 0; e < t; e += 1)
  19119. i[e].n ||
  19120. ((n = o[e]),
  19121. (r = this.textSpans[e].span),
  19122. (a = this.textSpans[e].glyph) && a.renderFrame(),
  19123. n._mdf.m && r.setAttribute('transform', n.m),
  19124. n._mdf.o && r.setAttribute('opacity', n.o),
  19125. n._mdf.sw && r.setAttribute('stroke-width', n.sw),
  19126. n._mdf.sc && r.setAttribute('stroke', n.sc),
  19127. n._mdf.fc && r.setAttribute('fill', n.fc))
  19128. }
  19129. }),
  19130. extendPrototype([IImageElement], ISolidElement),
  19131. (ISolidElement.prototype.createContent = function () {
  19132. var e = createNS('rect')
  19133. e.setAttribute('width', this.data.sw),
  19134. e.setAttribute('height', this.data.sh),
  19135. e.setAttribute('fill', this.data.sc),
  19136. this.layerElement.appendChild(e)
  19137. }),
  19138. (NullElement.prototype.prepareFrame = function (e) {
  19139. this.prepareProperties(e, !0)
  19140. }),
  19141. (NullElement.prototype.renderFrame = function () {}),
  19142. (NullElement.prototype.getBaseElement = function () {
  19143. return null
  19144. }),
  19145. (NullElement.prototype.destroy = function () {}),
  19146. (NullElement.prototype.sourceRectAtTime = function () {}),
  19147. (NullElement.prototype.hide = function () {}),
  19148. extendPrototype(
  19149. [BaseElement, TransformElement, HierarchyElement, FrameElement],
  19150. NullElement
  19151. ),
  19152. extendPrototype([BaseRenderer], SVGRendererBase),
  19153. (SVGRendererBase.prototype.createNull = function (e) {
  19154. return new NullElement(e, this.globalData, this)
  19155. }),
  19156. (SVGRendererBase.prototype.createShape = function (e) {
  19157. return new SVGShapeElement(e, this.globalData, this)
  19158. }),
  19159. (SVGRendererBase.prototype.createText = function (e) {
  19160. return new SVGTextLottieElement(e, this.globalData, this)
  19161. }),
  19162. (SVGRendererBase.prototype.createImage = function (e) {
  19163. return new IImageElement(e, this.globalData, this)
  19164. }),
  19165. (SVGRendererBase.prototype.createSolid = function (e) {
  19166. return new ISolidElement(e, this.globalData, this)
  19167. }),
  19168. (SVGRendererBase.prototype.configAnimation = function (e) {
  19169. this.svgElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg'),
  19170. this.renderConfig.viewBoxSize
  19171. ? this.svgElement.setAttribute('viewBox', this.renderConfig.viewBoxSize)
  19172. : this.svgElement.setAttribute('viewBox', '0 0 ' + e.w + ' ' + e.h),
  19173. this.renderConfig.viewBoxOnly ||
  19174. (this.svgElement.setAttribute('width', e.w),
  19175. this.svgElement.setAttribute('height', e.h),
  19176. (this.svgElement.style.width = '100%'),
  19177. (this.svgElement.style.height = '100%'),
  19178. (this.svgElement.style.transform = 'translate3d(0,0,0)'),
  19179. (this.svgElement.style.contentVisibility =
  19180. this.renderConfig.contentVisibility)),
  19181. this.renderConfig.width &&
  19182. this.svgElement.setAttribute('width', this.renderConfig.width),
  19183. this.renderConfig.height &&
  19184. this.svgElement.setAttribute('height', this.renderConfig.height),
  19185. this.renderConfig.className &&
  19186. this.svgElement.setAttribute('class', this.renderConfig.className),
  19187. this.renderConfig.id &&
  19188. this.svgElement.setAttribute('id', this.renderConfig.id),
  19189. void 0 !== this.renderConfig.focusable &&
  19190. this.svgElement.setAttribute('focusable', this.renderConfig.focusable),
  19191. this.svgElement.setAttribute(
  19192. 'preserveAspectRatio',
  19193. this.renderConfig.preserveAspectRatio
  19194. ),
  19195. this.animationItem.wrapper.appendChild(this.svgElement)
  19196. var t = this.globalData.defs
  19197. this.setupGlobalData(e, t),
  19198. (this.globalData.progressiveLoad = this.renderConfig.progressiveLoad),
  19199. (this.data = e)
  19200. var n = createNS('clipPath'),
  19201. r = createNS('rect')
  19202. r.setAttribute('width', e.w),
  19203. r.setAttribute('height', e.h),
  19204. r.setAttribute('x', 0),
  19205. r.setAttribute('y', 0)
  19206. var a = createElementID()
  19207. n.setAttribute('id', a),
  19208. n.appendChild(r),
  19209. this.layerElement.setAttribute(
  19210. 'clip-path',
  19211. 'url(' + getLocationHref() + '#' + a + ')'
  19212. ),
  19213. t.appendChild(n),
  19214. (this.layers = e.layers),
  19215. (this.elements = createSizedArray(e.layers.length))
  19216. }),
  19217. (SVGRendererBase.prototype.destroy = function () {
  19218. var e
  19219. this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ''),
  19220. (this.layerElement = null),
  19221. (this.globalData.defs = null)
  19222. var t = this.layers ? this.layers.length : 0
  19223. for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy()
  19224. ;(this.elements.length = 0), (this.destroyed = !0), (this.animationItem = null)
  19225. }),
  19226. (SVGRendererBase.prototype.updateContainerSize = function () {}),
  19227. (SVGRendererBase.prototype.buildItem = function (e) {
  19228. var t = this.elements
  19229. if (!t[e] && 99 !== this.layers[e].ty) {
  19230. t[e] = !0
  19231. var n = this.createItem(this.layers[e])
  19232. ;(t[e] = n),
  19233. getExpressionsPlugin() &&
  19234. (0 === this.layers[e].ty &&
  19235. this.globalData.projectInterface.registerComposition(n),
  19236. n.initExpressions()),
  19237. this.appendElementInPos(n, e),
  19238. this.layers[e].tt &&
  19239. (this.elements[e - 1] && !0 !== this.elements[e - 1]
  19240. ? n.setMatte(t[e - 1].layerId)
  19241. : (this.buildItem(e - 1), this.addPendingElement(n)))
  19242. }
  19243. }),
  19244. (SVGRendererBase.prototype.checkPendingElements = function () {
  19245. for (; this.pendingElements.length; ) {
  19246. var e = this.pendingElements.pop()
  19247. if ((e.checkParenting(), e.data.tt))
  19248. for (var t = 0, n = this.elements.length; t < n; ) {
  19249. if (this.elements[t] === e) {
  19250. e.setMatte(this.elements[t - 1].layerId)
  19251. break
  19252. }
  19253. t += 1
  19254. }
  19255. }
  19256. }),
  19257. (SVGRendererBase.prototype.renderFrame = function (e) {
  19258. if (this.renderedFrame !== e && !this.destroyed) {
  19259. var t
  19260. null === e ? (e = this.renderedFrame) : (this.renderedFrame = e),
  19261. (this.globalData.frameNum = e),
  19262. (this.globalData.frameId += 1),
  19263. (this.globalData.projectInterface.currentFrame = e),
  19264. (this.globalData._mdf = !1)
  19265. var n = this.layers.length
  19266. for (this.completeLayers || this.checkLayers(e), t = n - 1; t >= 0; t -= 1)
  19267. (this.completeLayers || this.elements[t]) &&
  19268. this.elements[t].prepareFrame(e - this.layers[t].st)
  19269. if (this.globalData._mdf)
  19270. for (t = 0; t < n; t += 1)
  19271. (this.completeLayers || this.elements[t]) &&
  19272. this.elements[t].renderFrame()
  19273. }
  19274. }),
  19275. (SVGRendererBase.prototype.appendElementInPos = function (e, t) {
  19276. var n = e.getBaseElement()
  19277. if (n) {
  19278. for (var r, a = 0; a < t; )
  19279. this.elements[a] &&
  19280. !0 !== this.elements[a] &&
  19281. this.elements[a].getBaseElement() &&
  19282. (r = this.elements[a].getBaseElement()),
  19283. (a += 1)
  19284. r ? this.layerElement.insertBefore(n, r) : this.layerElement.appendChild(n)
  19285. }
  19286. }),
  19287. (SVGRendererBase.prototype.hide = function () {
  19288. this.layerElement.style.display = 'none'
  19289. }),
  19290. (SVGRendererBase.prototype.show = function () {
  19291. this.layerElement.style.display = 'block'
  19292. }),
  19293. extendPrototype(
  19294. [
  19295. BaseElement,
  19296. TransformElement,
  19297. HierarchyElement,
  19298. FrameElement,
  19299. RenderableDOMElement
  19300. ],
  19301. ICompElement
  19302. ),
  19303. (ICompElement.prototype.initElement = function (e, t, n) {
  19304. this.initFrame(),
  19305. this.initBaseData(e, t, n),
  19306. this.initTransform(e, t, n),
  19307. this.initRenderable(),
  19308. this.initHierarchy(),
  19309. this.initRendererElement(),
  19310. this.createContainerElements(),
  19311. this.createRenderableComponents(),
  19312. (!this.data.xt && t.progressiveLoad) || this.buildAllItems(),
  19313. this.hide()
  19314. }),
  19315. (ICompElement.prototype.prepareFrame = function (e) {
  19316. if (
  19317. ((this._mdf = !1),
  19318. this.prepareRenderableFrame(e),
  19319. this.prepareProperties(e, this.isInRange),
  19320. this.isInRange || this.data.xt)
  19321. ) {
  19322. if (this.tm._placeholder) this.renderedFrame = e / this.data.sr
  19323. else {
  19324. var t = this.tm.v
  19325. t === this.data.op && (t = this.data.op - 1), (this.renderedFrame = t)
  19326. }
  19327. var n,
  19328. r = this.elements.length
  19329. for (
  19330. this.completeLayers || this.checkLayers(this.renderedFrame), n = r - 1;
  19331. n >= 0;
  19332. n -= 1
  19333. )
  19334. (this.completeLayers || this.elements[n]) &&
  19335. (this.elements[n].prepareFrame(this.renderedFrame - this.layers[n].st),
  19336. this.elements[n]._mdf && (this._mdf = !0))
  19337. }
  19338. }),
  19339. (ICompElement.prototype.renderInnerContent = function () {
  19340. var e,
  19341. t = this.layers.length
  19342. for (e = 0; e < t; e += 1)
  19343. (this.completeLayers || this.elements[e]) && this.elements[e].renderFrame()
  19344. }),
  19345. (ICompElement.prototype.setElements = function (e) {
  19346. this.elements = e
  19347. }),
  19348. (ICompElement.prototype.getElements = function () {
  19349. return this.elements
  19350. }),
  19351. (ICompElement.prototype.destroyElements = function () {
  19352. var e,
  19353. t = this.layers.length
  19354. for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy()
  19355. }),
  19356. (ICompElement.prototype.destroy = function () {
  19357. this.destroyElements(), this.destroyBaseElement()
  19358. }),
  19359. extendPrototype([SVGRendererBase, ICompElement, SVGBaseElement], SVGCompElement),
  19360. (SVGCompElement.prototype.createComp = function (e) {
  19361. return new SVGCompElement(e, this.globalData, this)
  19362. }),
  19363. extendPrototype([SVGRendererBase], SVGRenderer),
  19364. (SVGRenderer.prototype.createComp = function (e) {
  19365. return new SVGCompElement(e, this.globalData, this)
  19366. }),
  19367. (CVContextData.prototype.duplicate = function () {
  19368. var e = 2 * this._length,
  19369. t = this.savedOp
  19370. ;(this.savedOp = createTypedArray('float32', e)), this.savedOp.set(t)
  19371. var n = 0
  19372. for (n = this._length; n < e; n += 1)
  19373. this.saved[n] = createTypedArray('float32', 16)
  19374. this._length = e
  19375. }),
  19376. (CVContextData.prototype.reset = function () {
  19377. ;(this.cArrPos = 0), this.cTr.reset(), (this.cO = 1)
  19378. }),
  19379. (ShapeTransformManager.prototype = {
  19380. addTransformSequence: function (e) {
  19381. var t,
  19382. n = e.length,
  19383. r = '_'
  19384. for (t = 0; t < n; t += 1) r += e[t].transform.key + '_'
  19385. var a = this.sequences[r]
  19386. return (
  19387. a ||
  19388. ((a = {
  19389. transforms: [].concat(e),
  19390. finalTransform: new Matrix(),
  19391. _mdf: !1
  19392. }),
  19393. (this.sequences[r] = a),
  19394. this.sequenceList.push(a)),
  19395. a
  19396. )
  19397. },
  19398. processSequence: function (e, t) {
  19399. for (var n, r = 0, a = e.transforms.length, o = t; r < a && !t; ) {
  19400. if (e.transforms[r].transform.mProps._mdf) {
  19401. o = !0
  19402. break
  19403. }
  19404. r += 1
  19405. }
  19406. if (o)
  19407. for (e.finalTransform.reset(), r = a - 1; r >= 0; r -= 1)
  19408. (n = e.transforms[r].transform.mProps.v.props),
  19409. e.finalTransform.transform(
  19410. n[0],
  19411. n[1],
  19412. n[2],
  19413. n[3],
  19414. n[4],
  19415. n[5],
  19416. n[6],
  19417. n[7],
  19418. n[8],
  19419. n[9],
  19420. n[10],
  19421. n[11],
  19422. n[12],
  19423. n[13],
  19424. n[14],
  19425. n[15]
  19426. )
  19427. e._mdf = o
  19428. },
  19429. processSequences: function (e) {
  19430. var t,
  19431. n = this.sequenceList.length
  19432. for (t = 0; t < n; t += 1) this.processSequence(this.sequenceList[t], e)
  19433. },
  19434. getNewKey: function () {
  19435. return (this.transform_key_count += 1), '_' + this.transform_key_count
  19436. }
  19437. }),
  19438. (CVEffects.prototype.renderFrame = function () {}),
  19439. (CVMaskElement.prototype.renderFrame = function () {
  19440. if (this.hasMasks) {
  19441. var e,
  19442. t,
  19443. n,
  19444. r,
  19445. a = this.element.finalTransform.mat,
  19446. o = this.element.canvasContext,
  19447. i = this.masksProperties.length
  19448. for (o.beginPath(), e = 0; e < i; e += 1)
  19449. if ('n' !== this.masksProperties[e].mode) {
  19450. var s
  19451. this.masksProperties[e].inv &&
  19452. (o.moveTo(0, 0),
  19453. o.lineTo(this.element.globalData.compSize.w, 0),
  19454. o.lineTo(
  19455. this.element.globalData.compSize.w,
  19456. this.element.globalData.compSize.h
  19457. ),
  19458. o.lineTo(0, this.element.globalData.compSize.h),
  19459. o.lineTo(0, 0)),
  19460. (r = this.viewData[e].v),
  19461. (t = a.applyToPointArray(r.v[0][0], r.v[0][1], 0)),
  19462. o.moveTo(t[0], t[1])
  19463. var l = r._length
  19464. for (s = 1; s < l; s += 1)
  19465. (n = a.applyToTriplePoints(r.o[s - 1], r.i[s], r.v[s])),
  19466. o.bezierCurveTo(n[0], n[1], n[2], n[3], n[4], n[5])
  19467. ;(n = a.applyToTriplePoints(r.o[s - 1], r.i[0], r.v[0])),
  19468. o.bezierCurveTo(n[0], n[1], n[2], n[3], n[4], n[5])
  19469. }
  19470. this.element.globalData.renderer.save(!0), o.clip()
  19471. }
  19472. }),
  19473. (CVMaskElement.prototype.getMaskProperty = MaskElement.prototype.getMaskProperty),
  19474. (CVMaskElement.prototype.destroy = function () {
  19475. this.element = null
  19476. }),
  19477. (CVBaseElement.prototype = {
  19478. createElements: function () {},
  19479. initRendererElement: function () {},
  19480. createContainerElements: function () {
  19481. ;(this.canvasContext = this.globalData.canvasContext),
  19482. (this.renderableEffectsManager = new CVEffects())
  19483. },
  19484. createContent: function () {},
  19485. setBlendMode: function () {
  19486. var e = this.globalData
  19487. if (e.blendMode !== this.data.bm) {
  19488. e.blendMode = this.data.bm
  19489. var t = getBlendMode(this.data.bm)
  19490. e.canvasContext.globalCompositeOperation = t
  19491. }
  19492. },
  19493. createRenderableComponents: function () {
  19494. this.maskManager = new CVMaskElement(this.data, this)
  19495. },
  19496. hideElement: function () {
  19497. this.hidden || (this.isInRange && !this.isTransparent) || (this.hidden = !0)
  19498. },
  19499. showElement: function () {
  19500. this.isInRange &&
  19501. !this.isTransparent &&
  19502. ((this.hidden = !1),
  19503. (this._isFirstFrame = !0),
  19504. (this.maskManager._isFirstFrame = !0))
  19505. },
  19506. renderFrame: function () {
  19507. if (!this.hidden && !this.data.hd) {
  19508. this.renderTransform(), this.renderRenderable(), this.setBlendMode()
  19509. var e = 0 === this.data.ty
  19510. this.globalData.renderer.save(e),
  19511. this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),
  19512. this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),
  19513. this.renderInnerContent(),
  19514. this.globalData.renderer.restore(e),
  19515. this.maskManager.hasMasks && this.globalData.renderer.restore(!0),
  19516. this._isFirstFrame && (this._isFirstFrame = !1)
  19517. }
  19518. },
  19519. destroy: function () {
  19520. ;(this.canvasContext = null),
  19521. (this.data = null),
  19522. (this.globalData = null),
  19523. this.maskManager.destroy()
  19524. },
  19525. mHelper: new Matrix()
  19526. }),
  19527. (CVBaseElement.prototype.hide = CVBaseElement.prototype.hideElement),
  19528. (CVBaseElement.prototype.show = CVBaseElement.prototype.showElement),
  19529. (CVShapeData.prototype.setAsAnimated = SVGShapeData.prototype.setAsAnimated),
  19530. extendPrototype(
  19531. [
  19532. BaseElement,
  19533. TransformElement,
  19534. CVBaseElement,
  19535. IShapeElement,
  19536. HierarchyElement,
  19537. FrameElement,
  19538. RenderableElement
  19539. ],
  19540. CVShapeElement
  19541. ),
  19542. (CVShapeElement.prototype.initElement =
  19543. RenderableDOMElement.prototype.initElement),
  19544. (CVShapeElement.prototype.transformHelper = { opacity: 1, _opMdf: !1 }),
  19545. (CVShapeElement.prototype.dashResetter = []),
  19546. (CVShapeElement.prototype.createContent = function () {
  19547. this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, !0, [])
  19548. }),
  19549. (CVShapeElement.prototype.createStyleElement = function (e, t) {
  19550. var n = {
  19551. data: e,
  19552. type: e.ty,
  19553. preTransforms: this.transformsManager.addTransformSequence(t),
  19554. transforms: [],
  19555. elements: [],
  19556. closed: !0 === e.hd
  19557. },
  19558. r = {}
  19559. if (
  19560. ('fl' === e.ty || 'st' === e.ty
  19561. ? ((r.c = PropertyFactory.getProp(this, e.c, 1, 255, this)),
  19562. r.c.k ||
  19563. (n.co =
  19564. 'rgb(' +
  19565. bmFloor(r.c.v[0]) +
  19566. ',' +
  19567. bmFloor(r.c.v[1]) +
  19568. ',' +
  19569. bmFloor(r.c.v[2]) +
  19570. ')'))
  19571. : ('gf' !== e.ty && 'gs' !== e.ty) ||
  19572. ((r.s = PropertyFactory.getProp(this, e.s, 1, null, this)),
  19573. (r.e = PropertyFactory.getProp(this, e.e, 1, null, this)),
  19574. (r.h = PropertyFactory.getProp(this, e.h || { k: 0 }, 0, 0.01, this)),
  19575. (r.a = PropertyFactory.getProp(
  19576. this,
  19577. e.a || { k: 0 },
  19578. 0,
  19579. degToRads,
  19580. this
  19581. )),
  19582. (r.g = new GradientProperty(this, e.g, this))),
  19583. (r.o = PropertyFactory.getProp(this, e.o, 0, 0.01, this)),
  19584. 'st' === e.ty || 'gs' === e.ty)
  19585. ) {
  19586. if (
  19587. ((n.lc = lineCapEnum[e.lc || 2]),
  19588. (n.lj = lineJoinEnum[e.lj || 2]),
  19589. 1 == e.lj && (n.ml = e.ml),
  19590. (r.w = PropertyFactory.getProp(this, e.w, 0, null, this)),
  19591. r.w.k || (n.wi = r.w.v),
  19592. e.d)
  19593. ) {
  19594. var a = new DashProperty(this, e.d, 'canvas', this)
  19595. ;(r.d = a), r.d.k || ((n.da = r.d.dashArray), (n.do = r.d.dashoffset[0]))
  19596. }
  19597. } else n.r = 2 === e.r ? 'evenodd' : 'nonzero'
  19598. return this.stylesList.push(n), (r.style = n), r
  19599. }),
  19600. (CVShapeElement.prototype.createGroupElement = function () {
  19601. return { it: [], prevViewData: [] }
  19602. }),
  19603. (CVShapeElement.prototype.createTransformElement = function (e) {
  19604. return {
  19605. transform: {
  19606. opacity: 1,
  19607. _opMdf: !1,
  19608. key: this.transformsManager.getNewKey(),
  19609. op: PropertyFactory.getProp(this, e.o, 0, 0.01, this),
  19610. mProps: TransformPropertyFactory.getTransformProperty(this, e, this)
  19611. }
  19612. }
  19613. }),
  19614. (CVShapeElement.prototype.createShapeElement = function (e) {
  19615. var t = new CVShapeData(this, e, this.stylesList, this.transformsManager)
  19616. return this.shapes.push(t), this.addShapeToModifiers(t), t
  19617. }),
  19618. (CVShapeElement.prototype.reloadShapes = function () {
  19619. var e
  19620. this._isFirstFrame = !0
  19621. var t = this.itemsData.length
  19622. for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e]
  19623. for (
  19624. this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, !0, []),
  19625. t = this.dynamicProperties.length,
  19626. e = 0;
  19627. e < t;
  19628. e += 1
  19629. )
  19630. this.dynamicProperties[e].getValue()
  19631. this.renderModifiers(),
  19632. this.transformsManager.processSequences(this._isFirstFrame)
  19633. }),
  19634. (CVShapeElement.prototype.addTransformToStyleList = function (e) {
  19635. var t,
  19636. n = this.stylesList.length
  19637. for (t = 0; t < n; t += 1)
  19638. this.stylesList[t].closed || this.stylesList[t].transforms.push(e)
  19639. }),
  19640. (CVShapeElement.prototype.removeTransformFromStyleList = function () {
  19641. var e,
  19642. t = this.stylesList.length
  19643. for (e = 0; e < t; e += 1)
  19644. this.stylesList[e].closed || this.stylesList[e].transforms.pop()
  19645. }),
  19646. (CVShapeElement.prototype.closeStyles = function (e) {
  19647. var t,
  19648. n = e.length
  19649. for (t = 0; t < n; t += 1) e[t].closed = !0
  19650. }),
  19651. (CVShapeElement.prototype.searchShapes = function (e, t, n, r, a) {
  19652. var o,
  19653. i,
  19654. s,
  19655. l,
  19656. c,
  19657. u,
  19658. p = e.length - 1,
  19659. d = [],
  19660. f = [],
  19661. h = [].concat(a)
  19662. for (o = p; o >= 0; o -= 1) {
  19663. if (
  19664. ((l = this.searchProcessedElement(e[o]))
  19665. ? (t[o] = n[l - 1])
  19666. : (e[o]._shouldRender = r),
  19667. 'fl' === e[o].ty ||
  19668. 'st' === e[o].ty ||
  19669. 'gf' === e[o].ty ||
  19670. 'gs' === e[o].ty)
  19671. )
  19672. l ? (t[o].style.closed = !1) : (t[o] = this.createStyleElement(e[o], h)),
  19673. d.push(t[o].style)
  19674. else if ('gr' === e[o].ty) {
  19675. if (l)
  19676. for (s = t[o].it.length, i = 0; i < s; i += 1)
  19677. t[o].prevViewData[i] = t[o].it[i]
  19678. else t[o] = this.createGroupElement(e[o])
  19679. this.searchShapes(e[o].it, t[o].it, t[o].prevViewData, r, h)
  19680. } else
  19681. 'tr' === e[o].ty
  19682. ? (l || ((u = this.createTransformElement(e[o])), (t[o] = u)),
  19683. h.push(t[o]),
  19684. this.addTransformToStyleList(t[o]))
  19685. : 'sh' === e[o].ty ||
  19686. 'rc' === e[o].ty ||
  19687. 'el' === e[o].ty ||
  19688. 'sr' === e[o].ty
  19689. ? l || (t[o] = this.createShapeElement(e[o]))
  19690. : 'tm' === e[o].ty || 'rd' === e[o].ty || 'pb' === e[o].ty
  19691. ? (l
  19692. ? ((c = t[o]).closed = !1)
  19693. : ((c = ShapeModifiers.getModifier(e[o].ty)).init(this, e[o]),
  19694. (t[o] = c),
  19695. this.shapeModifiers.push(c)),
  19696. f.push(c))
  19697. : 'rp' === e[o].ty &&
  19698. (l
  19699. ? ((c = t[o]).closed = !0)
  19700. : ((c = ShapeModifiers.getModifier(e[o].ty)),
  19701. (t[o] = c),
  19702. c.init(this, e, o, t),
  19703. this.shapeModifiers.push(c),
  19704. (r = !1)),
  19705. f.push(c))
  19706. this.addProcessedElement(e[o], o + 1)
  19707. }
  19708. for (
  19709. this.removeTransformFromStyleList(), this.closeStyles(d), p = f.length, o = 0;
  19710. o < p;
  19711. o += 1
  19712. )
  19713. f[o].closed = !0
  19714. }),
  19715. (CVShapeElement.prototype.renderInnerContent = function () {
  19716. ;(this.transformHelper.opacity = 1),
  19717. (this.transformHelper._opMdf = !1),
  19718. this.renderModifiers(),
  19719. this.transformsManager.processSequences(this._isFirstFrame),
  19720. this.renderShape(this.transformHelper, this.shapesData, this.itemsData, !0)
  19721. }),
  19722. (CVShapeElement.prototype.renderShapeTransform = function (e, t) {
  19723. ;(e._opMdf || t.op._mdf || this._isFirstFrame) &&
  19724. ((t.opacity = e.opacity), (t.opacity *= t.op.v), (t._opMdf = !0))
  19725. }),
  19726. (CVShapeElement.prototype.drawLayer = function () {
  19727. var e,
  19728. t,
  19729. n,
  19730. r,
  19731. a,
  19732. o,
  19733. i,
  19734. s,
  19735. l,
  19736. c = this.stylesList.length,
  19737. u = this.globalData.renderer,
  19738. p = this.globalData.canvasContext
  19739. for (e = 0; e < c; e += 1)
  19740. if (
  19741. (('st' !== (s = (l = this.stylesList[e]).type) && 'gs' !== s) ||
  19742. 0 !== l.wi) &&
  19743. l.data._shouldRender &&
  19744. 0 !== l.coOp &&
  19745. 0 !== this.globalData.currentGlobalAlpha
  19746. ) {
  19747. for (
  19748. u.save(),
  19749. o = l.elements,
  19750. 'st' === s || 'gs' === s
  19751. ? ((p.strokeStyle = 'st' === s ? l.co : l.grd),
  19752. (p.lineWidth = l.wi),
  19753. (p.lineCap = l.lc),
  19754. (p.lineJoin = l.lj),
  19755. (p.miterLimit = l.ml || 0))
  19756. : (p.fillStyle = 'fl' === s ? l.co : l.grd),
  19757. u.ctxOpacity(l.coOp),
  19758. 'st' !== s && 'gs' !== s && p.beginPath(),
  19759. u.ctxTransform(l.preTransforms.finalTransform.props),
  19760. n = o.length,
  19761. t = 0;
  19762. t < n;
  19763. t += 1
  19764. ) {
  19765. for (
  19766. ('st' !== s && 'gs' !== s) ||
  19767. (p.beginPath(),
  19768. l.da && (p.setLineDash(l.da), (p.lineDashOffset = l.do))),
  19769. a = (i = o[t].trNodes).length,
  19770. r = 0;
  19771. r < a;
  19772. r += 1
  19773. )
  19774. 'm' === i[r].t
  19775. ? p.moveTo(i[r].p[0], i[r].p[1])
  19776. : 'c' === i[r].t
  19777. ? p.bezierCurveTo(
  19778. i[r].pts[0],
  19779. i[r].pts[1],
  19780. i[r].pts[2],
  19781. i[r].pts[3],
  19782. i[r].pts[4],
  19783. i[r].pts[5]
  19784. )
  19785. : p.closePath()
  19786. ;('st' !== s && 'gs' !== s) ||
  19787. (p.stroke(), l.da && p.setLineDash(this.dashResetter))
  19788. }
  19789. 'st' !== s && 'gs' !== s && p.fill(l.r), u.restore()
  19790. }
  19791. }),
  19792. (CVShapeElement.prototype.renderShape = function (e, t, n, r) {
  19793. var a, o
  19794. for (o = e, a = t.length - 1; a >= 0; a -= 1)
  19795. 'tr' === t[a].ty
  19796. ? ((o = n[a].transform), this.renderShapeTransform(e, o))
  19797. : 'sh' === t[a].ty ||
  19798. 'el' === t[a].ty ||
  19799. 'rc' === t[a].ty ||
  19800. 'sr' === t[a].ty
  19801. ? this.renderPath(t[a], n[a])
  19802. : 'fl' === t[a].ty
  19803. ? this.renderFill(t[a], n[a], o)
  19804. : 'st' === t[a].ty
  19805. ? this.renderStroke(t[a], n[a], o)
  19806. : 'gf' === t[a].ty || 'gs' === t[a].ty
  19807. ? this.renderGradientFill(t[a], n[a], o)
  19808. : 'gr' === t[a].ty
  19809. ? this.renderShape(o, t[a].it, n[a].it)
  19810. : t[a].ty
  19811. r && this.drawLayer()
  19812. }),
  19813. (CVShapeElement.prototype.renderStyledShape = function (e, t) {
  19814. if (this._isFirstFrame || t._mdf || e.transforms._mdf) {
  19815. var n,
  19816. r,
  19817. a,
  19818. o = e.trNodes,
  19819. i = t.paths,
  19820. s = i._length
  19821. o.length = 0
  19822. var l = e.transforms.finalTransform
  19823. for (a = 0; a < s; a += 1) {
  19824. var c = i.shapes[a]
  19825. if (c && c.v) {
  19826. for (r = c._length, n = 1; n < r; n += 1)
  19827. 1 === n &&
  19828. o.push({ t: 'm', p: l.applyToPointArray(c.v[0][0], c.v[0][1], 0) }),
  19829. o.push({
  19830. t: 'c',
  19831. pts: l.applyToTriplePoints(c.o[n - 1], c.i[n], c.v[n])
  19832. })
  19833. 1 === r &&
  19834. o.push({ t: 'm', p: l.applyToPointArray(c.v[0][0], c.v[0][1], 0) }),
  19835. c.c &&
  19836. r &&
  19837. (o.push({
  19838. t: 'c',
  19839. pts: l.applyToTriplePoints(c.o[n - 1], c.i[0], c.v[0])
  19840. }),
  19841. o.push({ t: 'z' }))
  19842. }
  19843. }
  19844. e.trNodes = o
  19845. }
  19846. }),
  19847. (CVShapeElement.prototype.renderPath = function (e, t) {
  19848. if (!0 !== e.hd && e._shouldRender) {
  19849. var n,
  19850. r = t.styledShapes.length
  19851. for (n = 0; n < r; n += 1) this.renderStyledShape(t.styledShapes[n], t.sh)
  19852. }
  19853. }),
  19854. (CVShapeElement.prototype.renderFill = function (e, t, n) {
  19855. var r = t.style
  19856. ;(t.c._mdf || this._isFirstFrame) &&
  19857. (r.co =
  19858. 'rgb(' +
  19859. bmFloor(t.c.v[0]) +
  19860. ',' +
  19861. bmFloor(t.c.v[1]) +
  19862. ',' +
  19863. bmFloor(t.c.v[2]) +
  19864. ')'),
  19865. (t.o._mdf || n._opMdf || this._isFirstFrame) && (r.coOp = t.o.v * n.opacity)
  19866. }),
  19867. (CVShapeElement.prototype.renderGradientFill = function (e, t, n) {
  19868. var r,
  19869. a = t.style
  19870. if (
  19871. !a.grd ||
  19872. t.g._mdf ||
  19873. t.s._mdf ||
  19874. t.e._mdf ||
  19875. (1 !== e.t && (t.h._mdf || t.a._mdf))
  19876. ) {
  19877. var o,
  19878. i = this.globalData.canvasContext,
  19879. s = t.s.v,
  19880. l = t.e.v
  19881. if (1 === e.t) r = i.createLinearGradient(s[0], s[1], l[0], l[1])
  19882. else {
  19883. var c = Math.sqrt(Math.pow(s[0] - l[0], 2) + Math.pow(s[1] - l[1], 2)),
  19884. u = Math.atan2(l[1] - s[1], l[0] - s[0]),
  19885. p = t.h.v
  19886. p >= 1 ? (p = 0.99) : p <= -1 && (p = -0.99)
  19887. var d = c * p,
  19888. f = Math.cos(u + t.a.v) * d + s[0],
  19889. h = Math.sin(u + t.a.v) * d + s[1]
  19890. r = i.createRadialGradient(f, h, 0, s[0], s[1], c)
  19891. }
  19892. var v = e.g.p,
  19893. m = t.g.c,
  19894. g = 1
  19895. for (o = 0; o < v; o += 1)
  19896. t.g._hasOpacity && t.g._collapsable && (g = t.g.o[2 * o + 1]),
  19897. r.addColorStop(
  19898. m[4 * o] / 100,
  19899. 'rgba(' +
  19900. m[4 * o + 1] +
  19901. ',' +
  19902. m[4 * o + 2] +
  19903. ',' +
  19904. m[4 * o + 3] +
  19905. ',' +
  19906. g +
  19907. ')'
  19908. )
  19909. a.grd = r
  19910. }
  19911. a.coOp = t.o.v * n.opacity
  19912. }),
  19913. (CVShapeElement.prototype.renderStroke = function (e, t, n) {
  19914. var r = t.style,
  19915. a = t.d
  19916. a &&
  19917. (a._mdf || this._isFirstFrame) &&
  19918. ((r.da = a.dashArray), (r.do = a.dashoffset[0])),
  19919. (t.c._mdf || this._isFirstFrame) &&
  19920. (r.co =
  19921. 'rgb(' +
  19922. bmFloor(t.c.v[0]) +
  19923. ',' +
  19924. bmFloor(t.c.v[1]) +
  19925. ',' +
  19926. bmFloor(t.c.v[2]) +
  19927. ')'),
  19928. (t.o._mdf || n._opMdf || this._isFirstFrame) && (r.coOp = t.o.v * n.opacity),
  19929. (t.w._mdf || this._isFirstFrame) && (r.wi = t.w.v)
  19930. }),
  19931. (CVShapeElement.prototype.destroy = function () {
  19932. ;(this.shapesData = null),
  19933. (this.globalData = null),
  19934. (this.canvasContext = null),
  19935. (this.stylesList.length = 0),
  19936. (this.itemsData.length = 0)
  19937. }),
  19938. extendPrototype(
  19939. [
  19940. BaseElement,
  19941. TransformElement,
  19942. CVBaseElement,
  19943. HierarchyElement,
  19944. FrameElement,
  19945. RenderableElement,
  19946. ITextElement
  19947. ],
  19948. CVTextElement
  19949. ),
  19950. (CVTextElement.prototype.tHelper = createTag('canvas').getContext('2d')),
  19951. (CVTextElement.prototype.buildNewText = function () {
  19952. var e = this.textProperty.currentData
  19953. this.renderedLetters = createSizedArray(e.l ? e.l.length : 0)
  19954. var t = !1
  19955. e.fc
  19956. ? ((t = !0), (this.values.fill = this.buildColor(e.fc)))
  19957. : (this.values.fill = 'rgba(0,0,0,0)'),
  19958. (this.fill = t)
  19959. var n = !1
  19960. e.sc &&
  19961. ((n = !0),
  19962. (this.values.stroke = this.buildColor(e.sc)),
  19963. (this.values.sWidth = e.sw))
  19964. var r,
  19965. a,
  19966. o,
  19967. i,
  19968. s,
  19969. l,
  19970. c,
  19971. u,
  19972. p,
  19973. d,
  19974. f,
  19975. h,
  19976. v = this.globalData.fontManager.getFontByName(e.f),
  19977. m = e.l,
  19978. g = this.mHelper
  19979. ;(this.stroke = n),
  19980. (this.values.fValue =
  19981. e.finalSize +
  19982. 'px ' +
  19983. this.globalData.fontManager.getFontByName(e.f).fFamily),
  19984. (a = e.finalText.length)
  19985. var y = this.data.singleShape,
  19986. b = 0.001 * e.tr * e.finalSize,
  19987. _ = 0,
  19988. A = 0,
  19989. x = !0,
  19990. w = 0
  19991. for (r = 0; r < a; r += 1) {
  19992. ;(i =
  19993. ((o = this.globalData.fontManager.getCharData(
  19994. e.finalText[r],
  19995. v.fStyle,
  19996. this.globalData.fontManager.getFontByName(e.f).fFamily
  19997. )) &&
  19998. o.data) ||
  19999. {}),
  20000. g.reset(),
  20001. y && m[r].n && ((_ = -b), (A += e.yOffset), (A += x ? 1 : 0), (x = !1)),
  20002. (p = (c = i.shapes ? i.shapes[0].it : []).length),
  20003. g.scale(e.finalSize / 100, e.finalSize / 100),
  20004. y && this.applyTextPropertiesToMatrix(e, g, m[r].line, _, A),
  20005. (f = createSizedArray(p - 1))
  20006. var k = 0
  20007. for (u = 0; u < p; u += 1)
  20008. if ('sh' === c[u].ty) {
  20009. for (l = c[u].ks.k.i.length, d = c[u].ks.k, h = [], s = 1; s < l; s += 1)
  20010. 1 === s &&
  20011. h.push(
  20012. g.applyToX(d.v[0][0], d.v[0][1], 0),
  20013. g.applyToY(d.v[0][0], d.v[0][1], 0)
  20014. ),
  20015. h.push(
  20016. g.applyToX(d.o[s - 1][0], d.o[s - 1][1], 0),
  20017. g.applyToY(d.o[s - 1][0], d.o[s - 1][1], 0),
  20018. g.applyToX(d.i[s][0], d.i[s][1], 0),
  20019. g.applyToY(d.i[s][0], d.i[s][1], 0),
  20020. g.applyToX(d.v[s][0], d.v[s][1], 0),
  20021. g.applyToY(d.v[s][0], d.v[s][1], 0)
  20022. )
  20023. h.push(
  20024. g.applyToX(d.o[s - 1][0], d.o[s - 1][1], 0),
  20025. g.applyToY(d.o[s - 1][0], d.o[s - 1][1], 0),
  20026. g.applyToX(d.i[0][0], d.i[0][1], 0),
  20027. g.applyToY(d.i[0][0], d.i[0][1], 0),
  20028. g.applyToX(d.v[0][0], d.v[0][1], 0),
  20029. g.applyToY(d.v[0][0], d.v[0][1], 0)
  20030. ),
  20031. (f[k] = h),
  20032. (k += 1)
  20033. }
  20034. y && ((_ += m[r].l), (_ += b)),
  20035. this.textSpans[w]
  20036. ? (this.textSpans[w].elem = f)
  20037. : (this.textSpans[w] = { elem: f }),
  20038. (w += 1)
  20039. }
  20040. }),
  20041. (CVTextElement.prototype.renderInnerContent = function () {
  20042. var e,
  20043. t,
  20044. n,
  20045. r,
  20046. a,
  20047. o,
  20048. i = this.canvasContext
  20049. ;(i.font = this.values.fValue),
  20050. (i.lineCap = 'butt'),
  20051. (i.lineJoin = 'miter'),
  20052. (i.miterLimit = 4),
  20053. this.data.singleShape ||
  20054. this.textAnimator.getMeasures(
  20055. this.textProperty.currentData,
  20056. this.lettersChangedFlag
  20057. )
  20058. var s,
  20059. l = this.textAnimator.renderedLetters,
  20060. c = this.textProperty.currentData.l
  20061. t = c.length
  20062. var u,
  20063. p,
  20064. d = null,
  20065. f = null,
  20066. h = null
  20067. for (e = 0; e < t; e += 1)
  20068. if (!c[e].n) {
  20069. if (
  20070. ((s = l[e]) &&
  20071. (this.globalData.renderer.save(),
  20072. this.globalData.renderer.ctxTransform(s.p),
  20073. this.globalData.renderer.ctxOpacity(s.o)),
  20074. this.fill)
  20075. ) {
  20076. for (
  20077. s && s.fc
  20078. ? d !== s.fc && ((d = s.fc), (i.fillStyle = s.fc))
  20079. : d !== this.values.fill &&
  20080. ((d = this.values.fill), (i.fillStyle = this.values.fill)),
  20081. r = (u = this.textSpans[e].elem).length,
  20082. this.globalData.canvasContext.beginPath(),
  20083. n = 0;
  20084. n < r;
  20085. n += 1
  20086. )
  20087. for (
  20088. o = (p = u[n]).length,
  20089. this.globalData.canvasContext.moveTo(p[0], p[1]),
  20090. a = 2;
  20091. a < o;
  20092. a += 6
  20093. )
  20094. this.globalData.canvasContext.bezierCurveTo(
  20095. p[a],
  20096. p[a + 1],
  20097. p[a + 2],
  20098. p[a + 3],
  20099. p[a + 4],
  20100. p[a + 5]
  20101. )
  20102. this.globalData.canvasContext.closePath(),
  20103. this.globalData.canvasContext.fill()
  20104. }
  20105. if (this.stroke) {
  20106. for (
  20107. s && s.sw
  20108. ? h !== s.sw && ((h = s.sw), (i.lineWidth = s.sw))
  20109. : h !== this.values.sWidth &&
  20110. ((h = this.values.sWidth), (i.lineWidth = this.values.sWidth)),
  20111. s && s.sc
  20112. ? f !== s.sc && ((f = s.sc), (i.strokeStyle = s.sc))
  20113. : f !== this.values.stroke &&
  20114. ((f = this.values.stroke), (i.strokeStyle = this.values.stroke)),
  20115. r = (u = this.textSpans[e].elem).length,
  20116. this.globalData.canvasContext.beginPath(),
  20117. n = 0;
  20118. n < r;
  20119. n += 1
  20120. )
  20121. for (
  20122. o = (p = u[n]).length,
  20123. this.globalData.canvasContext.moveTo(p[0], p[1]),
  20124. a = 2;
  20125. a < o;
  20126. a += 6
  20127. )
  20128. this.globalData.canvasContext.bezierCurveTo(
  20129. p[a],
  20130. p[a + 1],
  20131. p[a + 2],
  20132. p[a + 3],
  20133. p[a + 4],
  20134. p[a + 5]
  20135. )
  20136. this.globalData.canvasContext.closePath(),
  20137. this.globalData.canvasContext.stroke()
  20138. }
  20139. s && this.globalData.renderer.restore()
  20140. }
  20141. }),
  20142. extendPrototype(
  20143. [
  20144. BaseElement,
  20145. TransformElement,
  20146. CVBaseElement,
  20147. HierarchyElement,
  20148. FrameElement,
  20149. RenderableElement
  20150. ],
  20151. CVImageElement
  20152. ),
  20153. (CVImageElement.prototype.initElement = SVGShapeElement.prototype.initElement),
  20154. (CVImageElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame),
  20155. (CVImageElement.prototype.createContent = function () {
  20156. if (
  20157. this.img.width &&
  20158. (this.assetData.w !== this.img.width || this.assetData.h !== this.img.height)
  20159. ) {
  20160. var e = createTag('canvas')
  20161. ;(e.width = this.assetData.w), (e.height = this.assetData.h)
  20162. var t,
  20163. n,
  20164. r = e.getContext('2d'),
  20165. a = this.img.width,
  20166. o = this.img.height,
  20167. i = a / o,
  20168. s = this.assetData.w / this.assetData.h,
  20169. l =
  20170. this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio
  20171. ;(i > s && 'xMidYMid slice' === l) || (i < s && 'xMidYMid slice' !== l)
  20172. ? (t = (n = o) * s)
  20173. : (n = (t = a) / s),
  20174. r.drawImage(
  20175. this.img,
  20176. (a - t) / 2,
  20177. (o - n) / 2,
  20178. t,
  20179. n,
  20180. 0,
  20181. 0,
  20182. this.assetData.w,
  20183. this.assetData.h
  20184. ),
  20185. (this.img = e)
  20186. }
  20187. }),
  20188. (CVImageElement.prototype.renderInnerContent = function () {
  20189. this.canvasContext.drawImage(this.img, 0, 0)
  20190. }),
  20191. (CVImageElement.prototype.destroy = function () {
  20192. this.img = null
  20193. }),
  20194. extendPrototype(
  20195. [
  20196. BaseElement,
  20197. TransformElement,
  20198. CVBaseElement,
  20199. HierarchyElement,
  20200. FrameElement,
  20201. RenderableElement
  20202. ],
  20203. CVSolidElement
  20204. ),
  20205. (CVSolidElement.prototype.initElement = SVGShapeElement.prototype.initElement),
  20206. (CVSolidElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame),
  20207. (CVSolidElement.prototype.renderInnerContent = function () {
  20208. var e = this.canvasContext
  20209. ;(e.fillStyle = this.data.sc), e.fillRect(0, 0, this.data.sw, this.data.sh)
  20210. }),
  20211. extendPrototype([BaseRenderer], CanvasRendererBase),
  20212. (CanvasRendererBase.prototype.createShape = function (e) {
  20213. return new CVShapeElement(e, this.globalData, this)
  20214. }),
  20215. (CanvasRendererBase.prototype.createText = function (e) {
  20216. return new CVTextElement(e, this.globalData, this)
  20217. }),
  20218. (CanvasRendererBase.prototype.createImage = function (e) {
  20219. return new CVImageElement(e, this.globalData, this)
  20220. }),
  20221. (CanvasRendererBase.prototype.createSolid = function (e) {
  20222. return new CVSolidElement(e, this.globalData, this)
  20223. }),
  20224. (CanvasRendererBase.prototype.createNull = SVGRenderer.prototype.createNull),
  20225. (CanvasRendererBase.prototype.ctxTransform = function (e) {
  20226. if (
  20227. 1 !== e[0] ||
  20228. 0 !== e[1] ||
  20229. 0 !== e[4] ||
  20230. 1 !== e[5] ||
  20231. 0 !== e[12] ||
  20232. 0 !== e[13]
  20233. )
  20234. if (this.renderConfig.clearCanvas) {
  20235. this.transformMat.cloneFromProps(e)
  20236. var t = this.contextData.cTr.props
  20237. this.transformMat.transform(
  20238. t[0],
  20239. t[1],
  20240. t[2],
  20241. t[3],
  20242. t[4],
  20243. t[5],
  20244. t[6],
  20245. t[7],
  20246. t[8],
  20247. t[9],
  20248. t[10],
  20249. t[11],
  20250. t[12],
  20251. t[13],
  20252. t[14],
  20253. t[15]
  20254. ),
  20255. this.contextData.cTr.cloneFromProps(this.transformMat.props)
  20256. var n = this.contextData.cTr.props
  20257. this.canvasContext.setTransform(n[0], n[1], n[4], n[5], n[12], n[13])
  20258. } else this.canvasContext.transform(e[0], e[1], e[4], e[5], e[12], e[13])
  20259. }),
  20260. (CanvasRendererBase.prototype.ctxOpacity = function (e) {
  20261. if (!this.renderConfig.clearCanvas)
  20262. return (
  20263. (this.canvasContext.globalAlpha *= e < 0 ? 0 : e),
  20264. void (this.globalData.currentGlobalAlpha = this.contextData.cO)
  20265. )
  20266. ;(this.contextData.cO *= e < 0 ? 0 : e),
  20267. this.globalData.currentGlobalAlpha !== this.contextData.cO &&
  20268. ((this.canvasContext.globalAlpha = this.contextData.cO),
  20269. (this.globalData.currentGlobalAlpha = this.contextData.cO))
  20270. }),
  20271. (CanvasRendererBase.prototype.reset = function () {
  20272. this.renderConfig.clearCanvas
  20273. ? this.contextData.reset()
  20274. : this.canvasContext.restore()
  20275. }),
  20276. (CanvasRendererBase.prototype.save = function (e) {
  20277. if (this.renderConfig.clearCanvas) {
  20278. e && this.canvasContext.save()
  20279. var t,
  20280. n = this.contextData.cTr.props
  20281. this.contextData._length <= this.contextData.cArrPos &&
  20282. this.contextData.duplicate()
  20283. var r = this.contextData.saved[this.contextData.cArrPos]
  20284. for (t = 0; t < 16; t += 1) r[t] = n[t]
  20285. ;(this.contextData.savedOp[this.contextData.cArrPos] = this.contextData.cO),
  20286. (this.contextData.cArrPos += 1)
  20287. } else this.canvasContext.save()
  20288. }),
  20289. (CanvasRendererBase.prototype.restore = function (e) {
  20290. if (this.renderConfig.clearCanvas) {
  20291. e &&
  20292. (this.canvasContext.restore(), (this.globalData.blendMode = 'source-over')),
  20293. (this.contextData.cArrPos -= 1)
  20294. var t,
  20295. n = this.contextData.saved[this.contextData.cArrPos],
  20296. r = this.contextData.cTr.props
  20297. for (t = 0; t < 16; t += 1) r[t] = n[t]
  20298. this.canvasContext.setTransform(n[0], n[1], n[4], n[5], n[12], n[13]),
  20299. (n = this.contextData.savedOp[this.contextData.cArrPos]),
  20300. (this.contextData.cO = n),
  20301. this.globalData.currentGlobalAlpha !== n &&
  20302. ((this.canvasContext.globalAlpha = n),
  20303. (this.globalData.currentGlobalAlpha = n))
  20304. } else this.canvasContext.restore()
  20305. }),
  20306. (CanvasRendererBase.prototype.configAnimation = function (e) {
  20307. if (this.animationItem.wrapper) {
  20308. this.animationItem.container = createTag('canvas')
  20309. var t = this.animationItem.container.style
  20310. ;(t.width = '100%'), (t.height = '100%')
  20311. var n = '0px 0px 0px'
  20312. ;(t.transformOrigin = n),
  20313. (t.mozTransformOrigin = n),
  20314. (t.webkitTransformOrigin = n),
  20315. (t['-webkit-transform'] = n),
  20316. (t.contentVisibility = this.renderConfig.contentVisibility),
  20317. this.animationItem.wrapper.appendChild(this.animationItem.container),
  20318. (this.canvasContext = this.animationItem.container.getContext('2d')),
  20319. this.renderConfig.className &&
  20320. this.animationItem.container.setAttribute(
  20321. 'class',
  20322. this.renderConfig.className
  20323. ),
  20324. this.renderConfig.id &&
  20325. this.animationItem.container.setAttribute('id', this.renderConfig.id)
  20326. } else this.canvasContext = this.renderConfig.context
  20327. ;(this.data = e),
  20328. (this.layers = e.layers),
  20329. (this.transformCanvas = { w: e.w, h: e.h, sx: 0, sy: 0, tx: 0, ty: 0 }),
  20330. this.setupGlobalData(e, document.body),
  20331. (this.globalData.canvasContext = this.canvasContext),
  20332. (this.globalData.renderer = this),
  20333. (this.globalData.isDashed = !1),
  20334. (this.globalData.progressiveLoad = this.renderConfig.progressiveLoad),
  20335. (this.globalData.transformCanvas = this.transformCanvas),
  20336. (this.elements = createSizedArray(e.layers.length)),
  20337. this.updateContainerSize()
  20338. }),
  20339. (CanvasRendererBase.prototype.updateContainerSize = function () {
  20340. var e, t, n, r
  20341. if (
  20342. (this.reset(),
  20343. this.animationItem.wrapper && this.animationItem.container
  20344. ? ((e = this.animationItem.wrapper.offsetWidth),
  20345. (t = this.animationItem.wrapper.offsetHeight),
  20346. this.animationItem.container.setAttribute(
  20347. 'width',
  20348. e * this.renderConfig.dpr
  20349. ),
  20350. this.animationItem.container.setAttribute(
  20351. 'height',
  20352. t * this.renderConfig.dpr
  20353. ))
  20354. : ((e = this.canvasContext.canvas.width * this.renderConfig.dpr),
  20355. (t = this.canvasContext.canvas.height * this.renderConfig.dpr)),
  20356. -1 !== this.renderConfig.preserveAspectRatio.indexOf('meet') ||
  20357. -1 !== this.renderConfig.preserveAspectRatio.indexOf('slice'))
  20358. ) {
  20359. var a = this.renderConfig.preserveAspectRatio.split(' '),
  20360. o = a[1] || 'meet',
  20361. i = a[0] || 'xMidYMid',
  20362. s = i.substr(0, 4),
  20363. l = i.substr(4)
  20364. ;(n = e / t),
  20365. ((r = this.transformCanvas.w / this.transformCanvas.h) > n &&
  20366. 'meet' === o) ||
  20367. (r < n && 'slice' === o)
  20368. ? ((this.transformCanvas.sx =
  20369. e / (this.transformCanvas.w / this.renderConfig.dpr)),
  20370. (this.transformCanvas.sy =
  20371. e / (this.transformCanvas.w / this.renderConfig.dpr)))
  20372. : ((this.transformCanvas.sx =
  20373. t / (this.transformCanvas.h / this.renderConfig.dpr)),
  20374. (this.transformCanvas.sy =
  20375. t / (this.transformCanvas.h / this.renderConfig.dpr))),
  20376. (this.transformCanvas.tx =
  20377. 'xMid' === s && ((r < n && 'meet' === o) || (r > n && 'slice' === o))
  20378. ? ((e - this.transformCanvas.w * (t / this.transformCanvas.h)) / 2) *
  20379. this.renderConfig.dpr
  20380. : 'xMax' === s && ((r < n && 'meet' === o) || (r > n && 'slice' === o))
  20381. ? (e - this.transformCanvas.w * (t / this.transformCanvas.h)) *
  20382. this.renderConfig.dpr
  20383. : 0),
  20384. (this.transformCanvas.ty =
  20385. 'YMid' === l && ((r > n && 'meet' === o) || (r < n && 'slice' === o))
  20386. ? ((t - this.transformCanvas.h * (e / this.transformCanvas.w)) / 2) *
  20387. this.renderConfig.dpr
  20388. : 'YMax' === l && ((r > n && 'meet' === o) || (r < n && 'slice' === o))
  20389. ? (t - this.transformCanvas.h * (e / this.transformCanvas.w)) *
  20390. this.renderConfig.dpr
  20391. : 0)
  20392. } else
  20393. 'none' === this.renderConfig.preserveAspectRatio
  20394. ? ((this.transformCanvas.sx =
  20395. e / (this.transformCanvas.w / this.renderConfig.dpr)),
  20396. (this.transformCanvas.sy =
  20397. t / (this.transformCanvas.h / this.renderConfig.dpr)),
  20398. (this.transformCanvas.tx = 0),
  20399. (this.transformCanvas.ty = 0))
  20400. : ((this.transformCanvas.sx = this.renderConfig.dpr),
  20401. (this.transformCanvas.sy = this.renderConfig.dpr),
  20402. (this.transformCanvas.tx = 0),
  20403. (this.transformCanvas.ty = 0))
  20404. ;(this.transformCanvas.props = [
  20405. this.transformCanvas.sx,
  20406. 0,
  20407. 0,
  20408. 0,
  20409. 0,
  20410. this.transformCanvas.sy,
  20411. 0,
  20412. 0,
  20413. 0,
  20414. 0,
  20415. 1,
  20416. 0,
  20417. this.transformCanvas.tx,
  20418. this.transformCanvas.ty,
  20419. 0,
  20420. 1
  20421. ]),
  20422. this.ctxTransform(this.transformCanvas.props),
  20423. this.canvasContext.beginPath(),
  20424. this.canvasContext.rect(0, 0, this.transformCanvas.w, this.transformCanvas.h),
  20425. this.canvasContext.closePath(),
  20426. this.canvasContext.clip(),
  20427. this.renderFrame(this.renderedFrame, !0)
  20428. }),
  20429. (CanvasRendererBase.prototype.destroy = function () {
  20430. var e
  20431. for (
  20432. this.renderConfig.clearCanvas &&
  20433. this.animationItem.wrapper &&
  20434. (this.animationItem.wrapper.innerText = ''),
  20435. e = (this.layers ? this.layers.length : 0) - 1;
  20436. e >= 0;
  20437. e -= 1
  20438. )
  20439. this.elements[e] && this.elements[e].destroy()
  20440. ;(this.elements.length = 0),
  20441. (this.globalData.canvasContext = null),
  20442. (this.animationItem.container = null),
  20443. (this.destroyed = !0)
  20444. }),
  20445. (CanvasRendererBase.prototype.renderFrame = function (e, t) {
  20446. if (
  20447. (this.renderedFrame !== e || !0 !== this.renderConfig.clearCanvas || t) &&
  20448. !this.destroyed &&
  20449. -1 !== e
  20450. ) {
  20451. var n
  20452. ;(this.renderedFrame = e),
  20453. (this.globalData.frameNum = e - this.animationItem._isFirstFrame),
  20454. (this.globalData.frameId += 1),
  20455. (this.globalData._mdf = !this.renderConfig.clearCanvas || t),
  20456. (this.globalData.projectInterface.currentFrame = e)
  20457. var r = this.layers.length
  20458. for (this.completeLayers || this.checkLayers(e), n = 0; n < r; n += 1)
  20459. (this.completeLayers || this.elements[n]) &&
  20460. this.elements[n].prepareFrame(e - this.layers[n].st)
  20461. if (this.globalData._mdf) {
  20462. for (
  20463. !0 === this.renderConfig.clearCanvas
  20464. ? this.canvasContext.clearRect(
  20465. 0,
  20466. 0,
  20467. this.transformCanvas.w,
  20468. this.transformCanvas.h
  20469. )
  20470. : this.save(),
  20471. n = r - 1;
  20472. n >= 0;
  20473. n -= 1
  20474. )
  20475. (this.completeLayers || this.elements[n]) &&
  20476. this.elements[n].renderFrame()
  20477. !0 !== this.renderConfig.clearCanvas && this.restore()
  20478. }
  20479. }
  20480. }),
  20481. (CanvasRendererBase.prototype.buildItem = function (e) {
  20482. var t = this.elements
  20483. if (!t[e] && 99 !== this.layers[e].ty) {
  20484. var n = this.createItem(this.layers[e], this, this.globalData)
  20485. ;(t[e] = n), n.initExpressions()
  20486. }
  20487. }),
  20488. (CanvasRendererBase.prototype.checkPendingElements = function () {
  20489. for (; this.pendingElements.length; )
  20490. this.pendingElements.pop().checkParenting()
  20491. }),
  20492. (CanvasRendererBase.prototype.hide = function () {
  20493. this.animationItem.container.style.display = 'none'
  20494. }),
  20495. (CanvasRendererBase.prototype.show = function () {
  20496. this.animationItem.container.style.display = 'block'
  20497. }),
  20498. extendPrototype([CanvasRendererBase, ICompElement, CVBaseElement], CVCompElement),
  20499. (CVCompElement.prototype.renderInnerContent = function () {
  20500. var e,
  20501. t = this.canvasContext
  20502. for (
  20503. t.beginPath(),
  20504. t.moveTo(0, 0),
  20505. t.lineTo(this.data.w, 0),
  20506. t.lineTo(this.data.w, this.data.h),
  20507. t.lineTo(0, this.data.h),
  20508. t.lineTo(0, 0),
  20509. t.clip(),
  20510. e = this.layers.length - 1;
  20511. e >= 0;
  20512. e -= 1
  20513. )
  20514. (this.completeLayers || this.elements[e]) && this.elements[e].renderFrame()
  20515. }),
  20516. (CVCompElement.prototype.destroy = function () {
  20517. var e
  20518. for (e = this.layers.length - 1; e >= 0; e -= 1)
  20519. this.elements[e] && this.elements[e].destroy()
  20520. ;(this.layers = null), (this.elements = null)
  20521. }),
  20522. (CVCompElement.prototype.createComp = function (e) {
  20523. return new CVCompElement(e, this.globalData, this)
  20524. }),
  20525. extendPrototype([CanvasRendererBase], CanvasRenderer),
  20526. (CanvasRenderer.prototype.createComp = function (e) {
  20527. return new CVCompElement(e, this.globalData, this)
  20528. }),
  20529. (HBaseElement.prototype = {
  20530. checkBlendMode: function () {},
  20531. initRendererElement: function () {
  20532. ;(this.baseElement = createTag(this.data.tg || 'div')),
  20533. this.data.hasMask
  20534. ? ((this.svgElement = createNS('svg')),
  20535. (this.layerElement = createNS('g')),
  20536. (this.maskedElement = this.layerElement),
  20537. this.svgElement.appendChild(this.layerElement),
  20538. this.baseElement.appendChild(this.svgElement))
  20539. : (this.layerElement = this.baseElement),
  20540. styleDiv(this.baseElement)
  20541. },
  20542. createContainerElements: function () {
  20543. ;(this.renderableEffectsManager = new CVEffects()),
  20544. (this.transformedElement = this.baseElement),
  20545. (this.maskedElement = this.layerElement),
  20546. this.data.ln && this.layerElement.setAttribute('id', this.data.ln),
  20547. this.data.cl && this.layerElement.setAttribute('class', this.data.cl),
  20548. 0 !== this.data.bm && this.setBlendMode()
  20549. },
  20550. renderElement: function () {
  20551. var e = this.transformedElement ? this.transformedElement.style : {}
  20552. if (this.finalTransform._matMdf) {
  20553. var t = this.finalTransform.mat.toCSS()
  20554. ;(e.transform = t), (e.webkitTransform = t)
  20555. }
  20556. this.finalTransform._opMdf && (e.opacity = this.finalTransform.mProp.o.v)
  20557. },
  20558. renderFrame: function () {
  20559. this.data.hd ||
  20560. this.hidden ||
  20561. (this.renderTransform(),
  20562. this.renderRenderable(),
  20563. this.renderElement(),
  20564. this.renderInnerContent(),
  20565. this._isFirstFrame && (this._isFirstFrame = !1))
  20566. },
  20567. destroy: function () {
  20568. ;(this.layerElement = null),
  20569. (this.transformedElement = null),
  20570. this.matteElement && (this.matteElement = null),
  20571. this.maskManager && (this.maskManager.destroy(), (this.maskManager = null))
  20572. },
  20573. createRenderableComponents: function () {
  20574. this.maskManager = new MaskElement(this.data, this, this.globalData)
  20575. },
  20576. addEffects: function () {},
  20577. setMatte: function () {}
  20578. }),
  20579. (HBaseElement.prototype.getBaseElement = SVGBaseElement.prototype.getBaseElement),
  20580. (HBaseElement.prototype.destroyBaseElement = HBaseElement.prototype.destroy),
  20581. (HBaseElement.prototype.buildElementParenting =
  20582. BaseRenderer.prototype.buildElementParenting),
  20583. extendPrototype(
  20584. [
  20585. BaseElement,
  20586. TransformElement,
  20587. HBaseElement,
  20588. HierarchyElement,
  20589. FrameElement,
  20590. RenderableDOMElement
  20591. ],
  20592. HSolidElement
  20593. ),
  20594. (HSolidElement.prototype.createContent = function () {
  20595. var e
  20596. this.data.hasMask
  20597. ? ((e = createNS('rect')).setAttribute('width', this.data.sw),
  20598. e.setAttribute('height', this.data.sh),
  20599. e.setAttribute('fill', this.data.sc),
  20600. this.svgElement.setAttribute('width', this.data.sw),
  20601. this.svgElement.setAttribute('height', this.data.sh))
  20602. : (((e = createTag('div')).style.width = this.data.sw + 'px'),
  20603. (e.style.height = this.data.sh + 'px'),
  20604. (e.style.backgroundColor = this.data.sc)),
  20605. this.layerElement.appendChild(e)
  20606. }),
  20607. extendPrototype(
  20608. [
  20609. BaseElement,
  20610. TransformElement,
  20611. HSolidElement,
  20612. SVGShapeElement,
  20613. HBaseElement,
  20614. HierarchyElement,
  20615. FrameElement,
  20616. RenderableElement
  20617. ],
  20618. HShapeElement
  20619. ),
  20620. (HShapeElement.prototype._renderShapeFrame =
  20621. HShapeElement.prototype.renderInnerContent),
  20622. (HShapeElement.prototype.createContent = function () {
  20623. var e
  20624. if (((this.baseElement.style.fontSize = 0), this.data.hasMask))
  20625. this.layerElement.appendChild(this.shapesContainer), (e = this.svgElement)
  20626. else {
  20627. e = createNS('svg')
  20628. var t = this.comp.data ? this.comp.data : this.globalData.compSize
  20629. e.setAttribute('width', t.w),
  20630. e.setAttribute('height', t.h),
  20631. e.appendChild(this.shapesContainer),
  20632. this.layerElement.appendChild(e)
  20633. }
  20634. this.searchShapes(
  20635. this.shapesData,
  20636. this.itemsData,
  20637. this.prevViewData,
  20638. this.shapesContainer,
  20639. 0,
  20640. [],
  20641. !0
  20642. ),
  20643. this.filterUniqueShapes(),
  20644. (this.shapeCont = e)
  20645. }),
  20646. (HShapeElement.prototype.getTransformedPoint = function (e, t) {
  20647. var n,
  20648. r = e.length
  20649. for (n = 0; n < r; n += 1) t = e[n].mProps.v.applyToPointArray(t[0], t[1], 0)
  20650. return t
  20651. }),
  20652. (HShapeElement.prototype.calculateShapeBoundingBox = function (e, t) {
  20653. var n,
  20654. r,
  20655. a,
  20656. o,
  20657. i,
  20658. s = e.sh.v,
  20659. l = e.transformers,
  20660. c = s._length
  20661. if (!(c <= 1)) {
  20662. for (n = 0; n < c - 1; n += 1)
  20663. (r = this.getTransformedPoint(l, s.v[n])),
  20664. (a = this.getTransformedPoint(l, s.o[n])),
  20665. (o = this.getTransformedPoint(l, s.i[n + 1])),
  20666. (i = this.getTransformedPoint(l, s.v[n + 1])),
  20667. this.checkBounds(r, a, o, i, t)
  20668. s.c &&
  20669. ((r = this.getTransformedPoint(l, s.v[n])),
  20670. (a = this.getTransformedPoint(l, s.o[n])),
  20671. (o = this.getTransformedPoint(l, s.i[0])),
  20672. (i = this.getTransformedPoint(l, s.v[0])),
  20673. this.checkBounds(r, a, o, i, t))
  20674. }
  20675. }),
  20676. (HShapeElement.prototype.checkBounds = function (e, t, n, r, a) {
  20677. this.getBoundsOfCurve(e, t, n, r)
  20678. var o = this.shapeBoundingBox
  20679. ;(a.x = bmMin(o.left, a.x)),
  20680. (a.xMax = bmMax(o.right, a.xMax)),
  20681. (a.y = bmMin(o.top, a.y)),
  20682. (a.yMax = bmMax(o.bottom, a.yMax))
  20683. }),
  20684. (HShapeElement.prototype.shapeBoundingBox = {
  20685. left: 0,
  20686. right: 0,
  20687. top: 0,
  20688. bottom: 0
  20689. }),
  20690. (HShapeElement.prototype.tempBoundingBox = {
  20691. x: 0,
  20692. xMax: 0,
  20693. y: 0,
  20694. yMax: 0,
  20695. width: 0,
  20696. height: 0
  20697. }),
  20698. (HShapeElement.prototype.getBoundsOfCurve = function (e, t, n, r) {
  20699. for (
  20700. var a,
  20701. o,
  20702. i,
  20703. s,
  20704. l,
  20705. c,
  20706. u,
  20707. p = [
  20708. [e[0], r[0]],
  20709. [e[1], r[1]]
  20710. ],
  20711. d = 0;
  20712. d < 2;
  20713. ++d
  20714. )
  20715. (o = 6 * e[d] - 12 * t[d] + 6 * n[d]),
  20716. (a = -3 * e[d] + 9 * t[d] - 9 * n[d] + 3 * r[d]),
  20717. (i = 3 * t[d] - 3 * e[d]),
  20718. (o |= 0),
  20719. (i |= 0),
  20720. (0 == (a |= 0) && 0 === o) ||
  20721. (0 === a
  20722. ? (s = -i / o) > 0 &&
  20723. s < 1 &&
  20724. p[d].push(this.calculateF(s, e, t, n, r, d))
  20725. : (l = o * o - 4 * i * a) >= 0 &&
  20726. ((c = (-o + bmSqrt(l)) / (2 * a)) > 0 &&
  20727. c < 1 &&
  20728. p[d].push(this.calculateF(c, e, t, n, r, d)),
  20729. (u = (-o - bmSqrt(l)) / (2 * a)) > 0 &&
  20730. u < 1 &&
  20731. p[d].push(this.calculateF(u, e, t, n, r, d))))
  20732. ;(this.shapeBoundingBox.left = bmMin.apply(null, p[0])),
  20733. (this.shapeBoundingBox.top = bmMin.apply(null, p[1])),
  20734. (this.shapeBoundingBox.right = bmMax.apply(null, p[0])),
  20735. (this.shapeBoundingBox.bottom = bmMax.apply(null, p[1]))
  20736. }),
  20737. (HShapeElement.prototype.calculateF = function (e, t, n, r, a, o) {
  20738. return (
  20739. bmPow(1 - e, 3) * t[o] +
  20740. 3 * bmPow(1 - e, 2) * e * n[o] +
  20741. 3 * (1 - e) * bmPow(e, 2) * r[o] +
  20742. bmPow(e, 3) * a[o]
  20743. )
  20744. }),
  20745. (HShapeElement.prototype.calculateBoundingBox = function (e, t) {
  20746. var n,
  20747. r = e.length
  20748. for (n = 0; n < r; n += 1)
  20749. e[n] && e[n].sh
  20750. ? this.calculateShapeBoundingBox(e[n], t)
  20751. : e[n] && e[n].it
  20752. ? this.calculateBoundingBox(e[n].it, t)
  20753. : e[n] && e[n].style && e[n].w && this.expandStrokeBoundingBox(e[n].w, t)
  20754. }),
  20755. (HShapeElement.prototype.expandStrokeBoundingBox = function (e, t) {
  20756. var n = 0
  20757. if (e.keyframes) {
  20758. for (var r = 0; r < e.keyframes.length; r += 1) {
  20759. var a = e.keyframes[r].s
  20760. a > n && (n = a)
  20761. }
  20762. n *= e.mult
  20763. } else n = e.v * e.mult
  20764. ;(t.x -= n), (t.xMax += n), (t.y -= n), (t.yMax += n)
  20765. }),
  20766. (HShapeElement.prototype.currentBoxContains = function (e) {
  20767. return (
  20768. this.currentBBox.x <= e.x &&
  20769. this.currentBBox.y <= e.y &&
  20770. this.currentBBox.width + this.currentBBox.x >= e.x + e.width &&
  20771. this.currentBBox.height + this.currentBBox.y >= e.y + e.height
  20772. )
  20773. }),
  20774. (HShapeElement.prototype.renderInnerContent = function () {
  20775. if (
  20776. (this._renderShapeFrame(), !this.hidden && (this._isFirstFrame || this._mdf))
  20777. ) {
  20778. var e = this.tempBoundingBox,
  20779. t = 999999
  20780. if (
  20781. ((e.x = t),
  20782. (e.xMax = -t),
  20783. (e.y = t),
  20784. (e.yMax = -t),
  20785. this.calculateBoundingBox(this.itemsData, e),
  20786. (e.width = e.xMax < e.x ? 0 : e.xMax - e.x),
  20787. (e.height = e.yMax < e.y ? 0 : e.yMax - e.y),
  20788. this.currentBoxContains(e))
  20789. )
  20790. return
  20791. var n = !1
  20792. if (
  20793. (this.currentBBox.w !== e.width &&
  20794. ((this.currentBBox.w = e.width),
  20795. this.shapeCont.setAttribute('width', e.width),
  20796. (n = !0)),
  20797. this.currentBBox.h !== e.height &&
  20798. ((this.currentBBox.h = e.height),
  20799. this.shapeCont.setAttribute('height', e.height),
  20800. (n = !0)),
  20801. n || this.currentBBox.x !== e.x || this.currentBBox.y !== e.y)
  20802. ) {
  20803. ;(this.currentBBox.w = e.width),
  20804. (this.currentBBox.h = e.height),
  20805. (this.currentBBox.x = e.x),
  20806. (this.currentBBox.y = e.y),
  20807. this.shapeCont.setAttribute(
  20808. 'viewBox',
  20809. this.currentBBox.x +
  20810. ' ' +
  20811. this.currentBBox.y +
  20812. ' ' +
  20813. this.currentBBox.w +
  20814. ' ' +
  20815. this.currentBBox.h
  20816. )
  20817. var r = this.shapeCont.style,
  20818. a = 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)'
  20819. ;(r.transform = a), (r.webkitTransform = a)
  20820. }
  20821. }
  20822. }),
  20823. extendPrototype(
  20824. [
  20825. BaseElement,
  20826. TransformElement,
  20827. HBaseElement,
  20828. HierarchyElement,
  20829. FrameElement,
  20830. RenderableDOMElement,
  20831. ITextElement
  20832. ],
  20833. HTextElement
  20834. ),
  20835. (HTextElement.prototype.createContent = function () {
  20836. if (((this.isMasked = this.checkMasks()), this.isMasked)) {
  20837. ;(this.renderType = 'svg'),
  20838. (this.compW = this.comp.data.w),
  20839. (this.compH = this.comp.data.h),
  20840. this.svgElement.setAttribute('width', this.compW),
  20841. this.svgElement.setAttribute('height', this.compH)
  20842. var e = createNS('g')
  20843. this.maskedElement.appendChild(e), (this.innerElem = e)
  20844. } else (this.renderType = 'html'), (this.innerElem = this.layerElement)
  20845. this.checkParenting()
  20846. }),
  20847. (HTextElement.prototype.buildNewText = function () {
  20848. var e = this.textProperty.currentData
  20849. this.renderedLetters = createSizedArray(e.l ? e.l.length : 0)
  20850. var t = this.innerElem.style,
  20851. n = e.fc ? this.buildColor(e.fc) : 'rgba(0,0,0,0)'
  20852. ;(t.fill = n),
  20853. (t.color = n),
  20854. e.sc && ((t.stroke = this.buildColor(e.sc)), (t.strokeWidth = e.sw + 'px'))
  20855. var r,
  20856. a,
  20857. o = this.globalData.fontManager.getFontByName(e.f)
  20858. if (!this.globalData.fontManager.chars)
  20859. if (
  20860. ((t.fontSize = e.finalSize + 'px'),
  20861. (t.lineHeight = e.finalSize + 'px'),
  20862. o.fClass)
  20863. )
  20864. this.innerElem.className = o.fClass
  20865. else {
  20866. t.fontFamily = o.fFamily
  20867. var i = e.fWeight,
  20868. s = e.fStyle
  20869. ;(t.fontStyle = s), (t.fontWeight = i)
  20870. }
  20871. var l,
  20872. c,
  20873. u,
  20874. p = e.l
  20875. a = p.length
  20876. var d,
  20877. f = this.mHelper,
  20878. h = '',
  20879. v = 0
  20880. for (r = 0; r < a; r += 1) {
  20881. if (
  20882. (this.globalData.fontManager.chars
  20883. ? (this.textPaths[v]
  20884. ? (l = this.textPaths[v])
  20885. : ((l = createNS('path')).setAttribute(
  20886. 'stroke-linecap',
  20887. lineCapEnum[1]
  20888. ),
  20889. l.setAttribute('stroke-linejoin', lineJoinEnum[2]),
  20890. l.setAttribute('stroke-miterlimit', '4')),
  20891. this.isMasked ||
  20892. (this.textSpans[v]
  20893. ? (u = (c = this.textSpans[v]).children[0])
  20894. : (((c = createTag('div')).style.lineHeight = 0),
  20895. (u = createNS('svg')).appendChild(l),
  20896. styleDiv(c))))
  20897. : this.isMasked
  20898. ? (l = this.textPaths[v] ? this.textPaths[v] : createNS('text'))
  20899. : this.textSpans[v]
  20900. ? ((c = this.textSpans[v]), (l = this.textPaths[v]))
  20901. : (styleDiv((c = createTag('span'))),
  20902. styleDiv((l = createTag('span'))),
  20903. c.appendChild(l)),
  20904. this.globalData.fontManager.chars)
  20905. ) {
  20906. var m,
  20907. g = this.globalData.fontManager.getCharData(
  20908. e.finalText[r],
  20909. o.fStyle,
  20910. this.globalData.fontManager.getFontByName(e.f).fFamily
  20911. )
  20912. if (
  20913. ((m = g ? g.data : null),
  20914. f.reset(),
  20915. m &&
  20916. m.shapes &&
  20917. m.shapes.length &&
  20918. ((d = m.shapes[0].it),
  20919. f.scale(e.finalSize / 100, e.finalSize / 100),
  20920. (h = this.createPathShape(f, d)),
  20921. l.setAttribute('d', h)),
  20922. this.isMasked)
  20923. )
  20924. this.innerElem.appendChild(l)
  20925. else {
  20926. if ((this.innerElem.appendChild(c), m && m.shapes)) {
  20927. document.body.appendChild(u)
  20928. var y = u.getBBox()
  20929. u.setAttribute('width', y.width + 2),
  20930. u.setAttribute('height', y.height + 2),
  20931. u.setAttribute(
  20932. 'viewBox',
  20933. y.x -
  20934. 1 +
  20935. ' ' +
  20936. (y.y - 1) +
  20937. ' ' +
  20938. (y.width + 2) +
  20939. ' ' +
  20940. (y.height + 2)
  20941. )
  20942. var b = u.style,
  20943. _ = 'translate(' + (y.x - 1) + 'px,' + (y.y - 1) + 'px)'
  20944. ;(b.transform = _), (b.webkitTransform = _), (p[r].yOffset = y.y - 1)
  20945. } else u.setAttribute('width', 1), u.setAttribute('height', 1)
  20946. c.appendChild(u)
  20947. }
  20948. } else if (
  20949. ((l.textContent = p[r].val),
  20950. l.setAttributeNS(
  20951. 'http://www.w3.org/XML/1998/namespace',
  20952. 'xml:space',
  20953. 'preserve'
  20954. ),
  20955. this.isMasked)
  20956. )
  20957. this.innerElem.appendChild(l)
  20958. else {
  20959. this.innerElem.appendChild(c)
  20960. var A = l.style,
  20961. x = 'translate3d(0,' + -e.finalSize / 1.2 + 'px,0)'
  20962. ;(A.transform = x), (A.webkitTransform = x)
  20963. }
  20964. this.isMasked ? (this.textSpans[v] = l) : (this.textSpans[v] = c),
  20965. (this.textSpans[v].style.display = 'block'),
  20966. (this.textPaths[v] = l),
  20967. (v += 1)
  20968. }
  20969. for (; v < this.textSpans.length; )
  20970. (this.textSpans[v].style.display = 'none'), (v += 1)
  20971. }),
  20972. (HTextElement.prototype.renderInnerContent = function () {
  20973. var e
  20974. if (this.data.singleShape) {
  20975. if (!this._isFirstFrame && !this.lettersChangedFlag) return
  20976. if (this.isMasked && this.finalTransform._matMdf) {
  20977. this.svgElement.setAttribute(
  20978. 'viewBox',
  20979. -this.finalTransform.mProp.p.v[0] +
  20980. ' ' +
  20981. -this.finalTransform.mProp.p.v[1] +
  20982. ' ' +
  20983. this.compW +
  20984. ' ' +
  20985. this.compH
  20986. ),
  20987. (e = this.svgElement.style)
  20988. var t =
  20989. 'translate(' +
  20990. -this.finalTransform.mProp.p.v[0] +
  20991. 'px,' +
  20992. -this.finalTransform.mProp.p.v[1] +
  20993. 'px)'
  20994. ;(e.transform = t), (e.webkitTransform = t)
  20995. }
  20996. }
  20997. if (
  20998. (this.textAnimator.getMeasures(
  20999. this.textProperty.currentData,
  21000. this.lettersChangedFlag
  21001. ),
  21002. this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)
  21003. ) {
  21004. var n,
  21005. r,
  21006. a,
  21007. o,
  21008. i,
  21009. s = 0,
  21010. l = this.textAnimator.renderedLetters,
  21011. c = this.textProperty.currentData.l
  21012. for (r = c.length, n = 0; n < r; n += 1)
  21013. c[n].n
  21014. ? (s += 1)
  21015. : ((o = this.textSpans[n]),
  21016. (i = this.textPaths[n]),
  21017. (a = l[s]),
  21018. (s += 1),
  21019. a._mdf.m &&
  21020. (this.isMasked
  21021. ? o.setAttribute('transform', a.m)
  21022. : ((o.style.webkitTransform = a.m), (o.style.transform = a.m))),
  21023. (o.style.opacity = a.o),
  21024. a.sw && a._mdf.sw && i.setAttribute('stroke-width', a.sw),
  21025. a.sc && a._mdf.sc && i.setAttribute('stroke', a.sc),
  21026. a.fc &&
  21027. a._mdf.fc &&
  21028. (i.setAttribute('fill', a.fc), (i.style.color = a.fc)))
  21029. if (
  21030. this.innerElem.getBBox &&
  21031. !this.hidden &&
  21032. (this._isFirstFrame || this._mdf)
  21033. ) {
  21034. var u = this.innerElem.getBBox()
  21035. if (
  21036. (this.currentBBox.w !== u.width &&
  21037. ((this.currentBBox.w = u.width),
  21038. this.svgElement.setAttribute('width', u.width)),
  21039. this.currentBBox.h !== u.height &&
  21040. ((this.currentBBox.h = u.height),
  21041. this.svgElement.setAttribute('height', u.height)),
  21042. this.currentBBox.w !== u.width + 2 ||
  21043. this.currentBBox.h !== u.height + 2 ||
  21044. this.currentBBox.x !== u.x - 1 ||
  21045. this.currentBBox.y !== u.y - 1)
  21046. ) {
  21047. ;(this.currentBBox.w = u.width + 2),
  21048. (this.currentBBox.h = u.height + 2),
  21049. (this.currentBBox.x = u.x - 1),
  21050. (this.currentBBox.y = u.y - 1),
  21051. this.svgElement.setAttribute(
  21052. 'viewBox',
  21053. this.currentBBox.x +
  21054. ' ' +
  21055. this.currentBBox.y +
  21056. ' ' +
  21057. this.currentBBox.w +
  21058. ' ' +
  21059. this.currentBBox.h
  21060. ),
  21061. (e = this.svgElement.style)
  21062. var p =
  21063. 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)'
  21064. ;(e.transform = p), (e.webkitTransform = p)
  21065. }
  21066. }
  21067. }
  21068. }),
  21069. extendPrototype([BaseElement, FrameElement, HierarchyElement], HCameraElement),
  21070. (HCameraElement.prototype.setup = function () {
  21071. var e,
  21072. t,
  21073. n,
  21074. r,
  21075. a = this.comp.threeDElements.length
  21076. for (e = 0; e < a; e += 1)
  21077. if ('3d' === (t = this.comp.threeDElements[e]).type) {
  21078. ;(n = t.perspectiveElem.style), (r = t.container.style)
  21079. var o = this.pe.v + 'px',
  21080. i = '0px 0px 0px',
  21081. s = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)'
  21082. ;(n.perspective = o),
  21083. (n.webkitPerspective = o),
  21084. (r.transformOrigin = i),
  21085. (r.mozTransformOrigin = i),
  21086. (r.webkitTransformOrigin = i),
  21087. (n.transform = s),
  21088. (n.webkitTransform = s)
  21089. }
  21090. }),
  21091. (HCameraElement.prototype.createElements = function () {}),
  21092. (HCameraElement.prototype.hide = function () {}),
  21093. (HCameraElement.prototype.renderFrame = function () {
  21094. var e,
  21095. t,
  21096. n = this._isFirstFrame
  21097. if (this.hierarchy)
  21098. for (t = this.hierarchy.length, e = 0; e < t; e += 1)
  21099. n = this.hierarchy[e].finalTransform.mProp._mdf || n
  21100. if (
  21101. n ||
  21102. this.pe._mdf ||
  21103. (this.p && this.p._mdf) ||
  21104. (this.px && (this.px._mdf || this.py._mdf || this.pz._mdf)) ||
  21105. this.rx._mdf ||
  21106. this.ry._mdf ||
  21107. this.rz._mdf ||
  21108. this.or._mdf ||
  21109. (this.a && this.a._mdf)
  21110. ) {
  21111. if ((this.mat.reset(), this.hierarchy))
  21112. for (e = t = this.hierarchy.length - 1; e >= 0; e -= 1) {
  21113. var r = this.hierarchy[e].finalTransform.mProp
  21114. this.mat.translate(-r.p.v[0], -r.p.v[1], r.p.v[2]),
  21115. this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),
  21116. this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),
  21117. this.mat.scale(1 / r.s.v[0], 1 / r.s.v[1], 1 / r.s.v[2]),
  21118. this.mat.translate(r.a.v[0], r.a.v[1], r.a.v[2])
  21119. }
  21120. if (
  21121. (this.p
  21122. ? this.mat.translate(-this.p.v[0], -this.p.v[1], this.p.v[2])
  21123. : this.mat.translate(-this.px.v, -this.py.v, this.pz.v),
  21124. this.a)
  21125. ) {
  21126. var a
  21127. a = this.p
  21128. ? [
  21129. this.p.v[0] - this.a.v[0],
  21130. this.p.v[1] - this.a.v[1],
  21131. this.p.v[2] - this.a.v[2]
  21132. ]
  21133. : [
  21134. this.px.v - this.a.v[0],
  21135. this.py.v - this.a.v[1],
  21136. this.pz.v - this.a.v[2]
  21137. ]
  21138. var o = Math.sqrt(
  21139. Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2)
  21140. ),
  21141. i = [a[0] / o, a[1] / o, a[2] / o],
  21142. s = Math.sqrt(i[2] * i[2] + i[0] * i[0]),
  21143. l = Math.atan2(i[1], s),
  21144. c = Math.atan2(i[0], -i[2])
  21145. this.mat.rotateY(c).rotateX(-l)
  21146. }
  21147. this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),
  21148. this.mat
  21149. .rotateX(-this.or.v[0])
  21150. .rotateY(-this.or.v[1])
  21151. .rotateZ(this.or.v[2]),
  21152. this.mat.translate(
  21153. this.globalData.compSize.w / 2,
  21154. this.globalData.compSize.h / 2,
  21155. 0
  21156. ),
  21157. this.mat.translate(0, 0, this.pe.v)
  21158. var u = !this._prevMat.equals(this.mat)
  21159. if ((u || this.pe._mdf) && this.comp.threeDElements) {
  21160. var p, d, f
  21161. for (t = this.comp.threeDElements.length, e = 0; e < t; e += 1)
  21162. if ('3d' === (p = this.comp.threeDElements[e]).type) {
  21163. if (u) {
  21164. var h = this.mat.toCSS()
  21165. ;((f = p.container.style).transform = h), (f.webkitTransform = h)
  21166. }
  21167. this.pe._mdf &&
  21168. (((d = p.perspectiveElem.style).perspective = this.pe.v + 'px'),
  21169. (d.webkitPerspective = this.pe.v + 'px'))
  21170. }
  21171. this.mat.clone(this._prevMat)
  21172. }
  21173. }
  21174. this._isFirstFrame = !1
  21175. }),
  21176. (HCameraElement.prototype.prepareFrame = function (e) {
  21177. this.prepareProperties(e, !0)
  21178. }),
  21179. (HCameraElement.prototype.destroy = function () {}),
  21180. (HCameraElement.prototype.getBaseElement = function () {
  21181. return null
  21182. }),
  21183. extendPrototype(
  21184. [
  21185. BaseElement,
  21186. TransformElement,
  21187. HBaseElement,
  21188. HSolidElement,
  21189. HierarchyElement,
  21190. FrameElement,
  21191. RenderableElement
  21192. ],
  21193. HImageElement
  21194. ),
  21195. (HImageElement.prototype.createContent = function () {
  21196. var e = this.globalData.getAssetsPath(this.assetData),
  21197. t = new Image()
  21198. this.data.hasMask
  21199. ? ((this.imageElem = createNS('image')),
  21200. this.imageElem.setAttribute('width', this.assetData.w + 'px'),
  21201. this.imageElem.setAttribute('height', this.assetData.h + 'px'),
  21202. this.imageElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', e),
  21203. this.layerElement.appendChild(this.imageElem),
  21204. this.baseElement.setAttribute('width', this.assetData.w),
  21205. this.baseElement.setAttribute('height', this.assetData.h))
  21206. : this.layerElement.appendChild(t),
  21207. (t.crossOrigin = 'anonymous'),
  21208. (t.src = e),
  21209. this.data.ln && this.baseElement.setAttribute('id', this.data.ln)
  21210. }),
  21211. extendPrototype([BaseRenderer], HybridRendererBase),
  21212. (HybridRendererBase.prototype.buildItem = SVGRenderer.prototype.buildItem),
  21213. (HybridRendererBase.prototype.checkPendingElements = function () {
  21214. for (; this.pendingElements.length; )
  21215. this.pendingElements.pop().checkParenting()
  21216. }),
  21217. (HybridRendererBase.prototype.appendElementInPos = function (e, t) {
  21218. var n = e.getBaseElement()
  21219. if (n) {
  21220. var r = this.layers[t]
  21221. if (r.ddd && this.supports3d) this.addTo3dContainer(n, t)
  21222. else if (this.threeDElements) this.addTo3dContainer(n, t)
  21223. else {
  21224. for (var a, o, i = 0; i < t; )
  21225. this.elements[i] &&
  21226. !0 !== this.elements[i] &&
  21227. this.elements[i].getBaseElement &&
  21228. ((o = this.elements[i]),
  21229. (a =
  21230. (this.layers[i].ddd
  21231. ? this.getThreeDContainerByPos(i)
  21232. : o.getBaseElement()) || a)),
  21233. (i += 1)
  21234. a
  21235. ? (r.ddd && this.supports3d) || this.layerElement.insertBefore(n, a)
  21236. : (r.ddd && this.supports3d) || this.layerElement.appendChild(n)
  21237. }
  21238. }
  21239. }),
  21240. (HybridRendererBase.prototype.createShape = function (e) {
  21241. return this.supports3d
  21242. ? new HShapeElement(e, this.globalData, this)
  21243. : new SVGShapeElement(e, this.globalData, this)
  21244. }),
  21245. (HybridRendererBase.prototype.createText = function (e) {
  21246. return this.supports3d
  21247. ? new HTextElement(e, this.globalData, this)
  21248. : new SVGTextLottieElement(e, this.globalData, this)
  21249. }),
  21250. (HybridRendererBase.prototype.createCamera = function (e) {
  21251. return (this.camera = new HCameraElement(e, this.globalData, this)), this.camera
  21252. }),
  21253. (HybridRendererBase.prototype.createImage = function (e) {
  21254. return this.supports3d
  21255. ? new HImageElement(e, this.globalData, this)
  21256. : new IImageElement(e, this.globalData, this)
  21257. }),
  21258. (HybridRendererBase.prototype.createSolid = function (e) {
  21259. return this.supports3d
  21260. ? new HSolidElement(e, this.globalData, this)
  21261. : new ISolidElement(e, this.globalData, this)
  21262. }),
  21263. (HybridRendererBase.prototype.createNull = SVGRenderer.prototype.createNull),
  21264. (HybridRendererBase.prototype.getThreeDContainerByPos = function (e) {
  21265. for (var t = 0, n = this.threeDElements.length; t < n; ) {
  21266. if (
  21267. this.threeDElements[t].startPos <= e &&
  21268. this.threeDElements[t].endPos >= e
  21269. )
  21270. return this.threeDElements[t].perspectiveElem
  21271. t += 1
  21272. }
  21273. return null
  21274. }),
  21275. (HybridRendererBase.prototype.createThreeDContainer = function (e, t) {
  21276. var n,
  21277. r,
  21278. a = createTag('div')
  21279. styleDiv(a)
  21280. var o = createTag('div')
  21281. if ((styleDiv(o), '3d' === t)) {
  21282. ;((n = a.style).width = this.globalData.compSize.w + 'px'),
  21283. (n.height = this.globalData.compSize.h + 'px')
  21284. var i = '50% 50%'
  21285. ;(n.webkitTransformOrigin = i),
  21286. (n.mozTransformOrigin = i),
  21287. (n.transformOrigin = i)
  21288. var s = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)'
  21289. ;((r = o.style).transform = s), (r.webkitTransform = s)
  21290. }
  21291. a.appendChild(o)
  21292. var l = { container: o, perspectiveElem: a, startPos: e, endPos: e, type: t }
  21293. return this.threeDElements.push(l), l
  21294. }),
  21295. (HybridRendererBase.prototype.build3dContainers = function () {
  21296. var e,
  21297. t,
  21298. n = this.layers.length,
  21299. r = ''
  21300. for (e = 0; e < n; e += 1)
  21301. this.layers[e].ddd && 3 !== this.layers[e].ty
  21302. ? ('3d' !== r && ((r = '3d'), (t = this.createThreeDContainer(e, '3d'))),
  21303. (t.endPos = Math.max(t.endPos, e)))
  21304. : ('2d' !== r && ((r = '2d'), (t = this.createThreeDContainer(e, '2d'))),
  21305. (t.endPos = Math.max(t.endPos, e)))
  21306. for (e = (n = this.threeDElements.length) - 1; e >= 0; e -= 1)
  21307. this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)
  21308. }),
  21309. (HybridRendererBase.prototype.addTo3dContainer = function (e, t) {
  21310. for (var n = 0, r = this.threeDElements.length; n < r; ) {
  21311. if (t <= this.threeDElements[n].endPos) {
  21312. for (var a, o = this.threeDElements[n].startPos; o < t; )
  21313. this.elements[o] &&
  21314. this.elements[o].getBaseElement &&
  21315. (a = this.elements[o].getBaseElement()),
  21316. (o += 1)
  21317. a
  21318. ? this.threeDElements[n].container.insertBefore(e, a)
  21319. : this.threeDElements[n].container.appendChild(e)
  21320. break
  21321. }
  21322. n += 1
  21323. }
  21324. }),
  21325. (HybridRendererBase.prototype.configAnimation = function (e) {
  21326. var t = createTag('div'),
  21327. n = this.animationItem.wrapper,
  21328. r = t.style
  21329. ;(r.width = e.w + 'px'),
  21330. (r.height = e.h + 'px'),
  21331. (this.resizerElem = t),
  21332. styleDiv(t),
  21333. (r.transformStyle = 'flat'),
  21334. (r.mozTransformStyle = 'flat'),
  21335. (r.webkitTransformStyle = 'flat'),
  21336. this.renderConfig.className &&
  21337. t.setAttribute('class', this.renderConfig.className),
  21338. n.appendChild(t),
  21339. (r.overflow = 'hidden')
  21340. var a = createNS('svg')
  21341. a.setAttribute('width', '1'),
  21342. a.setAttribute('height', '1'),
  21343. styleDiv(a),
  21344. this.resizerElem.appendChild(a)
  21345. var o = createNS('defs')
  21346. a.appendChild(o),
  21347. (this.data = e),
  21348. this.setupGlobalData(e, a),
  21349. (this.globalData.defs = o),
  21350. (this.layers = e.layers),
  21351. (this.layerElement = this.resizerElem),
  21352. this.build3dContainers(),
  21353. this.updateContainerSize()
  21354. }),
  21355. (HybridRendererBase.prototype.destroy = function () {
  21356. var e
  21357. this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ''),
  21358. (this.animationItem.container = null),
  21359. (this.globalData.defs = null)
  21360. var t = this.layers ? this.layers.length : 0
  21361. for (e = 0; e < t; e += 1) this.elements[e].destroy()
  21362. ;(this.elements.length = 0), (this.destroyed = !0), (this.animationItem = null)
  21363. }),
  21364. (HybridRendererBase.prototype.updateContainerSize = function () {
  21365. var e,
  21366. t,
  21367. n,
  21368. r,
  21369. a = this.animationItem.wrapper.offsetWidth,
  21370. o = this.animationItem.wrapper.offsetHeight,
  21371. i = a / o
  21372. this.globalData.compSize.w / this.globalData.compSize.h > i
  21373. ? ((e = a / this.globalData.compSize.w),
  21374. (t = a / this.globalData.compSize.w),
  21375. (n = 0),
  21376. (r =
  21377. (o - this.globalData.compSize.h * (a / this.globalData.compSize.w)) / 2))
  21378. : ((e = o / this.globalData.compSize.h),
  21379. (t = o / this.globalData.compSize.h),
  21380. (n =
  21381. (a - this.globalData.compSize.w * (o / this.globalData.compSize.h)) / 2),
  21382. (r = 0))
  21383. var s = this.resizerElem.style
  21384. ;(s.webkitTransform =
  21385. 'matrix3d(' + e + ',0,0,0,0,' + t + ',0,0,0,0,1,0,' + n + ',' + r + ',0,1)'),
  21386. (s.transform = s.webkitTransform)
  21387. }),
  21388. (HybridRendererBase.prototype.renderFrame = SVGRenderer.prototype.renderFrame),
  21389. (HybridRendererBase.prototype.hide = function () {
  21390. this.resizerElem.style.display = 'none'
  21391. }),
  21392. (HybridRendererBase.prototype.show = function () {
  21393. this.resizerElem.style.display = 'block'
  21394. }),
  21395. (HybridRendererBase.prototype.initItems = function () {
  21396. if ((this.buildAllItems(), this.camera)) this.camera.setup()
  21397. else {
  21398. var e,
  21399. t = this.globalData.compSize.w,
  21400. n = this.globalData.compSize.h,
  21401. r = this.threeDElements.length
  21402. for (e = 0; e < r; e += 1) {
  21403. var a = this.threeDElements[e].perspectiveElem.style
  21404. ;(a.webkitPerspective = Math.sqrt(Math.pow(t, 2) + Math.pow(n, 2)) + 'px'),
  21405. (a.perspective = a.webkitPerspective)
  21406. }
  21407. }
  21408. }),
  21409. (HybridRendererBase.prototype.searchExtraCompositions = function (e) {
  21410. var t,
  21411. n = e.length,
  21412. r = createTag('div')
  21413. for (t = 0; t < n; t += 1)
  21414. if (e[t].xt) {
  21415. var a = this.createComp(e[t], r, this.globalData.comp, null)
  21416. a.initExpressions(), this.globalData.projectInterface.registerComposition(a)
  21417. }
  21418. }),
  21419. extendPrototype([HybridRendererBase, ICompElement, HBaseElement], HCompElement),
  21420. (HCompElement.prototype._createBaseContainerElements =
  21421. HCompElement.prototype.createContainerElements),
  21422. (HCompElement.prototype.createContainerElements = function () {
  21423. this._createBaseContainerElements(),
  21424. this.data.hasMask
  21425. ? (this.svgElement.setAttribute('width', this.data.w),
  21426. this.svgElement.setAttribute('height', this.data.h),
  21427. (this.transformedElement = this.baseElement))
  21428. : (this.transformedElement = this.layerElement)
  21429. }),
  21430. (HCompElement.prototype.addTo3dContainer = function (e, t) {
  21431. for (var n, r = 0; r < t; )
  21432. this.elements[r] &&
  21433. this.elements[r].getBaseElement &&
  21434. (n = this.elements[r].getBaseElement()),
  21435. (r += 1)
  21436. n ? this.layerElement.insertBefore(e, n) : this.layerElement.appendChild(e)
  21437. }),
  21438. (HCompElement.prototype.createComp = function (e) {
  21439. return this.supports3d
  21440. ? new HCompElement(e, this.globalData, this)
  21441. : new SVGCompElement(e, this.globalData, this)
  21442. }),
  21443. extendPrototype([HybridRendererBase], HybridRenderer),
  21444. (HybridRenderer.prototype.createComp = function (e) {
  21445. return this.supports3d
  21446. ? new HCompElement(e, this.globalData, this)
  21447. : new SVGCompElement(e, this.globalData, this)
  21448. })
  21449. var Expressions = (function () {
  21450. var e = {
  21451. initExpressions: function (e) {
  21452. var t = 0,
  21453. n = []
  21454. ;(e.renderer.compInterface = CompExpressionInterface(e.renderer)),
  21455. e.renderer.globalData.projectInterface.registerComposition(e.renderer),
  21456. (e.renderer.globalData.pushExpression = function () {
  21457. t += 1
  21458. }),
  21459. (e.renderer.globalData.popExpression = function () {
  21460. 0 == (t -= 1) &&
  21461. (function () {
  21462. var e,
  21463. t = n.length
  21464. for (e = 0; e < t; e += 1) n[e].release()
  21465. n.length = 0
  21466. })()
  21467. }),
  21468. (e.renderer.globalData.registerExpressionProperty = function (e) {
  21469. ;-1 === n.indexOf(e) && n.push(e)
  21470. })
  21471. }
  21472. }
  21473. return e
  21474. })()
  21475. function _typeof$1(e) {
  21476. return (
  21477. (_typeof$1 =
  21478. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  21479. ? function (e) {
  21480. return typeof e
  21481. }
  21482. : function (e) {
  21483. return e &&
  21484. 'function' == typeof Symbol &&
  21485. e.constructor === Symbol &&
  21486. e !== Symbol.prototype
  21487. ? 'symbol'
  21488. : typeof e
  21489. }),
  21490. _typeof$1(e)
  21491. )
  21492. }
  21493. function seedRandom(e, t) {
  21494. var n = this,
  21495. r = 256,
  21496. a = t.pow(r, 6),
  21497. o = t.pow(2, 52),
  21498. i = 2 * o,
  21499. s = 255
  21500. function l(e) {
  21501. var t,
  21502. n = e.length,
  21503. a = this,
  21504. o = 0,
  21505. i = (a.i = a.j = 0),
  21506. l = (a.S = [])
  21507. for (n || (e = [n++]); o < r; ) l[o] = o++
  21508. for (o = 0; o < r; o++)
  21509. (l[o] = l[(i = s & (i + e[o % n] + (t = l[o])))]), (l[i] = t)
  21510. a.g = function (e) {
  21511. for (var t, n = 0, o = a.i, i = a.j, l = a.S; e--; )
  21512. (t = l[(o = s & (o + 1))]),
  21513. (n = n * r + l[s & ((l[o] = l[(i = s & (i + t))]) + (l[i] = t))])
  21514. return (a.i = o), (a.j = i), n
  21515. }
  21516. }
  21517. function c(e, t) {
  21518. return (t.i = e.i), (t.j = e.j), (t.S = e.S.slice()), t
  21519. }
  21520. function u(e, t) {
  21521. var n,
  21522. r = [],
  21523. a = _typeof$1(e)
  21524. if (t && 'object' == a)
  21525. for (n in e)
  21526. try {
  21527. r.push(u(e[n], t - 1))
  21528. } catch (o) {}
  21529. return r.length ? r : 'string' == a ? e : e + '\0'
  21530. }
  21531. function p(e, t) {
  21532. for (var n, r = e + '', a = 0; a < r.length; )
  21533. t[s & a] = s & ((n ^= 19 * t[s & a]) + r.charCodeAt(a++))
  21534. return d(t)
  21535. }
  21536. function d(e) {
  21537. return String.fromCharCode.apply(0, e)
  21538. }
  21539. ;(t.seedrandom = function (s, f, h) {
  21540. var v = [],
  21541. m = p(
  21542. u(
  21543. (f = !0 === f ? { entropy: !0 } : f || {}).entropy
  21544. ? [s, d(e)]
  21545. : null === s
  21546. ? (function () {
  21547. try {
  21548. var t = new Uint8Array(r)
  21549. return (n.crypto || n.msCrypto).getRandomValues(t), d(t)
  21550. } catch (i) {
  21551. var a = n.navigator,
  21552. o = a && a.plugins
  21553. return [+new Date(), n, o, n.screen, d(e)]
  21554. }
  21555. })()
  21556. : s,
  21557. 3
  21558. ),
  21559. v
  21560. ),
  21561. g = new l(v),
  21562. y = function () {
  21563. for (var e = g.g(6), t = a, n = 0; e < o; )
  21564. (e = (e + n) * r), (t *= r), (n = g.g(1))
  21565. for (; e >= i; ) (e /= 2), (t /= 2), (n >>>= 1)
  21566. return (e + n) / t
  21567. }
  21568. return (
  21569. (y.int32 = function () {
  21570. return 0 | g.g(4)
  21571. }),
  21572. (y.quick = function () {
  21573. return g.g(4) / 4294967296
  21574. }),
  21575. (y.double = y),
  21576. p(d(g.S), e),
  21577. (
  21578. f.pass ||
  21579. h ||
  21580. function (e, n, r, a) {
  21581. return (
  21582. a &&
  21583. (a.S && c(a, g),
  21584. (e.state = function () {
  21585. return c(g, {})
  21586. })),
  21587. r ? ((t.random = e), n) : e
  21588. )
  21589. }
  21590. )(y, m, 'global' in f ? f.global : this == t, f.state)
  21591. )
  21592. }),
  21593. p(t.random(), e)
  21594. }
  21595. function initialize$2(e) {
  21596. seedRandom([], e)
  21597. }
  21598. var propTypes = { SHAPE: 'shape' }
  21599. function _typeof(e) {
  21600. return (
  21601. (_typeof =
  21602. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  21603. ? function (e) {
  21604. return typeof e
  21605. }
  21606. : function (e) {
  21607. return e &&
  21608. 'function' == typeof Symbol &&
  21609. e.constructor === Symbol &&
  21610. e !== Symbol.prototype
  21611. ? 'symbol'
  21612. : typeof e
  21613. }),
  21614. _typeof(e)
  21615. )
  21616. }
  21617. var ExpressionManager = (function () {
  21618. var ob = {},
  21619. Math = BMMath,
  21620. window = null,
  21621. document = null,
  21622. XMLHttpRequest = null,
  21623. fetch = null,
  21624. frames = null
  21625. function $bm_isInstanceOfArray(e) {
  21626. return e.constructor === Array || e.constructor === Float32Array
  21627. }
  21628. function isNumerable(e, t) {
  21629. return (
  21630. 'number' === e || 'boolean' === e || 'string' === e || t instanceof Number
  21631. )
  21632. }
  21633. function $bm_neg(e) {
  21634. var t = _typeof(e)
  21635. if ('number' === t || 'boolean' === t || e instanceof Number) return -e
  21636. if ($bm_isInstanceOfArray(e)) {
  21637. var n,
  21638. r = e.length,
  21639. a = []
  21640. for (n = 0; n < r; n += 1) a[n] = -e[n]
  21641. return a
  21642. }
  21643. return e.propType ? e.v : -e
  21644. }
  21645. initialize$2(BMMath)
  21646. var easeInBez = BezierFactory.getBezierEasing(
  21647. 0.333,
  21648. 0,
  21649. 0.833,
  21650. 0.833,
  21651. 'easeIn'
  21652. ).get,
  21653. easeOutBez = BezierFactory.getBezierEasing(
  21654. 0.167,
  21655. 0.167,
  21656. 0.667,
  21657. 1,
  21658. 'easeOut'
  21659. ).get,
  21660. easeInOutBez = BezierFactory.getBezierEasing(
  21661. 0.33,
  21662. 0,
  21663. 0.667,
  21664. 1,
  21665. 'easeInOut'
  21666. ).get
  21667. function sum(e, t) {
  21668. var n = _typeof(e),
  21669. r = _typeof(t)
  21670. if ('string' === n || 'string' === r) return e + t
  21671. if (isNumerable(n, e) && isNumerable(r, t)) return e + t
  21672. if ($bm_isInstanceOfArray(e) && isNumerable(r, t))
  21673. return ((e = e.slice(0))[0] += t), e
  21674. if (isNumerable(n, e) && $bm_isInstanceOfArray(t))
  21675. return ((t = t.slice(0))[0] = e + t[0]), t
  21676. if ($bm_isInstanceOfArray(e) && $bm_isInstanceOfArray(t)) {
  21677. for (var a = 0, o = e.length, i = t.length, s = []; a < o || a < i; )
  21678. ('number' == typeof e[a] || e[a] instanceof Number) &&
  21679. ('number' == typeof t[a] || t[a] instanceof Number)
  21680. ? (s[a] = e[a] + t[a])
  21681. : (s[a] = void 0 === t[a] ? e[a] : e[a] || t[a]),
  21682. (a += 1)
  21683. return s
  21684. }
  21685. return 0
  21686. }
  21687. var add = sum
  21688. function sub(e, t) {
  21689. var n = _typeof(e),
  21690. r = _typeof(t)
  21691. if (isNumerable(n, e) && isNumerable(r, t))
  21692. return (
  21693. 'string' === n && (e = parseInt(e, 10)),
  21694. 'string' === r && (t = parseInt(t, 10)),
  21695. e - t
  21696. )
  21697. if ($bm_isInstanceOfArray(e) && isNumerable(r, t))
  21698. return ((e = e.slice(0))[0] -= t), e
  21699. if (isNumerable(n, e) && $bm_isInstanceOfArray(t))
  21700. return ((t = t.slice(0))[0] = e - t[0]), t
  21701. if ($bm_isInstanceOfArray(e) && $bm_isInstanceOfArray(t)) {
  21702. for (var a = 0, o = e.length, i = t.length, s = []; a < o || a < i; )
  21703. ('number' == typeof e[a] || e[a] instanceof Number) &&
  21704. ('number' == typeof t[a] || t[a] instanceof Number)
  21705. ? (s[a] = e[a] - t[a])
  21706. : (s[a] = void 0 === t[a] ? e[a] : e[a] || t[a]),
  21707. (a += 1)
  21708. return s
  21709. }
  21710. return 0
  21711. }
  21712. function mul(e, t) {
  21713. var n,
  21714. r,
  21715. a,
  21716. o = _typeof(e),
  21717. i = _typeof(t)
  21718. if (isNumerable(o, e) && isNumerable(i, t)) return e * t
  21719. if ($bm_isInstanceOfArray(e) && isNumerable(i, t)) {
  21720. for (a = e.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
  21721. n[r] = e[r] * t
  21722. return n
  21723. }
  21724. if (isNumerable(o, e) && $bm_isInstanceOfArray(t)) {
  21725. for (a = t.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
  21726. n[r] = e * t[r]
  21727. return n
  21728. }
  21729. return 0
  21730. }
  21731. function div(e, t) {
  21732. var n,
  21733. r,
  21734. a,
  21735. o = _typeof(e),
  21736. i = _typeof(t)
  21737. if (isNumerable(o, e) && isNumerable(i, t)) return e / t
  21738. if ($bm_isInstanceOfArray(e) && isNumerable(i, t)) {
  21739. for (a = e.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
  21740. n[r] = e[r] / t
  21741. return n
  21742. }
  21743. if (isNumerable(o, e) && $bm_isInstanceOfArray(t)) {
  21744. for (a = t.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
  21745. n[r] = e / t[r]
  21746. return n
  21747. }
  21748. return 0
  21749. }
  21750. function mod(e, t) {
  21751. return (
  21752. 'string' == typeof e && (e = parseInt(e, 10)),
  21753. 'string' == typeof t && (t = parseInt(t, 10)),
  21754. e % t
  21755. )
  21756. }
  21757. var $bm_sum = sum,
  21758. $bm_sub = sub,
  21759. $bm_mul = mul,
  21760. $bm_div = div,
  21761. $bm_mod = mod
  21762. function clamp(e, t, n) {
  21763. if (t > n) {
  21764. var r = n
  21765. ;(n = t), (t = r)
  21766. }
  21767. return Math.min(Math.max(e, t), n)
  21768. }
  21769. function radiansToDegrees(e) {
  21770. return e / degToRads
  21771. }
  21772. var radians_to_degrees = radiansToDegrees
  21773. function degreesToRadians(e) {
  21774. return e * degToRads
  21775. }
  21776. var degrees_to_radians = radiansToDegrees,
  21777. helperLengthArray = [0, 0, 0, 0, 0, 0]
  21778. function length(e, t) {
  21779. if ('number' == typeof e || e instanceof Number)
  21780. return (t = t || 0), Math.abs(e - t)
  21781. var n
  21782. t || (t = helperLengthArray)
  21783. var r = Math.min(e.length, t.length),
  21784. a = 0
  21785. for (n = 0; n < r; n += 1) a += Math.pow(t[n] - e[n], 2)
  21786. return Math.sqrt(a)
  21787. }
  21788. function normalize(e) {
  21789. return div(e, length(e))
  21790. }
  21791. function rgbToHsl(e) {
  21792. var t,
  21793. n,
  21794. r = e[0],
  21795. a = e[1],
  21796. o = e[2],
  21797. i = Math.max(r, a, o),
  21798. s = Math.min(r, a, o),
  21799. l = (i + s) / 2
  21800. if (i === s) (t = 0), (n = 0)
  21801. else {
  21802. var c = i - s
  21803. switch (((n = l > 0.5 ? c / (2 - i - s) : c / (i + s)), i)) {
  21804. case r:
  21805. t = (a - o) / c + (a < o ? 6 : 0)
  21806. break
  21807. case a:
  21808. t = (o - r) / c + 2
  21809. break
  21810. case o:
  21811. t = (r - a) / c + 4
  21812. }
  21813. t /= 6
  21814. }
  21815. return [t, n, l, e[3]]
  21816. }
  21817. function hue2rgb(e, t, n) {
  21818. return (
  21819. n < 0 && (n += 1),
  21820. n > 1 && (n -= 1),
  21821. n < 1 / 6
  21822. ? e + 6 * (t - e) * n
  21823. : n < 0.5
  21824. ? t
  21825. : n < 2 / 3
  21826. ? e + (t - e) * (2 / 3 - n) * 6
  21827. : e
  21828. )
  21829. }
  21830. function hslToRgb(e) {
  21831. var t,
  21832. n,
  21833. r,
  21834. a = e[0],
  21835. o = e[1],
  21836. i = e[2]
  21837. if (0 === o) (t = i), (r = i), (n = i)
  21838. else {
  21839. var s = i < 0.5 ? i * (1 + o) : i + o - i * o,
  21840. l = 2 * i - s
  21841. ;(t = hue2rgb(l, s, a + 1 / 3)),
  21842. (n = hue2rgb(l, s, a)),
  21843. (r = hue2rgb(l, s, a - 1 / 3))
  21844. }
  21845. return [t, n, r, e[3]]
  21846. }
  21847. function linear(e, t, n, r, a) {
  21848. if (
  21849. ((void 0 !== r && void 0 !== a) || ((r = t), (a = n), (t = 0), (n = 1)),
  21850. n < t)
  21851. ) {
  21852. var o = n
  21853. ;(n = t), (t = o)
  21854. }
  21855. if (e <= t) return r
  21856. if (e >= n) return a
  21857. var i,
  21858. s = n === t ? 0 : (e - t) / (n - t)
  21859. if (!r.length) return r + (a - r) * s
  21860. var l = r.length,
  21861. c = createTypedArray('float32', l)
  21862. for (i = 0; i < l; i += 1) c[i] = r[i] + (a[i] - r[i]) * s
  21863. return c
  21864. }
  21865. function random(e, t) {
  21866. if (
  21867. (void 0 === t &&
  21868. (void 0 === e ? ((e = 0), (t = 1)) : ((t = e), (e = void 0))),
  21869. t.length)
  21870. ) {
  21871. var n,
  21872. r = t.length
  21873. e || (e = createTypedArray('float32', r))
  21874. var a = createTypedArray('float32', r),
  21875. o = BMMath.random()
  21876. for (n = 0; n < r; n += 1) a[n] = e[n] + o * (t[n] - e[n])
  21877. return a
  21878. }
  21879. return void 0 === e && (e = 0), e + BMMath.random() * (t - e)
  21880. }
  21881. function createPath(e, t, n, r) {
  21882. var a,
  21883. o = e.length,
  21884. i = shapePool.newElement()
  21885. i.setPathData(!!r, o)
  21886. var s,
  21887. l,
  21888. c = [0, 0]
  21889. for (a = 0; a < o; a += 1)
  21890. (s = t && t[a] ? t[a] : c),
  21891. (l = n && n[a] ? n[a] : c),
  21892. i.setTripleAt(
  21893. e[a][0],
  21894. e[a][1],
  21895. l[0] + e[a][0],
  21896. l[1] + e[a][1],
  21897. s[0] + e[a][0],
  21898. s[1] + e[a][1],
  21899. a,
  21900. !0
  21901. )
  21902. return i
  21903. }
  21904. function initiateExpression(elem, data, property) {
  21905. var val = data.x,
  21906. needsVelocity = /velocity(?![\w\d])/.test(val),
  21907. _needsRandom = -1 !== val.indexOf('random'),
  21908. elemType = elem.data.ty,
  21909. transform,
  21910. $bm_transform,
  21911. content,
  21912. effect,
  21913. thisProperty = property
  21914. ;(thisProperty.valueAtTime = thisProperty.getValueAtTime),
  21915. Object.defineProperty(thisProperty, 'value', {
  21916. get: function () {
  21917. return thisProperty.v
  21918. }
  21919. }),
  21920. (elem.comp.frameDuration = 1 / elem.comp.globalData.frameRate),
  21921. (elem.comp.displayStartTime = 0)
  21922. var inPoint = elem.data.ip / elem.comp.globalData.frameRate,
  21923. outPoint = elem.data.op / elem.comp.globalData.frameRate,
  21924. width = elem.data.sw ? elem.data.sw : 0,
  21925. height = elem.data.sh ? elem.data.sh : 0,
  21926. name = elem.data.nm,
  21927. loopIn,
  21928. loop_in,
  21929. loopOut,
  21930. loop_out,
  21931. smooth,
  21932. toWorld,
  21933. fromWorld,
  21934. fromComp,
  21935. toComp,
  21936. fromCompToSurface,
  21937. position,
  21938. rotation,
  21939. anchorPoint,
  21940. scale,
  21941. thisLayer,
  21942. thisComp,
  21943. mask,
  21944. valueAtTime,
  21945. velocityAtTime,
  21946. scoped_bm_rt,
  21947. expression_function = eval(
  21948. '[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]'
  21949. )[0],
  21950. numKeys = property.kf ? data.k.length : 0,
  21951. active = !this.data || !0 !== this.data.hd,
  21952. wiggle = function (e, t) {
  21953. var n,
  21954. r,
  21955. a = this.pv.length ? this.pv.length : 1,
  21956. o = createTypedArray('float32', a),
  21957. i = Math.floor(5 * time)
  21958. for (n = 0, r = 0; n < i; ) {
  21959. for (r = 0; r < a; r += 1) o[r] += -t + 2 * t * BMMath.random()
  21960. n += 1
  21961. }
  21962. var s = 5 * time,
  21963. l = s - Math.floor(s),
  21964. c = createTypedArray('float32', a)
  21965. if (a > 1) {
  21966. for (r = 0; r < a; r += 1)
  21967. c[r] = this.pv[r] + o[r] + (-t + 2 * t * BMMath.random()) * l
  21968. return c
  21969. }
  21970. return this.pv + o[0] + (-t + 2 * t * BMMath.random()) * l
  21971. }.bind(this)
  21972. function loopInDuration(e, t) {
  21973. return loopIn(e, t, !0)
  21974. }
  21975. function loopOutDuration(e, t) {
  21976. return loopOut(e, t, !0)
  21977. }
  21978. thisProperty.loopIn &&
  21979. ((loopIn = thisProperty.loopIn.bind(thisProperty)), (loop_in = loopIn)),
  21980. thisProperty.loopOut &&
  21981. ((loopOut = thisProperty.loopOut.bind(thisProperty)),
  21982. (loop_out = loopOut)),
  21983. thisProperty.smooth && (smooth = thisProperty.smooth.bind(thisProperty)),
  21984. this.getValueAtTime && (valueAtTime = this.getValueAtTime.bind(this)),
  21985. this.getVelocityAtTime &&
  21986. (velocityAtTime = this.getVelocityAtTime.bind(this))
  21987. var comp = elem.comp.globalData.projectInterface.bind(
  21988. elem.comp.globalData.projectInterface
  21989. ),
  21990. time,
  21991. velocity,
  21992. value,
  21993. text,
  21994. textIndex,
  21995. textTotal,
  21996. selectorValue
  21997. function lookAt(e, t) {
  21998. var n = [t[0] - e[0], t[1] - e[1], t[2] - e[2]],
  21999. r = Math.atan2(n[0], Math.sqrt(n[1] * n[1] + n[2] * n[2])) / degToRads
  22000. return [-Math.atan2(n[1], n[2]) / degToRads, r, 0]
  22001. }
  22002. function easeOut(e, t, n, r, a) {
  22003. return applyEase(easeOutBez, e, t, n, r, a)
  22004. }
  22005. function easeIn(e, t, n, r, a) {
  22006. return applyEase(easeInBez, e, t, n, r, a)
  22007. }
  22008. function ease(e, t, n, r, a) {
  22009. return applyEase(easeInOutBez, e, t, n, r, a)
  22010. }
  22011. function applyEase(e, t, n, r, a, o) {
  22012. void 0 === a ? ((a = n), (o = r)) : (t = (t - n) / (r - n)),
  22013. t > 1 ? (t = 1) : t < 0 && (t = 0)
  22014. var i = e(t)
  22015. if ($bm_isInstanceOfArray(a)) {
  22016. var s,
  22017. l = a.length,
  22018. c = createTypedArray('float32', l)
  22019. for (s = 0; s < l; s += 1) c[s] = (o[s] - a[s]) * i + a[s]
  22020. return c
  22021. }
  22022. return (o - a) * i + a
  22023. }
  22024. function nearestKey(e) {
  22025. var t,
  22026. n,
  22027. r,
  22028. a = data.k.length
  22029. if (data.k.length && 'number' != typeof data.k[0])
  22030. if (((n = -1), (e *= elem.comp.globalData.frameRate) < data.k[0].t))
  22031. (n = 1), (r = data.k[0].t)
  22032. else {
  22033. for (t = 0; t < a - 1; t += 1) {
  22034. if (e === data.k[t].t) {
  22035. ;(n = t + 1), (r = data.k[t].t)
  22036. break
  22037. }
  22038. if (e > data.k[t].t && e < data.k[t + 1].t) {
  22039. e - data.k[t].t > data.k[t + 1].t - e
  22040. ? ((n = t + 2), (r = data.k[t + 1].t))
  22041. : ((n = t + 1), (r = data.k[t].t))
  22042. break
  22043. }
  22044. }
  22045. ;-1 === n && ((n = t + 1), (r = data.k[t].t))
  22046. }
  22047. else (n = 0), (r = 0)
  22048. var o = {}
  22049. return (o.index = n), (o.time = r / elem.comp.globalData.frameRate), o
  22050. }
  22051. function key(e) {
  22052. var t, n, r
  22053. if (!data.k.length || 'number' == typeof data.k[0])
  22054. throw new Error('The property has no keyframe at index ' + e)
  22055. ;(e -= 1),
  22056. (t = { time: data.k[e].t / elem.comp.globalData.frameRate, value: [] })
  22057. var a = Object.prototype.hasOwnProperty.call(data.k[e], 's')
  22058. ? data.k[e].s
  22059. : data.k[e - 1].e
  22060. for (r = a.length, n = 0; n < r; n += 1) (t[n] = a[n]), (t.value[n] = a[n])
  22061. return t
  22062. }
  22063. function framesToTime(e, t) {
  22064. return t || (t = elem.comp.globalData.frameRate), e / t
  22065. }
  22066. function timeToFrames(e, t) {
  22067. return (
  22068. e || 0 === e || (e = time),
  22069. t || (t = elem.comp.globalData.frameRate),
  22070. e * t
  22071. )
  22072. }
  22073. function seedRandom(e) {
  22074. BMMath.seedrandom(randSeed + e)
  22075. }
  22076. function sourceRectAtTime() {
  22077. return elem.sourceRectAtTime()
  22078. }
  22079. function substring(e, t) {
  22080. return 'string' == typeof value
  22081. ? void 0 === t
  22082. ? value.substring(e)
  22083. : value.substring(e, t)
  22084. : ''
  22085. }
  22086. function substr(e, t) {
  22087. return 'string' == typeof value
  22088. ? void 0 === t
  22089. ? value.substr(e)
  22090. : value.substr(e, t)
  22091. : ''
  22092. }
  22093. function posterizeTime(e) {
  22094. ;(time = 0 === e ? 0 : Math.floor(time * e) / e),
  22095. (value = valueAtTime(time))
  22096. }
  22097. var index = elem.data.ind,
  22098. hasParent = !(!elem.hierarchy || !elem.hierarchy.length),
  22099. parent,
  22100. randSeed = Math.floor(1e6 * Math.random()),
  22101. globalData = elem.globalData
  22102. function executeExpression(e) {
  22103. return (
  22104. (value = e),
  22105. this.frameExpressionId === elem.globalData.frameId &&
  22106. 'textSelector' !== this.propType
  22107. ? value
  22108. : ('textSelector' === this.propType &&
  22109. ((textIndex = this.textIndex),
  22110. (textTotal = this.textTotal),
  22111. (selectorValue = this.selectorValue)),
  22112. thisLayer ||
  22113. ((text = elem.layerInterface.text),
  22114. (thisLayer = elem.layerInterface),
  22115. (thisComp = elem.comp.compInterface),
  22116. (toWorld = thisLayer.toWorld.bind(thisLayer)),
  22117. (fromWorld = thisLayer.fromWorld.bind(thisLayer)),
  22118. (fromComp = thisLayer.fromComp.bind(thisLayer)),
  22119. (toComp = thisLayer.toComp.bind(thisLayer)),
  22120. (mask = thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null),
  22121. (fromCompToSurface = fromComp)),
  22122. transform ||
  22123. ((transform = elem.layerInterface('ADBE Transform Group')),
  22124. ($bm_transform = transform),
  22125. transform && (anchorPoint = transform.anchorPoint)),
  22126. 4 !== elemType ||
  22127. content ||
  22128. (content = thisLayer('ADBE Root Vectors Group')),
  22129. effect || (effect = thisLayer(4)),
  22130. (hasParent = !(!elem.hierarchy || !elem.hierarchy.length)) &&
  22131. !parent &&
  22132. (parent = elem.hierarchy[0].layerInterface),
  22133. (time = this.comp.renderedFrame / this.comp.globalData.frameRate),
  22134. _needsRandom && seedRandom(randSeed + time),
  22135. needsVelocity && (velocity = velocityAtTime(time)),
  22136. expression_function(),
  22137. (this.frameExpressionId = elem.globalData.frameId),
  22138. (scoped_bm_rt =
  22139. scoped_bm_rt.propType === propTypes.SHAPE
  22140. ? scoped_bm_rt.v
  22141. : scoped_bm_rt))
  22142. )
  22143. }
  22144. return (
  22145. (executeExpression.__preventDeadCodeRemoval = [
  22146. $bm_transform,
  22147. anchorPoint,
  22148. time,
  22149. velocity,
  22150. inPoint,
  22151. outPoint,
  22152. width,
  22153. height,
  22154. name,
  22155. loop_in,
  22156. loop_out,
  22157. smooth,
  22158. toComp,
  22159. fromCompToSurface,
  22160. toWorld,
  22161. fromWorld,
  22162. mask,
  22163. position,
  22164. rotation,
  22165. scale,
  22166. thisComp,
  22167. numKeys,
  22168. active,
  22169. wiggle,
  22170. loopInDuration,
  22171. loopOutDuration,
  22172. comp,
  22173. lookAt,
  22174. easeOut,
  22175. easeIn,
  22176. ease,
  22177. nearestKey,
  22178. key,
  22179. text,
  22180. textIndex,
  22181. textTotal,
  22182. selectorValue,
  22183. framesToTime,
  22184. timeToFrames,
  22185. sourceRectAtTime,
  22186. substring,
  22187. substr,
  22188. posterizeTime,
  22189. index,
  22190. globalData
  22191. ]),
  22192. executeExpression
  22193. )
  22194. }
  22195. return (
  22196. (ob.initiateExpression = initiateExpression),
  22197. (ob.__preventDeadCodeRemoval = [
  22198. window,
  22199. document,
  22200. XMLHttpRequest,
  22201. fetch,
  22202. frames,
  22203. $bm_neg,
  22204. add,
  22205. $bm_sum,
  22206. $bm_sub,
  22207. $bm_mul,
  22208. $bm_div,
  22209. $bm_mod,
  22210. clamp,
  22211. radians_to_degrees,
  22212. degreesToRadians,
  22213. degrees_to_radians,
  22214. normalize,
  22215. rgbToHsl,
  22216. hslToRgb,
  22217. linear,
  22218. random,
  22219. createPath
  22220. ]),
  22221. ob
  22222. )
  22223. })(),
  22224. expressionHelpers = {
  22225. searchExpressions: function (e, t, n) {
  22226. t.x &&
  22227. ((n.k = !0),
  22228. (n.x = !0),
  22229. (n.initiateExpression = ExpressionManager.initiateExpression),
  22230. n.effectsSequence.push(n.initiateExpression(e, t, n).bind(n)))
  22231. },
  22232. getSpeedAtTime: function (e) {
  22233. var t = this.getValueAtTime(e),
  22234. n = this.getValueAtTime(e + -0.01),
  22235. r = 0
  22236. if (t.length) {
  22237. var a
  22238. for (a = 0; a < t.length; a += 1) r += Math.pow(n[a] - t[a], 2)
  22239. r = 100 * Math.sqrt(r)
  22240. } else r = 0
  22241. return r
  22242. },
  22243. getVelocityAtTime: function (e) {
  22244. if (void 0 !== this.vel) return this.vel
  22245. var t,
  22246. n,
  22247. r = -0.001,
  22248. a = this.getValueAtTime(e),
  22249. o = this.getValueAtTime(e + r)
  22250. if (a.length)
  22251. for (t = createTypedArray('float32', a.length), n = 0; n < a.length; n += 1)
  22252. t[n] = (o[n] - a[n]) / r
  22253. else t = (o - a) / r
  22254. return t
  22255. },
  22256. getValueAtTime: function (e) {
  22257. return (
  22258. (e *= this.elem.globalData.frameRate),
  22259. (e -= this.offsetTime) !== this._cachingAtTime.lastFrame &&
  22260. ((this._cachingAtTime.lastIndex =
  22261. this._cachingAtTime.lastFrame < e ? this._cachingAtTime.lastIndex : 0),
  22262. (this._cachingAtTime.value = this.interpolateValue(
  22263. e,
  22264. this._cachingAtTime
  22265. )),
  22266. (this._cachingAtTime.lastFrame = e)),
  22267. this._cachingAtTime.value
  22268. )
  22269. },
  22270. getStaticValueAtTime: function () {
  22271. return this.pv
  22272. },
  22273. setGroupProperty: function (e) {
  22274. this.propertyGroup = e
  22275. }
  22276. }
  22277. function addPropertyDecorator() {
  22278. function e(e, t, n) {
  22279. if (!this.k || !this.keyframes) return this.pv
  22280. e = e ? e.toLowerCase() : ''
  22281. var r,
  22282. a,
  22283. o,
  22284. i,
  22285. s,
  22286. l = this.comp.renderedFrame,
  22287. c = this.keyframes,
  22288. u = c[c.length - 1].t
  22289. if (l <= u) return this.pv
  22290. if (
  22291. (n
  22292. ? (a =
  22293. u -
  22294. (r = t
  22295. ? Math.abs(u - this.elem.comp.globalData.frameRate * t)
  22296. : Math.max(0, u - this.elem.data.ip)))
  22297. : ((!t || t > c.length - 1) && (t = c.length - 1),
  22298. (r = u - (a = c[c.length - 1 - t].t))),
  22299. 'pingpong' === e)
  22300. ) {
  22301. if (Math.floor((l - a) / r) % 2 != 0)
  22302. return this.getValueAtTime(
  22303. (r - ((l - a) % r) + a) / this.comp.globalData.frameRate,
  22304. 0
  22305. )
  22306. } else {
  22307. if ('offset' === e) {
  22308. var p = this.getValueAtTime(a / this.comp.globalData.frameRate, 0),
  22309. d = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
  22310. f = this.getValueAtTime(
  22311. (((l - a) % r) + a) / this.comp.globalData.frameRate,
  22312. 0
  22313. ),
  22314. h = Math.floor((l - a) / r)
  22315. if (this.pv.length) {
  22316. for (i = (s = new Array(p.length)).length, o = 0; o < i; o += 1)
  22317. s[o] = (d[o] - p[o]) * h + f[o]
  22318. return s
  22319. }
  22320. return (d - p) * h + f
  22321. }
  22322. if ('continue' === e) {
  22323. var v = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
  22324. m = this.getValueAtTime((u - 0.001) / this.comp.globalData.frameRate, 0)
  22325. if (this.pv.length) {
  22326. for (i = (s = new Array(v.length)).length, o = 0; o < i; o += 1)
  22327. s[o] =
  22328. v[o] +
  22329. ((v[o] - m[o]) * ((l - u) / this.comp.globalData.frameRate)) / 5e-4
  22330. return s
  22331. }
  22332. return v + ((l - u) / 0.001) * (v - m)
  22333. }
  22334. }
  22335. return this.getValueAtTime(
  22336. (((l - a) % r) + a) / this.comp.globalData.frameRate,
  22337. 0
  22338. )
  22339. }
  22340. function t(e, t, n) {
  22341. if (!this.k) return this.pv
  22342. e = e ? e.toLowerCase() : ''
  22343. var r,
  22344. a,
  22345. o,
  22346. i,
  22347. s,
  22348. l = this.comp.renderedFrame,
  22349. c = this.keyframes,
  22350. u = c[0].t
  22351. if (l >= u) return this.pv
  22352. if (
  22353. (n
  22354. ? (a =
  22355. u +
  22356. (r = t
  22357. ? Math.abs(this.elem.comp.globalData.frameRate * t)
  22358. : Math.max(0, this.elem.data.op - u)))
  22359. : ((!t || t > c.length - 1) && (t = c.length - 1), (r = (a = c[t].t) - u)),
  22360. 'pingpong' === e)
  22361. ) {
  22362. if (Math.floor((u - l) / r) % 2 == 0)
  22363. return this.getValueAtTime(
  22364. (((u - l) % r) + u) / this.comp.globalData.frameRate,
  22365. 0
  22366. )
  22367. } else {
  22368. if ('offset' === e) {
  22369. var p = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
  22370. d = this.getValueAtTime(a / this.comp.globalData.frameRate, 0),
  22371. f = this.getValueAtTime(
  22372. (r - ((u - l) % r) + u) / this.comp.globalData.frameRate,
  22373. 0
  22374. ),
  22375. h = Math.floor((u - l) / r) + 1
  22376. if (this.pv.length) {
  22377. for (i = (s = new Array(p.length)).length, o = 0; o < i; o += 1)
  22378. s[o] = f[o] - (d[o] - p[o]) * h
  22379. return s
  22380. }
  22381. return f - (d - p) * h
  22382. }
  22383. if ('continue' === e) {
  22384. var v = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
  22385. m = this.getValueAtTime((u + 0.001) / this.comp.globalData.frameRate, 0)
  22386. if (this.pv.length) {
  22387. for (i = (s = new Array(v.length)).length, o = 0; o < i; o += 1)
  22388. s[o] = v[o] + ((v[o] - m[o]) * (u - l)) / 0.001
  22389. return s
  22390. }
  22391. return v + ((v - m) * (u - l)) / 0.001
  22392. }
  22393. }
  22394. return this.getValueAtTime(
  22395. (r - (((u - l) % r) + u)) / this.comp.globalData.frameRate,
  22396. 0
  22397. )
  22398. }
  22399. function n(e, t) {
  22400. if (!this.k) return this.pv
  22401. if (((e = 0.5 * (e || 0.4)), (t = Math.floor(t || 5)) <= 1)) return this.pv
  22402. var n,
  22403. r,
  22404. a = this.comp.renderedFrame / this.comp.globalData.frameRate,
  22405. o = a - e,
  22406. i = t > 1 ? (a + e - o) / (t - 1) : 1,
  22407. s = 0,
  22408. l = 0
  22409. for (
  22410. n = this.pv.length ? createTypedArray('float32', this.pv.length) : 0;
  22411. s < t;
  22412. ) {
  22413. if (((r = this.getValueAtTime(o + s * i)), this.pv.length))
  22414. for (l = 0; l < this.pv.length; l += 1) n[l] += r[l]
  22415. else n += r
  22416. s += 1
  22417. }
  22418. if (this.pv.length) for (l = 0; l < this.pv.length; l += 1) n[l] /= t
  22419. else n /= t
  22420. return n
  22421. }
  22422. function r(e) {
  22423. this._transformCachingAtTime ||
  22424. (this._transformCachingAtTime = { v: new Matrix() })
  22425. var t = this._transformCachingAtTime.v
  22426. if ((t.cloneFromProps(this.pre.props), this.appliedTransformations < 1)) {
  22427. var n = this.a.getValueAtTime(e)
  22428. t.translate(-n[0] * this.a.mult, -n[1] * this.a.mult, n[2] * this.a.mult)
  22429. }
  22430. if (this.appliedTransformations < 2) {
  22431. var r = this.s.getValueAtTime(e)
  22432. t.scale(r[0] * this.s.mult, r[1] * this.s.mult, r[2] * this.s.mult)
  22433. }
  22434. if (this.sk && this.appliedTransformations < 3) {
  22435. var a = this.sk.getValueAtTime(e),
  22436. o = this.sa.getValueAtTime(e)
  22437. t.skewFromAxis(-a * this.sk.mult, o * this.sa.mult)
  22438. }
  22439. if (this.r && this.appliedTransformations < 4) {
  22440. var i = this.r.getValueAtTime(e)
  22441. t.rotate(-i * this.r.mult)
  22442. } else if (!this.r && this.appliedTransformations < 4) {
  22443. var s = this.rz.getValueAtTime(e),
  22444. l = this.ry.getValueAtTime(e),
  22445. c = this.rx.getValueAtTime(e),
  22446. u = this.or.getValueAtTime(e)
  22447. t.rotateZ(-s * this.rz.mult)
  22448. .rotateY(l * this.ry.mult)
  22449. .rotateX(c * this.rx.mult)
  22450. .rotateZ(-u[2] * this.or.mult)
  22451. .rotateY(u[1] * this.or.mult)
  22452. .rotateX(u[0] * this.or.mult)
  22453. }
  22454. if (this.data.p && this.data.p.s) {
  22455. var p = this.px.getValueAtTime(e),
  22456. d = this.py.getValueAtTime(e)
  22457. if (this.data.p.z) {
  22458. var f = this.pz.getValueAtTime(e)
  22459. t.translate(p * this.px.mult, d * this.py.mult, -f * this.pz.mult)
  22460. } else t.translate(p * this.px.mult, d * this.py.mult, 0)
  22461. } else {
  22462. var h = this.p.getValueAtTime(e)
  22463. t.translate(h[0] * this.p.mult, h[1] * this.p.mult, -h[2] * this.p.mult)
  22464. }
  22465. return t
  22466. }
  22467. function a() {
  22468. return this.v.clone(new Matrix())
  22469. }
  22470. var o = TransformPropertyFactory.getTransformProperty
  22471. TransformPropertyFactory.getTransformProperty = function (e, t, n) {
  22472. var i = o(e, t, n)
  22473. return (
  22474. i.dynamicProperties.length
  22475. ? (i.getValueAtTime = r.bind(i))
  22476. : (i.getValueAtTime = a.bind(i)),
  22477. (i.setGroupProperty = expressionHelpers.setGroupProperty),
  22478. i
  22479. )
  22480. }
  22481. var i = PropertyFactory.getProp
  22482. PropertyFactory.getProp = function (r, a, o, s, l) {
  22483. var c = i(r, a, o, s, l)
  22484. c.kf
  22485. ? (c.getValueAtTime = expressionHelpers.getValueAtTime.bind(c))
  22486. : (c.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(c)),
  22487. (c.setGroupProperty = expressionHelpers.setGroupProperty),
  22488. (c.loopOut = e),
  22489. (c.loopIn = t),
  22490. (c.smooth = n),
  22491. (c.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(c)),
  22492. (c.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(c)),
  22493. (c.numKeys = 1 === a.a ? a.k.length : 0),
  22494. (c.propertyIndex = a.ix)
  22495. var u = 0
  22496. return (
  22497. 0 !== o &&
  22498. (u = createTypedArray('float32', 1 === a.a ? a.k[0].s.length : a.k.length)),
  22499. (c._cachingAtTime = {
  22500. lastFrame: initialDefaultFrame,
  22501. lastIndex: 0,
  22502. value: u
  22503. }),
  22504. expressionHelpers.searchExpressions(r, a, c),
  22505. c.k && l.addDynamicProperty(c),
  22506. c
  22507. )
  22508. }
  22509. var s = ShapePropertyFactory.getConstructorFunction(),
  22510. l = ShapePropertyFactory.getKeyframedConstructorFunction()
  22511. function c() {}
  22512. ;(c.prototype = {
  22513. vertices: function (e, t) {
  22514. this.k && this.getValue()
  22515. var n,
  22516. r = this.v
  22517. void 0 !== t && (r = this.getValueAtTime(t, 0))
  22518. var a = r._length,
  22519. o = r[e],
  22520. i = r.v,
  22521. s = createSizedArray(a)
  22522. for (n = 0; n < a; n += 1)
  22523. s[n] =
  22524. 'i' === e || 'o' === e
  22525. ? [o[n][0] - i[n][0], o[n][1] - i[n][1]]
  22526. : [o[n][0], o[n][1]]
  22527. return s
  22528. },
  22529. points: function (e) {
  22530. return this.vertices('v', e)
  22531. },
  22532. inTangents: function (e) {
  22533. return this.vertices('i', e)
  22534. },
  22535. outTangents: function (e) {
  22536. return this.vertices('o', e)
  22537. },
  22538. isClosed: function () {
  22539. return this.v.c
  22540. },
  22541. pointOnPath: function (e, t) {
  22542. var n = this.v
  22543. void 0 !== t && (n = this.getValueAtTime(t, 0)),
  22544. this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(n))
  22545. for (
  22546. var r,
  22547. a = this._segmentsLength,
  22548. o = a.lengths,
  22549. i = a.totalLength * e,
  22550. s = 0,
  22551. l = o.length,
  22552. c = 0;
  22553. s < l;
  22554. ) {
  22555. if (c + o[s].addedLength > i) {
  22556. var u = s,
  22557. p = n.c && s === l - 1 ? 0 : s + 1,
  22558. d = (i - c) / o[s].addedLength
  22559. r = bez.getPointInSegment(n.v[u], n.v[p], n.o[u], n.i[p], d, o[s])
  22560. break
  22561. }
  22562. ;(c += o[s].addedLength), (s += 1)
  22563. }
  22564. return (
  22565. r ||
  22566. (r = n.c
  22567. ? [n.v[0][0], n.v[0][1]]
  22568. : [n.v[n._length - 1][0], n.v[n._length - 1][1]]),
  22569. r
  22570. )
  22571. },
  22572. vectorOnPath: function (e, t, n) {
  22573. 1 == e ? (e = this.v.c) : 0 == e && (e = 0.999)
  22574. var r = this.pointOnPath(e, t),
  22575. a = this.pointOnPath(e + 0.001, t),
  22576. o = a[0] - r[0],
  22577. i = a[1] - r[1],
  22578. s = Math.sqrt(Math.pow(o, 2) + Math.pow(i, 2))
  22579. return 0 === s ? [0, 0] : 'tangent' === n ? [o / s, i / s] : [-i / s, o / s]
  22580. },
  22581. tangentOnPath: function (e, t) {
  22582. return this.vectorOnPath(e, t, 'tangent')
  22583. },
  22584. normalOnPath: function (e, t) {
  22585. return this.vectorOnPath(e, t, 'normal')
  22586. },
  22587. setGroupProperty: expressionHelpers.setGroupProperty,
  22588. getValueAtTime: expressionHelpers.getStaticValueAtTime
  22589. }),
  22590. extendPrototype([c], s),
  22591. extendPrototype([c], l),
  22592. (l.prototype.getValueAtTime = function (e) {
  22593. return (
  22594. this._cachingAtTime ||
  22595. (this._cachingAtTime = {
  22596. shapeValue: shapePool.clone(this.pv),
  22597. lastIndex: 0,
  22598. lastTime: initialDefaultFrame
  22599. }),
  22600. (e *= this.elem.globalData.frameRate),
  22601. (e -= this.offsetTime) !== this._cachingAtTime.lastTime &&
  22602. ((this._cachingAtTime.lastIndex =
  22603. this._cachingAtTime.lastTime < e ? this._caching.lastIndex : 0),
  22604. (this._cachingAtTime.lastTime = e),
  22605. this.interpolateShape(
  22606. e,
  22607. this._cachingAtTime.shapeValue,
  22608. this._cachingAtTime
  22609. )),
  22610. this._cachingAtTime.shapeValue
  22611. )
  22612. }),
  22613. (l.prototype.initiateExpression = ExpressionManager.initiateExpression)
  22614. var u = ShapePropertyFactory.getShapeProp
  22615. ShapePropertyFactory.getShapeProp = function (e, t, n, r, a) {
  22616. var o = u(e, t, n, r, a)
  22617. return (
  22618. (o.propertyIndex = t.ix),
  22619. (o.lock = !1),
  22620. 3 === n
  22621. ? expressionHelpers.searchExpressions(e, t.pt, o)
  22622. : 4 === n && expressionHelpers.searchExpressions(e, t.ks, o),
  22623. o.k && e.addDynamicProperty(o),
  22624. o
  22625. )
  22626. }
  22627. }
  22628. function initialize$1() {
  22629. addPropertyDecorator()
  22630. }
  22631. function addDecorator() {
  22632. ;(TextProperty.prototype.getExpressionValue = function (e, t) {
  22633. var n = this.calculateExpression(t)
  22634. if (e.t !== n) {
  22635. var r = {}
  22636. return this.copyData(r, e), (r.t = n.toString()), (r.__complete = !1), r
  22637. }
  22638. return e
  22639. }),
  22640. (TextProperty.prototype.searchProperty = function () {
  22641. var e = this.searchKeyframes(),
  22642. t = this.searchExpressions()
  22643. return (this.kf = e || t), this.kf
  22644. }),
  22645. (TextProperty.prototype.searchExpressions = function () {
  22646. return this.data.d.x
  22647. ? ((this.calculateExpression = ExpressionManager.initiateExpression.bind(
  22648. this
  22649. )(this.elem, this.data.d, this)),
  22650. this.addEffect(this.getExpressionValue.bind(this)),
  22651. !0)
  22652. : null
  22653. })
  22654. }
  22655. function initialize() {
  22656. addDecorator()
  22657. }
  22658. function SVGComposableEffect() {}
  22659. function SVGTintFilter(e, t, n, r, a) {
  22660. this.filterManager = t
  22661. var o = createNS('feColorMatrix')
  22662. o.setAttribute('type', 'matrix'),
  22663. o.setAttribute('color-interpolation-filters', 'linearRGB'),
  22664. o.setAttribute(
  22665. 'values',
  22666. '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'
  22667. ),
  22668. o.setAttribute('result', r + '_tint_1'),
  22669. e.appendChild(o),
  22670. (o = createNS('feColorMatrix')).setAttribute('type', 'matrix'),
  22671. o.setAttribute('color-interpolation-filters', 'sRGB'),
  22672. o.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'),
  22673. o.setAttribute('result', r + '_tint_2'),
  22674. e.appendChild(o),
  22675. (this.matrixFilter = o)
  22676. var i = this.createMergeNode(r, [a, r + '_tint_1', r + '_tint_2'])
  22677. e.appendChild(i)
  22678. }
  22679. function SVGFillFilter(e, t, n, r) {
  22680. this.filterManager = t
  22681. var a = createNS('feColorMatrix')
  22682. a.setAttribute('type', 'matrix'),
  22683. a.setAttribute('color-interpolation-filters', 'sRGB'),
  22684. a.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'),
  22685. a.setAttribute('result', r),
  22686. e.appendChild(a),
  22687. (this.matrixFilter = a)
  22688. }
  22689. function SVGStrokeEffect(e, t, n) {
  22690. ;(this.initialized = !1),
  22691. (this.filterManager = t),
  22692. (this.elem = n),
  22693. (this.paths = [])
  22694. }
  22695. function SVGTritoneFilter(e, t, n, r) {
  22696. this.filterManager = t
  22697. var a = createNS('feColorMatrix')
  22698. a.setAttribute('type', 'matrix'),
  22699. a.setAttribute('color-interpolation-filters', 'linearRGB'),
  22700. a.setAttribute(
  22701. 'values',
  22702. '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'
  22703. ),
  22704. e.appendChild(a)
  22705. var o = createNS('feComponentTransfer')
  22706. o.setAttribute('color-interpolation-filters', 'sRGB'),
  22707. o.setAttribute('result', r),
  22708. (this.matrixFilter = o)
  22709. var i = createNS('feFuncR')
  22710. i.setAttribute('type', 'table'), o.appendChild(i), (this.feFuncR = i)
  22711. var s = createNS('feFuncG')
  22712. s.setAttribute('type', 'table'), o.appendChild(s), (this.feFuncG = s)
  22713. var l = createNS('feFuncB')
  22714. l.setAttribute('type', 'table'),
  22715. o.appendChild(l),
  22716. (this.feFuncB = l),
  22717. e.appendChild(o)
  22718. }
  22719. function SVGProLevelsFilter(e, t, n, r) {
  22720. this.filterManager = t
  22721. var a = this.filterManager.effectElements,
  22722. o = createNS('feComponentTransfer')
  22723. ;(a[10].p.k ||
  22724. 0 !== a[10].p.v ||
  22725. a[11].p.k ||
  22726. 1 !== a[11].p.v ||
  22727. a[12].p.k ||
  22728. 1 !== a[12].p.v ||
  22729. a[13].p.k ||
  22730. 0 !== a[13].p.v ||
  22731. a[14].p.k ||
  22732. 1 !== a[14].p.v) &&
  22733. (this.feFuncR = this.createFeFunc('feFuncR', o)),
  22734. (a[17].p.k ||
  22735. 0 !== a[17].p.v ||
  22736. a[18].p.k ||
  22737. 1 !== a[18].p.v ||
  22738. a[19].p.k ||
  22739. 1 !== a[19].p.v ||
  22740. a[20].p.k ||
  22741. 0 !== a[20].p.v ||
  22742. a[21].p.k ||
  22743. 1 !== a[21].p.v) &&
  22744. (this.feFuncG = this.createFeFunc('feFuncG', o)),
  22745. (a[24].p.k ||
  22746. 0 !== a[24].p.v ||
  22747. a[25].p.k ||
  22748. 1 !== a[25].p.v ||
  22749. a[26].p.k ||
  22750. 1 !== a[26].p.v ||
  22751. a[27].p.k ||
  22752. 0 !== a[27].p.v ||
  22753. a[28].p.k ||
  22754. 1 !== a[28].p.v) &&
  22755. (this.feFuncB = this.createFeFunc('feFuncB', o)),
  22756. (a[31].p.k ||
  22757. 0 !== a[31].p.v ||
  22758. a[32].p.k ||
  22759. 1 !== a[32].p.v ||
  22760. a[33].p.k ||
  22761. 1 !== a[33].p.v ||
  22762. a[34].p.k ||
  22763. 0 !== a[34].p.v ||
  22764. a[35].p.k ||
  22765. 1 !== a[35].p.v) &&
  22766. (this.feFuncA = this.createFeFunc('feFuncA', o)),
  22767. (this.feFuncR || this.feFuncG || this.feFuncB || this.feFuncA) &&
  22768. (o.setAttribute('color-interpolation-filters', 'sRGB'), e.appendChild(o)),
  22769. (a[3].p.k ||
  22770. 0 !== a[3].p.v ||
  22771. a[4].p.k ||
  22772. 1 !== a[4].p.v ||
  22773. a[5].p.k ||
  22774. 1 !== a[5].p.v ||
  22775. a[6].p.k ||
  22776. 0 !== a[6].p.v ||
  22777. a[7].p.k ||
  22778. 1 !== a[7].p.v) &&
  22779. ((o = createNS('feComponentTransfer')).setAttribute(
  22780. 'color-interpolation-filters',
  22781. 'sRGB'
  22782. ),
  22783. o.setAttribute('result', r),
  22784. e.appendChild(o),
  22785. (this.feFuncRComposed = this.createFeFunc('feFuncR', o)),
  22786. (this.feFuncGComposed = this.createFeFunc('feFuncG', o)),
  22787. (this.feFuncBComposed = this.createFeFunc('feFuncB', o)))
  22788. }
  22789. function SVGDropShadowEffect(e, t, n, r, a) {
  22790. var o = t.container.globalData.renderConfig.filterSize,
  22791. i = t.data.fs || o
  22792. e.setAttribute('x', i.x || o.x),
  22793. e.setAttribute('y', i.y || o.y),
  22794. e.setAttribute('width', i.width || o.width),
  22795. e.setAttribute('height', i.height || o.height),
  22796. (this.filterManager = t)
  22797. var s = createNS('feGaussianBlur')
  22798. s.setAttribute('in', 'SourceAlpha'),
  22799. s.setAttribute('result', r + '_drop_shadow_1'),
  22800. s.setAttribute('stdDeviation', '0'),
  22801. (this.feGaussianBlur = s),
  22802. e.appendChild(s)
  22803. var l = createNS('feOffset')
  22804. l.setAttribute('dx', '25'),
  22805. l.setAttribute('dy', '0'),
  22806. l.setAttribute('in', r + '_drop_shadow_1'),
  22807. l.setAttribute('result', r + '_drop_shadow_2'),
  22808. (this.feOffset = l),
  22809. e.appendChild(l)
  22810. var c = createNS('feFlood')
  22811. c.setAttribute('flood-color', '#00ff00'),
  22812. c.setAttribute('flood-opacity', '1'),
  22813. c.setAttribute('result', r + '_drop_shadow_3'),
  22814. (this.feFlood = c),
  22815. e.appendChild(c)
  22816. var u = createNS('feComposite')
  22817. u.setAttribute('in', r + '_drop_shadow_3'),
  22818. u.setAttribute('in2', r + '_drop_shadow_2'),
  22819. u.setAttribute('operator', 'in'),
  22820. u.setAttribute('result', r + '_drop_shadow_4'),
  22821. e.appendChild(u)
  22822. var p = this.createMergeNode(r, [r + '_drop_shadow_4', a])
  22823. e.appendChild(p)
  22824. }
  22825. ;(SVGComposableEffect.prototype = {
  22826. createMergeNode: function (e, t) {
  22827. var n,
  22828. r,
  22829. a = createNS('feMerge')
  22830. for (a.setAttribute('result', e), r = 0; r < t.length; r += 1)
  22831. (n = createNS('feMergeNode')).setAttribute('in', t[r]),
  22832. a.appendChild(n),
  22833. a.appendChild(n)
  22834. return a
  22835. }
  22836. }),
  22837. extendPrototype([SVGComposableEffect], SVGTintFilter),
  22838. (SVGTintFilter.prototype.renderFrame = function (e) {
  22839. if (e || this.filterManager._mdf) {
  22840. var t = this.filterManager.effectElements[0].p.v,
  22841. n = this.filterManager.effectElements[1].p.v,
  22842. r = this.filterManager.effectElements[2].p.v / 100
  22843. this.matrixFilter.setAttribute(
  22844. 'values',
  22845. n[0] -
  22846. t[0] +
  22847. ' 0 0 0 ' +
  22848. t[0] +
  22849. ' ' +
  22850. (n[1] - t[1]) +
  22851. ' 0 0 0 ' +
  22852. t[1] +
  22853. ' ' +
  22854. (n[2] - t[2]) +
  22855. ' 0 0 0 ' +
  22856. t[2] +
  22857. ' 0 0 0 ' +
  22858. r +
  22859. ' 0'
  22860. )
  22861. }
  22862. }),
  22863. (SVGFillFilter.prototype.renderFrame = function (e) {
  22864. if (e || this.filterManager._mdf) {
  22865. var t = this.filterManager.effectElements[2].p.v,
  22866. n = this.filterManager.effectElements[6].p.v
  22867. this.matrixFilter.setAttribute(
  22868. 'values',
  22869. '0 0 0 0 ' +
  22870. t[0] +
  22871. ' 0 0 0 0 ' +
  22872. t[1] +
  22873. ' 0 0 0 0 ' +
  22874. t[2] +
  22875. ' 0 0 0 ' +
  22876. n +
  22877. ' 0'
  22878. )
  22879. }
  22880. }),
  22881. (SVGStrokeEffect.prototype.initialize = function () {
  22882. var e,
  22883. t,
  22884. n,
  22885. r,
  22886. a = this.elem.layerElement.children || this.elem.layerElement.childNodes
  22887. for (
  22888. 1 === this.filterManager.effectElements[1].p.v
  22889. ? ((r = this.elem.maskManager.masksProperties.length), (n = 0))
  22890. : (r = 1 + (n = this.filterManager.effectElements[0].p.v - 1)),
  22891. (t = createNS('g')).setAttribute('fill', 'none'),
  22892. t.setAttribute('stroke-linecap', 'round'),
  22893. t.setAttribute('stroke-dashoffset', 1);
  22894. n < r;
  22895. n += 1
  22896. )
  22897. (e = createNS('path')), t.appendChild(e), this.paths.push({ p: e, m: n })
  22898. if (3 === this.filterManager.effectElements[10].p.v) {
  22899. var o = createNS('mask'),
  22900. i = createElementID()
  22901. o.setAttribute('id', i),
  22902. o.setAttribute('mask-type', 'alpha'),
  22903. o.appendChild(t),
  22904. this.elem.globalData.defs.appendChild(o)
  22905. var s = createNS('g')
  22906. for (
  22907. s.setAttribute('mask', 'url(' + getLocationHref() + '#' + i + ')');
  22908. a[0];
  22909. )
  22910. s.appendChild(a[0])
  22911. this.elem.layerElement.appendChild(s),
  22912. (this.masker = o),
  22913. t.setAttribute('stroke', '#fff')
  22914. } else if (
  22915. 1 === this.filterManager.effectElements[10].p.v ||
  22916. 2 === this.filterManager.effectElements[10].p.v
  22917. ) {
  22918. if (2 === this.filterManager.effectElements[10].p.v)
  22919. for (
  22920. a = this.elem.layerElement.children || this.elem.layerElement.childNodes;
  22921. a.length;
  22922. )
  22923. this.elem.layerElement.removeChild(a[0])
  22924. this.elem.layerElement.appendChild(t),
  22925. this.elem.layerElement.removeAttribute('mask'),
  22926. t.setAttribute('stroke', '#fff')
  22927. }
  22928. ;(this.initialized = !0), (this.pathMasker = t)
  22929. }),
  22930. (SVGStrokeEffect.prototype.renderFrame = function (e) {
  22931. var t
  22932. this.initialized || this.initialize()
  22933. var n,
  22934. r,
  22935. a = this.paths.length
  22936. for (t = 0; t < a; t += 1)
  22937. if (
  22938. -1 !== this.paths[t].m &&
  22939. ((n = this.elem.maskManager.viewData[this.paths[t].m]),
  22940. (r = this.paths[t].p),
  22941. (e || this.filterManager._mdf || n.prop._mdf) &&
  22942. r.setAttribute('d', n.lastPath),
  22943. e ||
  22944. this.filterManager.effectElements[9].p._mdf ||
  22945. this.filterManager.effectElements[4].p._mdf ||
  22946. this.filterManager.effectElements[7].p._mdf ||
  22947. this.filterManager.effectElements[8].p._mdf ||
  22948. n.prop._mdf)
  22949. ) {
  22950. var o
  22951. if (
  22952. 0 !== this.filterManager.effectElements[7].p.v ||
  22953. 100 !== this.filterManager.effectElements[8].p.v
  22954. ) {
  22955. var i =
  22956. 0.01 *
  22957. Math.min(
  22958. this.filterManager.effectElements[7].p.v,
  22959. this.filterManager.effectElements[8].p.v
  22960. ),
  22961. s =
  22962. 0.01 *
  22963. Math.max(
  22964. this.filterManager.effectElements[7].p.v,
  22965. this.filterManager.effectElements[8].p.v
  22966. ),
  22967. l = r.getTotalLength()
  22968. o = '0 0 0 ' + l * i + ' '
  22969. var c,
  22970. u = l * (s - i),
  22971. p =
  22972. 1 +
  22973. 2 *
  22974. this.filterManager.effectElements[4].p.v *
  22975. this.filterManager.effectElements[9].p.v *
  22976. 0.01,
  22977. d = Math.floor(u / p)
  22978. for (c = 0; c < d; c += 1)
  22979. o +=
  22980. '1 ' +
  22981. 2 *
  22982. this.filterManager.effectElements[4].p.v *
  22983. this.filterManager.effectElements[9].p.v *
  22984. 0.01 +
  22985. ' '
  22986. o += '0 ' + 10 * l + ' 0 0'
  22987. } else
  22988. o =
  22989. '1 ' +
  22990. 2 *
  22991. this.filterManager.effectElements[4].p.v *
  22992. this.filterManager.effectElements[9].p.v *
  22993. 0.01
  22994. r.setAttribute('stroke-dasharray', o)
  22995. }
  22996. if (
  22997. ((e || this.filterManager.effectElements[4].p._mdf) &&
  22998. this.pathMasker.setAttribute(
  22999. 'stroke-width',
  23000. 2 * this.filterManager.effectElements[4].p.v
  23001. ),
  23002. (e || this.filterManager.effectElements[6].p._mdf) &&
  23003. this.pathMasker.setAttribute(
  23004. 'opacity',
  23005. this.filterManager.effectElements[6].p.v
  23006. ),
  23007. (1 === this.filterManager.effectElements[10].p.v ||
  23008. 2 === this.filterManager.effectElements[10].p.v) &&
  23009. (e || this.filterManager.effectElements[3].p._mdf))
  23010. ) {
  23011. var f = this.filterManager.effectElements[3].p.v
  23012. this.pathMasker.setAttribute(
  23013. 'stroke',
  23014. 'rgb(' +
  23015. bmFloor(255 * f[0]) +
  23016. ',' +
  23017. bmFloor(255 * f[1]) +
  23018. ',' +
  23019. bmFloor(255 * f[2]) +
  23020. ')'
  23021. )
  23022. }
  23023. }),
  23024. (SVGTritoneFilter.prototype.renderFrame = function (e) {
  23025. if (e || this.filterManager._mdf) {
  23026. var t = this.filterManager.effectElements[0].p.v,
  23027. n = this.filterManager.effectElements[1].p.v,
  23028. r = this.filterManager.effectElements[2].p.v,
  23029. a = r[0] + ' ' + n[0] + ' ' + t[0],
  23030. o = r[1] + ' ' + n[1] + ' ' + t[1],
  23031. i = r[2] + ' ' + n[2] + ' ' + t[2]
  23032. this.feFuncR.setAttribute('tableValues', a),
  23033. this.feFuncG.setAttribute('tableValues', o),
  23034. this.feFuncB.setAttribute('tableValues', i)
  23035. }
  23036. }),
  23037. (SVGProLevelsFilter.prototype.createFeFunc = function (e, t) {
  23038. var n = createNS(e)
  23039. return n.setAttribute('type', 'table'), t.appendChild(n), n
  23040. }),
  23041. (SVGProLevelsFilter.prototype.getTableValue = function (e, t, n, r, a) {
  23042. for (
  23043. var o,
  23044. i,
  23045. s = 0,
  23046. l = Math.min(e, t),
  23047. c = Math.max(e, t),
  23048. u = Array.call(null, { length: 256 }),
  23049. p = 0,
  23050. d = a - r,
  23051. f = t - e;
  23052. s <= 256;
  23053. )
  23054. (i =
  23055. (o = s / 256) <= l
  23056. ? f < 0
  23057. ? a
  23058. : r
  23059. : o >= c
  23060. ? f < 0
  23061. ? r
  23062. : a
  23063. : r + d * Math.pow((o - e) / f, 1 / n)),
  23064. (u[p] = i),
  23065. (p += 1),
  23066. (s += 256 / 255)
  23067. return u.join(' ')
  23068. }),
  23069. (SVGProLevelsFilter.prototype.renderFrame = function (e) {
  23070. if (e || this.filterManager._mdf) {
  23071. var t,
  23072. n = this.filterManager.effectElements
  23073. this.feFuncRComposed &&
  23074. (e ||
  23075. n[3].p._mdf ||
  23076. n[4].p._mdf ||
  23077. n[5].p._mdf ||
  23078. n[6].p._mdf ||
  23079. n[7].p._mdf) &&
  23080. ((t = this.getTableValue(n[3].p.v, n[4].p.v, n[5].p.v, n[6].p.v, n[7].p.v)),
  23081. this.feFuncRComposed.setAttribute('tableValues', t),
  23082. this.feFuncGComposed.setAttribute('tableValues', t),
  23083. this.feFuncBComposed.setAttribute('tableValues', t)),
  23084. this.feFuncR &&
  23085. (e ||
  23086. n[10].p._mdf ||
  23087. n[11].p._mdf ||
  23088. n[12].p._mdf ||
  23089. n[13].p._mdf ||
  23090. n[14].p._mdf) &&
  23091. ((t = this.getTableValue(
  23092. n[10].p.v,
  23093. n[11].p.v,
  23094. n[12].p.v,
  23095. n[13].p.v,
  23096. n[14].p.v
  23097. )),
  23098. this.feFuncR.setAttribute('tableValues', t)),
  23099. this.feFuncG &&
  23100. (e ||
  23101. n[17].p._mdf ||
  23102. n[18].p._mdf ||
  23103. n[19].p._mdf ||
  23104. n[20].p._mdf ||
  23105. n[21].p._mdf) &&
  23106. ((t = this.getTableValue(
  23107. n[17].p.v,
  23108. n[18].p.v,
  23109. n[19].p.v,
  23110. n[20].p.v,
  23111. n[21].p.v
  23112. )),
  23113. this.feFuncG.setAttribute('tableValues', t)),
  23114. this.feFuncB &&
  23115. (e ||
  23116. n[24].p._mdf ||
  23117. n[25].p._mdf ||
  23118. n[26].p._mdf ||
  23119. n[27].p._mdf ||
  23120. n[28].p._mdf) &&
  23121. ((t = this.getTableValue(
  23122. n[24].p.v,
  23123. n[25].p.v,
  23124. n[26].p.v,
  23125. n[27].p.v,
  23126. n[28].p.v
  23127. )),
  23128. this.feFuncB.setAttribute('tableValues', t)),
  23129. this.feFuncA &&
  23130. (e ||
  23131. n[31].p._mdf ||
  23132. n[32].p._mdf ||
  23133. n[33].p._mdf ||
  23134. n[34].p._mdf ||
  23135. n[35].p._mdf) &&
  23136. ((t = this.getTableValue(
  23137. n[31].p.v,
  23138. n[32].p.v,
  23139. n[33].p.v,
  23140. n[34].p.v,
  23141. n[35].p.v
  23142. )),
  23143. this.feFuncA.setAttribute('tableValues', t))
  23144. }
  23145. }),
  23146. extendPrototype([SVGComposableEffect], SVGDropShadowEffect),
  23147. (SVGDropShadowEffect.prototype.renderFrame = function (e) {
  23148. if (e || this.filterManager._mdf) {
  23149. if (
  23150. ((e || this.filterManager.effectElements[4].p._mdf) &&
  23151. this.feGaussianBlur.setAttribute(
  23152. 'stdDeviation',
  23153. this.filterManager.effectElements[4].p.v / 4
  23154. ),
  23155. e || this.filterManager.effectElements[0].p._mdf)
  23156. ) {
  23157. var t = this.filterManager.effectElements[0].p.v
  23158. this.feFlood.setAttribute(
  23159. 'flood-color',
  23160. rgbToHex(
  23161. Math.round(255 * t[0]),
  23162. Math.round(255 * t[1]),
  23163. Math.round(255 * t[2])
  23164. )
  23165. )
  23166. }
  23167. if (
  23168. ((e || this.filterManager.effectElements[1].p._mdf) &&
  23169. this.feFlood.setAttribute(
  23170. 'flood-opacity',
  23171. this.filterManager.effectElements[1].p.v / 255
  23172. ),
  23173. e ||
  23174. this.filterManager.effectElements[2].p._mdf ||
  23175. this.filterManager.effectElements[3].p._mdf)
  23176. ) {
  23177. var n = this.filterManager.effectElements[3].p.v,
  23178. r = (this.filterManager.effectElements[2].p.v - 90) * degToRads,
  23179. a = n * Math.cos(r),
  23180. o = n * Math.sin(r)
  23181. this.feOffset.setAttribute('dx', a), this.feOffset.setAttribute('dy', o)
  23182. }
  23183. }
  23184. })
  23185. var _svgMatteSymbols = []
  23186. function SVGMatte3Effect(e, t, n) {
  23187. ;(this.initialized = !1),
  23188. (this.filterManager = t),
  23189. (this.filterElem = e),
  23190. (this.elem = n),
  23191. (n.matteElement = createNS('g')),
  23192. n.matteElement.appendChild(n.layerElement),
  23193. n.matteElement.appendChild(n.transformedElement),
  23194. (n.baseElement = n.matteElement)
  23195. }
  23196. function SVGGaussianBlurEffect(e, t, n, r) {
  23197. e.setAttribute('x', '-100%'),
  23198. e.setAttribute('y', '-100%'),
  23199. e.setAttribute('width', '300%'),
  23200. e.setAttribute('height', '300%'),
  23201. (this.filterManager = t)
  23202. var a = createNS('feGaussianBlur')
  23203. a.setAttribute('result', r), e.appendChild(a), (this.feGaussianBlur = a)
  23204. }
  23205. return (
  23206. (SVGMatte3Effect.prototype.findSymbol = function (e) {
  23207. for (var t = 0, n = _svgMatteSymbols.length; t < n; ) {
  23208. if (_svgMatteSymbols[t] === e) return _svgMatteSymbols[t]
  23209. t += 1
  23210. }
  23211. return null
  23212. }),
  23213. (SVGMatte3Effect.prototype.replaceInParent = function (e, t) {
  23214. var n = e.layerElement.parentNode
  23215. if (n) {
  23216. for (
  23217. var r, a = n.children, o = 0, i = a.length;
  23218. o < i && a[o] !== e.layerElement;
  23219. )
  23220. o += 1
  23221. o <= i - 2 && (r = a[o + 1])
  23222. var s = createNS('use')
  23223. s.setAttribute('href', '#' + t), r ? n.insertBefore(s, r) : n.appendChild(s)
  23224. }
  23225. }),
  23226. (SVGMatte3Effect.prototype.setElementAsMask = function (e, t) {
  23227. if (!this.findSymbol(t)) {
  23228. var n = createElementID(),
  23229. r = createNS('mask')
  23230. r.setAttribute('id', t.layerId),
  23231. r.setAttribute('mask-type', 'alpha'),
  23232. _svgMatteSymbols.push(t)
  23233. var a = e.globalData.defs
  23234. a.appendChild(r)
  23235. var o = createNS('symbol')
  23236. o.setAttribute('id', n),
  23237. this.replaceInParent(t, n),
  23238. o.appendChild(t.layerElement),
  23239. a.appendChild(o)
  23240. var i = createNS('use')
  23241. i.setAttribute('href', '#' + n), r.appendChild(i), (t.data.hd = !1), t.show()
  23242. }
  23243. e.setMatte(t.layerId)
  23244. }),
  23245. (SVGMatte3Effect.prototype.initialize = function () {
  23246. for (
  23247. var e = this.filterManager.effectElements[0].p.v,
  23248. t = this.elem.comp.elements,
  23249. n = 0,
  23250. r = t.length;
  23251. n < r;
  23252. )
  23253. t[n] && t[n].data.ind === e && this.setElementAsMask(this.elem, t[n]),
  23254. (n += 1)
  23255. this.initialized = !0
  23256. }),
  23257. (SVGMatte3Effect.prototype.renderFrame = function () {
  23258. this.initialized || this.initialize()
  23259. }),
  23260. (SVGGaussianBlurEffect.prototype.renderFrame = function (e) {
  23261. if (e || this.filterManager._mdf) {
  23262. var t = 0.3 * this.filterManager.effectElements[0].p.v,
  23263. n = this.filterManager.effectElements[1].p.v,
  23264. r = 3 == n ? 0 : t,
  23265. a = 2 == n ? 0 : t
  23266. this.feGaussianBlur.setAttribute('stdDeviation', r + ' ' + a)
  23267. var o = 1 == this.filterManager.effectElements[2].p.v ? 'wrap' : 'duplicate'
  23268. this.feGaussianBlur.setAttribute('edgeMode', o)
  23269. }
  23270. }),
  23271. registerRenderer('canvas', CanvasRenderer),
  23272. registerRenderer('html', HybridRenderer),
  23273. registerRenderer('svg', SVGRenderer),
  23274. ShapeModifiers.registerModifier('tm', TrimModifier),
  23275. ShapeModifiers.registerModifier('pb', PuckerAndBloatModifier),
  23276. ShapeModifiers.registerModifier('rp', RepeaterModifier),
  23277. ShapeModifiers.registerModifier('rd', RoundCornersModifier),
  23278. setExpressionsPlugin(Expressions),
  23279. initialize$1(),
  23280. initialize(),
  23281. registerEffect(20, SVGTintFilter, !0),
  23282. registerEffect(21, SVGFillFilter, !0),
  23283. registerEffect(22, SVGStrokeEffect, !1),
  23284. registerEffect(23, SVGTritoneFilter, !0),
  23285. registerEffect(24, SVGProLevelsFilter, !0),
  23286. registerEffect(25, SVGDropShadowEffect, !0),
  23287. registerEffect(28, SVGMatte3Effect, !1),
  23288. registerEffect(29, SVGGaussianBlurEffect, !0),
  23289. lottie
  23290. )
  23291. }),
  23292. (module.exports = factory()))
  23293. })(lottie, lottie.exports)
  23294. var Lottie = lottie.exports,
  23295. commonjsGlobal =
  23296. 'undefined' != typeof globalThis
  23297. ? globalThis
  23298. : 'undefined' != typeof window
  23299. ? window
  23300. : 'undefined' != typeof global
  23301. ? global
  23302. : 'undefined' != typeof self
  23303. ? self
  23304. : {},
  23305. lodash = { exports: {} }
  23306. /**
  23307. * @license
  23308. * Lodash <https://lodash.com/>
  23309. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  23310. * Released under MIT license <https://lodash.com/license>
  23311. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  23312. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  23313. */
  23314. !(function (e, t) {
  23315. ;(function () {
  23316. var n,
  23317. r = 'Expected a function',
  23318. a = '__lodash_hash_undefined__',
  23319. o = '__lodash_placeholder__',
  23320. i = 16,
  23321. s = 32,
  23322. l = 64,
  23323. c = 128,
  23324. u = 256,
  23325. p = 1 / 0,
  23326. d = 9007199254740991,
  23327. f = NaN,
  23328. h = 4294967295,
  23329. v = [
  23330. ['ary', c],
  23331. ['bind', 1],
  23332. ['bindKey', 2],
  23333. ['curry', 8],
  23334. ['curryRight', i],
  23335. ['flip', 512],
  23336. ['partial', s],
  23337. ['partialRight', l],
  23338. ['rearg', u]
  23339. ],
  23340. m = '[object Arguments]',
  23341. g = '[object Array]',
  23342. y = '[object Boolean]',
  23343. b = '[object Date]',
  23344. _ = '[object Error]',
  23345. A = '[object Function]',
  23346. x = '[object GeneratorFunction]',
  23347. w = '[object Map]',
  23348. k = '[object Number]',
  23349. S = '[object Object]',
  23350. E = '[object Promise]',
  23351. P = '[object RegExp]',
  23352. C = '[object Set]',
  23353. T = '[object String]',
  23354. I = '[object Symbol]',
  23355. R = '[object WeakMap]',
  23356. M = '[object ArrayBuffer]',
  23357. z = '[object DataView]',
  23358. O = '[object Float32Array]',
  23359. D = '[object Float64Array]',
  23360. F = '[object Int8Array]',
  23361. B = '[object Int16Array]',
  23362. N = '[object Int32Array]',
  23363. j = '[object Uint8Array]',
  23364. V = '[object Uint8ClampedArray]',
  23365. L = '[object Uint16Array]',
  23366. H = '[object Uint32Array]',
  23367. G = /\b__p \+= '';/g,
  23368. q = /\b(__p \+=) '' \+/g,
  23369. U = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
  23370. W = /&(?:amp|lt|gt|quot|#39);/g,
  23371. $ = /[&<>"']/g,
  23372. K = RegExp(W.source),
  23373. Y = RegExp($.source),
  23374. J = /<%-([\s\S]+?)%>/g,
  23375. Q = /<%([\s\S]+?)%>/g,
  23376. X = /<%=([\s\S]+?)%>/g,
  23377. Z = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
  23378. ee = /^\w*$/,
  23379. te =
  23380. /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
  23381. ne = /[\\^$.*+?()[\]{}|]/g,
  23382. re = RegExp(ne.source),
  23383. ae = /^\s+/,
  23384. oe = /\s/,
  23385. ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
  23386. se = /\{\n\/\* \[wrapped with (.+)\] \*/,
  23387. le = /,? & /,
  23388. ce = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
  23389. ue = /[()=,{}\[\]\/\s]/,
  23390. pe = /\\(\\)?/g,
  23391. de = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
  23392. fe = /\w*$/,
  23393. he = /^[-+]0x[0-9a-f]+$/i,
  23394. ve = /^0b[01]+$/i,
  23395. me = /^\[object .+?Constructor\]$/,
  23396. ge = /^0o[0-7]+$/i,
  23397. ye = /^(?:0|[1-9]\d*)$/,
  23398. be = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
  23399. _e = /($^)/,
  23400. Ae = /['\n\r\u2028\u2029\\]/g,
  23401. xe = '\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff',
  23402. we = '\\u2700-\\u27bf',
  23403. ke = 'a-z\\xdf-\\xf6\\xf8-\\xff',
  23404. Se = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
  23405. Ee = '\\ufe0e\\ufe0f',
  23406. Pe =
  23407. '\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
  23408. Ce = "['’]",
  23409. Te = '[\\ud800-\\udfff]',
  23410. Ie = '[' + Pe + ']',
  23411. Re = '[' + xe + ']',
  23412. Me = '\\d+',
  23413. ze = '[\\u2700-\\u27bf]',
  23414. Oe = '[' + ke + ']',
  23415. De = '[^\\ud800-\\udfff' + Pe + Me + we + ke + Se + ']',
  23416. Fe = '\\ud83c[\\udffb-\\udfff]',
  23417. Be = '[^\\ud800-\\udfff]',
  23418. Ne = '(?:\\ud83c[\\udde6-\\uddff]){2}',
  23419. je = '[\\ud800-\\udbff][\\udc00-\\udfff]',
  23420. Ve = '[' + Se + ']',
  23421. Le = '(?:' + Oe + '|' + De + ')',
  23422. He = '(?:' + Ve + '|' + De + ')',
  23423. Ge = "(?:['’](?:d|ll|m|re|s|t|ve))?",
  23424. qe = "(?:['’](?:D|LL|M|RE|S|T|VE))?",
  23425. Ue = '(?:' + Re + '|' + Fe + ')' + '?',
  23426. We = '[\\ufe0e\\ufe0f]?',
  23427. $e = We + Ue + ('(?:\\u200d(?:' + [Be, Ne, je].join('|') + ')' + We + Ue + ')*'),
  23428. Ke = '(?:' + [ze, Ne, je].join('|') + ')' + $e,
  23429. Ye = '(?:' + [Be + Re + '?', Re, Ne, je, Te].join('|') + ')',
  23430. Je = RegExp(Ce, 'g'),
  23431. Qe = RegExp(Re, 'g'),
  23432. Xe = RegExp(Fe + '(?=' + Fe + ')|' + Ye + $e, 'g'),
  23433. Ze = RegExp(
  23434. [
  23435. Ve + '?' + Oe + '+' + Ge + '(?=' + [Ie, Ve, '$'].join('|') + ')',
  23436. He + '+' + qe + '(?=' + [Ie, Ve + Le, '$'].join('|') + ')',
  23437. Ve + '?' + Le + '+' + Ge,
  23438. Ve + '+' + qe,
  23439. '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
  23440. '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
  23441. Me,
  23442. Ke
  23443. ].join('|'),
  23444. 'g'
  23445. ),
  23446. et = RegExp('[\\u200d\\ud800-\\udfff' + xe + Ee + ']'),
  23447. tt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
  23448. nt = [
  23449. 'Array',
  23450. 'Buffer',
  23451. 'DataView',
  23452. 'Date',
  23453. 'Error',
  23454. 'Float32Array',
  23455. 'Float64Array',
  23456. 'Function',
  23457. 'Int8Array',
  23458. 'Int16Array',
  23459. 'Int32Array',
  23460. 'Map',
  23461. 'Math',
  23462. 'Object',
  23463. 'Promise',
  23464. 'RegExp',
  23465. 'Set',
  23466. 'String',
  23467. 'Symbol',
  23468. 'TypeError',
  23469. 'Uint8Array',
  23470. 'Uint8ClampedArray',
  23471. 'Uint16Array',
  23472. 'Uint32Array',
  23473. 'WeakMap',
  23474. '_',
  23475. 'clearTimeout',
  23476. 'isFinite',
  23477. 'parseInt',
  23478. 'setTimeout'
  23479. ],
  23480. rt = -1,
  23481. at = {}
  23482. ;(at[O] = at[D] = at[F] = at[B] = at[N] = at[j] = at[V] = at[L] = at[H] = !0),
  23483. (at[m] =
  23484. at[g] =
  23485. at[M] =
  23486. at[y] =
  23487. at[z] =
  23488. at[b] =
  23489. at[_] =
  23490. at[A] =
  23491. at[w] =
  23492. at[k] =
  23493. at[S] =
  23494. at[P] =
  23495. at[C] =
  23496. at[T] =
  23497. at[R] =
  23498. !1)
  23499. var ot = {}
  23500. ;(ot[m] =
  23501. ot[g] =
  23502. ot[M] =
  23503. ot[z] =
  23504. ot[y] =
  23505. ot[b] =
  23506. ot[O] =
  23507. ot[D] =
  23508. ot[F] =
  23509. ot[B] =
  23510. ot[N] =
  23511. ot[w] =
  23512. ot[k] =
  23513. ot[S] =
  23514. ot[P] =
  23515. ot[C] =
  23516. ot[T] =
  23517. ot[I] =
  23518. ot[j] =
  23519. ot[V] =
  23520. ot[L] =
  23521. ot[H] =
  23522. !0),
  23523. (ot[_] = ot[A] = ot[R] = !1)
  23524. var it = {
  23525. '\\': '\\',
  23526. "'": "'",
  23527. '\n': 'n',
  23528. '\r': 'r',
  23529. '\u2028': 'u2028',
  23530. '\u2029': 'u2029'
  23531. },
  23532. st = parseFloat,
  23533. lt = parseInt,
  23534. ct =
  23535. 'object' == _typeof2(commonjsGlobal) &&
  23536. commonjsGlobal &&
  23537. commonjsGlobal.Object === Object &&
  23538. commonjsGlobal,
  23539. ut =
  23540. 'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
  23541. self &&
  23542. self.Object === Object &&
  23543. self,
  23544. pt = ct || ut || Function('return this')(),
  23545. dt = t && !t.nodeType && t,
  23546. ft = dt && e && !e.nodeType && e,
  23547. ht = ft && ft.exports === dt,
  23548. vt = ht && ct.process,
  23549. mt = (function () {
  23550. try {
  23551. var e = ft && ft.require && ft.require('util').types
  23552. return e || (vt && vt.binding && vt.binding('util'))
  23553. } catch (t) {}
  23554. })(),
  23555. gt = mt && mt.isArrayBuffer,
  23556. yt = mt && mt.isDate,
  23557. bt = mt && mt.isMap,
  23558. _t = mt && mt.isRegExp,
  23559. At = mt && mt.isSet,
  23560. xt = mt && mt.isTypedArray
  23561. function wt(e, t, n) {
  23562. switch (n.length) {
  23563. case 0:
  23564. return e.call(t)
  23565. case 1:
  23566. return e.call(t, n[0])
  23567. case 2:
  23568. return e.call(t, n[0], n[1])
  23569. case 3:
  23570. return e.call(t, n[0], n[1], n[2])
  23571. }
  23572. return e.apply(t, n)
  23573. }
  23574. function kt(e, t, n, r) {
  23575. for (var a = -1, o = null == e ? 0 : e.length; ++a < o; ) {
  23576. var i = e[a]
  23577. t(r, i, n(i), e)
  23578. }
  23579. return r
  23580. }
  23581. function St(e, t) {
  23582. for (var n = -1, r = null == e ? 0 : e.length; ++n < r && !1 !== t(e[n], n, e); );
  23583. return e
  23584. }
  23585. function Et(e, t) {
  23586. for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e); );
  23587. return e
  23588. }
  23589. function Pt(e, t) {
  23590. for (var n = -1, r = null == e ? 0 : e.length; ++n < r; )
  23591. if (!t(e[n], n, e)) return !1
  23592. return !0
  23593. }
  23594. function Ct(e, t) {
  23595. for (var n = -1, r = null == e ? 0 : e.length, a = 0, o = []; ++n < r; ) {
  23596. var i = e[n]
  23597. t(i, n, e) && (o[a++] = i)
  23598. }
  23599. return o
  23600. }
  23601. function Tt(e, t) {
  23602. return !!(null == e ? 0 : e.length) && jt(e, t, 0) > -1
  23603. }
  23604. function It(e, t, n) {
  23605. for (var r = -1, a = null == e ? 0 : e.length; ++r < a; ) if (n(t, e[r])) return !0
  23606. return !1
  23607. }
  23608. function Rt(e, t) {
  23609. for (var n = -1, r = null == e ? 0 : e.length, a = Array(r); ++n < r; )
  23610. a[n] = t(e[n], n, e)
  23611. return a
  23612. }
  23613. function Mt(e, t) {
  23614. for (var n = -1, r = t.length, a = e.length; ++n < r; ) e[a + n] = t[n]
  23615. return e
  23616. }
  23617. function zt(e, t, n, r) {
  23618. var a = -1,
  23619. o = null == e ? 0 : e.length
  23620. for (r && o && (n = e[++a]); ++a < o; ) n = t(n, e[a], a, e)
  23621. return n
  23622. }
  23623. function Ot(e, t, n, r) {
  23624. var a = null == e ? 0 : e.length
  23625. for (r && a && (n = e[--a]); a--; ) n = t(n, e[a], a, e)
  23626. return n
  23627. }
  23628. function Dt(e, t) {
  23629. for (var n = -1, r = null == e ? 0 : e.length; ++n < r; )
  23630. if (t(e[n], n, e)) return !0
  23631. return !1
  23632. }
  23633. var Ft = Gt('length')
  23634. function Bt(e, t, n) {
  23635. var r
  23636. return (
  23637. n(e, function (e, n, a) {
  23638. if (t(e, n, a)) return (r = n), !1
  23639. }),
  23640. r
  23641. )
  23642. }
  23643. function Nt(e, t, n, r) {
  23644. for (var a = e.length, o = n + (r ? 1 : -1); r ? o-- : ++o < a; )
  23645. if (t(e[o], o, e)) return o
  23646. return -1
  23647. }
  23648. function jt(e, t, n) {
  23649. return t == t
  23650. ? (function (e, t, n) {
  23651. var r = n - 1,
  23652. a = e.length
  23653. for (; ++r < a; ) if (e[r] === t) return r
  23654. return -1
  23655. })(e, t, n)
  23656. : Nt(e, Lt, n)
  23657. }
  23658. function Vt(e, t, n, r) {
  23659. for (var a = n - 1, o = e.length; ++a < o; ) if (r(e[a], t)) return a
  23660. return -1
  23661. }
  23662. function Lt(e) {
  23663. return e != e
  23664. }
  23665. function Ht(e, t) {
  23666. var n = null == e ? 0 : e.length
  23667. return n ? Wt(e, t) / n : f
  23668. }
  23669. function Gt(e) {
  23670. return function (t) {
  23671. return null == t ? n : t[e]
  23672. }
  23673. }
  23674. function qt(e) {
  23675. return function (t) {
  23676. return null == e ? n : e[t]
  23677. }
  23678. }
  23679. function Ut(e, t, n, r, a) {
  23680. return (
  23681. a(e, function (e, a, o) {
  23682. n = r ? ((r = !1), e) : t(n, e, a, o)
  23683. }),
  23684. n
  23685. )
  23686. }
  23687. function Wt(e, t) {
  23688. for (var r, a = -1, o = e.length; ++a < o; ) {
  23689. var i = t(e[a])
  23690. i !== n && (r = r === n ? i : r + i)
  23691. }
  23692. return r
  23693. }
  23694. function $t(e, t) {
  23695. for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n)
  23696. return r
  23697. }
  23698. function Kt(e) {
  23699. return e ? e.slice(0, dn(e) + 1).replace(ae, '') : e
  23700. }
  23701. function Yt(e) {
  23702. return function (t) {
  23703. return e(t)
  23704. }
  23705. }
  23706. function Jt(e, t) {
  23707. return Rt(t, function (t) {
  23708. return e[t]
  23709. })
  23710. }
  23711. function Qt(e, t) {
  23712. return e.has(t)
  23713. }
  23714. function Xt(e, t) {
  23715. for (var n = -1, r = e.length; ++n < r && jt(t, e[n], 0) > -1; );
  23716. return n
  23717. }
  23718. function Zt(e, t) {
  23719. for (var n = e.length; n-- && jt(t, e[n], 0) > -1; );
  23720. return n
  23721. }
  23722. function en(e, t) {
  23723. for (var n = e.length, r = 0; n--; ) e[n] === t && ++r
  23724. return r
  23725. }
  23726. var tn = qt({
  23727. À: 'A',
  23728. Á: 'A',
  23729. Â: 'A',
  23730. Ã: 'A',
  23731. Ä: 'A',
  23732. Å: 'A',
  23733. à: 'a',
  23734. á: 'a',
  23735. â: 'a',
  23736. ã: 'a',
  23737. ä: 'a',
  23738. å: 'a',
  23739. Ç: 'C',
  23740. ç: 'c',
  23741. Ð: 'D',
  23742. ð: 'd',
  23743. È: 'E',
  23744. É: 'E',
  23745. Ê: 'E',
  23746. Ë: 'E',
  23747. è: 'e',
  23748. é: 'e',
  23749. ê: 'e',
  23750. ë: 'e',
  23751. Ì: 'I',
  23752. Í: 'I',
  23753. Î: 'I',
  23754. Ï: 'I',
  23755. ì: 'i',
  23756. í: 'i',
  23757. î: 'i',
  23758. ï: 'i',
  23759. Ñ: 'N',
  23760. ñ: 'n',
  23761. Ò: 'O',
  23762. Ó: 'O',
  23763. Ô: 'O',
  23764. Õ: 'O',
  23765. Ö: 'O',
  23766. Ø: 'O',
  23767. ò: 'o',
  23768. ó: 'o',
  23769. ô: 'o',
  23770. õ: 'o',
  23771. ö: 'o',
  23772. ø: 'o',
  23773. Ù: 'U',
  23774. Ú: 'U',
  23775. Û: 'U',
  23776. Ü: 'U',
  23777. ù: 'u',
  23778. ú: 'u',
  23779. û: 'u',
  23780. ü: 'u',
  23781. Ý: 'Y',
  23782. ý: 'y',
  23783. ÿ: 'y',
  23784. Æ: 'Ae',
  23785. æ: 'ae',
  23786. Þ: 'Th',
  23787. þ: 'th',
  23788. ß: 'ss',
  23789. Ā: 'A',
  23790. Ă: 'A',
  23791. Ą: 'A',
  23792. ā: 'a',
  23793. ă: 'a',
  23794. ą: 'a',
  23795. Ć: 'C',
  23796. Ĉ: 'C',
  23797. Ċ: 'C',
  23798. Č: 'C',
  23799. ć: 'c',
  23800. ĉ: 'c',
  23801. ċ: 'c',
  23802. č: 'c',
  23803. Ď: 'D',
  23804. Đ: 'D',
  23805. ď: 'd',
  23806. đ: 'd',
  23807. Ē: 'E',
  23808. Ĕ: 'E',
  23809. Ė: 'E',
  23810. Ę: 'E',
  23811. Ě: 'E',
  23812. ē: 'e',
  23813. ĕ: 'e',
  23814. ė: 'e',
  23815. ę: 'e',
  23816. ě: 'e',
  23817. Ĝ: 'G',
  23818. Ğ: 'G',
  23819. Ġ: 'G',
  23820. Ģ: 'G',
  23821. ĝ: 'g',
  23822. ğ: 'g',
  23823. ġ: 'g',
  23824. ģ: 'g',
  23825. Ĥ: 'H',
  23826. Ħ: 'H',
  23827. ĥ: 'h',
  23828. ħ: 'h',
  23829. Ĩ: 'I',
  23830. Ī: 'I',
  23831. Ĭ: 'I',
  23832. Į: 'I',
  23833. İ: 'I',
  23834. ĩ: 'i',
  23835. ī: 'i',
  23836. ĭ: 'i',
  23837. į: 'i',
  23838. ı: 'i',
  23839. Ĵ: 'J',
  23840. ĵ: 'j',
  23841. Ķ: 'K',
  23842. ķ: 'k',
  23843. ĸ: 'k',
  23844. Ĺ: 'L',
  23845. Ļ: 'L',
  23846. Ľ: 'L',
  23847. Ŀ: 'L',
  23848. Ł: 'L',
  23849. ĺ: 'l',
  23850. ļ: 'l',
  23851. ľ: 'l',
  23852. ŀ: 'l',
  23853. ł: 'l',
  23854. Ń: 'N',
  23855. Ņ: 'N',
  23856. Ň: 'N',
  23857. Ŋ: 'N',
  23858. ń: 'n',
  23859. ņ: 'n',
  23860. ň: 'n',
  23861. ŋ: 'n',
  23862. Ō: 'O',
  23863. Ŏ: 'O',
  23864. Ő: 'O',
  23865. ō: 'o',
  23866. ŏ: 'o',
  23867. ő: 'o',
  23868. Ŕ: 'R',
  23869. Ŗ: 'R',
  23870. Ř: 'R',
  23871. ŕ: 'r',
  23872. ŗ: 'r',
  23873. ř: 'r',
  23874. Ś: 'S',
  23875. Ŝ: 'S',
  23876. Ş: 'S',
  23877. Š: 'S',
  23878. ś: 's',
  23879. ŝ: 's',
  23880. ş: 's',
  23881. š: 's',
  23882. Ţ: 'T',
  23883. Ť: 'T',
  23884. Ŧ: 'T',
  23885. ţ: 't',
  23886. ť: 't',
  23887. ŧ: 't',
  23888. Ũ: 'U',
  23889. Ū: 'U',
  23890. Ŭ: 'U',
  23891. Ů: 'U',
  23892. Ű: 'U',
  23893. Ų: 'U',
  23894. ũ: 'u',
  23895. ū: 'u',
  23896. ŭ: 'u',
  23897. ů: 'u',
  23898. ű: 'u',
  23899. ų: 'u',
  23900. Ŵ: 'W',
  23901. ŵ: 'w',
  23902. Ŷ: 'Y',
  23903. ŷ: 'y',
  23904. Ÿ: 'Y',
  23905. Ź: 'Z',
  23906. Ż: 'Z',
  23907. Ž: 'Z',
  23908. ź: 'z',
  23909. ż: 'z',
  23910. ž: 'z',
  23911. IJ: 'IJ',
  23912. ij: 'ij',
  23913. Œ: 'Oe',
  23914. œ: 'oe',
  23915. ʼn: "'n",
  23916. ſ: 's'
  23917. }),
  23918. nn = qt({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' })
  23919. function rn(e) {
  23920. return '\\' + it[e]
  23921. }
  23922. function an(e) {
  23923. return et.test(e)
  23924. }
  23925. function on(e) {
  23926. var t = -1,
  23927. n = Array(e.size)
  23928. return (
  23929. e.forEach(function (e, r) {
  23930. n[++t] = [r, e]
  23931. }),
  23932. n
  23933. )
  23934. }
  23935. function sn(e, t) {
  23936. return function (n) {
  23937. return e(t(n))
  23938. }
  23939. }
  23940. function ln(e, t) {
  23941. for (var n = -1, r = e.length, a = 0, i = []; ++n < r; ) {
  23942. var s = e[n]
  23943. ;(s !== t && s !== o) || ((e[n] = o), (i[a++] = n))
  23944. }
  23945. return i
  23946. }
  23947. function cn(e) {
  23948. var t = -1,
  23949. n = Array(e.size)
  23950. return (
  23951. e.forEach(function (e) {
  23952. n[++t] = e
  23953. }),
  23954. n
  23955. )
  23956. }
  23957. function un(e) {
  23958. return an(e)
  23959. ? (function (e) {
  23960. var t = (Xe.lastIndex = 0)
  23961. for (; Xe.test(e); ) ++t
  23962. return t
  23963. })(e)
  23964. : Ft(e)
  23965. }
  23966. function pn(e) {
  23967. return an(e)
  23968. ? (function (e) {
  23969. return e.match(Xe) || []
  23970. })(e)
  23971. : (function (e) {
  23972. return e.split('')
  23973. })(e)
  23974. }
  23975. function dn(e) {
  23976. for (var t = e.length; t-- && oe.test(e.charAt(t)); );
  23977. return t
  23978. }
  23979. var fn = qt({ '&amp;': '&', '&lt;': '<', '&gt;': '>', '&quot;': '"', '&#39;': "'" })
  23980. var hn = (function e(t) {
  23981. var oe = (t = null == t ? pt : hn.defaults(pt.Object(), t, hn.pick(pt, nt))).Array,
  23982. xe = t.Date,
  23983. we = t.Error,
  23984. ke = t.Function,
  23985. Se = t.Math,
  23986. Ee = t.Object,
  23987. Pe = t.RegExp,
  23988. Ce = t.String,
  23989. Te = t.TypeError,
  23990. Ie = oe.prototype,
  23991. Re = ke.prototype,
  23992. Me = Ee.prototype,
  23993. ze = t['__core-js_shared__'],
  23994. Oe = Re.toString,
  23995. De = Me.hasOwnProperty,
  23996. Fe = 0,
  23997. Be = (function () {
  23998. var e = /[^.]+$/.exec((ze && ze.keys && ze.keys.IE_PROTO) || '')
  23999. return e ? 'Symbol(src)_1.' + e : ''
  24000. })(),
  24001. Ne = Me.toString,
  24002. je = Oe.call(Ee),
  24003. Ve = pt._,
  24004. Le = Pe(
  24005. '^' +
  24006. Oe.call(De)
  24007. .replace(ne, '\\$&')
  24008. .replace(
  24009. /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
  24010. '$1.*?'
  24011. ) +
  24012. '$'
  24013. ),
  24014. He = ht ? t.Buffer : n,
  24015. Ge = t.Symbol,
  24016. qe = t.Uint8Array,
  24017. Ue = He ? He.allocUnsafe : n,
  24018. We = sn(Ee.getPrototypeOf, Ee),
  24019. $e = Ee.create,
  24020. Ke = Me.propertyIsEnumerable,
  24021. Ye = Ie.splice,
  24022. Xe = Ge ? Ge.isConcatSpreadable : n,
  24023. et = Ge ? Ge.iterator : n,
  24024. it = Ge ? Ge.toStringTag : n,
  24025. ct = (function () {
  24026. try {
  24027. var e = po(Ee, 'defineProperty')
  24028. return e({}, '', {}), e
  24029. } catch (t) {}
  24030. })(),
  24031. ut = t.clearTimeout !== pt.clearTimeout && t.clearTimeout,
  24032. dt = xe && xe.now !== pt.Date.now && xe.now,
  24033. ft = t.setTimeout !== pt.setTimeout && t.setTimeout,
  24034. vt = Se.ceil,
  24035. mt = Se.floor,
  24036. Ft = Ee.getOwnPropertySymbols,
  24037. qt = He ? He.isBuffer : n,
  24038. vn = t.isFinite,
  24039. mn = Ie.join,
  24040. gn = sn(Ee.keys, Ee),
  24041. yn = Se.max,
  24042. bn = Se.min,
  24043. _n = xe.now,
  24044. An = t.parseInt,
  24045. xn = Se.random,
  24046. wn = Ie.reverse,
  24047. kn = po(t, 'DataView'),
  24048. Sn = po(t, 'Map'),
  24049. En = po(t, 'Promise'),
  24050. Pn = po(t, 'Set'),
  24051. Cn = po(t, 'WeakMap'),
  24052. Tn = po(Ee, 'create'),
  24053. In = Cn && new Cn(),
  24054. Rn = {},
  24055. Mn = Ho(kn),
  24056. zn = Ho(Sn),
  24057. On = Ho(En),
  24058. Dn = Ho(Pn),
  24059. Fn = Ho(Cn),
  24060. Bn = Ge ? Ge.prototype : n,
  24061. Nn = Bn ? Bn.valueOf : n,
  24062. jn = Bn ? Bn.toString : n
  24063. function Vn(e) {
  24064. if (os(e) && !Ki(e) && !(e instanceof qn)) {
  24065. if (e instanceof Gn) return e
  24066. if (De.call(e, '__wrapped__')) return Go(e)
  24067. }
  24068. return new Gn(e)
  24069. }
  24070. var Ln = (function () {
  24071. function e() {}
  24072. return function (t) {
  24073. if (!as(t)) return {}
  24074. if ($e) return $e(t)
  24075. e.prototype = t
  24076. var r = new e()
  24077. return (e.prototype = n), r
  24078. }
  24079. })()
  24080. function Hn() {}
  24081. function Gn(e, t) {
  24082. ;(this.__wrapped__ = e),
  24083. (this.__actions__ = []),
  24084. (this.__chain__ = !!t),
  24085. (this.__index__ = 0),
  24086. (this.__values__ = n)
  24087. }
  24088. function qn(e) {
  24089. ;(this.__wrapped__ = e),
  24090. (this.__actions__ = []),
  24091. (this.__dir__ = 1),
  24092. (this.__filtered__ = !1),
  24093. (this.__iteratees__ = []),
  24094. (this.__takeCount__ = h),
  24095. (this.__views__ = [])
  24096. }
  24097. function Un(e) {
  24098. var t = -1,
  24099. n = null == e ? 0 : e.length
  24100. for (this.clear(); ++t < n; ) {
  24101. var r = e[t]
  24102. this.set(r[0], r[1])
  24103. }
  24104. }
  24105. function Wn(e) {
  24106. var t = -1,
  24107. n = null == e ? 0 : e.length
  24108. for (this.clear(); ++t < n; ) {
  24109. var r = e[t]
  24110. this.set(r[0], r[1])
  24111. }
  24112. }
  24113. function $n(e) {
  24114. var t = -1,
  24115. n = null == e ? 0 : e.length
  24116. for (this.clear(); ++t < n; ) {
  24117. var r = e[t]
  24118. this.set(r[0], r[1])
  24119. }
  24120. }
  24121. function Kn(e) {
  24122. var t = -1,
  24123. n = null == e ? 0 : e.length
  24124. for (this.__data__ = new $n(); ++t < n; ) this.add(e[t])
  24125. }
  24126. function Yn(e) {
  24127. var t = (this.__data__ = new Wn(e))
  24128. this.size = t.size
  24129. }
  24130. function Jn(e, t) {
  24131. var n = Ki(e),
  24132. r = !n && $i(e),
  24133. a = !n && !r && Xi(e),
  24134. o = !n && !r && !a && fs(e),
  24135. i = n || r || a || o,
  24136. s = i ? $t(e.length, Ce) : [],
  24137. l = s.length
  24138. for (var c in e)
  24139. (!t && !De.call(e, c)) ||
  24140. (i &&
  24141. ('length' == c ||
  24142. (a && ('offset' == c || 'parent' == c)) ||
  24143. (o && ('buffer' == c || 'byteLength' == c || 'byteOffset' == c)) ||
  24144. bo(c, l))) ||
  24145. s.push(c)
  24146. return s
  24147. }
  24148. function Qn(e) {
  24149. var t = e.length
  24150. return t ? e[Kr(0, t - 1)] : n
  24151. }
  24152. function Xn(e, t) {
  24153. return Fo(Ta(e), sr(t, 0, e.length))
  24154. }
  24155. function Zn(e) {
  24156. return Fo(Ta(e))
  24157. }
  24158. function er(e, t, r) {
  24159. ;((r !== n && !qi(e[t], r)) || (r === n && !(t in e))) && or(e, t, r)
  24160. }
  24161. function tr(e, t, r) {
  24162. var a = e[t]
  24163. ;(De.call(e, t) && qi(a, r) && (r !== n || t in e)) || or(e, t, r)
  24164. }
  24165. function nr(e, t) {
  24166. for (var n = e.length; n--; ) if (qi(e[n][0], t)) return n
  24167. return -1
  24168. }
  24169. function rr(e, t, n, r) {
  24170. return (
  24171. dr(e, function (e, a, o) {
  24172. t(r, e, n(e), o)
  24173. }),
  24174. r
  24175. )
  24176. }
  24177. function ar(e, t) {
  24178. return e && Ia(t, Ds(t), e)
  24179. }
  24180. function or(e, t, n) {
  24181. '__proto__' == t && ct
  24182. ? ct(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 })
  24183. : (e[t] = n)
  24184. }
  24185. function ir(e, t) {
  24186. for (var r = -1, a = t.length, o = oe(a), i = null == e; ++r < a; )
  24187. o[r] = i ? n : Is(e, t[r])
  24188. return o
  24189. }
  24190. function sr(e, t, r) {
  24191. return (
  24192. e == e && (r !== n && (e = e <= r ? e : r), t !== n && (e = e >= t ? e : t)), e
  24193. )
  24194. }
  24195. function lr(e, t, r, a, o, i) {
  24196. var s,
  24197. l = 1 & t,
  24198. c = 2 & t,
  24199. u = 4 & t
  24200. if ((r && (s = o ? r(e, a, o, i) : r(e)), s !== n)) return s
  24201. if (!as(e)) return e
  24202. var p = Ki(e)
  24203. if (p) {
  24204. if (
  24205. ((s = (function (e) {
  24206. var t = e.length,
  24207. n = new e.constructor(t)
  24208. t &&
  24209. 'string' == typeof e[0] &&
  24210. De.call(e, 'index') &&
  24211. ((n.index = e.index), (n.input = e.input))
  24212. return n
  24213. })(e)),
  24214. !l)
  24215. )
  24216. return Ta(e, s)
  24217. } else {
  24218. var d = vo(e),
  24219. f = d == A || d == x
  24220. if (Xi(e)) return wa(e, l)
  24221. if (d == S || d == m || (f && !o)) {
  24222. if (((s = c || f ? {} : go(e)), !l))
  24223. return c
  24224. ? (function (e, t) {
  24225. return Ia(e, ho(e), t)
  24226. })(
  24227. e,
  24228. (function (e, t) {
  24229. return e && Ia(t, Fs(t), e)
  24230. })(s, e)
  24231. )
  24232. : (function (e, t) {
  24233. return Ia(e, fo(e), t)
  24234. })(e, ar(s, e))
  24235. } else {
  24236. if (!ot[d]) return o ? e : {}
  24237. s = (function (e, t, n) {
  24238. var r = e.constructor
  24239. switch (t) {
  24240. case M:
  24241. return ka(e)
  24242. case y:
  24243. case b:
  24244. return new r(+e)
  24245. case z:
  24246. return (function (e, t) {
  24247. var n = t ? ka(e.buffer) : e.buffer
  24248. return new e.constructor(n, e.byteOffset, e.byteLength)
  24249. })(e, n)
  24250. case O:
  24251. case D:
  24252. case F:
  24253. case B:
  24254. case N:
  24255. case j:
  24256. case V:
  24257. case L:
  24258. case H:
  24259. return Sa(e, n)
  24260. case w:
  24261. return new r()
  24262. case k:
  24263. case T:
  24264. return new r(e)
  24265. case P:
  24266. return (function (e) {
  24267. var t = new e.constructor(e.source, fe.exec(e))
  24268. return (t.lastIndex = e.lastIndex), t
  24269. })(e)
  24270. case C:
  24271. return new r()
  24272. case I:
  24273. return (a = e), Nn ? Ee(Nn.call(a)) : {}
  24274. }
  24275. var a
  24276. })(e, d, l)
  24277. }
  24278. }
  24279. i || (i = new Yn())
  24280. var h = i.get(e)
  24281. if (h) return h
  24282. i.set(e, s),
  24283. us(e)
  24284. ? e.forEach(function (n) {
  24285. s.add(lr(n, t, r, n, e, i))
  24286. })
  24287. : is(e) &&
  24288. e.forEach(function (n, a) {
  24289. s.set(a, lr(n, t, r, a, e, i))
  24290. })
  24291. var v = p ? n : (u ? (c ? ao : ro) : c ? Fs : Ds)(e)
  24292. return (
  24293. St(v || e, function (n, a) {
  24294. v && (n = e[(a = n)]), tr(s, a, lr(n, t, r, a, e, i))
  24295. }),
  24296. s
  24297. )
  24298. }
  24299. function cr(e, t, r) {
  24300. var a = r.length
  24301. if (null == e) return !a
  24302. for (e = Ee(e); a--; ) {
  24303. var o = r[a],
  24304. i = t[o],
  24305. s = e[o]
  24306. if ((s === n && !(o in e)) || !i(s)) return !1
  24307. }
  24308. return !0
  24309. }
  24310. function ur(e, t, a) {
  24311. if ('function' != typeof e) throw new Te(r)
  24312. return Mo(function () {
  24313. e.apply(n, a)
  24314. }, t)
  24315. }
  24316. function pr(e, t, n, r) {
  24317. var a = -1,
  24318. o = Tt,
  24319. i = !0,
  24320. s = e.length,
  24321. l = [],
  24322. c = t.length
  24323. if (!s) return l
  24324. n && (t = Rt(t, Yt(n))),
  24325. r
  24326. ? ((o = It), (i = !1))
  24327. : t.length >= 200 && ((o = Qt), (i = !1), (t = new Kn(t)))
  24328. e: for (; ++a < s; ) {
  24329. var u = e[a],
  24330. p = null == n ? u : n(u)
  24331. if (((u = r || 0 !== u ? u : 0), i && p == p)) {
  24332. for (var d = c; d--; ) if (t[d] === p) continue e
  24333. l.push(u)
  24334. } else o(t, p, r) || l.push(u)
  24335. }
  24336. return l
  24337. }
  24338. ;(Vn.templateSettings = {
  24339. escape: J,
  24340. evaluate: Q,
  24341. interpolate: X,
  24342. variable: '',
  24343. imports: { _: Vn }
  24344. }),
  24345. (Vn.prototype = Hn.prototype),
  24346. (Vn.prototype.constructor = Vn),
  24347. (Gn.prototype = Ln(Hn.prototype)),
  24348. (Gn.prototype.constructor = Gn),
  24349. (qn.prototype = Ln(Hn.prototype)),
  24350. (qn.prototype.constructor = qn),
  24351. (Un.prototype.clear = function () {
  24352. ;(this.__data__ = Tn ? Tn(null) : {}), (this.size = 0)
  24353. }),
  24354. (Un.prototype.delete = function (e) {
  24355. var t = this.has(e) && delete this.__data__[e]
  24356. return (this.size -= t ? 1 : 0), t
  24357. }),
  24358. (Un.prototype.get = function (e) {
  24359. var t = this.__data__
  24360. if (Tn) {
  24361. var r = t[e]
  24362. return r === a ? n : r
  24363. }
  24364. return De.call(t, e) ? t[e] : n
  24365. }),
  24366. (Un.prototype.has = function (e) {
  24367. var t = this.__data__
  24368. return Tn ? t[e] !== n : De.call(t, e)
  24369. }),
  24370. (Un.prototype.set = function (e, t) {
  24371. var r = this.__data__
  24372. return (this.size += this.has(e) ? 0 : 1), (r[e] = Tn && t === n ? a : t), this
  24373. }),
  24374. (Wn.prototype.clear = function () {
  24375. ;(this.__data__ = []), (this.size = 0)
  24376. }),
  24377. (Wn.prototype.delete = function (e) {
  24378. var t = this.__data__,
  24379. n = nr(t, e)
  24380. return (
  24381. !(n < 0) && (n == t.length - 1 ? t.pop() : Ye.call(t, n, 1), --this.size, !0)
  24382. )
  24383. }),
  24384. (Wn.prototype.get = function (e) {
  24385. var t = this.__data__,
  24386. r = nr(t, e)
  24387. return r < 0 ? n : t[r][1]
  24388. }),
  24389. (Wn.prototype.has = function (e) {
  24390. return nr(this.__data__, e) > -1
  24391. }),
  24392. (Wn.prototype.set = function (e, t) {
  24393. var n = this.__data__,
  24394. r = nr(n, e)
  24395. return r < 0 ? (++this.size, n.push([e, t])) : (n[r][1] = t), this
  24396. }),
  24397. ($n.prototype.clear = function () {
  24398. ;(this.size = 0),
  24399. (this.__data__ = { hash: new Un(), map: new (Sn || Wn)(), string: new Un() })
  24400. }),
  24401. ($n.prototype.delete = function (e) {
  24402. var t = co(this, e).delete(e)
  24403. return (this.size -= t ? 1 : 0), t
  24404. }),
  24405. ($n.prototype.get = function (e) {
  24406. return co(this, e).get(e)
  24407. }),
  24408. ($n.prototype.has = function (e) {
  24409. return co(this, e).has(e)
  24410. }),
  24411. ($n.prototype.set = function (e, t) {
  24412. var n = co(this, e),
  24413. r = n.size
  24414. return n.set(e, t), (this.size += n.size == r ? 0 : 1), this
  24415. }),
  24416. (Kn.prototype.add = Kn.prototype.push =
  24417. function (e) {
  24418. return this.__data__.set(e, a), this
  24419. }),
  24420. (Kn.prototype.has = function (e) {
  24421. return this.__data__.has(e)
  24422. }),
  24423. (Yn.prototype.clear = function () {
  24424. ;(this.__data__ = new Wn()), (this.size = 0)
  24425. }),
  24426. (Yn.prototype.delete = function (e) {
  24427. var t = this.__data__,
  24428. n = t.delete(e)
  24429. return (this.size = t.size), n
  24430. }),
  24431. (Yn.prototype.get = function (e) {
  24432. return this.__data__.get(e)
  24433. }),
  24434. (Yn.prototype.has = function (e) {
  24435. return this.__data__.has(e)
  24436. }),
  24437. (Yn.prototype.set = function (e, t) {
  24438. var n = this.__data__
  24439. if (n instanceof Wn) {
  24440. var r = n.__data__
  24441. if (!Sn || r.length < 199) return r.push([e, t]), (this.size = ++n.size), this
  24442. n = this.__data__ = new $n(r)
  24443. }
  24444. return n.set(e, t), (this.size = n.size), this
  24445. })
  24446. var dr = za(_r),
  24447. fr = za(Ar, !0)
  24448. function hr(e, t) {
  24449. var n = !0
  24450. return (
  24451. dr(e, function (e, r, a) {
  24452. return (n = !!t(e, r, a))
  24453. }),
  24454. n
  24455. )
  24456. }
  24457. function vr(e, t, r) {
  24458. for (var a = -1, o = e.length; ++a < o; ) {
  24459. var i = e[a],
  24460. s = t(i)
  24461. if (null != s && (l === n ? s == s && !ds(s) : r(s, l)))
  24462. var l = s,
  24463. c = i
  24464. }
  24465. return c
  24466. }
  24467. function mr(e, t) {
  24468. var n = []
  24469. return (
  24470. dr(e, function (e, r, a) {
  24471. t(e, r, a) && n.push(e)
  24472. }),
  24473. n
  24474. )
  24475. }
  24476. function gr(e, t, n, r, a) {
  24477. var o = -1,
  24478. i = e.length
  24479. for (n || (n = yo), a || (a = []); ++o < i; ) {
  24480. var s = e[o]
  24481. t > 0 && n(s)
  24482. ? t > 1
  24483. ? gr(s, t - 1, n, r, a)
  24484. : Mt(a, s)
  24485. : r || (a[a.length] = s)
  24486. }
  24487. return a
  24488. }
  24489. var yr = Oa(),
  24490. br = Oa(!0)
  24491. function _r(e, t) {
  24492. return e && yr(e, t, Ds)
  24493. }
  24494. function Ar(e, t) {
  24495. return e && br(e, t, Ds)
  24496. }
  24497. function xr(e, t) {
  24498. return Ct(t, function (t) {
  24499. return ts(e[t])
  24500. })
  24501. }
  24502. function wr(e, t) {
  24503. for (var r = 0, a = (t = ba(t, e)).length; null != e && r < a; ) e = e[Lo(t[r++])]
  24504. return r && r == a ? e : n
  24505. }
  24506. function kr(e, t, n) {
  24507. var r = t(e)
  24508. return Ki(e) ? r : Mt(r, n(e))
  24509. }
  24510. function Sr(e) {
  24511. return null == e
  24512. ? e === n
  24513. ? '[object Undefined]'
  24514. : '[object Null]'
  24515. : it && it in Ee(e)
  24516. ? (function (e) {
  24517. var t = De.call(e, it),
  24518. r = e[it]
  24519. try {
  24520. e[it] = n
  24521. var a = !0
  24522. } catch (i) {}
  24523. var o = Ne.call(e)
  24524. a && (t ? (e[it] = r) : delete e[it])
  24525. return o
  24526. })(e)
  24527. : (function (e) {
  24528. return Ne.call(e)
  24529. })(e)
  24530. }
  24531. function Er(e, t) {
  24532. return e > t
  24533. }
  24534. function Pr(e, t) {
  24535. return null != e && De.call(e, t)
  24536. }
  24537. function Cr(e, t) {
  24538. return null != e && t in Ee(e)
  24539. }
  24540. function Tr(e, t, r) {
  24541. for (
  24542. var a = r ? It : Tt,
  24543. o = e[0].length,
  24544. i = e.length,
  24545. s = i,
  24546. l = oe(i),
  24547. c = 1 / 0,
  24548. u = [];
  24549. s--;
  24550. ) {
  24551. var p = e[s]
  24552. s && t && (p = Rt(p, Yt(t))),
  24553. (c = bn(p.length, c)),
  24554. (l[s] = !r && (t || (o >= 120 && p.length >= 120)) ? new Kn(s && p) : n)
  24555. }
  24556. p = e[0]
  24557. var d = -1,
  24558. f = l[0]
  24559. e: for (; ++d < o && u.length < c; ) {
  24560. var h = p[d],
  24561. v = t ? t(h) : h
  24562. if (((h = r || 0 !== h ? h : 0), !(f ? Qt(f, v) : a(u, v, r)))) {
  24563. for (s = i; --s; ) {
  24564. var m = l[s]
  24565. if (!(m ? Qt(m, v) : a(e[s], v, r))) continue e
  24566. }
  24567. f && f.push(v), u.push(h)
  24568. }
  24569. }
  24570. return u
  24571. }
  24572. function Ir(e, t, r) {
  24573. var a = null == (e = Co(e, (t = ba(t, e)))) ? e : e[Lo(ei(t))]
  24574. return null == a ? n : wt(a, e, r)
  24575. }
  24576. function Rr(e) {
  24577. return os(e) && Sr(e) == m
  24578. }
  24579. function Mr(e, t, r, a, o) {
  24580. return (
  24581. e === t ||
  24582. (null == e || null == t || (!os(e) && !os(t))
  24583. ? e != e && t != t
  24584. : (function (e, t, r, a, o, i) {
  24585. var s = Ki(e),
  24586. l = Ki(t),
  24587. c = s ? g : vo(e),
  24588. u = l ? g : vo(t),
  24589. p = (c = c == m ? S : c) == S,
  24590. d = (u = u == m ? S : u) == S,
  24591. f = c == u
  24592. if (f && Xi(e)) {
  24593. if (!Xi(t)) return !1
  24594. ;(s = !0), (p = !1)
  24595. }
  24596. if (f && !p)
  24597. return (
  24598. i || (i = new Yn()),
  24599. s || fs(e)
  24600. ? to(e, t, r, a, o, i)
  24601. : (function (e, t, n, r, a, o, i) {
  24602. switch (n) {
  24603. case z:
  24604. if (
  24605. e.byteLength != t.byteLength ||
  24606. e.byteOffset != t.byteOffset
  24607. )
  24608. return !1
  24609. ;(e = e.buffer), (t = t.buffer)
  24610. case M:
  24611. return !(
  24612. e.byteLength != t.byteLength || !o(new qe(e), new qe(t))
  24613. )
  24614. case y:
  24615. case b:
  24616. case k:
  24617. return qi(+e, +t)
  24618. case _:
  24619. return e.name == t.name && e.message == t.message
  24620. case P:
  24621. case T:
  24622. return e == t + ''
  24623. case w:
  24624. var s = on
  24625. case C:
  24626. var l = 1 & r
  24627. if ((s || (s = cn), e.size != t.size && !l)) return !1
  24628. var c = i.get(e)
  24629. if (c) return c == t
  24630. ;(r |= 2), i.set(e, t)
  24631. var u = to(s(e), s(t), r, a, o, i)
  24632. return i.delete(e), u
  24633. case I:
  24634. if (Nn) return Nn.call(e) == Nn.call(t)
  24635. }
  24636. return !1
  24637. })(e, t, c, r, a, o, i)
  24638. )
  24639. if (!(1 & r)) {
  24640. var h = p && De.call(e, '__wrapped__'),
  24641. v = d && De.call(t, '__wrapped__')
  24642. if (h || v) {
  24643. var A = h ? e.value() : e,
  24644. x = v ? t.value() : t
  24645. return i || (i = new Yn()), o(A, x, r, a, i)
  24646. }
  24647. }
  24648. if (!f) return !1
  24649. return (
  24650. i || (i = new Yn()),
  24651. (function (e, t, r, a, o, i) {
  24652. var s = 1 & r,
  24653. l = ro(e),
  24654. c = l.length,
  24655. u = ro(t).length
  24656. if (c != u && !s) return !1
  24657. var p = c
  24658. for (; p--; ) {
  24659. var d = l[p]
  24660. if (!(s ? d in t : De.call(t, d))) return !1
  24661. }
  24662. var f = i.get(e),
  24663. h = i.get(t)
  24664. if (f && h) return f == t && h == e
  24665. var v = !0
  24666. i.set(e, t), i.set(t, e)
  24667. var m = s
  24668. for (; ++p < c; ) {
  24669. var g = e[(d = l[p])],
  24670. y = t[d]
  24671. if (a) var b = s ? a(y, g, d, t, e, i) : a(g, y, d, e, t, i)
  24672. if (!(b === n ? g === y || o(g, y, r, a, i) : b)) {
  24673. v = !1
  24674. break
  24675. }
  24676. m || (m = 'constructor' == d)
  24677. }
  24678. if (v && !m) {
  24679. var _ = e.constructor,
  24680. A = t.constructor
  24681. _ == A ||
  24682. !('constructor' in e) ||
  24683. !('constructor' in t) ||
  24684. ('function' == typeof _ &&
  24685. _ instanceof _ &&
  24686. 'function' == typeof A &&
  24687. A instanceof A) ||
  24688. (v = !1)
  24689. }
  24690. return i.delete(e), i.delete(t), v
  24691. })(e, t, r, a, o, i)
  24692. )
  24693. })(e, t, r, a, Mr, o))
  24694. )
  24695. }
  24696. function zr(e, t, r, a) {
  24697. var o = r.length,
  24698. i = o,
  24699. s = !a
  24700. if (null == e) return !i
  24701. for (e = Ee(e); o--; ) {
  24702. var l = r[o]
  24703. if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
  24704. }
  24705. for (; ++o < i; ) {
  24706. var c = (l = r[o])[0],
  24707. u = e[c],
  24708. p = l[1]
  24709. if (s && l[2]) {
  24710. if (u === n && !(c in e)) return !1
  24711. } else {
  24712. var d = new Yn()
  24713. if (a) var f = a(u, p, c, e, t, d)
  24714. if (!(f === n ? Mr(p, u, 3, a, d) : f)) return !1
  24715. }
  24716. }
  24717. return !0
  24718. }
  24719. function Or(e) {
  24720. return !(!as(e) || ((t = e), Be && Be in t)) && (ts(e) ? Le : me).test(Ho(e))
  24721. var t
  24722. }
  24723. function Dr(e) {
  24724. return 'function' == typeof e
  24725. ? e
  24726. : null == e
  24727. ? sl
  24728. : 'object' == _typeof2(e)
  24729. ? Ki(e)
  24730. ? Lr(e[0], e[1])
  24731. : Vr(e)
  24732. : ml(e)
  24733. }
  24734. function Fr(e) {
  24735. if (!ko(e)) return gn(e)
  24736. var t = []
  24737. for (var n in Ee(e)) De.call(e, n) && 'constructor' != n && t.push(n)
  24738. return t
  24739. }
  24740. function Br(e) {
  24741. if (!as(e))
  24742. return (function (e) {
  24743. var t = []
  24744. if (null != e) for (var n in Ee(e)) t.push(n)
  24745. return t
  24746. })(e)
  24747. var t = ko(e),
  24748. n = []
  24749. for (var r in e) ('constructor' != r || (!t && De.call(e, r))) && n.push(r)
  24750. return n
  24751. }
  24752. function Nr(e, t) {
  24753. return e < t
  24754. }
  24755. function jr(e, t) {
  24756. var n = -1,
  24757. r = Ji(e) ? oe(e.length) : []
  24758. return (
  24759. dr(e, function (e, a, o) {
  24760. r[++n] = t(e, a, o)
  24761. }),
  24762. r
  24763. )
  24764. }
  24765. function Vr(e) {
  24766. var t = uo(e)
  24767. return 1 == t.length && t[0][2]
  24768. ? Eo(t[0][0], t[0][1])
  24769. : function (n) {
  24770. return n === e || zr(n, e, t)
  24771. }
  24772. }
  24773. function Lr(e, t) {
  24774. return Ao(e) && So(t)
  24775. ? Eo(Lo(e), t)
  24776. : function (r) {
  24777. var a = Is(r, e)
  24778. return a === n && a === t ? Rs(r, e) : Mr(t, a, 3)
  24779. }
  24780. }
  24781. function Hr(e, t, r, a, o) {
  24782. e !== t &&
  24783. yr(
  24784. t,
  24785. function (i, s) {
  24786. if ((o || (o = new Yn()), as(i)))
  24787. !(function (e, t, r, a, o, i, s) {
  24788. var l = Io(e, r),
  24789. c = Io(t, r),
  24790. u = s.get(c)
  24791. if (u) return void er(e, r, u)
  24792. var p = i ? i(l, c, r + '', e, t, s) : n,
  24793. d = p === n
  24794. if (d) {
  24795. var f = Ki(c),
  24796. h = !f && Xi(c),
  24797. v = !f && !h && fs(c)
  24798. ;(p = c),
  24799. f || h || v
  24800. ? Ki(l)
  24801. ? (p = l)
  24802. : Qi(l)
  24803. ? (p = Ta(l))
  24804. : h
  24805. ? ((d = !1), (p = wa(c, !0)))
  24806. : v
  24807. ? ((d = !1), (p = Sa(c, !0)))
  24808. : (p = [])
  24809. : ls(c) || $i(c)
  24810. ? ((p = l),
  24811. $i(l) ? (p = As(l)) : (as(l) && !ts(l)) || (p = go(c)))
  24812. : (d = !1)
  24813. }
  24814. d && (s.set(c, p), o(p, c, a, i, s), s.delete(c))
  24815. er(e, r, p)
  24816. })(e, t, s, r, Hr, a, o)
  24817. else {
  24818. var l = a ? a(Io(e, s), i, s + '', e, t, o) : n
  24819. l === n && (l = i), er(e, s, l)
  24820. }
  24821. },
  24822. Fs
  24823. )
  24824. }
  24825. function Gr(e, t) {
  24826. var r = e.length
  24827. if (r) return bo((t += t < 0 ? r : 0), r) ? e[t] : n
  24828. }
  24829. function qr(e, t, n) {
  24830. t = t.length
  24831. ? Rt(t, function (e) {
  24832. return Ki(e)
  24833. ? function (t) {
  24834. return wr(t, 1 === e.length ? e[0] : e)
  24835. }
  24836. : e
  24837. })
  24838. : [sl]
  24839. var r = -1
  24840. return (
  24841. (t = Rt(t, Yt(lo()))),
  24842. (function (e, t) {
  24843. var n = e.length
  24844. for (e.sort(t); n--; ) e[n] = e[n].value
  24845. return e
  24846. })(
  24847. jr(e, function (e, n, a) {
  24848. return {
  24849. criteria: Rt(t, function (t) {
  24850. return t(e)
  24851. }),
  24852. index: ++r,
  24853. value: e
  24854. }
  24855. }),
  24856. function (e, t) {
  24857. return (function (e, t, n) {
  24858. var r = -1,
  24859. a = e.criteria,
  24860. o = t.criteria,
  24861. i = a.length,
  24862. s = n.length
  24863. for (; ++r < i; ) {
  24864. var l = Ea(a[r], o[r])
  24865. if (l) return r >= s ? l : l * ('desc' == n[r] ? -1 : 1)
  24866. }
  24867. return e.index - t.index
  24868. })(e, t, n)
  24869. }
  24870. )
  24871. )
  24872. }
  24873. function Ur(e, t, n) {
  24874. for (var r = -1, a = t.length, o = {}; ++r < a; ) {
  24875. var i = t[r],
  24876. s = wr(e, i)
  24877. n(s, i) && Zr(o, ba(i, e), s)
  24878. }
  24879. return o
  24880. }
  24881. function Wr(e, t, n, r) {
  24882. var a = r ? Vt : jt,
  24883. o = -1,
  24884. i = t.length,
  24885. s = e
  24886. for (e === t && (t = Ta(t)), n && (s = Rt(e, Yt(n))); ++o < i; )
  24887. for (var l = 0, c = t[o], u = n ? n(c) : c; (l = a(s, u, l, r)) > -1; )
  24888. s !== e && Ye.call(s, l, 1), Ye.call(e, l, 1)
  24889. return e
  24890. }
  24891. function $r(e, t) {
  24892. for (var n = e ? t.length : 0, r = n - 1; n--; ) {
  24893. var a = t[n]
  24894. if (n == r || a !== o) {
  24895. var o = a
  24896. bo(a) ? Ye.call(e, a, 1) : pa(e, a)
  24897. }
  24898. }
  24899. return e
  24900. }
  24901. function Kr(e, t) {
  24902. return e + mt(xn() * (t - e + 1))
  24903. }
  24904. function Yr(e, t) {
  24905. var n = ''
  24906. if (!e || t < 1 || t > d) return n
  24907. do {
  24908. t % 2 && (n += e), (t = mt(t / 2)) && (e += e)
  24909. } while (t)
  24910. return n
  24911. }
  24912. function Jr(e, t) {
  24913. return zo(Po(e, t, sl), e + '')
  24914. }
  24915. function Qr(e) {
  24916. return Qn(qs(e))
  24917. }
  24918. function Xr(e, t) {
  24919. var n = qs(e)
  24920. return Fo(n, sr(t, 0, n.length))
  24921. }
  24922. function Zr(e, t, r, a) {
  24923. if (!as(e)) return e
  24924. for (
  24925. var o = -1, i = (t = ba(t, e)).length, s = i - 1, l = e;
  24926. null != l && ++o < i;
  24927. ) {
  24928. var c = Lo(t[o]),
  24929. u = r
  24930. if ('__proto__' === c || 'constructor' === c || 'prototype' === c) return e
  24931. if (o != s) {
  24932. var p = l[c]
  24933. ;(u = a ? a(p, c, l) : n) === n && (u = as(p) ? p : bo(t[o + 1]) ? [] : {})
  24934. }
  24935. tr(l, c, u), (l = l[c])
  24936. }
  24937. return e
  24938. }
  24939. var ea = In
  24940. ? function (e, t) {
  24941. return In.set(e, t), e
  24942. }
  24943. : sl,
  24944. ta = ct
  24945. ? function (e, t) {
  24946. return ct(e, 'toString', {
  24947. configurable: !0,
  24948. enumerable: !1,
  24949. value: al(t),
  24950. writable: !0
  24951. })
  24952. }
  24953. : sl
  24954. function na(e) {
  24955. return Fo(qs(e))
  24956. }
  24957. function ra(e, t, n) {
  24958. var r = -1,
  24959. a = e.length
  24960. t < 0 && (t = -t > a ? 0 : a + t),
  24961. (n = n > a ? a : n) < 0 && (n += a),
  24962. (a = t > n ? 0 : (n - t) >>> 0),
  24963. (t >>>= 0)
  24964. for (var o = oe(a); ++r < a; ) o[r] = e[r + t]
  24965. return o
  24966. }
  24967. function aa(e, t) {
  24968. var n
  24969. return (
  24970. dr(e, function (e, r, a) {
  24971. return !(n = t(e, r, a))
  24972. }),
  24973. !!n
  24974. )
  24975. }
  24976. function oa(e, t, n) {
  24977. var r = 0,
  24978. a = null == e ? r : e.length
  24979. if ('number' == typeof t && t == t && a <= 2147483647) {
  24980. for (; r < a; ) {
  24981. var o = (r + a) >>> 1,
  24982. i = e[o]
  24983. null !== i && !ds(i) && (n ? i <= t : i < t) ? (r = o + 1) : (a = o)
  24984. }
  24985. return a
  24986. }
  24987. return ia(e, t, sl, n)
  24988. }
  24989. function ia(e, t, r, a) {
  24990. var o = 0,
  24991. i = null == e ? 0 : e.length
  24992. if (0 === i) return 0
  24993. for (var s = (t = r(t)) != t, l = null === t, c = ds(t), u = t === n; o < i; ) {
  24994. var p = mt((o + i) / 2),
  24995. d = r(e[p]),
  24996. f = d !== n,
  24997. h = null === d,
  24998. v = d == d,
  24999. m = ds(d)
  25000. if (s) var g = a || v
  25001. else
  25002. g = u
  25003. ? v && (a || f)
  25004. : l
  25005. ? v && f && (a || !h)
  25006. : c
  25007. ? v && f && !h && (a || !m)
  25008. : !h && !m && (a ? d <= t : d < t)
  25009. g ? (o = p + 1) : (i = p)
  25010. }
  25011. return bn(i, 4294967294)
  25012. }
  25013. function sa(e, t) {
  25014. for (var n = -1, r = e.length, a = 0, o = []; ++n < r; ) {
  25015. var i = e[n],
  25016. s = t ? t(i) : i
  25017. if (!n || !qi(s, l)) {
  25018. var l = s
  25019. o[a++] = 0 === i ? 0 : i
  25020. }
  25021. }
  25022. return o
  25023. }
  25024. function la(e) {
  25025. return 'number' == typeof e ? e : ds(e) ? f : +e
  25026. }
  25027. function ca(e) {
  25028. if ('string' == typeof e) return e
  25029. if (Ki(e)) return Rt(e, ca) + ''
  25030. if (ds(e)) return jn ? jn.call(e) : ''
  25031. var t = e + ''
  25032. return '0' == t && 1 / e == -1 / 0 ? '-0' : t
  25033. }
  25034. function ua(e, t, n) {
  25035. var r = -1,
  25036. a = Tt,
  25037. o = e.length,
  25038. i = !0,
  25039. s = [],
  25040. l = s
  25041. if (n) (i = !1), (a = It)
  25042. else if (o >= 200) {
  25043. var c = t ? null : Ya(e)
  25044. if (c) return cn(c)
  25045. ;(i = !1), (a = Qt), (l = new Kn())
  25046. } else l = t ? [] : s
  25047. e: for (; ++r < o; ) {
  25048. var u = e[r],
  25049. p = t ? t(u) : u
  25050. if (((u = n || 0 !== u ? u : 0), i && p == p)) {
  25051. for (var d = l.length; d--; ) if (l[d] === p) continue e
  25052. t && l.push(p), s.push(u)
  25053. } else a(l, p, n) || (l !== s && l.push(p), s.push(u))
  25054. }
  25055. return s
  25056. }
  25057. function pa(e, t) {
  25058. return null == (e = Co(e, (t = ba(t, e)))) || delete e[Lo(ei(t))]
  25059. }
  25060. function da(e, t, n, r) {
  25061. return Zr(e, t, n(wr(e, t)), r)
  25062. }
  25063. function fa(e, t, n, r) {
  25064. for (var a = e.length, o = r ? a : -1; (r ? o-- : ++o < a) && t(e[o], o, e); );
  25065. return n ? ra(e, r ? 0 : o, r ? o + 1 : a) : ra(e, r ? o + 1 : 0, r ? a : o)
  25066. }
  25067. function ha(e, t) {
  25068. var n = e
  25069. return (
  25070. n instanceof qn && (n = n.value()),
  25071. zt(
  25072. t,
  25073. function (e, t) {
  25074. return t.func.apply(t.thisArg, Mt([e], t.args))
  25075. },
  25076. n
  25077. )
  25078. )
  25079. }
  25080. function va(e, t, n) {
  25081. var r = e.length
  25082. if (r < 2) return r ? ua(e[0]) : []
  25083. for (var a = -1, o = oe(r); ++a < r; )
  25084. for (var i = e[a], s = -1; ++s < r; )
  25085. s != a && (o[a] = pr(o[a] || i, e[s], t, n))
  25086. return ua(gr(o, 1), t, n)
  25087. }
  25088. function ma(e, t, r) {
  25089. for (var a = -1, o = e.length, i = t.length, s = {}; ++a < o; ) {
  25090. var l = a < i ? t[a] : n
  25091. r(s, e[a], l)
  25092. }
  25093. return s
  25094. }
  25095. function ga(e) {
  25096. return Qi(e) ? e : []
  25097. }
  25098. function ya(e) {
  25099. return 'function' == typeof e ? e : sl
  25100. }
  25101. function ba(e, t) {
  25102. return Ki(e) ? e : Ao(e, t) ? [e] : Vo(xs(e))
  25103. }
  25104. var _a = Jr
  25105. function Aa(e, t, r) {
  25106. var a = e.length
  25107. return (r = r === n ? a : r), !t && r >= a ? e : ra(e, t, r)
  25108. }
  25109. var xa =
  25110. ut ||
  25111. function (e) {
  25112. return pt.clearTimeout(e)
  25113. }
  25114. function wa(e, t) {
  25115. if (t) return e.slice()
  25116. var n = e.length,
  25117. r = Ue ? Ue(n) : new e.constructor(n)
  25118. return e.copy(r), r
  25119. }
  25120. function ka(e) {
  25121. var t = new e.constructor(e.byteLength)
  25122. return new qe(t).set(new qe(e)), t
  25123. }
  25124. function Sa(e, t) {
  25125. var n = t ? ka(e.buffer) : e.buffer
  25126. return new e.constructor(n, e.byteOffset, e.length)
  25127. }
  25128. function Ea(e, t) {
  25129. if (e !== t) {
  25130. var r = e !== n,
  25131. a = null === e,
  25132. o = e == e,
  25133. i = ds(e),
  25134. s = t !== n,
  25135. l = null === t,
  25136. c = t == t,
  25137. u = ds(t)
  25138. if (
  25139. (!l && !u && !i && e > t) ||
  25140. (i && s && c && !l && !u) ||
  25141. (a && s && c) ||
  25142. (!r && c) ||
  25143. !o
  25144. )
  25145. return 1
  25146. if (
  25147. (!a && !i && !u && e < t) ||
  25148. (u && r && o && !a && !i) ||
  25149. (l && r && o) ||
  25150. (!s && o) ||
  25151. !c
  25152. )
  25153. return -1
  25154. }
  25155. return 0
  25156. }
  25157. function Pa(e, t, n, r) {
  25158. for (
  25159. var a = -1,
  25160. o = e.length,
  25161. i = n.length,
  25162. s = -1,
  25163. l = t.length,
  25164. c = yn(o - i, 0),
  25165. u = oe(l + c),
  25166. p = !r;
  25167. ++s < l;
  25168. )
  25169. u[s] = t[s]
  25170. for (; ++a < i; ) (p || a < o) && (u[n[a]] = e[a])
  25171. for (; c--; ) u[s++] = e[a++]
  25172. return u
  25173. }
  25174. function Ca(e, t, n, r) {
  25175. for (
  25176. var a = -1,
  25177. o = e.length,
  25178. i = -1,
  25179. s = n.length,
  25180. l = -1,
  25181. c = t.length,
  25182. u = yn(o - s, 0),
  25183. p = oe(u + c),
  25184. d = !r;
  25185. ++a < u;
  25186. )
  25187. p[a] = e[a]
  25188. for (var f = a; ++l < c; ) p[f + l] = t[l]
  25189. for (; ++i < s; ) (d || a < o) && (p[f + n[i]] = e[a++])
  25190. return p
  25191. }
  25192. function Ta(e, t) {
  25193. var n = -1,
  25194. r = e.length
  25195. for (t || (t = oe(r)); ++n < r; ) t[n] = e[n]
  25196. return t
  25197. }
  25198. function Ia(e, t, r, a) {
  25199. var o = !r
  25200. r || (r = {})
  25201. for (var i = -1, s = t.length; ++i < s; ) {
  25202. var l = t[i],
  25203. c = a ? a(r[l], e[l], l, r, e) : n
  25204. c === n && (c = e[l]), o ? or(r, l, c) : tr(r, l, c)
  25205. }
  25206. return r
  25207. }
  25208. function Ra(e, t) {
  25209. return function (n, r) {
  25210. var a = Ki(n) ? kt : rr,
  25211. o = t ? t() : {}
  25212. return a(n, e, lo(r, 2), o)
  25213. }
  25214. }
  25215. function Ma(e) {
  25216. return Jr(function (t, r) {
  25217. var a = -1,
  25218. o = r.length,
  25219. i = o > 1 ? r[o - 1] : n,
  25220. s = o > 2 ? r[2] : n
  25221. for (
  25222. i = e.length > 3 && 'function' == typeof i ? (o--, i) : n,
  25223. s && _o(r[0], r[1], s) && ((i = o < 3 ? n : i), (o = 1)),
  25224. t = Ee(t);
  25225. ++a < o;
  25226. ) {
  25227. var l = r[a]
  25228. l && e(t, l, a, i)
  25229. }
  25230. return t
  25231. })
  25232. }
  25233. function za(e, t) {
  25234. return function (n, r) {
  25235. if (null == n) return n
  25236. if (!Ji(n)) return e(n, r)
  25237. for (
  25238. var a = n.length, o = t ? a : -1, i = Ee(n);
  25239. (t ? o-- : ++o < a) && !1 !== r(i[o], o, i);
  25240. );
  25241. return n
  25242. }
  25243. }
  25244. function Oa(e) {
  25245. return function (t, n, r) {
  25246. for (var a = -1, o = Ee(t), i = r(t), s = i.length; s--; ) {
  25247. var l = i[e ? s : ++a]
  25248. if (!1 === n(o[l], l, o)) break
  25249. }
  25250. return t
  25251. }
  25252. }
  25253. function Da(e) {
  25254. return function (t) {
  25255. var r = an((t = xs(t))) ? pn(t) : n,
  25256. a = r ? r[0] : t.charAt(0),
  25257. o = r ? Aa(r, 1).join('') : t.slice(1)
  25258. return a[e]() + o
  25259. }
  25260. }
  25261. function Fa(e) {
  25262. return function (t) {
  25263. return zt(tl($s(t).replace(Je, '')), e, '')
  25264. }
  25265. }
  25266. function Ba(e) {
  25267. return function () {
  25268. var t = arguments
  25269. switch (t.length) {
  25270. case 0:
  25271. return new e()
  25272. case 1:
  25273. return new e(t[0])
  25274. case 2:
  25275. return new e(t[0], t[1])
  25276. case 3:
  25277. return new e(t[0], t[1], t[2])
  25278. case 4:
  25279. return new e(t[0], t[1], t[2], t[3])
  25280. case 5:
  25281. return new e(t[0], t[1], t[2], t[3], t[4])
  25282. case 6:
  25283. return new e(t[0], t[1], t[2], t[3], t[4], t[5])
  25284. case 7:
  25285. return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6])
  25286. }
  25287. var n = Ln(e.prototype),
  25288. r = e.apply(n, t)
  25289. return as(r) ? r : n
  25290. }
  25291. }
  25292. function Na(e) {
  25293. return function (t, r, a) {
  25294. var o = Ee(t)
  25295. if (!Ji(t)) {
  25296. var i = lo(r, 3)
  25297. ;(t = Ds(t)),
  25298. (r = function (e) {
  25299. return i(o[e], e, o)
  25300. })
  25301. }
  25302. var s = e(t, r, a)
  25303. return s > -1 ? o[i ? t[s] : s] : n
  25304. }
  25305. }
  25306. function ja(e) {
  25307. return no(function (t) {
  25308. var a = t.length,
  25309. o = a,
  25310. i = Gn.prototype.thru
  25311. for (e && t.reverse(); o--; ) {
  25312. var s = t[o]
  25313. if ('function' != typeof s) throw new Te(r)
  25314. if (i && !l && 'wrapper' == io(s)) var l = new Gn([], !0)
  25315. }
  25316. for (o = l ? o : a; ++o < a; ) {
  25317. var c = io((s = t[o])),
  25318. u = 'wrapper' == c ? oo(s) : n
  25319. l =
  25320. u && xo(u[0]) && 424 == u[1] && !u[4].length && 1 == u[9]
  25321. ? l[io(u[0])].apply(l, u[3])
  25322. : 1 == s.length && xo(s)
  25323. ? l[c]()
  25324. : l.thru(s)
  25325. }
  25326. return function () {
  25327. var e = arguments,
  25328. n = e[0]
  25329. if (l && 1 == e.length && Ki(n)) return l.plant(n).value()
  25330. for (var r = 0, o = a ? t[r].apply(this, e) : n; ++r < a; )
  25331. o = t[r].call(this, o)
  25332. return o
  25333. }
  25334. })
  25335. }
  25336. function Va(e, t, r, a, o, i, s, l, u, p) {
  25337. var d = t & c,
  25338. f = 1 & t,
  25339. h = 2 & t,
  25340. v = 24 & t,
  25341. m = 512 & t,
  25342. g = h ? n : Ba(e)
  25343. return function n() {
  25344. for (var c = arguments.length, y = oe(c), b = c; b--; ) y[b] = arguments[b]
  25345. if (v)
  25346. var _ = so(n),
  25347. A = en(y, _)
  25348. if (
  25349. (a && (y = Pa(y, a, o, v)), i && (y = Ca(y, i, s, v)), (c -= A), v && c < p)
  25350. ) {
  25351. var x = ln(y, _)
  25352. return $a(e, t, Va, n.placeholder, r, y, x, l, u, p - c)
  25353. }
  25354. var w = f ? r : this,
  25355. k = h ? w[e] : e
  25356. return (
  25357. (c = y.length),
  25358. l ? (y = To(y, l)) : m && c > 1 && y.reverse(),
  25359. d && u < c && (y.length = u),
  25360. this && this !== pt && this instanceof n && (k = g || Ba(k)),
  25361. k.apply(w, y)
  25362. )
  25363. }
  25364. }
  25365. function La(e, t) {
  25366. return function (n, r) {
  25367. return (function (e, t, n, r) {
  25368. return (
  25369. _r(e, function (e, a, o) {
  25370. t(r, n(e), a, o)
  25371. }),
  25372. r
  25373. )
  25374. })(n, e, t(r), {})
  25375. }
  25376. }
  25377. function Ha(e, t) {
  25378. return function (r, a) {
  25379. var o
  25380. if (r === n && a === n) return t
  25381. if ((r !== n && (o = r), a !== n)) {
  25382. if (o === n) return a
  25383. 'string' == typeof r || 'string' == typeof a
  25384. ? ((r = ca(r)), (a = ca(a)))
  25385. : ((r = la(r)), (a = la(a))),
  25386. (o = e(r, a))
  25387. }
  25388. return o
  25389. }
  25390. }
  25391. function Ga(e) {
  25392. return no(function (t) {
  25393. return (
  25394. (t = Rt(t, Yt(lo()))),
  25395. Jr(function (n) {
  25396. var r = this
  25397. return e(t, function (e) {
  25398. return wt(e, r, n)
  25399. })
  25400. })
  25401. )
  25402. })
  25403. }
  25404. function qa(e, t) {
  25405. var r = (t = t === n ? ' ' : ca(t)).length
  25406. if (r < 2) return r ? Yr(t, e) : t
  25407. var a = Yr(t, vt(e / un(t)))
  25408. return an(t) ? Aa(pn(a), 0, e).join('') : a.slice(0, e)
  25409. }
  25410. function Ua(e) {
  25411. return function (t, r, a) {
  25412. return (
  25413. a && 'number' != typeof a && _o(t, r, a) && (r = a = n),
  25414. (t = gs(t)),
  25415. r === n ? ((r = t), (t = 0)) : (r = gs(r)),
  25416. (function (e, t, n, r) {
  25417. for (var a = -1, o = yn(vt((t - e) / (n || 1)), 0), i = oe(o); o--; )
  25418. (i[r ? o : ++a] = e), (e += n)
  25419. return i
  25420. })(t, r, (a = a === n ? (t < r ? 1 : -1) : gs(a)), e)
  25421. )
  25422. }
  25423. }
  25424. function Wa(e) {
  25425. return function (t, n) {
  25426. return (
  25427. ('string' == typeof t && 'string' == typeof n) || ((t = _s(t)), (n = _s(n))),
  25428. e(t, n)
  25429. )
  25430. }
  25431. }
  25432. function $a(e, t, r, a, o, i, c, u, p, d) {
  25433. var f = 8 & t
  25434. ;(t |= f ? s : l), 4 & (t &= ~(f ? l : s)) || (t &= -4)
  25435. var h = [e, t, o, f ? i : n, f ? c : n, f ? n : i, f ? n : c, u, p, d],
  25436. v = r.apply(n, h)
  25437. return xo(e) && Ro(v, h), (v.placeholder = a), Oo(v, e, t)
  25438. }
  25439. function Ka(e) {
  25440. var t = Se[e]
  25441. return function (e, n) {
  25442. if (((e = _s(e)), (n = null == n ? 0 : bn(ys(n), 292)) && vn(e))) {
  25443. var r = (xs(e) + 'e').split('e')
  25444. return +(
  25445. (r = (xs(t(r[0] + 'e' + (+r[1] + n))) + 'e').split('e'))[0] +
  25446. 'e' +
  25447. (+r[1] - n)
  25448. )
  25449. }
  25450. return t(e)
  25451. }
  25452. }
  25453. var Ya =
  25454. Pn && 1 / cn(new Pn([, -0]))[1] == p
  25455. ? function (e) {
  25456. return new Pn(e)
  25457. }
  25458. : dl
  25459. function Ja(e) {
  25460. return function (t) {
  25461. var n = vo(t)
  25462. return n == w
  25463. ? on(t)
  25464. : n == C
  25465. ? (function (e) {
  25466. var t = -1,
  25467. n = Array(e.size)
  25468. return (
  25469. e.forEach(function (e) {
  25470. n[++t] = [e, e]
  25471. }),
  25472. n
  25473. )
  25474. })(t)
  25475. : (function (e, t) {
  25476. return Rt(t, function (t) {
  25477. return [t, e[t]]
  25478. })
  25479. })(t, e(t))
  25480. }
  25481. }
  25482. function Qa(e, t, a, p, d, f, h, v) {
  25483. var m = 2 & t
  25484. if (!m && 'function' != typeof e) throw new Te(r)
  25485. var g = p ? p.length : 0
  25486. if (
  25487. (g || ((t &= -97), (p = d = n)),
  25488. (h = h === n ? h : yn(ys(h), 0)),
  25489. (v = v === n ? v : ys(v)),
  25490. (g -= d ? d.length : 0),
  25491. t & l)
  25492. ) {
  25493. var y = p,
  25494. b = d
  25495. p = d = n
  25496. }
  25497. var _ = m ? n : oo(e),
  25498. A = [e, t, a, p, d, y, b, f, h, v]
  25499. if (
  25500. (_ &&
  25501. (function (e, t) {
  25502. var n = e[1],
  25503. r = t[1],
  25504. a = n | r,
  25505. i = a < 131,
  25506. s =
  25507. (r == c && 8 == n) ||
  25508. (r == c && n == u && e[7].length <= t[8]) ||
  25509. (384 == r && t[7].length <= t[8] && 8 == n)
  25510. if (!i && !s) return e
  25511. 1 & r && ((e[2] = t[2]), (a |= 1 & n ? 0 : 4))
  25512. var l = t[3]
  25513. if (l) {
  25514. var p = e[3]
  25515. ;(e[3] = p ? Pa(p, l, t[4]) : l), (e[4] = p ? ln(e[3], o) : t[4])
  25516. }
  25517. ;(l = t[5]) &&
  25518. ((p = e[5]),
  25519. (e[5] = p ? Ca(p, l, t[6]) : l),
  25520. (e[6] = p ? ln(e[5], o) : t[6]))
  25521. ;(l = t[7]) && (e[7] = l)
  25522. r & c && (e[8] = null == e[8] ? t[8] : bn(e[8], t[8]))
  25523. null == e[9] && (e[9] = t[9])
  25524. ;(e[0] = t[0]), (e[1] = a)
  25525. })(A, _),
  25526. (e = A[0]),
  25527. (t = A[1]),
  25528. (a = A[2]),
  25529. (p = A[3]),
  25530. (d = A[4]),
  25531. !(v = A[9] = A[9] === n ? (m ? 0 : e.length) : yn(A[9] - g, 0)) &&
  25532. 24 & t &&
  25533. (t &= -25),
  25534. t && 1 != t)
  25535. )
  25536. x =
  25537. 8 == t || t == i
  25538. ? (function (e, t, r) {
  25539. var a = Ba(e)
  25540. return function o() {
  25541. for (var i = arguments.length, s = oe(i), l = i, c = so(o); l--; )
  25542. s[l] = arguments[l]
  25543. var u = i < 3 && s[0] !== c && s[i - 1] !== c ? [] : ln(s, c)
  25544. return (i -= u.length) < r
  25545. ? $a(e, t, Va, o.placeholder, n, s, u, n, n, r - i)
  25546. : wt(this && this !== pt && this instanceof o ? a : e, this, s)
  25547. }
  25548. })(e, t, v)
  25549. : (t != s && 33 != t) || d.length
  25550. ? Va.apply(n, A)
  25551. : (function (e, t, n, r) {
  25552. var a = 1 & t,
  25553. o = Ba(e)
  25554. return function t() {
  25555. for (
  25556. var i = -1,
  25557. s = arguments.length,
  25558. l = -1,
  25559. c = r.length,
  25560. u = oe(c + s),
  25561. p = this && this !== pt && this instanceof t ? o : e;
  25562. ++l < c;
  25563. )
  25564. u[l] = r[l]
  25565. for (; s--; ) u[l++] = arguments[++i]
  25566. return wt(p, a ? n : this, u)
  25567. }
  25568. })(e, t, a, p)
  25569. else
  25570. var x = (function (e, t, n) {
  25571. var r = 1 & t,
  25572. a = Ba(e)
  25573. return function t() {
  25574. return (this && this !== pt && this instanceof t ? a : e).apply(
  25575. r ? n : this,
  25576. arguments
  25577. )
  25578. }
  25579. })(e, t, a)
  25580. return Oo((_ ? ea : Ro)(x, A), e, t)
  25581. }
  25582. function Xa(e, t, r, a) {
  25583. return e === n || (qi(e, Me[r]) && !De.call(a, r)) ? t : e
  25584. }
  25585. function Za(e, t, r, a, o, i) {
  25586. return as(e) && as(t) && (i.set(t, e), Hr(e, t, n, Za, i), i.delete(t)), e
  25587. }
  25588. function eo(e) {
  25589. return ls(e) ? n : e
  25590. }
  25591. function to(e, t, r, a, o, i) {
  25592. var s = 1 & r,
  25593. l = e.length,
  25594. c = t.length
  25595. if (l != c && !(s && c > l)) return !1
  25596. var u = i.get(e),
  25597. p = i.get(t)
  25598. if (u && p) return u == t && p == e
  25599. var d = -1,
  25600. f = !0,
  25601. h = 2 & r ? new Kn() : n
  25602. for (i.set(e, t), i.set(t, e); ++d < l; ) {
  25603. var v = e[d],
  25604. m = t[d]
  25605. if (a) var g = s ? a(m, v, d, t, e, i) : a(v, m, d, e, t, i)
  25606. if (g !== n) {
  25607. if (g) continue
  25608. f = !1
  25609. break
  25610. }
  25611. if (h) {
  25612. if (
  25613. !Dt(t, function (e, t) {
  25614. if (!Qt(h, t) && (v === e || o(v, e, r, a, i))) return h.push(t)
  25615. })
  25616. ) {
  25617. f = !1
  25618. break
  25619. }
  25620. } else if (v !== m && !o(v, m, r, a, i)) {
  25621. f = !1
  25622. break
  25623. }
  25624. }
  25625. return i.delete(e), i.delete(t), f
  25626. }
  25627. function no(e) {
  25628. return zo(Po(e, n, Yo), e + '')
  25629. }
  25630. function ro(e) {
  25631. return kr(e, Ds, fo)
  25632. }
  25633. function ao(e) {
  25634. return kr(e, Fs, ho)
  25635. }
  25636. var oo = In
  25637. ? function (e) {
  25638. return In.get(e)
  25639. }
  25640. : dl
  25641. function io(e) {
  25642. for (var t = e.name + '', n = Rn[t], r = De.call(Rn, t) ? n.length : 0; r--; ) {
  25643. var a = n[r],
  25644. o = a.func
  25645. if (null == o || o == e) return a.name
  25646. }
  25647. return t
  25648. }
  25649. function so(e) {
  25650. return (De.call(Vn, 'placeholder') ? Vn : e).placeholder
  25651. }
  25652. function lo() {
  25653. var e = Vn.iteratee || ll
  25654. return (
  25655. (e = e === ll ? Dr : e), arguments.length ? e(arguments[0], arguments[1]) : e
  25656. )
  25657. }
  25658. function co(e, t) {
  25659. var n,
  25660. r,
  25661. a = e.__data__
  25662. return (
  25663. 'string' == (r = _typeof2((n = t))) ||
  25664. 'number' == r ||
  25665. 'symbol' == r ||
  25666. 'boolean' == r
  25667. ? '__proto__' !== n
  25668. : null === n
  25669. )
  25670. ? a['string' == typeof t ? 'string' : 'hash']
  25671. : a.map
  25672. }
  25673. function uo(e) {
  25674. for (var t = Ds(e), n = t.length; n--; ) {
  25675. var r = t[n],
  25676. a = e[r]
  25677. t[n] = [r, a, So(a)]
  25678. }
  25679. return t
  25680. }
  25681. function po(e, t) {
  25682. var r = (function (e, t) {
  25683. return null == e ? n : e[t]
  25684. })(e, t)
  25685. return Or(r) ? r : n
  25686. }
  25687. var fo = Ft
  25688. ? function (e) {
  25689. return null == e
  25690. ? []
  25691. : ((e = Ee(e)),
  25692. Ct(Ft(e), function (t) {
  25693. return Ke.call(e, t)
  25694. }))
  25695. }
  25696. : bl,
  25697. ho = Ft
  25698. ? function (e) {
  25699. for (var t = []; e; ) Mt(t, fo(e)), (e = We(e))
  25700. return t
  25701. }
  25702. : bl,
  25703. vo = Sr
  25704. function mo(e, t, n) {
  25705. for (var r = -1, a = (t = ba(t, e)).length, o = !1; ++r < a; ) {
  25706. var i = Lo(t[r])
  25707. if (!(o = null != e && n(e, i))) break
  25708. e = e[i]
  25709. }
  25710. return o || ++r != a
  25711. ? o
  25712. : !!(a = null == e ? 0 : e.length) && rs(a) && bo(i, a) && (Ki(e) || $i(e))
  25713. }
  25714. function go(e) {
  25715. return 'function' != typeof e.constructor || ko(e) ? {} : Ln(We(e))
  25716. }
  25717. function yo(e) {
  25718. return Ki(e) || $i(e) || !!(Xe && e && e[Xe])
  25719. }
  25720. function bo(e, t) {
  25721. var n = _typeof2(e)
  25722. return (
  25723. !!(t = null == t ? d : t) &&
  25724. ('number' == n || ('symbol' != n && ye.test(e))) &&
  25725. e > -1 &&
  25726. e % 1 == 0 &&
  25727. e < t
  25728. )
  25729. }
  25730. function _o(e, t, n) {
  25731. if (!as(n)) return !1
  25732. var r = _typeof2(t)
  25733. return (
  25734. !!('number' == r ? Ji(n) && bo(t, n.length) : 'string' == r && t in n) &&
  25735. qi(n[t], e)
  25736. )
  25737. }
  25738. function Ao(e, t) {
  25739. if (Ki(e)) return !1
  25740. var n = _typeof2(e)
  25741. return (
  25742. !('number' != n && 'symbol' != n && 'boolean' != n && null != e && !ds(e)) ||
  25743. ee.test(e) ||
  25744. !Z.test(e) ||
  25745. (null != t && e in Ee(t))
  25746. )
  25747. }
  25748. function xo(e) {
  25749. var t = io(e),
  25750. n = Vn[t]
  25751. if ('function' != typeof n || !(t in qn.prototype)) return !1
  25752. if (e === n) return !0
  25753. var r = oo(n)
  25754. return !!r && e === r[0]
  25755. }
  25756. ;((kn && vo(new kn(new ArrayBuffer(1))) != z) ||
  25757. (Sn && vo(new Sn()) != w) ||
  25758. (En && vo(En.resolve()) != E) ||
  25759. (Pn && vo(new Pn()) != C) ||
  25760. (Cn && vo(new Cn()) != R)) &&
  25761. (vo = function (e) {
  25762. var t = Sr(e),
  25763. r = t == S ? e.constructor : n,
  25764. a = r ? Ho(r) : ''
  25765. if (a)
  25766. switch (a) {
  25767. case Mn:
  25768. return z
  25769. case zn:
  25770. return w
  25771. case On:
  25772. return E
  25773. case Dn:
  25774. return C
  25775. case Fn:
  25776. return R
  25777. }
  25778. return t
  25779. })
  25780. var wo = ze ? ts : _l
  25781. function ko(e) {
  25782. var t = e && e.constructor
  25783. return e === (('function' == typeof t && t.prototype) || Me)
  25784. }
  25785. function So(e) {
  25786. return e == e && !as(e)
  25787. }
  25788. function Eo(e, t) {
  25789. return function (r) {
  25790. return null != r && r[e] === t && (t !== n || e in Ee(r))
  25791. }
  25792. }
  25793. function Po(e, t, r) {
  25794. return (
  25795. (t = yn(t === n ? e.length - 1 : t, 0)),
  25796. function () {
  25797. for (var n = arguments, a = -1, o = yn(n.length - t, 0), i = oe(o); ++a < o; )
  25798. i[a] = n[t + a]
  25799. a = -1
  25800. for (var s = oe(t + 1); ++a < t; ) s[a] = n[a]
  25801. return (s[t] = r(i)), wt(e, this, s)
  25802. }
  25803. )
  25804. }
  25805. function Co(e, t) {
  25806. return t.length < 2 ? e : wr(e, ra(t, 0, -1))
  25807. }
  25808. function To(e, t) {
  25809. for (var r = e.length, a = bn(t.length, r), o = Ta(e); a--; ) {
  25810. var i = t[a]
  25811. e[a] = bo(i, r) ? o[i] : n
  25812. }
  25813. return e
  25814. }
  25815. function Io(e, t) {
  25816. if (('constructor' !== t || 'function' != typeof e[t]) && '__proto__' != t)
  25817. return e[t]
  25818. }
  25819. var Ro = Do(ea),
  25820. Mo =
  25821. ft ||
  25822. function (e, t) {
  25823. return pt.setTimeout(e, t)
  25824. },
  25825. zo = Do(ta)
  25826. function Oo(e, t, n) {
  25827. var r = t + ''
  25828. return zo(
  25829. e,
  25830. (function (e, t) {
  25831. var n = t.length
  25832. if (!n) return e
  25833. var r = n - 1
  25834. return (
  25835. (t[r] = (n > 1 ? '& ' : '') + t[r]),
  25836. (t = t.join(n > 2 ? ', ' : ' ')),
  25837. e.replace(ie, '{\n/* [wrapped with ' + t + '] */\n')
  25838. )
  25839. })(
  25840. r,
  25841. (function (e, t) {
  25842. return (
  25843. St(v, function (n) {
  25844. var r = '_.' + n[0]
  25845. t & n[1] && !Tt(e, r) && e.push(r)
  25846. }),
  25847. e.sort()
  25848. )
  25849. })(
  25850. (function (e) {
  25851. var t = e.match(se)
  25852. return t ? t[1].split(le) : []
  25853. })(r),
  25854. n
  25855. )
  25856. )
  25857. )
  25858. }
  25859. function Do(e) {
  25860. var t = 0,
  25861. r = 0
  25862. return function () {
  25863. var a = _n(),
  25864. o = 16 - (a - r)
  25865. if (((r = a), o > 0)) {
  25866. if (++t >= 800) return arguments[0]
  25867. } else t = 0
  25868. return e.apply(n, arguments)
  25869. }
  25870. }
  25871. function Fo(e, t) {
  25872. var r = -1,
  25873. a = e.length,
  25874. o = a - 1
  25875. for (t = t === n ? a : t; ++r < t; ) {
  25876. var i = Kr(r, o),
  25877. s = e[i]
  25878. ;(e[i] = e[r]), (e[r] = s)
  25879. }
  25880. return (e.length = t), e
  25881. }
  25882. var Bo,
  25883. No,
  25884. jo,
  25885. Vo =
  25886. ((Bo = function (e) {
  25887. var t = []
  25888. return (
  25889. 46 === e.charCodeAt(0) && t.push(''),
  25890. e.replace(te, function (e, n, r, a) {
  25891. t.push(r ? a.replace(pe, '$1') : n || e)
  25892. }),
  25893. t
  25894. )
  25895. }),
  25896. (No = Ni(Bo, function (e) {
  25897. return 500 === jo.size && jo.clear(), e
  25898. })),
  25899. (jo = No.cache),
  25900. No)
  25901. function Lo(e) {
  25902. if ('string' == typeof e || ds(e)) return e
  25903. var t = e + ''
  25904. return '0' == t && 1 / e == -1 / 0 ? '-0' : t
  25905. }
  25906. function Ho(e) {
  25907. if (null != e) {
  25908. try {
  25909. return Oe.call(e)
  25910. } catch (t) {}
  25911. try {
  25912. return e + ''
  25913. } catch (t) {}
  25914. }
  25915. return ''
  25916. }
  25917. function Go(e) {
  25918. if (e instanceof qn) return e.clone()
  25919. var t = new Gn(e.__wrapped__, e.__chain__)
  25920. return (
  25921. (t.__actions__ = Ta(e.__actions__)),
  25922. (t.__index__ = e.__index__),
  25923. (t.__values__ = e.__values__),
  25924. t
  25925. )
  25926. }
  25927. var qo = Jr(function (e, t) {
  25928. return Qi(e) ? pr(e, gr(t, 1, Qi, !0)) : []
  25929. }),
  25930. Uo = Jr(function (e, t) {
  25931. var r = ei(t)
  25932. return Qi(r) && (r = n), Qi(e) ? pr(e, gr(t, 1, Qi, !0), lo(r, 2)) : []
  25933. }),
  25934. Wo = Jr(function (e, t) {
  25935. var r = ei(t)
  25936. return Qi(r) && (r = n), Qi(e) ? pr(e, gr(t, 1, Qi, !0), n, r) : []
  25937. })
  25938. function $o(e, t, n) {
  25939. var r = null == e ? 0 : e.length
  25940. if (!r) return -1
  25941. var a = null == n ? 0 : ys(n)
  25942. return a < 0 && (a = yn(r + a, 0)), Nt(e, lo(t, 3), a)
  25943. }
  25944. function Ko(e, t, r) {
  25945. var a = null == e ? 0 : e.length
  25946. if (!a) return -1
  25947. var o = a - 1
  25948. return (
  25949. r !== n && ((o = ys(r)), (o = r < 0 ? yn(a + o, 0) : bn(o, a - 1))),
  25950. Nt(e, lo(t, 3), o, !0)
  25951. )
  25952. }
  25953. function Yo(e) {
  25954. return (null == e ? 0 : e.length) ? gr(e, 1) : []
  25955. }
  25956. function Jo(e) {
  25957. return e && e.length ? e[0] : n
  25958. }
  25959. var Qo = Jr(function (e) {
  25960. var t = Rt(e, ga)
  25961. return t.length && t[0] === e[0] ? Tr(t) : []
  25962. }),
  25963. Xo = Jr(function (e) {
  25964. var t = ei(e),
  25965. r = Rt(e, ga)
  25966. return (
  25967. t === ei(r) ? (t = n) : r.pop(),
  25968. r.length && r[0] === e[0] ? Tr(r, lo(t, 2)) : []
  25969. )
  25970. }),
  25971. Zo = Jr(function (e) {
  25972. var t = ei(e),
  25973. r = Rt(e, ga)
  25974. return (
  25975. (t = 'function' == typeof t ? t : n) && r.pop(),
  25976. r.length && r[0] === e[0] ? Tr(r, n, t) : []
  25977. )
  25978. })
  25979. function ei(e) {
  25980. var t = null == e ? 0 : e.length
  25981. return t ? e[t - 1] : n
  25982. }
  25983. var ti = Jr(ni)
  25984. function ni(e, t) {
  25985. return e && e.length && t && t.length ? Wr(e, t) : e
  25986. }
  25987. var ri = no(function (e, t) {
  25988. var n = null == e ? 0 : e.length,
  25989. r = ir(e, t)
  25990. return (
  25991. $r(
  25992. e,
  25993. Rt(t, function (e) {
  25994. return bo(e, n) ? +e : e
  25995. }).sort(Ea)
  25996. ),
  25997. r
  25998. )
  25999. })
  26000. function ai(e) {
  26001. return null == e ? e : wn.call(e)
  26002. }
  26003. var oi = Jr(function (e) {
  26004. return ua(gr(e, 1, Qi, !0))
  26005. }),
  26006. ii = Jr(function (e) {
  26007. var t = ei(e)
  26008. return Qi(t) && (t = n), ua(gr(e, 1, Qi, !0), lo(t, 2))
  26009. }),
  26010. si = Jr(function (e) {
  26011. var t = ei(e)
  26012. return (t = 'function' == typeof t ? t : n), ua(gr(e, 1, Qi, !0), n, t)
  26013. })
  26014. function li(e) {
  26015. if (!e || !e.length) return []
  26016. var t = 0
  26017. return (
  26018. (e = Ct(e, function (e) {
  26019. if (Qi(e)) return (t = yn(e.length, t)), !0
  26020. })),
  26021. $t(t, function (t) {
  26022. return Rt(e, Gt(t))
  26023. })
  26024. )
  26025. }
  26026. function ci(e, t) {
  26027. if (!e || !e.length) return []
  26028. var r = li(e)
  26029. return null == t
  26030. ? r
  26031. : Rt(r, function (e) {
  26032. return wt(t, n, e)
  26033. })
  26034. }
  26035. var ui = Jr(function (e, t) {
  26036. return Qi(e) ? pr(e, t) : []
  26037. }),
  26038. pi = Jr(function (e) {
  26039. return va(Ct(e, Qi))
  26040. }),
  26041. di = Jr(function (e) {
  26042. var t = ei(e)
  26043. return Qi(t) && (t = n), va(Ct(e, Qi), lo(t, 2))
  26044. }),
  26045. fi = Jr(function (e) {
  26046. var t = ei(e)
  26047. return (t = 'function' == typeof t ? t : n), va(Ct(e, Qi), n, t)
  26048. }),
  26049. hi = Jr(li)
  26050. var vi = Jr(function (e) {
  26051. var t = e.length,
  26052. r = t > 1 ? e[t - 1] : n
  26053. return (r = 'function' == typeof r ? (e.pop(), r) : n), ci(e, r)
  26054. })
  26055. function mi(e) {
  26056. var t = Vn(e)
  26057. return (t.__chain__ = !0), t
  26058. }
  26059. function gi(e, t) {
  26060. return t(e)
  26061. }
  26062. var yi = no(function (e) {
  26063. var t = e.length,
  26064. r = t ? e[0] : 0,
  26065. a = this.__wrapped__,
  26066. o = function (t) {
  26067. return ir(t, e)
  26068. }
  26069. return !(t > 1 || this.__actions__.length) && a instanceof qn && bo(r)
  26070. ? ((a = a.slice(r, +r + (t ? 1 : 0))).__actions__.push({
  26071. func: gi,
  26072. args: [o],
  26073. thisArg: n
  26074. }),
  26075. new Gn(a, this.__chain__).thru(function (e) {
  26076. return t && !e.length && e.push(n), e
  26077. }))
  26078. : this.thru(o)
  26079. })
  26080. var bi = Ra(function (e, t, n) {
  26081. De.call(e, n) ? ++e[n] : or(e, n, 1)
  26082. })
  26083. var _i = Na($o),
  26084. Ai = Na(Ko)
  26085. function xi(e, t) {
  26086. return (Ki(e) ? St : dr)(e, lo(t, 3))
  26087. }
  26088. function wi(e, t) {
  26089. return (Ki(e) ? Et : fr)(e, lo(t, 3))
  26090. }
  26091. var ki = Ra(function (e, t, n) {
  26092. De.call(e, n) ? e[n].push(t) : or(e, n, [t])
  26093. })
  26094. var Si = Jr(function (e, t, n) {
  26095. var r = -1,
  26096. a = 'function' == typeof t,
  26097. o = Ji(e) ? oe(e.length) : []
  26098. return (
  26099. dr(e, function (e) {
  26100. o[++r] = a ? wt(t, e, n) : Ir(e, t, n)
  26101. }),
  26102. o
  26103. )
  26104. }),
  26105. Ei = Ra(function (e, t, n) {
  26106. or(e, n, t)
  26107. })
  26108. function Pi(e, t) {
  26109. return (Ki(e) ? Rt : jr)(e, lo(t, 3))
  26110. }
  26111. var Ci = Ra(
  26112. function (e, t, n) {
  26113. e[n ? 0 : 1].push(t)
  26114. },
  26115. function () {
  26116. return [[], []]
  26117. }
  26118. )
  26119. var Ti = Jr(function (e, t) {
  26120. if (null == e) return []
  26121. var n = t.length
  26122. return (
  26123. n > 1 && _o(e, t[0], t[1])
  26124. ? (t = [])
  26125. : n > 2 && _o(t[0], t[1], t[2]) && (t = [t[0]]),
  26126. qr(e, gr(t, 1), [])
  26127. )
  26128. }),
  26129. Ii =
  26130. dt ||
  26131. function () {
  26132. return pt.Date.now()
  26133. }
  26134. function Ri(e, t, r) {
  26135. return (
  26136. (t = r ? n : t), (t = e && null == t ? e.length : t), Qa(e, c, n, n, n, n, t)
  26137. )
  26138. }
  26139. function Mi(e, t) {
  26140. var a
  26141. if ('function' != typeof t) throw new Te(r)
  26142. return (
  26143. (e = ys(e)),
  26144. function () {
  26145. return --e > 0 && (a = t.apply(this, arguments)), e <= 1 && (t = n), a
  26146. }
  26147. )
  26148. }
  26149. var zi = Jr(function (e, t, n) {
  26150. var r = 1
  26151. if (n.length) {
  26152. var a = ln(n, so(zi))
  26153. r |= s
  26154. }
  26155. return Qa(e, r, t, n, a)
  26156. }),
  26157. Oi = Jr(function (e, t, n) {
  26158. var r = 3
  26159. if (n.length) {
  26160. var a = ln(n, so(Oi))
  26161. r |= s
  26162. }
  26163. return Qa(t, r, e, n, a)
  26164. })
  26165. function Di(e, t, a) {
  26166. var o,
  26167. i,
  26168. s,
  26169. l,
  26170. c,
  26171. u,
  26172. p = 0,
  26173. d = !1,
  26174. f = !1,
  26175. h = !0
  26176. if ('function' != typeof e) throw new Te(r)
  26177. function v(t) {
  26178. var r = o,
  26179. a = i
  26180. return (o = i = n), (p = t), (l = e.apply(a, r))
  26181. }
  26182. function m(e) {
  26183. return (p = e), (c = Mo(y, t)), d ? v(e) : l
  26184. }
  26185. function g(e) {
  26186. var r = e - u
  26187. return u === n || r >= t || r < 0 || (f && e - p >= s)
  26188. }
  26189. function y() {
  26190. var e = Ii()
  26191. if (g(e)) return b(e)
  26192. c = Mo(
  26193. y,
  26194. (function (e) {
  26195. var n = t - (e - u)
  26196. return f ? bn(n, s - (e - p)) : n
  26197. })(e)
  26198. )
  26199. }
  26200. function b(e) {
  26201. return (c = n), h && o ? v(e) : ((o = i = n), l)
  26202. }
  26203. function _() {
  26204. var e = Ii(),
  26205. r = g(e)
  26206. if (((o = arguments), (i = this), (u = e), r)) {
  26207. if (c === n) return m(u)
  26208. if (f) return xa(c), (c = Mo(y, t)), v(u)
  26209. }
  26210. return c === n && (c = Mo(y, t)), l
  26211. }
  26212. return (
  26213. (t = _s(t) || 0),
  26214. as(a) &&
  26215. ((d = !!a.leading),
  26216. (s = (f = 'maxWait' in a) ? yn(_s(a.maxWait) || 0, t) : s),
  26217. (h = 'trailing' in a ? !!a.trailing : h)),
  26218. (_.cancel = function () {
  26219. c !== n && xa(c), (p = 0), (o = u = i = c = n)
  26220. }),
  26221. (_.flush = function () {
  26222. return c === n ? l : b(Ii())
  26223. }),
  26224. _
  26225. )
  26226. }
  26227. var Fi = Jr(function (e, t) {
  26228. return ur(e, 1, t)
  26229. }),
  26230. Bi = Jr(function (e, t, n) {
  26231. return ur(e, _s(t) || 0, n)
  26232. })
  26233. function Ni(e, t) {
  26234. if ('function' != typeof e || (null != t && 'function' != typeof t))
  26235. throw new Te(r)
  26236. var n = function n() {
  26237. var r = arguments,
  26238. a = t ? t.apply(this, r) : r[0],
  26239. o = n.cache
  26240. if (o.has(a)) return o.get(a)
  26241. var i = e.apply(this, r)
  26242. return (n.cache = o.set(a, i) || o), i
  26243. }
  26244. return (n.cache = new (Ni.Cache || $n)()), n
  26245. }
  26246. function ji(e) {
  26247. if ('function' != typeof e) throw new Te(r)
  26248. return function () {
  26249. var t = arguments
  26250. switch (t.length) {
  26251. case 0:
  26252. return !e.call(this)
  26253. case 1:
  26254. return !e.call(this, t[0])
  26255. case 2:
  26256. return !e.call(this, t[0], t[1])
  26257. case 3:
  26258. return !e.call(this, t[0], t[1], t[2])
  26259. }
  26260. return !e.apply(this, t)
  26261. }
  26262. }
  26263. Ni.Cache = $n
  26264. var Vi = _a(function (e, t) {
  26265. var n = (t =
  26266. 1 == t.length && Ki(t[0]) ? Rt(t[0], Yt(lo())) : Rt(gr(t, 1), Yt(lo())))
  26267. .length
  26268. return Jr(function (r) {
  26269. for (var a = -1, o = bn(r.length, n); ++a < o; ) r[a] = t[a].call(this, r[a])
  26270. return wt(e, this, r)
  26271. })
  26272. }),
  26273. Li = Jr(function (e, t) {
  26274. var r = ln(t, so(Li))
  26275. return Qa(e, s, n, t, r)
  26276. }),
  26277. Hi = Jr(function (e, t) {
  26278. var r = ln(t, so(Hi))
  26279. return Qa(e, l, n, t, r)
  26280. }),
  26281. Gi = no(function (e, t) {
  26282. return Qa(e, u, n, n, n, t)
  26283. })
  26284. function qi(e, t) {
  26285. return e === t || (e != e && t != t)
  26286. }
  26287. var Ui = Wa(Er),
  26288. Wi = Wa(function (e, t) {
  26289. return e >= t
  26290. }),
  26291. $i = Rr(
  26292. (function () {
  26293. return arguments
  26294. })()
  26295. )
  26296. ? Rr
  26297. : function (e) {
  26298. return os(e) && De.call(e, 'callee') && !Ke.call(e, 'callee')
  26299. },
  26300. Ki = oe.isArray,
  26301. Yi = gt
  26302. ? Yt(gt)
  26303. : function (e) {
  26304. return os(e) && Sr(e) == M
  26305. }
  26306. function Ji(e) {
  26307. return null != e && rs(e.length) && !ts(e)
  26308. }
  26309. function Qi(e) {
  26310. return os(e) && Ji(e)
  26311. }
  26312. var Xi = qt || _l,
  26313. Zi = yt
  26314. ? Yt(yt)
  26315. : function (e) {
  26316. return os(e) && Sr(e) == b
  26317. }
  26318. function es(e) {
  26319. if (!os(e)) return !1
  26320. var t = Sr(e)
  26321. return (
  26322. t == _ ||
  26323. '[object DOMException]' == t ||
  26324. ('string' == typeof e.message && 'string' == typeof e.name && !ls(e))
  26325. )
  26326. }
  26327. function ts(e) {
  26328. if (!as(e)) return !1
  26329. var t = Sr(e)
  26330. return t == A || t == x || '[object AsyncFunction]' == t || '[object Proxy]' == t
  26331. }
  26332. function ns(e) {
  26333. return 'number' == typeof e && e == ys(e)
  26334. }
  26335. function rs(e) {
  26336. return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= d
  26337. }
  26338. function as(e) {
  26339. var t = _typeof2(e)
  26340. return null != e && ('object' == t || 'function' == t)
  26341. }
  26342. function os(e) {
  26343. return null != e && 'object' == _typeof2(e)
  26344. }
  26345. var is = bt
  26346. ? Yt(bt)
  26347. : function (e) {
  26348. return os(e) && vo(e) == w
  26349. }
  26350. function ss(e) {
  26351. return 'number' == typeof e || (os(e) && Sr(e) == k)
  26352. }
  26353. function ls(e) {
  26354. if (!os(e) || Sr(e) != S) return !1
  26355. var t = We(e)
  26356. if (null === t) return !0
  26357. var n = De.call(t, 'constructor') && t.constructor
  26358. return 'function' == typeof n && n instanceof n && Oe.call(n) == je
  26359. }
  26360. var cs = _t
  26361. ? Yt(_t)
  26362. : function (e) {
  26363. return os(e) && Sr(e) == P
  26364. }
  26365. var us = At
  26366. ? Yt(At)
  26367. : function (e) {
  26368. return os(e) && vo(e) == C
  26369. }
  26370. function ps(e) {
  26371. return 'string' == typeof e || (!Ki(e) && os(e) && Sr(e) == T)
  26372. }
  26373. function ds(e) {
  26374. return 'symbol' == _typeof2(e) || (os(e) && Sr(e) == I)
  26375. }
  26376. var fs = xt
  26377. ? Yt(xt)
  26378. : function (e) {
  26379. return os(e) && rs(e.length) && !!at[Sr(e)]
  26380. }
  26381. var hs = Wa(Nr),
  26382. vs = Wa(function (e, t) {
  26383. return e <= t
  26384. })
  26385. function ms(e) {
  26386. if (!e) return []
  26387. if (Ji(e)) return ps(e) ? pn(e) : Ta(e)
  26388. if (et && e[et])
  26389. return (function (e) {
  26390. for (var t, n = []; !(t = e.next()).done; ) n.push(t.value)
  26391. return n
  26392. })(e[et]())
  26393. var t = vo(e)
  26394. return (t == w ? on : t == C ? cn : qs)(e)
  26395. }
  26396. function gs(e) {
  26397. return e
  26398. ? (e = _s(e)) === p || e === -1 / 0
  26399. ? 17976931348623157e292 * (e < 0 ? -1 : 1)
  26400. : e == e
  26401. ? e
  26402. : 0
  26403. : 0 === e
  26404. ? e
  26405. : 0
  26406. }
  26407. function ys(e) {
  26408. var t = gs(e),
  26409. n = t % 1
  26410. return t == t ? (n ? t - n : t) : 0
  26411. }
  26412. function bs(e) {
  26413. return e ? sr(ys(e), 0, h) : 0
  26414. }
  26415. function _s(e) {
  26416. if ('number' == typeof e) return e
  26417. if (ds(e)) return f
  26418. if (as(e)) {
  26419. var t = 'function' == typeof e.valueOf ? e.valueOf() : e
  26420. e = as(t) ? t + '' : t
  26421. }
  26422. if ('string' != typeof e) return 0 === e ? e : +e
  26423. e = Kt(e)
  26424. var n = ve.test(e)
  26425. return n || ge.test(e) ? lt(e.slice(2), n ? 2 : 8) : he.test(e) ? f : +e
  26426. }
  26427. function As(e) {
  26428. return Ia(e, Fs(e))
  26429. }
  26430. function xs(e) {
  26431. return null == e ? '' : ca(e)
  26432. }
  26433. var ws = Ma(function (e, t) {
  26434. if (ko(t) || Ji(t)) Ia(t, Ds(t), e)
  26435. else for (var n in t) De.call(t, n) && tr(e, n, t[n])
  26436. }),
  26437. ks = Ma(function (e, t) {
  26438. Ia(t, Fs(t), e)
  26439. }),
  26440. Ss = Ma(function (e, t, n, r) {
  26441. Ia(t, Fs(t), e, r)
  26442. }),
  26443. Es = Ma(function (e, t, n, r) {
  26444. Ia(t, Ds(t), e, r)
  26445. }),
  26446. Ps = no(ir)
  26447. var Cs = Jr(function (e, t) {
  26448. e = Ee(e)
  26449. var r = -1,
  26450. a = t.length,
  26451. o = a > 2 ? t[2] : n
  26452. for (o && _o(t[0], t[1], o) && (a = 1); ++r < a; )
  26453. for (var i = t[r], s = Fs(i), l = -1, c = s.length; ++l < c; ) {
  26454. var u = s[l],
  26455. p = e[u]
  26456. ;(p === n || (qi(p, Me[u]) && !De.call(e, u))) && (e[u] = i[u])
  26457. }
  26458. return e
  26459. }),
  26460. Ts = Jr(function (e) {
  26461. return e.push(n, Za), wt(Ns, n, e)
  26462. })
  26463. function Is(e, t, r) {
  26464. var a = null == e ? n : wr(e, t)
  26465. return a === n ? r : a
  26466. }
  26467. function Rs(e, t) {
  26468. return null != e && mo(e, t, Cr)
  26469. }
  26470. var Ms = La(function (e, t, n) {
  26471. null != t && 'function' != typeof t.toString && (t = Ne.call(t)), (e[t] = n)
  26472. }, al(sl)),
  26473. zs = La(function (e, t, n) {
  26474. null != t && 'function' != typeof t.toString && (t = Ne.call(t)),
  26475. De.call(e, t) ? e[t].push(n) : (e[t] = [n])
  26476. }, lo),
  26477. Os = Jr(Ir)
  26478. function Ds(e) {
  26479. return Ji(e) ? Jn(e) : Fr(e)
  26480. }
  26481. function Fs(e) {
  26482. return Ji(e) ? Jn(e, !0) : Br(e)
  26483. }
  26484. var Bs = Ma(function (e, t, n) {
  26485. Hr(e, t, n)
  26486. }),
  26487. Ns = Ma(function (e, t, n, r) {
  26488. Hr(e, t, n, r)
  26489. }),
  26490. js = no(function (e, t) {
  26491. var n = {}
  26492. if (null == e) return n
  26493. var r = !1
  26494. ;(t = Rt(t, function (t) {
  26495. return (t = ba(t, e)), r || (r = t.length > 1), t
  26496. })),
  26497. Ia(e, ao(e), n),
  26498. r && (n = lr(n, 7, eo))
  26499. for (var a = t.length; a--; ) pa(n, t[a])
  26500. return n
  26501. })
  26502. var Vs = no(function (e, t) {
  26503. return null == e
  26504. ? {}
  26505. : (function (e, t) {
  26506. return Ur(e, t, function (t, n) {
  26507. return Rs(e, n)
  26508. })
  26509. })(e, t)
  26510. })
  26511. function Ls(e, t) {
  26512. if (null == e) return {}
  26513. var n = Rt(ao(e), function (e) {
  26514. return [e]
  26515. })
  26516. return (
  26517. (t = lo(t)),
  26518. Ur(e, n, function (e, n) {
  26519. return t(e, n[0])
  26520. })
  26521. )
  26522. }
  26523. var Hs = Ja(Ds),
  26524. Gs = Ja(Fs)
  26525. function qs(e) {
  26526. return null == e ? [] : Jt(e, Ds(e))
  26527. }
  26528. var Us = Fa(function (e, t, n) {
  26529. return (t = t.toLowerCase()), e + (n ? Ws(t) : t)
  26530. })
  26531. function Ws(e) {
  26532. return el(xs(e).toLowerCase())
  26533. }
  26534. function $s(e) {
  26535. return (e = xs(e)) && e.replace(be, tn).replace(Qe, '')
  26536. }
  26537. var Ks = Fa(function (e, t, n) {
  26538. return e + (n ? '-' : '') + t.toLowerCase()
  26539. }),
  26540. Ys = Fa(function (e, t, n) {
  26541. return e + (n ? ' ' : '') + t.toLowerCase()
  26542. }),
  26543. Js = Da('toLowerCase')
  26544. var Qs = Fa(function (e, t, n) {
  26545. return e + (n ? '_' : '') + t.toLowerCase()
  26546. })
  26547. var Xs = Fa(function (e, t, n) {
  26548. return e + (n ? ' ' : '') + el(t)
  26549. })
  26550. var Zs = Fa(function (e, t, n) {
  26551. return e + (n ? ' ' : '') + t.toUpperCase()
  26552. }),
  26553. el = Da('toUpperCase')
  26554. function tl(e, t, r) {
  26555. return (
  26556. (e = xs(e)),
  26557. (t = r ? n : t) === n
  26558. ? (function (e) {
  26559. return tt.test(e)
  26560. })(e)
  26561. ? (function (e) {
  26562. return e.match(Ze) || []
  26563. })(e)
  26564. : (function (e) {
  26565. return e.match(ce) || []
  26566. })(e)
  26567. : e.match(t) || []
  26568. )
  26569. }
  26570. var nl = Jr(function (e, t) {
  26571. try {
  26572. return wt(e, n, t)
  26573. } catch (r) {
  26574. return es(r) ? r : new we(r)
  26575. }
  26576. }),
  26577. rl = no(function (e, t) {
  26578. return (
  26579. St(t, function (t) {
  26580. ;(t = Lo(t)), or(e, t, zi(e[t], e))
  26581. }),
  26582. e
  26583. )
  26584. })
  26585. function al(e) {
  26586. return function () {
  26587. return e
  26588. }
  26589. }
  26590. var ol = ja(),
  26591. il = ja(!0)
  26592. function sl(e) {
  26593. return e
  26594. }
  26595. function ll(e) {
  26596. return Dr('function' == typeof e ? e : lr(e, 1))
  26597. }
  26598. var cl = Jr(function (e, t) {
  26599. return function (n) {
  26600. return Ir(n, e, t)
  26601. }
  26602. }),
  26603. ul = Jr(function (e, t) {
  26604. return function (n) {
  26605. return Ir(e, n, t)
  26606. }
  26607. })
  26608. function pl(e, t, n) {
  26609. var r = Ds(t),
  26610. a = xr(t, r)
  26611. null != n ||
  26612. (as(t) && (a.length || !r.length)) ||
  26613. ((n = t), (t = e), (e = this), (a = xr(t, Ds(t))))
  26614. var o = !(as(n) && 'chain' in n && !n.chain),
  26615. i = ts(e)
  26616. return (
  26617. St(a, function (n) {
  26618. var r = t[n]
  26619. ;(e[n] = r),
  26620. i &&
  26621. (e.prototype[n] = function () {
  26622. var t = this.__chain__
  26623. if (o || t) {
  26624. var n = e(this.__wrapped__),
  26625. a = (n.__actions__ = Ta(this.__actions__))
  26626. return (
  26627. a.push({ func: r, args: arguments, thisArg: e }),
  26628. (n.__chain__ = t),
  26629. n
  26630. )
  26631. }
  26632. return r.apply(e, Mt([this.value()], arguments))
  26633. })
  26634. }),
  26635. e
  26636. )
  26637. }
  26638. function dl() {}
  26639. var fl = Ga(Rt),
  26640. hl = Ga(Pt),
  26641. vl = Ga(Dt)
  26642. function ml(e) {
  26643. return Ao(e)
  26644. ? Gt(Lo(e))
  26645. : (function (e) {
  26646. return function (t) {
  26647. return wr(t, e)
  26648. }
  26649. })(e)
  26650. }
  26651. var gl = Ua(),
  26652. yl = Ua(!0)
  26653. function bl() {
  26654. return []
  26655. }
  26656. function _l() {
  26657. return !1
  26658. }
  26659. var Al = Ha(function (e, t) {
  26660. return e + t
  26661. }, 0),
  26662. xl = Ka('ceil'),
  26663. wl = Ha(function (e, t) {
  26664. return e / t
  26665. }, 1),
  26666. kl = Ka('floor')
  26667. var Sl,
  26668. El = Ha(function (e, t) {
  26669. return e * t
  26670. }, 1),
  26671. Pl = Ka('round'),
  26672. Cl = Ha(function (e, t) {
  26673. return e - t
  26674. }, 0)
  26675. return (
  26676. (Vn.after = function (e, t) {
  26677. if ('function' != typeof t) throw new Te(r)
  26678. return (
  26679. (e = ys(e)),
  26680. function () {
  26681. if (--e < 1) return t.apply(this, arguments)
  26682. }
  26683. )
  26684. }),
  26685. (Vn.ary = Ri),
  26686. (Vn.assign = ws),
  26687. (Vn.assignIn = ks),
  26688. (Vn.assignInWith = Ss),
  26689. (Vn.assignWith = Es),
  26690. (Vn.at = Ps),
  26691. (Vn.before = Mi),
  26692. (Vn.bind = zi),
  26693. (Vn.bindAll = rl),
  26694. (Vn.bindKey = Oi),
  26695. (Vn.castArray = function () {
  26696. if (!arguments.length) return []
  26697. var e = arguments[0]
  26698. return Ki(e) ? e : [e]
  26699. }),
  26700. (Vn.chain = mi),
  26701. (Vn.chunk = function (e, t, r) {
  26702. t = (r ? _o(e, t, r) : t === n) ? 1 : yn(ys(t), 0)
  26703. var a = null == e ? 0 : e.length
  26704. if (!a || t < 1) return []
  26705. for (var o = 0, i = 0, s = oe(vt(a / t)); o < a; ) s[i++] = ra(e, o, (o += t))
  26706. return s
  26707. }),
  26708. (Vn.compact = function (e) {
  26709. for (var t = -1, n = null == e ? 0 : e.length, r = 0, a = []; ++t < n; ) {
  26710. var o = e[t]
  26711. o && (a[r++] = o)
  26712. }
  26713. return a
  26714. }),
  26715. (Vn.concat = function () {
  26716. var e = arguments.length
  26717. if (!e) return []
  26718. for (var t = oe(e - 1), n = arguments[0], r = e; r--; ) t[r - 1] = arguments[r]
  26719. return Mt(Ki(n) ? Ta(n) : [n], gr(t, 1))
  26720. }),
  26721. (Vn.cond = function (e) {
  26722. var t = null == e ? 0 : e.length,
  26723. n = lo()
  26724. return (
  26725. (e = t
  26726. ? Rt(e, function (e) {
  26727. if ('function' != typeof e[1]) throw new Te(r)
  26728. return [n(e[0]), e[1]]
  26729. })
  26730. : []),
  26731. Jr(function (n) {
  26732. for (var r = -1; ++r < t; ) {
  26733. var a = e[r]
  26734. if (wt(a[0], this, n)) return wt(a[1], this, n)
  26735. }
  26736. })
  26737. )
  26738. }),
  26739. (Vn.conforms = function (e) {
  26740. return (function (e) {
  26741. var t = Ds(e)
  26742. return function (n) {
  26743. return cr(n, e, t)
  26744. }
  26745. })(lr(e, 1))
  26746. }),
  26747. (Vn.constant = al),
  26748. (Vn.countBy = bi),
  26749. (Vn.create = function (e, t) {
  26750. var n = Ln(e)
  26751. return null == t ? n : ar(n, t)
  26752. }),
  26753. (Vn.curry = function e(t, r, a) {
  26754. var o = Qa(t, 8, n, n, n, n, n, (r = a ? n : r))
  26755. return (o.placeholder = e.placeholder), o
  26756. }),
  26757. (Vn.curryRight = function e(t, r, a) {
  26758. var o = Qa(t, i, n, n, n, n, n, (r = a ? n : r))
  26759. return (o.placeholder = e.placeholder), o
  26760. }),
  26761. (Vn.debounce = Di),
  26762. (Vn.defaults = Cs),
  26763. (Vn.defaultsDeep = Ts),
  26764. (Vn.defer = Fi),
  26765. (Vn.delay = Bi),
  26766. (Vn.difference = qo),
  26767. (Vn.differenceBy = Uo),
  26768. (Vn.differenceWith = Wo),
  26769. (Vn.drop = function (e, t, r) {
  26770. var a = null == e ? 0 : e.length
  26771. return a ? ra(e, (t = r || t === n ? 1 : ys(t)) < 0 ? 0 : t, a) : []
  26772. }),
  26773. (Vn.dropRight = function (e, t, r) {
  26774. var a = null == e ? 0 : e.length
  26775. return a ? ra(e, 0, (t = a - (t = r || t === n ? 1 : ys(t))) < 0 ? 0 : t) : []
  26776. }),
  26777. (Vn.dropRightWhile = function (e, t) {
  26778. return e && e.length ? fa(e, lo(t, 3), !0, !0) : []
  26779. }),
  26780. (Vn.dropWhile = function (e, t) {
  26781. return e && e.length ? fa(e, lo(t, 3), !0) : []
  26782. }),
  26783. (Vn.fill = function (e, t, r, a) {
  26784. var o = null == e ? 0 : e.length
  26785. return o
  26786. ? (r && 'number' != typeof r && _o(e, t, r) && ((r = 0), (a = o)),
  26787. (function (e, t, r, a) {
  26788. var o = e.length
  26789. for (
  26790. (r = ys(r)) < 0 && (r = -r > o ? 0 : o + r),
  26791. (a = a === n || a > o ? o : ys(a)) < 0 && (a += o),
  26792. a = r > a ? 0 : bs(a);
  26793. r < a;
  26794. )
  26795. e[r++] = t
  26796. return e
  26797. })(e, t, r, a))
  26798. : []
  26799. }),
  26800. (Vn.filter = function (e, t) {
  26801. return (Ki(e) ? Ct : mr)(e, lo(t, 3))
  26802. }),
  26803. (Vn.flatMap = function (e, t) {
  26804. return gr(Pi(e, t), 1)
  26805. }),
  26806. (Vn.flatMapDeep = function (e, t) {
  26807. return gr(Pi(e, t), p)
  26808. }),
  26809. (Vn.flatMapDepth = function (e, t, r) {
  26810. return (r = r === n ? 1 : ys(r)), gr(Pi(e, t), r)
  26811. }),
  26812. (Vn.flatten = Yo),
  26813. (Vn.flattenDeep = function (e) {
  26814. return (null == e ? 0 : e.length) ? gr(e, p) : []
  26815. }),
  26816. (Vn.flattenDepth = function (e, t) {
  26817. return (null == e ? 0 : e.length) ? gr(e, (t = t === n ? 1 : ys(t))) : []
  26818. }),
  26819. (Vn.flip = function (e) {
  26820. return Qa(e, 512)
  26821. }),
  26822. (Vn.flow = ol),
  26823. (Vn.flowRight = il),
  26824. (Vn.fromPairs = function (e) {
  26825. for (var t = -1, n = null == e ? 0 : e.length, r = {}; ++t < n; ) {
  26826. var a = e[t]
  26827. r[a[0]] = a[1]
  26828. }
  26829. return r
  26830. }),
  26831. (Vn.functions = function (e) {
  26832. return null == e ? [] : xr(e, Ds(e))
  26833. }),
  26834. (Vn.functionsIn = function (e) {
  26835. return null == e ? [] : xr(e, Fs(e))
  26836. }),
  26837. (Vn.groupBy = ki),
  26838. (Vn.initial = function (e) {
  26839. return (null == e ? 0 : e.length) ? ra(e, 0, -1) : []
  26840. }),
  26841. (Vn.intersection = Qo),
  26842. (Vn.intersectionBy = Xo),
  26843. (Vn.intersectionWith = Zo),
  26844. (Vn.invert = Ms),
  26845. (Vn.invertBy = zs),
  26846. (Vn.invokeMap = Si),
  26847. (Vn.iteratee = ll),
  26848. (Vn.keyBy = Ei),
  26849. (Vn.keys = Ds),
  26850. (Vn.keysIn = Fs),
  26851. (Vn.map = Pi),
  26852. (Vn.mapKeys = function (e, t) {
  26853. var n = {}
  26854. return (
  26855. (t = lo(t, 3)),
  26856. _r(e, function (e, r, a) {
  26857. or(n, t(e, r, a), e)
  26858. }),
  26859. n
  26860. )
  26861. }),
  26862. (Vn.mapValues = function (e, t) {
  26863. var n = {}
  26864. return (
  26865. (t = lo(t, 3)),
  26866. _r(e, function (e, r, a) {
  26867. or(n, r, t(e, r, a))
  26868. }),
  26869. n
  26870. )
  26871. }),
  26872. (Vn.matches = function (e) {
  26873. return Vr(lr(e, 1))
  26874. }),
  26875. (Vn.matchesProperty = function (e, t) {
  26876. return Lr(e, lr(t, 1))
  26877. }),
  26878. (Vn.memoize = Ni),
  26879. (Vn.merge = Bs),
  26880. (Vn.mergeWith = Ns),
  26881. (Vn.method = cl),
  26882. (Vn.methodOf = ul),
  26883. (Vn.mixin = pl),
  26884. (Vn.negate = ji),
  26885. (Vn.nthArg = function (e) {
  26886. return (
  26887. (e = ys(e)),
  26888. Jr(function (t) {
  26889. return Gr(t, e)
  26890. })
  26891. )
  26892. }),
  26893. (Vn.omit = js),
  26894. (Vn.omitBy = function (e, t) {
  26895. return Ls(e, ji(lo(t)))
  26896. }),
  26897. (Vn.once = function (e) {
  26898. return Mi(2, e)
  26899. }),
  26900. (Vn.orderBy = function (e, t, r, a) {
  26901. return null == e
  26902. ? []
  26903. : (Ki(t) || (t = null == t ? [] : [t]),
  26904. Ki((r = a ? n : r)) || (r = null == r ? [] : [r]),
  26905. qr(e, t, r))
  26906. }),
  26907. (Vn.over = fl),
  26908. (Vn.overArgs = Vi),
  26909. (Vn.overEvery = hl),
  26910. (Vn.overSome = vl),
  26911. (Vn.partial = Li),
  26912. (Vn.partialRight = Hi),
  26913. (Vn.partition = Ci),
  26914. (Vn.pick = Vs),
  26915. (Vn.pickBy = Ls),
  26916. (Vn.property = ml),
  26917. (Vn.propertyOf = function (e) {
  26918. return function (t) {
  26919. return null == e ? n : wr(e, t)
  26920. }
  26921. }),
  26922. (Vn.pull = ti),
  26923. (Vn.pullAll = ni),
  26924. (Vn.pullAllBy = function (e, t, n) {
  26925. return e && e.length && t && t.length ? Wr(e, t, lo(n, 2)) : e
  26926. }),
  26927. (Vn.pullAllWith = function (e, t, r) {
  26928. return e && e.length && t && t.length ? Wr(e, t, n, r) : e
  26929. }),
  26930. (Vn.pullAt = ri),
  26931. (Vn.range = gl),
  26932. (Vn.rangeRight = yl),
  26933. (Vn.rearg = Gi),
  26934. (Vn.reject = function (e, t) {
  26935. return (Ki(e) ? Ct : mr)(e, ji(lo(t, 3)))
  26936. }),
  26937. (Vn.remove = function (e, t) {
  26938. var n = []
  26939. if (!e || !e.length) return n
  26940. var r = -1,
  26941. a = [],
  26942. o = e.length
  26943. for (t = lo(t, 3); ++r < o; ) {
  26944. var i = e[r]
  26945. t(i, r, e) && (n.push(i), a.push(r))
  26946. }
  26947. return $r(e, a), n
  26948. }),
  26949. (Vn.rest = function (e, t) {
  26950. if ('function' != typeof e) throw new Te(r)
  26951. return Jr(e, (t = t === n ? t : ys(t)))
  26952. }),
  26953. (Vn.reverse = ai),
  26954. (Vn.sampleSize = function (e, t, r) {
  26955. return (t = (r ? _o(e, t, r) : t === n) ? 1 : ys(t)), (Ki(e) ? Xn : Xr)(e, t)
  26956. }),
  26957. (Vn.set = function (e, t, n) {
  26958. return null == e ? e : Zr(e, t, n)
  26959. }),
  26960. (Vn.setWith = function (e, t, r, a) {
  26961. return (a = 'function' == typeof a ? a : n), null == e ? e : Zr(e, t, r, a)
  26962. }),
  26963. (Vn.shuffle = function (e) {
  26964. return (Ki(e) ? Zn : na)(e)
  26965. }),
  26966. (Vn.slice = function (e, t, r) {
  26967. var a = null == e ? 0 : e.length
  26968. return a
  26969. ? (r && 'number' != typeof r && _o(e, t, r)
  26970. ? ((t = 0), (r = a))
  26971. : ((t = null == t ? 0 : ys(t)), (r = r === n ? a : ys(r))),
  26972. ra(e, t, r))
  26973. : []
  26974. }),
  26975. (Vn.sortBy = Ti),
  26976. (Vn.sortedUniq = function (e) {
  26977. return e && e.length ? sa(e) : []
  26978. }),
  26979. (Vn.sortedUniqBy = function (e, t) {
  26980. return e && e.length ? sa(e, lo(t, 2)) : []
  26981. }),
  26982. (Vn.split = function (e, t, r) {
  26983. return (
  26984. r && 'number' != typeof r && _o(e, t, r) && (t = r = n),
  26985. (r = r === n ? h : r >>> 0)
  26986. ? (e = xs(e)) &&
  26987. ('string' == typeof t || (null != t && !cs(t))) &&
  26988. !(t = ca(t)) &&
  26989. an(e)
  26990. ? Aa(pn(e), 0, r)
  26991. : e.split(t, r)
  26992. : []
  26993. )
  26994. }),
  26995. (Vn.spread = function (e, t) {
  26996. if ('function' != typeof e) throw new Te(r)
  26997. return (
  26998. (t = null == t ? 0 : yn(ys(t), 0)),
  26999. Jr(function (n) {
  27000. var r = n[t],
  27001. a = Aa(n, 0, t)
  27002. return r && Mt(a, r), wt(e, this, a)
  27003. })
  27004. )
  27005. }),
  27006. (Vn.tail = function (e) {
  27007. var t = null == e ? 0 : e.length
  27008. return t ? ra(e, 1, t) : []
  27009. }),
  27010. (Vn.take = function (e, t, r) {
  27011. return e && e.length ? ra(e, 0, (t = r || t === n ? 1 : ys(t)) < 0 ? 0 : t) : []
  27012. }),
  27013. (Vn.takeRight = function (e, t, r) {
  27014. var a = null == e ? 0 : e.length
  27015. return a ? ra(e, (t = a - (t = r || t === n ? 1 : ys(t))) < 0 ? 0 : t, a) : []
  27016. }),
  27017. (Vn.takeRightWhile = function (e, t) {
  27018. return e && e.length ? fa(e, lo(t, 3), !1, !0) : []
  27019. }),
  27020. (Vn.takeWhile = function (e, t) {
  27021. return e && e.length ? fa(e, lo(t, 3)) : []
  27022. }),
  27023. (Vn.tap = function (e, t) {
  27024. return t(e), e
  27025. }),
  27026. (Vn.throttle = function (e, t, n) {
  27027. var a = !0,
  27028. o = !0
  27029. if ('function' != typeof e) throw new Te(r)
  27030. return (
  27031. as(n) &&
  27032. ((a = 'leading' in n ? !!n.leading : a),
  27033. (o = 'trailing' in n ? !!n.trailing : o)),
  27034. Di(e, t, { leading: a, maxWait: t, trailing: o })
  27035. )
  27036. }),
  27037. (Vn.thru = gi),
  27038. (Vn.toArray = ms),
  27039. (Vn.toPairs = Hs),
  27040. (Vn.toPairsIn = Gs),
  27041. (Vn.toPath = function (e) {
  27042. return Ki(e) ? Rt(e, Lo) : ds(e) ? [e] : Ta(Vo(xs(e)))
  27043. }),
  27044. (Vn.toPlainObject = As),
  27045. (Vn.transform = function (e, t, n) {
  27046. var r = Ki(e),
  27047. a = r || Xi(e) || fs(e)
  27048. if (((t = lo(t, 4)), null == n)) {
  27049. var o = e && e.constructor
  27050. n = a ? (r ? new o() : []) : as(e) && ts(o) ? Ln(We(e)) : {}
  27051. }
  27052. return (
  27053. (a ? St : _r)(e, function (e, r, a) {
  27054. return t(n, e, r, a)
  27055. }),
  27056. n
  27057. )
  27058. }),
  27059. (Vn.unary = function (e) {
  27060. return Ri(e, 1)
  27061. }),
  27062. (Vn.union = oi),
  27063. (Vn.unionBy = ii),
  27064. (Vn.unionWith = si),
  27065. (Vn.uniq = function (e) {
  27066. return e && e.length ? ua(e) : []
  27067. }),
  27068. (Vn.uniqBy = function (e, t) {
  27069. return e && e.length ? ua(e, lo(t, 2)) : []
  27070. }),
  27071. (Vn.uniqWith = function (e, t) {
  27072. return (t = 'function' == typeof t ? t : n), e && e.length ? ua(e, n, t) : []
  27073. }),
  27074. (Vn.unset = function (e, t) {
  27075. return null == e || pa(e, t)
  27076. }),
  27077. (Vn.unzip = li),
  27078. (Vn.unzipWith = ci),
  27079. (Vn.update = function (e, t, n) {
  27080. return null == e ? e : da(e, t, ya(n))
  27081. }),
  27082. (Vn.updateWith = function (e, t, r, a) {
  27083. return (a = 'function' == typeof a ? a : n), null == e ? e : da(e, t, ya(r), a)
  27084. }),
  27085. (Vn.values = qs),
  27086. (Vn.valuesIn = function (e) {
  27087. return null == e ? [] : Jt(e, Fs(e))
  27088. }),
  27089. (Vn.without = ui),
  27090. (Vn.words = tl),
  27091. (Vn.wrap = function (e, t) {
  27092. return Li(ya(t), e)
  27093. }),
  27094. (Vn.xor = pi),
  27095. (Vn.xorBy = di),
  27096. (Vn.xorWith = fi),
  27097. (Vn.zip = hi),
  27098. (Vn.zipObject = function (e, t) {
  27099. return ma(e || [], t || [], tr)
  27100. }),
  27101. (Vn.zipObjectDeep = function (e, t) {
  27102. return ma(e || [], t || [], Zr)
  27103. }),
  27104. (Vn.zipWith = vi),
  27105. (Vn.entries = Hs),
  27106. (Vn.entriesIn = Gs),
  27107. (Vn.extend = ks),
  27108. (Vn.extendWith = Ss),
  27109. pl(Vn, Vn),
  27110. (Vn.add = Al),
  27111. (Vn.attempt = nl),
  27112. (Vn.camelCase = Us),
  27113. (Vn.capitalize = Ws),
  27114. (Vn.ceil = xl),
  27115. (Vn.clamp = function (e, t, r) {
  27116. return (
  27117. r === n && ((r = t), (t = n)),
  27118. r !== n && (r = (r = _s(r)) == r ? r : 0),
  27119. t !== n && (t = (t = _s(t)) == t ? t : 0),
  27120. sr(_s(e), t, r)
  27121. )
  27122. }),
  27123. (Vn.clone = function (e) {
  27124. return lr(e, 4)
  27125. }),
  27126. (Vn.cloneDeep = function (e) {
  27127. return lr(e, 5)
  27128. }),
  27129. (Vn.cloneDeepWith = function (e, t) {
  27130. return lr(e, 5, (t = 'function' == typeof t ? t : n))
  27131. }),
  27132. (Vn.cloneWith = function (e, t) {
  27133. return lr(e, 4, (t = 'function' == typeof t ? t : n))
  27134. }),
  27135. (Vn.conformsTo = function (e, t) {
  27136. return null == t || cr(e, t, Ds(t))
  27137. }),
  27138. (Vn.deburr = $s),
  27139. (Vn.defaultTo = function (e, t) {
  27140. return null == e || e != e ? t : e
  27141. }),
  27142. (Vn.divide = wl),
  27143. (Vn.endsWith = function (e, t, r) {
  27144. ;(e = xs(e)), (t = ca(t))
  27145. var a = e.length,
  27146. o = (r = r === n ? a : sr(ys(r), 0, a))
  27147. return (r -= t.length) >= 0 && e.slice(r, o) == t
  27148. }),
  27149. (Vn.eq = qi),
  27150. (Vn.escape = function (e) {
  27151. return (e = xs(e)) && Y.test(e) ? e.replace($, nn) : e
  27152. }),
  27153. (Vn.escapeRegExp = function (e) {
  27154. return (e = xs(e)) && re.test(e) ? e.replace(ne, '\\$&') : e
  27155. }),
  27156. (Vn.every = function (e, t, r) {
  27157. var a = Ki(e) ? Pt : hr
  27158. return r && _o(e, t, r) && (t = n), a(e, lo(t, 3))
  27159. }),
  27160. (Vn.find = _i),
  27161. (Vn.findIndex = $o),
  27162. (Vn.findKey = function (e, t) {
  27163. return Bt(e, lo(t, 3), _r)
  27164. }),
  27165. (Vn.findLast = Ai),
  27166. (Vn.findLastIndex = Ko),
  27167. (Vn.findLastKey = function (e, t) {
  27168. return Bt(e, lo(t, 3), Ar)
  27169. }),
  27170. (Vn.floor = kl),
  27171. (Vn.forEach = xi),
  27172. (Vn.forEachRight = wi),
  27173. (Vn.forIn = function (e, t) {
  27174. return null == e ? e : yr(e, lo(t, 3), Fs)
  27175. }),
  27176. (Vn.forInRight = function (e, t) {
  27177. return null == e ? e : br(e, lo(t, 3), Fs)
  27178. }),
  27179. (Vn.forOwn = function (e, t) {
  27180. return e && _r(e, lo(t, 3))
  27181. }),
  27182. (Vn.forOwnRight = function (e, t) {
  27183. return e && Ar(e, lo(t, 3))
  27184. }),
  27185. (Vn.get = Is),
  27186. (Vn.gt = Ui),
  27187. (Vn.gte = Wi),
  27188. (Vn.has = function (e, t) {
  27189. return null != e && mo(e, t, Pr)
  27190. }),
  27191. (Vn.hasIn = Rs),
  27192. (Vn.head = Jo),
  27193. (Vn.identity = sl),
  27194. (Vn.includes = function (e, t, n, r) {
  27195. ;(e = Ji(e) ? e : qs(e)), (n = n && !r ? ys(n) : 0)
  27196. var a = e.length
  27197. return (
  27198. n < 0 && (n = yn(a + n, 0)),
  27199. ps(e) ? n <= a && e.indexOf(t, n) > -1 : !!a && jt(e, t, n) > -1
  27200. )
  27201. }),
  27202. (Vn.indexOf = function (e, t, n) {
  27203. var r = null == e ? 0 : e.length
  27204. if (!r) return -1
  27205. var a = null == n ? 0 : ys(n)
  27206. return a < 0 && (a = yn(r + a, 0)), jt(e, t, a)
  27207. }),
  27208. (Vn.inRange = function (e, t, r) {
  27209. return (
  27210. (t = gs(t)),
  27211. r === n ? ((r = t), (t = 0)) : (r = gs(r)),
  27212. (function (e, t, n) {
  27213. return e >= bn(t, n) && e < yn(t, n)
  27214. })((e = _s(e)), t, r)
  27215. )
  27216. }),
  27217. (Vn.invoke = Os),
  27218. (Vn.isArguments = $i),
  27219. (Vn.isArray = Ki),
  27220. (Vn.isArrayBuffer = Yi),
  27221. (Vn.isArrayLike = Ji),
  27222. (Vn.isArrayLikeObject = Qi),
  27223. (Vn.isBoolean = function (e) {
  27224. return !0 === e || !1 === e || (os(e) && Sr(e) == y)
  27225. }),
  27226. (Vn.isBuffer = Xi),
  27227. (Vn.isDate = Zi),
  27228. (Vn.isElement = function (e) {
  27229. return os(e) && 1 === e.nodeType && !ls(e)
  27230. }),
  27231. (Vn.isEmpty = function (e) {
  27232. if (null == e) return !0
  27233. if (
  27234. Ji(e) &&
  27235. (Ki(e) ||
  27236. 'string' == typeof e ||
  27237. 'function' == typeof e.splice ||
  27238. Xi(e) ||
  27239. fs(e) ||
  27240. $i(e))
  27241. )
  27242. return !e.length
  27243. var t = vo(e)
  27244. if (t == w || t == C) return !e.size
  27245. if (ko(e)) return !Fr(e).length
  27246. for (var n in e) if (De.call(e, n)) return !1
  27247. return !0
  27248. }),
  27249. (Vn.isEqual = function (e, t) {
  27250. return Mr(e, t)
  27251. }),
  27252. (Vn.isEqualWith = function (e, t, r) {
  27253. var a = (r = 'function' == typeof r ? r : n) ? r(e, t) : n
  27254. return a === n ? Mr(e, t, n, r) : !!a
  27255. }),
  27256. (Vn.isError = es),
  27257. (Vn.isFinite = function (e) {
  27258. return 'number' == typeof e && vn(e)
  27259. }),
  27260. (Vn.isFunction = ts),
  27261. (Vn.isInteger = ns),
  27262. (Vn.isLength = rs),
  27263. (Vn.isMap = is),
  27264. (Vn.isMatch = function (e, t) {
  27265. return e === t || zr(e, t, uo(t))
  27266. }),
  27267. (Vn.isMatchWith = function (e, t, r) {
  27268. return (r = 'function' == typeof r ? r : n), zr(e, t, uo(t), r)
  27269. }),
  27270. (Vn.isNaN = function (e) {
  27271. return ss(e) && e != +e
  27272. }),
  27273. (Vn.isNative = function (e) {
  27274. if (wo(e))
  27275. throw new we(
  27276. 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.'
  27277. )
  27278. return Or(e)
  27279. }),
  27280. (Vn.isNil = function (e) {
  27281. return null == e
  27282. }),
  27283. (Vn.isNull = function (e) {
  27284. return null === e
  27285. }),
  27286. (Vn.isNumber = ss),
  27287. (Vn.isObject = as),
  27288. (Vn.isObjectLike = os),
  27289. (Vn.isPlainObject = ls),
  27290. (Vn.isRegExp = cs),
  27291. (Vn.isSafeInteger = function (e) {
  27292. return ns(e) && e >= -9007199254740991 && e <= d
  27293. }),
  27294. (Vn.isSet = us),
  27295. (Vn.isString = ps),
  27296. (Vn.isSymbol = ds),
  27297. (Vn.isTypedArray = fs),
  27298. (Vn.isUndefined = function (e) {
  27299. return e === n
  27300. }),
  27301. (Vn.isWeakMap = function (e) {
  27302. return os(e) && vo(e) == R
  27303. }),
  27304. (Vn.isWeakSet = function (e) {
  27305. return os(e) && '[object WeakSet]' == Sr(e)
  27306. }),
  27307. (Vn.join = function (e, t) {
  27308. return null == e ? '' : mn.call(e, t)
  27309. }),
  27310. (Vn.kebabCase = Ks),
  27311. (Vn.last = ei),
  27312. (Vn.lastIndexOf = function (e, t, r) {
  27313. var a = null == e ? 0 : e.length
  27314. if (!a) return -1
  27315. var o = a
  27316. return (
  27317. r !== n && (o = (o = ys(r)) < 0 ? yn(a + o, 0) : bn(o, a - 1)),
  27318. t == t
  27319. ? (function (e, t, n) {
  27320. for (var r = n + 1; r--; ) if (e[r] === t) return r
  27321. return r
  27322. })(e, t, o)
  27323. : Nt(e, Lt, o, !0)
  27324. )
  27325. }),
  27326. (Vn.lowerCase = Ys),
  27327. (Vn.lowerFirst = Js),
  27328. (Vn.lt = hs),
  27329. (Vn.lte = vs),
  27330. (Vn.max = function (e) {
  27331. return e && e.length ? vr(e, sl, Er) : n
  27332. }),
  27333. (Vn.maxBy = function (e, t) {
  27334. return e && e.length ? vr(e, lo(t, 2), Er) : n
  27335. }),
  27336. (Vn.mean = function (e) {
  27337. return Ht(e, sl)
  27338. }),
  27339. (Vn.meanBy = function (e, t) {
  27340. return Ht(e, lo(t, 2))
  27341. }),
  27342. (Vn.min = function (e) {
  27343. return e && e.length ? vr(e, sl, Nr) : n
  27344. }),
  27345. (Vn.minBy = function (e, t) {
  27346. return e && e.length ? vr(e, lo(t, 2), Nr) : n
  27347. }),
  27348. (Vn.stubArray = bl),
  27349. (Vn.stubFalse = _l),
  27350. (Vn.stubObject = function () {
  27351. return {}
  27352. }),
  27353. (Vn.stubString = function () {
  27354. return ''
  27355. }),
  27356. (Vn.stubTrue = function () {
  27357. return !0
  27358. }),
  27359. (Vn.multiply = El),
  27360. (Vn.nth = function (e, t) {
  27361. return e && e.length ? Gr(e, ys(t)) : n
  27362. }),
  27363. (Vn.noConflict = function () {
  27364. return pt._ === this && (pt._ = Ve), this
  27365. }),
  27366. (Vn.noop = dl),
  27367. (Vn.now = Ii),
  27368. (Vn.pad = function (e, t, n) {
  27369. e = xs(e)
  27370. var r = (t = ys(t)) ? un(e) : 0
  27371. if (!t || r >= t) return e
  27372. var a = (t - r) / 2
  27373. return qa(mt(a), n) + e + qa(vt(a), n)
  27374. }),
  27375. (Vn.padEnd = function (e, t, n) {
  27376. e = xs(e)
  27377. var r = (t = ys(t)) ? un(e) : 0
  27378. return t && r < t ? e + qa(t - r, n) : e
  27379. }),
  27380. (Vn.padStart = function (e, t, n) {
  27381. e = xs(e)
  27382. var r = (t = ys(t)) ? un(e) : 0
  27383. return t && r < t ? qa(t - r, n) + e : e
  27384. }),
  27385. (Vn.parseInt = function (e, t, n) {
  27386. return (
  27387. n || null == t ? (t = 0) : t && (t = +t), An(xs(e).replace(ae, ''), t || 0)
  27388. )
  27389. }),
  27390. (Vn.random = function (e, t, r) {
  27391. if (
  27392. (r && 'boolean' != typeof r && _o(e, t, r) && (t = r = n),
  27393. r === n &&
  27394. ('boolean' == typeof t
  27395. ? ((r = t), (t = n))
  27396. : 'boolean' == typeof e && ((r = e), (e = n))),
  27397. e === n && t === n
  27398. ? ((e = 0), (t = 1))
  27399. : ((e = gs(e)), t === n ? ((t = e), (e = 0)) : (t = gs(t))),
  27400. e > t)
  27401. ) {
  27402. var a = e
  27403. ;(e = t), (t = a)
  27404. }
  27405. if (r || e % 1 || t % 1) {
  27406. var o = xn()
  27407. return bn(e + o * (t - e + st('1e-' + ((o + '').length - 1))), t)
  27408. }
  27409. return Kr(e, t)
  27410. }),
  27411. (Vn.reduce = function (e, t, n) {
  27412. var r = Ki(e) ? zt : Ut,
  27413. a = arguments.length < 3
  27414. return r(e, lo(t, 4), n, a, dr)
  27415. }),
  27416. (Vn.reduceRight = function (e, t, n) {
  27417. var r = Ki(e) ? Ot : Ut,
  27418. a = arguments.length < 3
  27419. return r(e, lo(t, 4), n, a, fr)
  27420. }),
  27421. (Vn.repeat = function (e, t, r) {
  27422. return (t = (r ? _o(e, t, r) : t === n) ? 1 : ys(t)), Yr(xs(e), t)
  27423. }),
  27424. (Vn.replace = function () {
  27425. var e = arguments,
  27426. t = xs(e[0])
  27427. return e.length < 3 ? t : t.replace(e[1], e[2])
  27428. }),
  27429. (Vn.result = function (e, t, r) {
  27430. var a = -1,
  27431. o = (t = ba(t, e)).length
  27432. for (o || ((o = 1), (e = n)); ++a < o; ) {
  27433. var i = null == e ? n : e[Lo(t[a])]
  27434. i === n && ((a = o), (i = r)), (e = ts(i) ? i.call(e) : i)
  27435. }
  27436. return e
  27437. }),
  27438. (Vn.round = Pl),
  27439. (Vn.runInContext = e),
  27440. (Vn.sample = function (e) {
  27441. return (Ki(e) ? Qn : Qr)(e)
  27442. }),
  27443. (Vn.size = function (e) {
  27444. if (null == e) return 0
  27445. if (Ji(e)) return ps(e) ? un(e) : e.length
  27446. var t = vo(e)
  27447. return t == w || t == C ? e.size : Fr(e).length
  27448. }),
  27449. (Vn.snakeCase = Qs),
  27450. (Vn.some = function (e, t, r) {
  27451. var a = Ki(e) ? Dt : aa
  27452. return r && _o(e, t, r) && (t = n), a(e, lo(t, 3))
  27453. }),
  27454. (Vn.sortedIndex = function (e, t) {
  27455. return oa(e, t)
  27456. }),
  27457. (Vn.sortedIndexBy = function (e, t, n) {
  27458. return ia(e, t, lo(n, 2))
  27459. }),
  27460. (Vn.sortedIndexOf = function (e, t) {
  27461. var n = null == e ? 0 : e.length
  27462. if (n) {
  27463. var r = oa(e, t)
  27464. if (r < n && qi(e[r], t)) return r
  27465. }
  27466. return -1
  27467. }),
  27468. (Vn.sortedLastIndex = function (e, t) {
  27469. return oa(e, t, !0)
  27470. }),
  27471. (Vn.sortedLastIndexBy = function (e, t, n) {
  27472. return ia(e, t, lo(n, 2), !0)
  27473. }),
  27474. (Vn.sortedLastIndexOf = function (e, t) {
  27475. if (null == e ? 0 : e.length) {
  27476. var n = oa(e, t, !0) - 1
  27477. if (qi(e[n], t)) return n
  27478. }
  27479. return -1
  27480. }),
  27481. (Vn.startCase = Xs),
  27482. (Vn.startsWith = function (e, t, n) {
  27483. return (
  27484. (e = xs(e)),
  27485. (n = null == n ? 0 : sr(ys(n), 0, e.length)),
  27486. (t = ca(t)),
  27487. e.slice(n, n + t.length) == t
  27488. )
  27489. }),
  27490. (Vn.subtract = Cl),
  27491. (Vn.sum = function (e) {
  27492. return e && e.length ? Wt(e, sl) : 0
  27493. }),
  27494. (Vn.sumBy = function (e, t) {
  27495. return e && e.length ? Wt(e, lo(t, 2)) : 0
  27496. }),
  27497. (Vn.template = function (e, t, r) {
  27498. var a = Vn.templateSettings
  27499. r && _o(e, t, r) && (t = n), (e = xs(e)), (t = Ss({}, t, a, Xa))
  27500. var o,
  27501. i,
  27502. s = Ss({}, t.imports, a.imports, Xa),
  27503. l = Ds(s),
  27504. c = Jt(s, l),
  27505. u = 0,
  27506. p = t.interpolate || _e,
  27507. d = "__p += '",
  27508. f = Pe(
  27509. (t.escape || _e).source +
  27510. '|' +
  27511. p.source +
  27512. '|' +
  27513. (p === X ? de : _e).source +
  27514. '|' +
  27515. (t.evaluate || _e).source +
  27516. '|$',
  27517. 'g'
  27518. ),
  27519. h =
  27520. '//# sourceURL=' +
  27521. (De.call(t, 'sourceURL')
  27522. ? (t.sourceURL + '').replace(/\s/g, ' ')
  27523. : 'lodash.templateSources[' + ++rt + ']') +
  27524. '\n'
  27525. e.replace(f, function (t, n, r, a, s, l) {
  27526. return (
  27527. r || (r = a),
  27528. (d += e.slice(u, l).replace(Ae, rn)),
  27529. n && ((o = !0), (d += "' +\n__e(" + n + ") +\n'")),
  27530. s && ((i = !0), (d += "';\n" + s + ";\n__p += '")),
  27531. r && (d += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'"),
  27532. (u = l + t.length),
  27533. t
  27534. )
  27535. }),
  27536. (d += "';\n")
  27537. var v = De.call(t, 'variable') && t.variable
  27538. if (v) {
  27539. if (ue.test(v))
  27540. throw new we('Invalid `variable` option passed into `_.template`')
  27541. } else d = 'with (obj) {\n' + d + '\n}\n'
  27542. ;(d = (i ? d.replace(G, '') : d).replace(q, '$1').replace(U, '$1;')),
  27543. (d =
  27544. 'function(' +
  27545. (v || 'obj') +
  27546. ') {\n' +
  27547. (v ? '' : 'obj || (obj = {});\n') +
  27548. "var __t, __p = ''" +
  27549. (o ? ', __e = _.escape' : '') +
  27550. (i
  27551. ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n"
  27552. : ';\n') +
  27553. d +
  27554. 'return __p\n}')
  27555. var m = nl(function () {
  27556. return ke(l, h + 'return ' + d).apply(n, c)
  27557. })
  27558. if (((m.source = d), es(m))) throw m
  27559. return m
  27560. }),
  27561. (Vn.times = function (e, t) {
  27562. if ((e = ys(e)) < 1 || e > d) return []
  27563. var n = h,
  27564. r = bn(e, h)
  27565. ;(t = lo(t)), (e -= h)
  27566. for (var a = $t(r, t); ++n < e; ) t(n)
  27567. return a
  27568. }),
  27569. (Vn.toFinite = gs),
  27570. (Vn.toInteger = ys),
  27571. (Vn.toLength = bs),
  27572. (Vn.toLower = function (e) {
  27573. return xs(e).toLowerCase()
  27574. }),
  27575. (Vn.toNumber = _s),
  27576. (Vn.toSafeInteger = function (e) {
  27577. return e ? sr(ys(e), -9007199254740991, d) : 0 === e ? e : 0
  27578. }),
  27579. (Vn.toString = xs),
  27580. (Vn.toUpper = function (e) {
  27581. return xs(e).toUpperCase()
  27582. }),
  27583. (Vn.trim = function (e, t, r) {
  27584. if ((e = xs(e)) && (r || t === n)) return Kt(e)
  27585. if (!e || !(t = ca(t))) return e
  27586. var a = pn(e),
  27587. o = pn(t)
  27588. return Aa(a, Xt(a, o), Zt(a, o) + 1).join('')
  27589. }),
  27590. (Vn.trimEnd = function (e, t, r) {
  27591. if ((e = xs(e)) && (r || t === n)) return e.slice(0, dn(e) + 1)
  27592. if (!e || !(t = ca(t))) return e
  27593. var a = pn(e)
  27594. return Aa(a, 0, Zt(a, pn(t)) + 1).join('')
  27595. }),
  27596. (Vn.trimStart = function (e, t, r) {
  27597. if ((e = xs(e)) && (r || t === n)) return e.replace(ae, '')
  27598. if (!e || !(t = ca(t))) return e
  27599. var a = pn(e)
  27600. return Aa(a, Xt(a, pn(t))).join('')
  27601. }),
  27602. (Vn.truncate = function (e, t) {
  27603. var r = 30,
  27604. a = '...'
  27605. if (as(t)) {
  27606. var o = 'separator' in t ? t.separator : o
  27607. ;(r = 'length' in t ? ys(t.length) : r),
  27608. (a = 'omission' in t ? ca(t.omission) : a)
  27609. }
  27610. var i = (e = xs(e)).length
  27611. if (an(e)) {
  27612. var s = pn(e)
  27613. i = s.length
  27614. }
  27615. if (r >= i) return e
  27616. var l = r - un(a)
  27617. if (l < 1) return a
  27618. var c = s ? Aa(s, 0, l).join('') : e.slice(0, l)
  27619. if (o === n) return c + a
  27620. if ((s && (l += c.length - l), cs(o))) {
  27621. if (e.slice(l).search(o)) {
  27622. var u,
  27623. p = c
  27624. for (
  27625. o.global || (o = Pe(o.source, xs(fe.exec(o)) + 'g')), o.lastIndex = 0;
  27626. (u = o.exec(p));
  27627. )
  27628. var d = u.index
  27629. c = c.slice(0, d === n ? l : d)
  27630. }
  27631. } else if (e.indexOf(ca(o), l) != l) {
  27632. var f = c.lastIndexOf(o)
  27633. f > -1 && (c = c.slice(0, f))
  27634. }
  27635. return c + a
  27636. }),
  27637. (Vn.unescape = function (e) {
  27638. return (e = xs(e)) && K.test(e) ? e.replace(W, fn) : e
  27639. }),
  27640. (Vn.uniqueId = function (e) {
  27641. var t = ++Fe
  27642. return xs(e) + t
  27643. }),
  27644. (Vn.upperCase = Zs),
  27645. (Vn.upperFirst = el),
  27646. (Vn.each = xi),
  27647. (Vn.eachRight = wi),
  27648. (Vn.first = Jo),
  27649. pl(
  27650. Vn,
  27651. ((Sl = {}),
  27652. _r(Vn, function (e, t) {
  27653. De.call(Vn.prototype, t) || (Sl[t] = e)
  27654. }),
  27655. Sl),
  27656. { chain: !1 }
  27657. ),
  27658. (Vn.VERSION = '2.4.0'),
  27659. St(
  27660. ['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'],
  27661. function (e) {
  27662. Vn[e].placeholder = Vn
  27663. }
  27664. ),
  27665. St(['drop', 'take'], function (e, t) {
  27666. ;(qn.prototype[e] = function (r) {
  27667. r = r === n ? 1 : yn(ys(r), 0)
  27668. var a = this.__filtered__ && !t ? new qn(this) : this.clone()
  27669. return (
  27670. a.__filtered__
  27671. ? (a.__takeCount__ = bn(r, a.__takeCount__))
  27672. : a.__views__.push({
  27673. size: bn(r, h),
  27674. type: e + (a.__dir__ < 0 ? 'Right' : '')
  27675. }),
  27676. a
  27677. )
  27678. }),
  27679. (qn.prototype[e + 'Right'] = function (t) {
  27680. return this.reverse()[e](t).reverse()
  27681. })
  27682. }),
  27683. St(['filter', 'map', 'takeWhile'], function (e, t) {
  27684. var n = t + 1,
  27685. r = 1 == n || 3 == n
  27686. qn.prototype[e] = function (e) {
  27687. var t = this.clone()
  27688. return (
  27689. t.__iteratees__.push({ iteratee: lo(e, 3), type: n }),
  27690. (t.__filtered__ = t.__filtered__ || r),
  27691. t
  27692. )
  27693. }
  27694. }),
  27695. St(['head', 'last'], function (e, t) {
  27696. var n = 'take' + (t ? 'Right' : '')
  27697. qn.prototype[e] = function () {
  27698. return this[n](1).value()[0]
  27699. }
  27700. }),
  27701. St(['initial', 'tail'], function (e, t) {
  27702. var n = 'drop' + (t ? '' : 'Right')
  27703. qn.prototype[e] = function () {
  27704. return this.__filtered__ ? new qn(this) : this[n](1)
  27705. }
  27706. }),
  27707. (qn.prototype.compact = function () {
  27708. return this.filter(sl)
  27709. }),
  27710. (qn.prototype.find = function (e) {
  27711. return this.filter(e).head()
  27712. }),
  27713. (qn.prototype.findLast = function (e) {
  27714. return this.reverse().find(e)
  27715. }),
  27716. (qn.prototype.invokeMap = Jr(function (e, t) {
  27717. return 'function' == typeof e
  27718. ? new qn(this)
  27719. : this.map(function (n) {
  27720. return Ir(n, e, t)
  27721. })
  27722. })),
  27723. (qn.prototype.reject = function (e) {
  27724. return this.filter(ji(lo(e)))
  27725. }),
  27726. (qn.prototype.slice = function (e, t) {
  27727. e = ys(e)
  27728. var r = this
  27729. return r.__filtered__ && (e > 0 || t < 0)
  27730. ? new qn(r)
  27731. : (e < 0 ? (r = r.takeRight(-e)) : e && (r = r.drop(e)),
  27732. t !== n && (r = (t = ys(t)) < 0 ? r.dropRight(-t) : r.take(t - e)),
  27733. r)
  27734. }),
  27735. (qn.prototype.takeRightWhile = function (e) {
  27736. return this.reverse().takeWhile(e).reverse()
  27737. }),
  27738. (qn.prototype.toArray = function () {
  27739. return this.take(h)
  27740. }),
  27741. _r(qn.prototype, function (e, t) {
  27742. var r = /^(?:filter|find|map|reject)|While$/.test(t),
  27743. a = /^(?:head|last)$/.test(t),
  27744. o = Vn[a ? 'take' + ('last' == t ? 'Right' : '') : t],
  27745. i = a || /^find/.test(t)
  27746. o &&
  27747. (Vn.prototype[t] = function () {
  27748. var t = this.__wrapped__,
  27749. s = a ? [1] : arguments,
  27750. l = t instanceof qn,
  27751. c = s[0],
  27752. u = l || Ki(t),
  27753. p = function (e) {
  27754. var t = o.apply(Vn, Mt([e], s))
  27755. return a && d ? t[0] : t
  27756. }
  27757. u && r && 'function' == typeof c && 1 != c.length && (l = u = !1)
  27758. var d = this.__chain__,
  27759. f = !!this.__actions__.length,
  27760. h = i && !d,
  27761. v = l && !f
  27762. if (!i && u) {
  27763. t = v ? t : new qn(this)
  27764. var m = e.apply(t, s)
  27765. return (
  27766. m.__actions__.push({ func: gi, args: [p], thisArg: n }), new Gn(m, d)
  27767. )
  27768. }
  27769. return h && v
  27770. ? e.apply(this, s)
  27771. : ((m = this.thru(p)), h ? (a ? m.value()[0] : m.value()) : m)
  27772. })
  27773. }),
  27774. St(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function (e) {
  27775. var t = Ie[e],
  27776. n = /^(?:push|sort|unshift)$/.test(e) ? 'tap' : 'thru',
  27777. r = /^(?:pop|shift)$/.test(e)
  27778. Vn.prototype[e] = function () {
  27779. var e = arguments
  27780. if (r && !this.__chain__) {
  27781. var a = this.value()
  27782. return t.apply(Ki(a) ? a : [], e)
  27783. }
  27784. return this[n](function (n) {
  27785. return t.apply(Ki(n) ? n : [], e)
  27786. })
  27787. }
  27788. }),
  27789. _r(qn.prototype, function (e, t) {
  27790. var n = Vn[t]
  27791. if (n) {
  27792. var r = n.name + ''
  27793. De.call(Rn, r) || (Rn[r] = []), Rn[r].push({ name: t, func: n })
  27794. }
  27795. }),
  27796. (Rn[Va(n, 2).name] = [{ name: 'wrapper', func: n }]),
  27797. (qn.prototype.clone = function () {
  27798. var e = new qn(this.__wrapped__)
  27799. return (
  27800. (e.__actions__ = Ta(this.__actions__)),
  27801. (e.__dir__ = this.__dir__),
  27802. (e.__filtered__ = this.__filtered__),
  27803. (e.__iteratees__ = Ta(this.__iteratees__)),
  27804. (e.__takeCount__ = this.__takeCount__),
  27805. (e.__views__ = Ta(this.__views__)),
  27806. e
  27807. )
  27808. }),
  27809. (qn.prototype.reverse = function () {
  27810. if (this.__filtered__) {
  27811. var e = new qn(this)
  27812. ;(e.__dir__ = -1), (e.__filtered__ = !0)
  27813. } else (e = this.clone()).__dir__ *= -1
  27814. return e
  27815. }),
  27816. (qn.prototype.value = function () {
  27817. var e = this.__wrapped__.value(),
  27818. t = this.__dir__,
  27819. n = Ki(e),
  27820. r = t < 0,
  27821. a = n ? e.length : 0,
  27822. o = (function (e, t, n) {
  27823. var r = -1,
  27824. a = n.length
  27825. for (; ++r < a; ) {
  27826. var o = n[r],
  27827. i = o.size
  27828. switch (o.type) {
  27829. case 'drop':
  27830. e += i
  27831. break
  27832. case 'dropRight':
  27833. t -= i
  27834. break
  27835. case 'take':
  27836. t = bn(t, e + i)
  27837. break
  27838. case 'takeRight':
  27839. e = yn(e, t - i)
  27840. }
  27841. }
  27842. return { start: e, end: t }
  27843. })(0, a, this.__views__),
  27844. i = o.start,
  27845. s = o.end,
  27846. l = s - i,
  27847. c = r ? s : i - 1,
  27848. u = this.__iteratees__,
  27849. p = u.length,
  27850. d = 0,
  27851. f = bn(l, this.__takeCount__)
  27852. if (!n || (!r && a == l && f == l)) return ha(e, this.__actions__)
  27853. var h = []
  27854. e: for (; l-- && d < f; ) {
  27855. for (var v = -1, m = e[(c += t)]; ++v < p; ) {
  27856. var g = u[v],
  27857. y = g.iteratee,
  27858. b = g.type,
  27859. _ = y(m)
  27860. if (2 == b) m = _
  27861. else if (!_) {
  27862. if (1 == b) continue e
  27863. break e
  27864. }
  27865. }
  27866. h[d++] = m
  27867. }
  27868. return h
  27869. }),
  27870. (Vn.prototype.at = yi),
  27871. (Vn.prototype.chain = function () {
  27872. return mi(this)
  27873. }),
  27874. (Vn.prototype.commit = function () {
  27875. return new Gn(this.value(), this.__chain__)
  27876. }),
  27877. (Vn.prototype.next = function () {
  27878. this.__values__ === n && (this.__values__ = ms(this.value()))
  27879. var e = this.__index__ >= this.__values__.length
  27880. return { done: e, value: e ? n : this.__values__[this.__index__++] }
  27881. }),
  27882. (Vn.prototype.plant = function (e) {
  27883. for (var t, r = this; r instanceof Hn; ) {
  27884. var a = Go(r)
  27885. ;(a.__index__ = 0), (a.__values__ = n), t ? (o.__wrapped__ = a) : (t = a)
  27886. var o = a
  27887. r = r.__wrapped__
  27888. }
  27889. return (o.__wrapped__ = e), t
  27890. }),
  27891. (Vn.prototype.reverse = function () {
  27892. var e = this.__wrapped__
  27893. if (e instanceof qn) {
  27894. var t = e
  27895. return (
  27896. this.__actions__.length && (t = new qn(this)),
  27897. (t = t.reverse()).__actions__.push({ func: gi, args: [ai], thisArg: n }),
  27898. new Gn(t, this.__chain__)
  27899. )
  27900. }
  27901. return this.thru(ai)
  27902. }),
  27903. (Vn.prototype.toJSON =
  27904. Vn.prototype.valueOf =
  27905. Vn.prototype.value =
  27906. function () {
  27907. return ha(this.__wrapped__, this.__actions__)
  27908. }),
  27909. (Vn.prototype.first = Vn.prototype.head),
  27910. et &&
  27911. (Vn.prototype[et] = function () {
  27912. return this
  27913. }),
  27914. Vn
  27915. )
  27916. })()
  27917. ft ? (((ft.exports = hn)._ = hn), (dt._ = hn)) : (pt._ = hn)
  27918. }.call(commonjsGlobal))
  27919. })(lodash, lodash.exports)
  27920. var _export_sfc = function (e, t) {
  27921. var n,
  27922. r = e.__vccOpts || e,
  27923. a = _createForOfIteratorHelper(t)
  27924. try {
  27925. for (a.s(); !(n = a.n()).done; ) {
  27926. var o = _slicedToArray(n.value, 2),
  27927. i = o[0],
  27928. s = o[1]
  27929. r[i] = s
  27930. }
  27931. } catch (l) {
  27932. a.e(l)
  27933. } finally {
  27934. a.f()
  27935. }
  27936. return r
  27937. },
  27938. _sfc_main = defineComponent({
  27939. props: {
  27940. animationData: {
  27941. type: Object,
  27942. default: function () {
  27943. return {}
  27944. }
  27945. },
  27946. animationLink: { type: String, default: '' },
  27947. loop: { type: [Boolean, Number], default: !0 },
  27948. autoPlay: { type: Boolean, default: !0 },
  27949. width: { type: [Number, String], default: '100%' },
  27950. height: { type: [Number, String], default: '100%' },
  27951. speed: { type: Number, default: 1 },
  27952. delay: { type: Number, default: 0 },
  27953. direction: { type: String, default: 'forward' },
  27954. pauseOnHover: { type: Boolean, default: !1 },
  27955. playOnHover: { type: Boolean, default: !1 },
  27956. backgroundColor: { type: String, default: 'transparent' },
  27957. pauseAnimation: { type: Boolean, default: !1 },
  27958. renderer: { type: String, default: 'svg' },
  27959. rendererSettings: {
  27960. type: Object,
  27961. default: function () {
  27962. return {}
  27963. }
  27964. }
  27965. },
  27966. emits: {
  27967. onComplete: null,
  27968. onLoopComplete: null,
  27969. onEnterFrame: null,
  27970. onSegmentStart: null,
  27971. onAnimationLoaded: null
  27972. },
  27973. setup: function (e, t) {
  27974. var n = t.emit,
  27975. r = ref(null),
  27976. a = ref(''),
  27977. o = 1,
  27978. i = (function () {
  27979. var t = _asyncToGenerator(
  27980. regeneratorRuntime.mark(function t(a) {
  27981. var i, s, l, c, u, p
  27982. return regeneratorRuntime.wrap(
  27983. function (t) {
  27984. for (;;)
  27985. switch ((t.prev = t.next)) {
  27986. case 0:
  27987. if (
  27988. ((i = e.autoPlay),
  27989. e.playOnHover && (i = !1),
  27990. (s = {}),
  27991. !1 === lodash.exports.isEqual(e.animationData, {}) &&
  27992. (s = lodash.exports.cloneDeep(e.animationData)),
  27993. '' == e.animationLink)
  27994. ) {
  27995. t.next = 19
  27996. break
  27997. }
  27998. return (t.prev = 5), (t.next = 8), fetch(e.animationLink)
  27999. case 8:
  28000. return (l = t.sent), (t.next = 11), l.json()
  28001. case 11:
  28002. ;(c = t.sent), (s = c), (t.next = 19)
  28003. break
  28004. case 15:
  28005. return (
  28006. (t.prev = 15),
  28007. (t.t0 = t.catch(5)),
  28008. console.error(t.t0),
  28009. t.abrupt('return')
  28010. )
  28011. case 19:
  28012. 'number' == typeof (u = e.loop) && u > 0 && (u -= 1),
  28013. e.delay > 0 && (i = !1),
  28014. (p = {
  28015. container: a,
  28016. renderer: e.renderer,
  28017. loop: u,
  28018. autoplay: i,
  28019. animationData: s
  28020. }),
  28021. !1 === lodash.exports.isEqual(e.rendererSettings, {}) &&
  28022. (p.rendererSettings = e.rendererSettings),
  28023. (r = Lottie.loadAnimation(p)),
  28024. setTimeout(function () {
  28025. ;(i = e.autoPlay),
  28026. e.playOnHover ? r.pause() : i ? r.play() : r.pause(),
  28027. n('onAnimationLoaded')
  28028. }, e.delay),
  28029. r.setSpeed(e.speed),
  28030. 'reverse' === e.direction && r.setDirection(-1),
  28031. 'normal' === e.direction && r.setDirection(1),
  28032. (e.pauseAnimation || e.playOnHover) && r.pause(),
  28033. r.addEventListener('loopComplete', function () {
  28034. 'alternate' === e.direction &&
  28035. (r.stop(), (o *= -1), r.setDirection(o), r.play()),
  28036. n('onLoopComplete')
  28037. }),
  28038. r.addEventListener('complete', function () {
  28039. n('onComplete')
  28040. }),
  28041. r.addEventListener('enterFrame', function () {
  28042. n('onEnterFrame')
  28043. }),
  28044. r.addEventListener('segmentStart', function () {
  28045. n('onSegmentStart')
  28046. })
  28047. case 34:
  28048. case 'end':
  28049. return t.stop()
  28050. }
  28051. },
  28052. t,
  28053. null,
  28054. [[5, 15]]
  28055. )
  28056. })
  28057. )
  28058. return function (e) {
  28059. return t.apply(this, arguments)
  28060. }
  28061. })(),
  28062. s = computed(function () {
  28063. var t = e.width,
  28064. n = e.height
  28065. return (
  28066. 'number' == typeof e.width && (t = ''.concat(e.width, 'px')),
  28067. 'number' == typeof e.height && (n = ''.concat(e.height, 'px')),
  28068. {
  28069. '--lottie-animation-container-width': t,
  28070. '--lottie-animation-container-height': n,
  28071. '--lottie-animation-container-background-color': e.backgroundColor
  28072. }
  28073. )
  28074. })
  28075. watch(
  28076. function () {
  28077. return e.pauseAnimation
  28078. },
  28079. function () {
  28080. ;(e.pauseOnHover || e.playOnHover) && e.pauseAnimation
  28081. ? console.error(
  28082. 'If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover'
  28083. )
  28084. : r && (e.pauseAnimation ? r.pause() : r.play())
  28085. }
  28086. )
  28087. var l = function (e) {
  28088. for (
  28089. var t = '',
  28090. n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
  28091. r = n.length,
  28092. a = 0;
  28093. a < e;
  28094. a++
  28095. )
  28096. t += n.charAt(Math.floor(Math.random() * r))
  28097. return t
  28098. },
  28099. c = function (t) {
  28100. if (e.pauseOnHover && e.playOnHover)
  28101. throw new Error(
  28102. 'You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.'
  28103. )
  28104. if ('' === e.animationLink && lodash.exports.isEqual(e.animationData, {}))
  28105. throw (
  28106. (console.log(
  28107. e.animationData,
  28108. 'animationData',
  28109. e.animationLink,
  28110. 'animationLink'
  28111. ),
  28112. new Error('You must provide either animationLink or animationData'))
  28113. )
  28114. var n = setInterval(function () {
  28115. if (
  28116. (function (e) {
  28117. return null !== document.querySelector('[data-id="'.concat(e, '"]'))
  28118. })(t)
  28119. ) {
  28120. clearInterval(n)
  28121. var e = document.querySelector('[data-id="'.concat(t, '" ]'))
  28122. e && i(e)
  28123. }
  28124. }, 0)
  28125. }
  28126. return (
  28127. onMounted(
  28128. _asyncToGenerator(
  28129. regeneratorRuntime.mark(function e() {
  28130. return regeneratorRuntime.wrap(function (e) {
  28131. for (;;)
  28132. switch ((e.prev = e.next)) {
  28133. case 0:
  28134. ;(a.value = l(20)), c(a.value)
  28135. case 2:
  28136. case 'end':
  28137. return e.stop()
  28138. }
  28139. }, e)
  28140. })
  28141. )
  28142. ),
  28143. {
  28144. elementid: a,
  28145. hoverEnded: function () {
  28146. r && e.pauseOnHover && r.play(), r && e.playOnHover && r.pause()
  28147. },
  28148. hoverStarted: function () {
  28149. r && e.pauseOnHover && r.pause(), r && e.playOnHover && r.play()
  28150. },
  28151. getCurrentStyle: s,
  28152. play: function () {
  28153. r && r.play()
  28154. },
  28155. pause: function () {
  28156. r && r.pause()
  28157. },
  28158. stop: function () {
  28159. r && r.stop()
  28160. },
  28161. destroy: function () {
  28162. r && r.destroy()
  28163. },
  28164. setSpeed: function () {
  28165. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1
  28166. if (e <= 0) throw new Error('Speed must be greater than 0')
  28167. r && r.setSpeed(e)
  28168. },
  28169. setDirection: function (e) {
  28170. r &&
  28171. ('forward' === e
  28172. ? r.setDirection(1)
  28173. : 'reverse' === e && r.setDirection(-1))
  28174. },
  28175. goToAndStop: function (e) {
  28176. var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
  28177. r && r.goToAndStop(e, t)
  28178. },
  28179. goToAndPlay: function (e) {
  28180. var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
  28181. r && r.goToAndPlay(e, t)
  28182. },
  28183. playSegments: function (e) {
  28184. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
  28185. r && r.playSegments(e, t)
  28186. },
  28187. setSubFrame: function () {
  28188. var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
  28189. r && r.setSubframe(e)
  28190. },
  28191. getDuration: function () {
  28192. var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
  28193. if (r) return r.getDuration(e)
  28194. },
  28195. updateDocumentData: function (e) {
  28196. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
  28197. r && r.renderer.elements[t].updateDocumentData(e)
  28198. }
  28199. }
  28200. )
  28201. }
  28202. }),
  28203. _hoisted_1 = ['data-id']
  28204. function _sfc_render(e, t, n, r, a, o) {
  28205. return (
  28206. openBlock(),
  28207. createElementBlock(
  28208. 'div',
  28209. {
  28210. 'data-id': e.elementid,
  28211. class: 'lottie-animation-container',
  28212. style: normalizeStyle(e.getCurrentStyle),
  28213. onMouseenter:
  28214. t[0] ||
  28215. (t[0] = function () {
  28216. return e.hoverStarted && e.hoverStarted.apply(e, arguments)
  28217. }),
  28218. onMouseleave:
  28219. t[1] ||
  28220. (t[1] = function () {
  28221. return e.hoverEnded && e.hoverEnded.apply(e, arguments)
  28222. })
  28223. },
  28224. null,
  28225. 44,
  28226. _hoisted_1
  28227. )
  28228. )
  28229. }
  28230. var Vue3Lottie = exports('V', _export_sfc(_sfc_main, [['render', _sfc_render]]))
  28231. function install(e, t) {
  28232. var n = Object.assign({}, { name: 'Vue3Lottie' }, t)
  28233. e.component(''.concat(n.name), Vue3Lottie)
  28234. }
  28235. var plugin = exports('i', { version: '2.4.0', install: install }),
  28236. v = '5.7.1',
  28237. fr = 60,
  28238. ip = 0,
  28239. op = 49,
  28240. w = 180,
  28241. h = 180,
  28242. nm = '蚂蚁刷新',
  28243. ddd = 0,
  28244. assets = [
  28245. {
  28246. id: 'image_0',
  28247. w: 32,
  28248. h: 36,
  28249. u: '',
  28250. p: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAYAAADo6zjiAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAFZElEQVRYhe2Xz2tc1xXHP+fd++anfv+wZFtyLctN5VqpS51AAgkRZBHyB8QQ6B/QVemyu3bZXaCbUtpVCwnE+25aUAKliyBbsWh+2YnkYEW2LGtG0mjm/b6ni5nRyPJInpBAuvCBy5x33+V9P+ecd+67A8/smf3AJr0uDNZWXnNZ9gqa7ojKUvHHV28AmYjo4XWN9VtTov4bYvx5ky+u25HSX0VGdr8TQLq79acsiX+Fy1CXos4h6J7CTWBdhBqYUyLeHNZeFuMjxiLWxzO5u5LLvwJsHIXtCUA1ednFyX9wimqGOgfaHoBIcyCI5yGeARHE2ObjRRDx3sXzfg1UjkLYpwF88Zc//2bo0jx9MxcoTkwiaFO4ifd4DG0QgXinyt7tz9m5tUzj7trzV/7wzixQA+KeAXRxwb739m+ns8whCLZUojg5QX54jMLwCPnhYfyBAVwUk1S3CSsV4sojoocPSWt7SAumdHa67wqMA+aoxrEAqir8bWAQq2OagaqSNBqka2vUVtcQEUDxpJOBtiCAJ4KiiEIaBkWgQJeSe8eGf/1UGRdeyJfVOqco4NTR9BWnzbnMKa5VFVVFFVTBaXONA8TaDLJcN4CuGVBV4e+lERIul4clv7vlKFqPuVNlzvQXyBmPKHU83I9ZrQbEmTI7UmCyv0DZ90gzx2Y95fajBlGa4ZULEXEIufITWt1LcOMFS5iO4Ols36jL/Wi0xKszY/hW2oQATAyVmJ8axDnFGO9gHoTRQeXiRJl/r1ZhsD+EKIXyE23YHWB102K1RKaj02dy3rSZ5LHmkY4jKOagGaQJ0Xo/chZem5vgk8mRAE0iwPUGECYeDgv452b8jO2TmuVQKx6Id8wAl65c2CWNAvL0mIFhozzEoaT0hzG21T0inTQf9pEmQxtAH9fxz09v4+J9IOsNIPAUlRgIKUQBg0YJvE6PtYM+HPFxPqL85NIDpL7XO0DdKo4YoY5qzGjg2BwynS1QDlPQeSkOZ6B1b3x0j4GBGtWvq9L/8x5LUC476hKSaA0IGatmbI92drG27tHrw/NtkJmpLeLGNo3Pa92kum9E4+OOzAtAdoEGA49SBgV82xzGdHxrwLZ9e2iNB3lfeelnt4kq98iWot4BFhYcORsgUgVqkCWc3tADsZzfEjYd4fZ12/ctzE3vUSpsUfnoNj+9nHaTOqa/fqd4fwwhrCC6DQQM3esjmjI8KpyQ9tavAkNFx4uz69Q3vuKbf90XWXliDzg2AyKi5EoJSAWVDVR2cEnGqY9hzHSPvl0OY2CoqLw6s4fWNrj/z2XS+43ugZ70MRq/mICpIHIX2EQJ0Zpy9iO4ZKGYPwJiIJ+DyxPw+rkEU6vwYPEGW0trXDjXtf5w0nlgYTFjY2iHen0V0VXgPKpFooqP/wE8/xzY5yDNN+PIe9BvgdBRXdln984nRNWPEd3m6lJ63OHrWAARUf3HxQZx8DWproDOINoPOkhSM1RXwNyB/DDYEjSAWuCId+pk4RpptIzIlwxO7HY7Cz49AwBv/jLh3Xc20foyKacR6UN1FuhHE0OSCOk+iKcIDnUNnN4DXcJjCc2v89a98KSj54kAIr93unR1n1uf3UGiD0EMSIjoeZQBwKIOcBmOfZB10JuIWUS9/3L29M5J0UNPp2IVrs/71NbGcPEcwi9QnQc5A5Ray0LQByCfgS5j/U8pj23KtfXgac/v+Y+JLi5Yvro5gBdOom4KlQmUvtbtOp7bwplvMLn7TE7u8ead+GnRfyuAA5Clqz6rqyWiqETkchgE58UU/IB4OKD8YiLXrj/x1fveAA5AVIXr1zzGt4StceWt910vET+z/zv7H6I0eQIhNkaGAAAAAElFTkSuQmCC',
  28251. e: 1
  28252. },
  28253. {
  28254. id: 'image_1',
  28255. w: 104,
  28256. h: 103,
  28257. u: '',
  28258. p: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABnCAYAAADsSgd0AAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nO2deZxdR3Xnv1X3vq27pW6ptVjWYkm2vGNsYzBLEggOMIawZcCTkG0I4IQQYJIwA4RJwMOQkMBkAUISIJ8ZwieQQJjJBmYJBhzANgSMdxshW5asxVKr1ertLfdW1fxx61TVfd2WLdvY5PPR/Xza7+ndrer8zvmdX52qew0nt5Pbye3kdnI7uZ3cTm4nt5Pbye3kdnI7uZ3cTm4PdVOPdwMe6uaG2+rciV1AxdMVnODJj9/2QwGQc9KOHwK7eSB/WEDUj3cDTm7H3x7zCPqhipaHuCmlHrfG5o/XjR/2dtVV0anePrxTfrgKrhre9fZ/Px6RbI9JBDnnHuZ9rlLwdjj8ziey6J6O0k8ANgKrcGoVuJVAG600lhylMpRzOAwKg3UWxyLKzaH1UZybQXMvllvouG/yQXsTcOLgPYZ56ocPoPnfW8NM76ex2WU4fRGoDTjbSFUYTnkV539Tyfd40+Q3Vxk1ZSrnQOsC3H6su5HcfomJ5t8y9tapB23jv3eAgiR+qFL40Hu20+39Bk69AMVmLBrtPBAkEjkxsvP/ZhlwiIdXx9p4DQtof45zBPAsoLE4twflPkOn+Yese8s9D9b0H3R+etQBeujR8qkG993xWxiuAHUWzitKAcR5w0n3BYv0h9qdXMQqHJJGnRu6jgKlAZs4gYvXUlgUd6HtJ9m04V1wZXnc7vyAouqxB+j+947Qn/9djP5FHONoqkiR1jiG6AuWWj45TrnEwAJscpA6zkgiBUscQqX/xkcfM2j3V7TGfov1b1pc/lo/5AA9KDAHPtShu//9KH0FuLHYFVU3KC4ClhrbUqc3rWJU1A9K/j0cNcl3BaDrTqGIgLqh86sInUeXn6K1+dfYcGV3+Y56oNSjA9RjA9C9b3sVrvluYLIyhoqeX7NemhuovFf2B5v7fzsiYMvdOTWPSyIDQNnkdw9oyFEu0p3S8d7SZhwodwTl3sJp/+Mvl974hwyg4wJz6Le3M2s/jm48pebVzndekrREk7IJVpKDXF2lOVudq1wVMMuJhBSM1MBy8Zrw8MfK9bQCdIyglDqzIQKzg2/Sbv4sm96+a2nn1aMC0sMG6LjAXHWV4mf7/5288Ras6kTjJpGSAgDeQC4CJdQnEaddwmDy3RtMD+WmtHu1nJQ6iY4REe6VdEnp6s9aD1oCjk5pueyB/Z9se9fvLrHDo5CXfgAAfShn173/AOryqtSXeGB1ImATcFxdjitH5cGuMoQxEQgHZHINAb06POaRBFjZH3NIdXBwAH+sTY6xui5MAgVK+3yEhc34feazbN/6kprae7wAquppy9xz/2+fyaK5GpVtA+99gUpc5HFrw4VQrm5Qhd8vPwbrEw3jhlqeZv7000dKeo5VFUBax3YIAKm8RxEGxGmeEoEi+Sk4gAVl76GtL+fUd36v1rpHMFZ69ADa85aXU+i/xOqxKr+Ia7rkUFflkJTW5Pc0ylJDK+q/u4T+gtFSukzACZdKKY3EqCTnE68bhILkOgc6iyelgCl81JnqwtrOk9tXseXdnyLc4jEHaIjedv3WL+D4EE43q1G5AgzBoApv2CSK8NFjJULwhnSVdwfqSylGosh6B0jODYB4gNzQvqDSbJXsbfKbs/G66ETCp/ynE4v587SOv4c2WsAOyOxr2Pbuj6VmejhAPXKAvv/WV4L6M5xqVkkVwESFpcTrrfdETQAPIs0IZUgkyWHaNzPNJTZN0g5UljTOf2rv+RCjpBY5GiiJYyFXwz+0XcRDWtXQCp8MqwsqnUSVFeoeoN1r2f57/1ua9gMHaEnkfO83X43K/xSyRs2IEglBBAjXJ9TjEroCgnAQ7g/yGGI1wBHl+XDiGu5ZQmdLeiy064Z2eAEjbVD+OqE9OjKAyiK1au8gyp8XVKUpsOZ1nPmej4T9nJhoePgA7fyNX0bl78NljcrYGlxJrG85MLbyKDQ44WiVjF9YmtvFhcNxwvuSR6R7KUBDPUpzXjg+oazaoFSOtXVNUmO35BrLDW6DAwk9eqWoHChToMs3sP0P/yI08QQi6eEBtOvXfxybfxZ0q+J6TyHWN8pJh330BCP53KFs1QmNP0/6l3C/qKW0ThdywTBdpTkDasCFqkUSkcKdaW5MQXMO8mQg7Yj7wzWFZhNEla4oPD1WW8D1UcXzOf2Pvlw191EGqBY5h/7LOmby27DZZG2ULfRlRQyk4LiojvD5xaXJXpJuEh1SMZD9ITeoyghBzS1DdUElJiKl2hEjIeTGVIz4CIc4/grGtzGCa211SQ4a+gwU6UDZI4wX57Hujw+dCEAnvmjkmP4STk9W/bWJALBQmormrAFT+sb5Y5yhpuSsqRw5jbbSX8d5rgm04gVGCkDN45PIEWOntCmpJS33iICo0aWn5UB9Ykcblam11acx1afzv1nfR2tin6UvDrBqkln9pRM194kBdNevfxKrziMMFBNqcxaUSbwKv6/0+SgRDsYjEwBU9Ac+2pSOdhHjaZ3wvICUqicIVJtO7qG8YVPa8ddPc0l6P6fo9YoKJEviVAllW4+4rZ3owbOVc1oT+y23Nuo8dv7GJ09khvm4B4ZLOwd3vv430Y0/wGYqDvxsBCiM3D2/h47Jbeo0dPOuAZ//1xl275tl/8F5ev2C1RNtNq4fZduWCZ596QRnbW1HgyoifaRjGKh/dyTKy/8gZSOhRWeCCHDO8vXvzvON7x5l38E59h2cZ6FbsnJFm43rxzhnxzgveuY46ydFtZFEqac35ypVFyhRKC6LbVbeAbVxmMF/U+d84L2PHkB3v24Lg/x2nB6BLNKNE0ASoBQEpSQlm6QSMDVj+ZsvzKFdwfbJEluUlIVh/9GSm+4ecPf+eYwxNBoNXv6Cs/ill6yte7tO52sEkOFuCI3hOULozEet9/y5xYJ3fXg3N96yH2MMrUaD808f4/wtTSbGMhqNjEI12HkoY8PaDlf8RIssT/qfiZVUFSk6D4FbObCuS3BFBRR2kWZxrtr+p/c+GEDHX3Ylhr3z9Z8ANRKStyOCo1wVzhCjBuIA1LpQpp+dK9mzv+TXnr1YNTZrVE1wFooC+pbDMyv55r1tbt5jODq9iCstqtGoeu1E1UmSJ1aaA1j+i6MyoJXoSZxKVw51dKagow2XP2WSp5yuuHBjj5HRHNptb1x/3bLLonXcdFfOE89SZJnvq02iVOmKzqUKLgVZK2JDp+0eoa8+ATz9wQA6fgQ5p/j+638Joz+M9TV2mwAnCVIq1M7FaQEBWDlQOVhDOTDkdgCNBuhWbHDIZQrMALoL0F+AvAmTGyFrJTnPN1nyj0wH1AqbLqIVFCbJ764yYG8Bpg9U57RGoT0CmdCSGN4LBywUA8qsRd7w4KWVivCpYr6UNiov6cMnoKwjM69ROz6wzKTfQwXonne06U3dB9kkNiMkRoePGplgSz+H1FHIH9oruyx6vfC3zghTE1J1cJ4ydFYBp31pJUhd5yvSLtJHUpwOn07GXkkiF+mL8wndVtEm8j3NNS4RPsY7oE7MJnlNVgpZVe2Xib8gcjLCoBevCFV5hPbaTWrbO3oPhMHxVVz34MexTFbeKdEijRJVUxJktCgfII5vUmXWqAztssrQIn2tiwNEpUE3qj+lY93N+cQfbDOkvgI4iZILgeSvbf3+tPKkM8hzYh3Rt9dIXyXvZT66GmBU1Qflfxdmsd7BrPUqziu5ILs9yMHJ1STdQx8/HgQPGEHurtf+KDa7BqvzQB9yYefHAtZ4IJLip/MN1qK+dMwdCsKIszadnRrCHxPUD5X3paN3S7x+yEOJ0QNDicyRCE+oGemHb4OzHkCpwqfn+wsKwDI1r5Jod37cJ1ELCcVlSU5LcpsGsCWZ+XF11ge/thwODywSSvcHKL+/NlUt3uGSDnhpaT04RjpdQjmIRpPI8LXVyshJ0scbI4AhuSUxuk1+VyqO6NNqdSho+qalc0HWt1WSeEjkUtmQyriPZpNQox1UfwKAziFr+r54dacS5wvjQZO03bcn0n9O6d4DPG05GJaNIHfnL1+C09dTZlkYd4gQkJGysdEAyoe8UxUg/WNQLLJox1jMTsHQxqmMljnCqLmfZm6gMQqtldAcBXxekrUGmR9z4Ot1yLyLivlMIlLuL34iv5EYCKrBsZTNhKLF223KeWJAA2UJxSz058AssmgnWNCnYPQI2vbJXZdxs4esqaC1AporPAv4PCfT4Up5CS6U74WIHJuVBmWfqs7+i38bxmL5CCrsez2vePTVEJ/Kb0nkOAMLR+kWmgMjz6G16WLG1p1JJ89R3oDWWrrGcPj+uxgc/DfG577L6nwPtNdAe0UFVEjgOnqb0okvZQkogoYOH/WVPh5w7SJ9hhVCybSF9t+dv44ZQHca0z3GQX0Bg4kLGNv0ZFpjk4xkGUopnHM45zjWnWNu301kh69nU/eb0FkNzRHCgkydyG3nxY6yPhf7yDIqQ9n3As8ahmJJBLl7rjybRX0LRuWh46Gm5Es0powUY6upBDd3iN2ty1lx5osZm1hDo9Egy7Lhy+Ocw1pLWZb0ej2md36FiSP/zKrWHIyeWlGG5AUZUzgqf0lH6VLWEfatdSUBSAAPlCNOJp/EyHUWigXs3D725U8lO+1FjJ+yjUajQZ7n6JAj6/0py5J+v8/R+26lvefjrG0dgNaED3o/VkyrC1K6UioQA8qUjNgnqG0fuvP4AN36qs9D87mVIhFxYGNNTWSq9bRjDMX8NHtXv5L15/wEnU5n2Y4st0nn5udmOXbrx9laXAMrtkLeJtKTeHgCDD73GAhji8h3BHqTRJ5SnuRRKfBKWcg66E+zsNDl8IYrWbv9Etrt9rJO9kB9McZwbPow3Vs+zKb8lorCFTEviUjKMipa94JBWT9+LD6vnvCR//CAALldV26h53Zis2Ylg12ssxm/mkg4W2VgNHbhMPeufQMbznoGrVYr0NmJbNZaut0u99/2BbbOfRw9vsVHktCSl774DrrkNyfdcMu4G3Ekr6S46XNDoG3vhINjTC/k9M94HWs2nk6eUPOJ9mV2dpb5Gz/Apvx2aIxA5ocgouSkBCR5SNqnywGtxhnqjA/ulevVc9Bi8RbIm1UfREIKHchYwkRvHsxyb/snWb/jaQ8KzqDfY/cdt3Pk4H5anQ6nbNnKqdtOr0yuNSMjI5xy/vPYfdMi2xc/B6MbCY+gCAYQVV9Qaon6A+rzPNTnmEJU+QGp8RRT9lmYXaR35ptZt+kM8jyaRdo9dWAf7ZERNmzdzobTtj1gP7XWrFy5kvLcVzJz01VM5IPqPiL3rUr6JQrUt8OqJt3+W4FfXR4gx+WRKVwyRZAURHHVDUrDofI0Vj/x5XQ6nQcE58Zrr+Hqj/0f7tt5F7Ys0T6XGGMYW72Ksy6+hCve8CYm1qyl0+mw9vwXsffb+9lc3AetsZhn0jUCJNEUQPEgpDOrSoEs/ZJBaKiwe6ltS1z3MIdP/RU2btoRwPm3L3+RL/z1R7nv+zuXtHvF5GrOfNKT+ek3vomVqyaXBWlicj37N/8SEwffC+3RYOAQ9VKBsKpeLnDu8vRawapu1y+cSbdxB0brKvFLxEjuMfUqdtFn98Sr2Xjuj9NoNJY0srcwz/ve9HruvulGOs0OzbyBzjTKR4DFYayhNxhgMvjJV17J83/h1VhrObTvblZ/7100x9eByis3spn0njColTGSTqPIRQOE3iUsILkHD3axyN7eJlZf8lpGRkbozs/yvje9gd233Eyn2V7SboPDhnYrXvKaX+W5r/jFJf13zrGwsMDst97Dqa27IwhOVcXjIBayWBpSFjJjaetz1Okf/h74gjnAO171xN9DZZcEqZlOrMnYR5KxgyP99Yyd//PLRs/s9BGu+sWXM717N2OdEVqNBrnWaKWqEY1SZAoyrWlmGdo5brnu60zdv5+LnnkZeWuE/YdmWKWnfC7ysljKMGH1jE4oLaXCRFZHkyUS21/OWcziDN3TXsn45Dpmpw5z1X++gpm9exnrdB643UrR1DnaOW6+7lpmpo9wwTN+rHY3pRRaa471W4zPX1eNg0Tyi/SsqVAk4hX9sn3Vn3/3n6SZvsHqeYHCpJYUKgeuyklS1S3h2Mqn0263l4DjnOUPX/9q+oePMNpqccqmLbRbbbRWNBtNGo0Gyjla7Q6NRk6uFS2dsbLV4YZ//nuu/uhHaDQatDc+Dco5wixlukpVVFmYLEzAkA6HKe0kf4ogkGOM5RDbWbl2EwrH/3rDqymnjzLm2z3SGaHZatHKm1WbO20vtxWZcrSyjBXNDl//9N/yxb/5KMNblmVMbLqAabO5ms7XUqcbkv6hH1ZGEs+Ta+QA7uYrn4Drb67EQQJpOp0tFUarQJV01py7rAT9xw/9KYd3fZ9VKye44i2/wymn76AcDPinP/kjbvj7f2QwO1eJljxnbN1a1m/fjPIznqPNFp/5yw/yjBe+lLE1W5jau4E1jR7YPNJYmD6oza8QCqqh2iAg+u8yNSHHGUA5emPnMtlo8H//7E+Y3r2byfFVvNy3u9/t8ldvfjN3fvUrOBwqzxldu4ZTTz+N0tulqRWjzSb/+Ofv5xnPfwkjK8eDLZRSNJtNjjZOZzUHotMIEIaK7iQ3WSfrITe7m698grrgQ7dUrlcuvhGnVPTMpKQj/xY1Zx0L5Tija7YsC9A1f/sxOo2cLWedTdHrsu+O29h9662sOnUz87NzFEAfRa8oObzvAHd887s4NJmGJgo9GPDJP343eZ6zkJ2atMHVbxSW+MrgU2iDGCkQj3EJOFKnw9Ka2IbWiq/+3SfoNHJOO+c8in6f73/n29x1/Q1sf9Il9J0LbZ7af5Bbr/8O1lXPOSssTaWh3+NT73/PEntkWYYb2xbbI4IrjMmk6u1Bs75zdvGNICouV0+OBUcXxwtpYVS80VpmG2cwni+tEt34lS8ymD1GpzPC4vQUe2+7mdJq9u+5j7npaXpQeaK0FQe9Prvuupuzz92KLQuaWcZd37qOLMuwzTXALsJEXK367fNOWMGk4u/iaOHDAxLmmqq+mtLQmdjIt794NWZujsbIKAtHp7j7ppvYd+99KAWzR6ZZHGqzGgzY9b1dnHPudgbdAVo5Wlpzx/VLC9JZltFZcwbMaz8mEzs6T3ledocVrR6DTD05AqTYFqcSfEFLqE3KPLK+QCtcPrqsrL75a1+moRQZjun79oBzHDi6yP37DzJ14AA9mRqXzdPO4tQUmxdPpYklx3H0wAGOHtyPaq6AgTRaOgBx8b0YW774Dy1RE9AgzgcJIygGbpys0eTWb/wreabQWI7u28vuvYeYPnoMnGNq/356oZga27wwdYRNC6fS9vkxdzC9dw/zM9OMTaxODlc0WqP+njLYd3H8JhFvLdWcU+jLNoDc3f5zF1PYFWHOJiQxElqQkKywc7q5BByA2cOHyfwaBeccs/cf4PY77mV65hh4Bk1M6V8KUn3OzC2wbixHO4vWjoN77mF8pb8hOnwgix21Sy8Ucw34mU8iMAG59DflZzQUs9OHyXAoW01K7vreTqamjx63zdo5js0v0B5rgLUoZ9EKDuy+mx0X1gHKGu3oKFYoVpxNR2dKP61d4W7/uYtzBuVzqkKkDOoEEOHFVCgooMS55YvgZdH346W4mGQAdIfzh5jKuSoSrcUInVqDspai18WO+hxnDeRSxU4AE0Ak+demv0UwDNXiwspXQ64K+sZgBj2UjfcvcA+pzdXyOOMBMihnKfrdJcebsvBzZDaha2EEaXsOWkpPvm+D8jk5uAtDzS3kLhf/aotCKuXUcdPYNOz9tnL1JNaYqvakHM4UjI602XPE4patNFS0k+EYH2ngyh7GGkpTMrlhM7q7c6kIcBDRUZCNQGcT5Cuq786C7cJgBhb3gi3ivUIurdqe64LFmYOMjq/CmhKXaZwpGBlp0ztsscdps8axspPjTB9cNXg1pmT95noZyFpLd+aAL4bKgNmP68ISsCQfBUcDUBdqUKfHjgtAnuZkBaWSckm1tHdluZNiMMANedm28y6gLIsKJFtiBn22rh/HAF1r6DpH11n/Wf31nOOUdWsYz8E5gy0N7bEx1p62jQ7HfJtk/CBrhX17Rk6HFedDOQ/zd8GRb8DMDTD3/UoZrX4StDcmDpdU5D2V9+YOs+Wc8yhMiTMGWww4bc04Rh2/zevXrGaipcCY0O6R8QkmT91Us4kxhsHCVNUeIyWzYWaSnJqoz8qZTtc4u95j7QEx8YSwIDEByxoa9iizh3djTD3pP/3FV2AbGaUpcNbgTME4BRefsZXSOrqmpGssi9awaEp6xjDWaXHp1vUMuvO4smRgBmw5/0LmZ6ZYY+7xESCgiHAxMLoNTBemv1FFymC2OtYUUB6Dhbth6roqqlrrCXNZJBOPytEcHODSF/wUVkNpC2w5YKXq86QztmIcy7a5025x6fZTKRbmcbbEliX9ss+2Cy9eEm9FUdAY7Pftl8G/CBXpjzi/SUSQAsV6jWY05B4ZQLkE2XQmVQxVDtDH7qTf79ca0x4Z5aLLnk+/GFS8a0uK7gLnjCtedOHZbJpchdKK0lrG2m0u3LKRn3ridhr9OVxZUJiSgbG84DVvoHvkbrRbjPcX8WJtZXTTh4V7I23Vxmuy0qiA2dshH61HohjLlqy3d2Ks4fxnPZeeb3fZW+TMFfDCi85i0+Tq0ObRVpsnbt7Iyy7YTqs/izMFeEoeWHjpr/7Xmj2stcwdPcyG/vVQDJamDydK1IYuIMOZyiFHc5ztxBJIKk/Tg5McYB2oARsGX+Pg1JNpt7fVBqw/89Z38ttf+zKD+RmUy8k0lN1F1mYZL9k+iVVrWSwtK5sZ5WCAnZ/BOEtpLIum5AnPeSGTW05jxf5PA0Xw9GqZk2+LbsHi7noty5H8Oyo1MLBwD+hOFVmST3FgCnI1Q+/wHbz0jW/j3dddy2BxHuUysIusy3JevG0VnLGW+cKwsqGxxlAuHPVXcJTGslCWXPSC/8iWc58Q7OCco9fr0Z26i6w4VDmNL7XFyTsRCf7T+rwU8LAdDa5ZX6HjUbayDi6NJos8YpH199M4cj1zs7O1XLRi9Rpe+8cfoaszeuWAoiiwpsAVfQYLc5iFWVr9efpzxzD9RWxZUJQlC+WAyR3n8PPv/CO6h26nU+zxK4KEehPe7ntOl0c+wjo9W2+3PC5iFqvFH2l/hFJMj83ltyjtgFe++wMsAv1yQFkUlIMeZXeeYm6Gdn+ewfwsZXcBbIkzJUVZsFAMWH/eBVz5nj+rRY8xhqn997Cl9wUoF+s5py6nk6BI848FaFY1exn4BSoT5ZYAVhtPFGAWWbf4ZY7u/S4LCws1kM669Ed440c+hVsxzkJZMDAlpSmx1mBNiTUlxpQUpqRbDDjW73HapT/Kmz76DxzecyenmRtgME98/qaM8t1an2tMRWGJPK+mRvxzO/Jv+U4RrxdqiwbMAD04yMT8DWw461xe9xcfx4ytZN47zrLtLqXdfbb/yLN52yeuXgLO9NRhxmevJVvcDbYfbTpMybV8byNjVGyhlLvxpSU2yyj92ML46DGey0V5yPjBJuDpFkycwz2dFzG59WLGxsZq6xF687P8ze++jW995tPYhXkaWqOU87rDMXCOya2nc/kv/yZPev5PcWjvTjZ3ryGf3wmm5+fuoZKkyWJGSKYdSOpyiQ+FYqmNhdJU+Dgbx0jOQWuCqdEfoZx8Cp1Wm7/7g9/hxs/9A+YB2r1m+w5e+Lo387QX/6fEj6s1FlP3H6B55KtMHvscLN5f3VdGu/K+hcwvZlSasMQ5y/wSZCA3oE2p3E0vKSh1jsmqqVljI0DiubWHl9LoctAYg5VnsLdzOa11FzC+ajWNRqMGlHOWb33m09x907eZnTpMo91i1fqNXPzcF7JhxznMz80xs/92trrrUUc9OBrCc6xhuTCEhfJSoQ5P4hHXvUGsLoSBYFIVSWlbuWq9hc6gs465zkVMj1zCmlM20WzkfPvqv2f3rTcyc+gQrZE2q07ZyCWXv4RNZ563JGq63S5HDt7H6tlrWbHwDVjYRyjvyGsGBCBZ2aMzqklJP3mXqQqk3EBmS+W+++IeRrcwmiqKbDV3QekfaUwoJJ2/CKNhXa3CGd1Kd/QCDjaeyMr1O2h3RsjznMyvI0vXxtWWKh28l4niLlYNboP5e6s1aRCXyYaJOj8wVQJUmKKMyIQFjCJoLOHBrQCOqyLHCniJ8zkN7XHs2A726QvIJnawctVkcDitdeiHLB8zxlAUBcemD6GO3cVG+22YvtXnSS8M0vkqeflFJkBlkOUeHF0BpS1kFjLTV+7GFx/F6gmshsJVUt0koEgylcFdOs8S3gQF6AY0VsLYGQw625hyG+k31pG1Jmi02mR5E+eqEk7RXyArplnNfsbKvbCwB/ozVDeHuNJUERaoyMsqwgv3VBJNgdOSbTjxDvG9hfB8kyRlWQGkWzCyATuyiSNqK/OsRbfGabQ65M0OzhqKQZdy0IXeNCvVIVa7XTB7TxU1ZpGgFJ1vsyxekcf0M5nuziLdZT6CcqqyT2ZnlPvOi+7DsRGjqaLI5xmTJGQZSOH8ElpF7fnMIBlVNUWdj0BzNXTWVqBlLcLzQKZXjWGKGegdqaoAgX58Z+RRjQBOMs0dJuR8JNVLmaECFMolEj2yXjwp9YQIMjbuC04I6DbkYzCytvrM26AaXowUUHZhcAR601BMQ9n3UaOSPnlHkrYJC8iSK+2f+Mg8iI1Mogdw+3LgGIqNkS6kE76TwuMVZxBnLmX5lYte7FIA5qG7z1srjzklTeBS31NEECyElTvaVeMGrM9DEBbVBwCI9OfrZL7cXJ0rtJw+ExSqJi6pnghlm+h8draS570DLH2JYCLxnc/XNZnsP6X2Jqt5tO9PePlHYvOQNqQTHMsx7CSz59aMFBYCeiqQSncImpS3HeHFd2musEXlZaJcjBhdx0i0dQUAAAxxSURBVOc5A+iZj0wBPPOG8vknrCJ1QOZfseMjysXmShDFAaEHQrs4la9EICT9kMc4Q1FYUd0kOQbnI80PfmsUmuZmHUWJbAEEAYQoFpQlrN1RJBLbgtU7cxTXgn1x7dFBZ/2CPuo3lwZJWT9MQSRJ2KjKIPJAlFLEheMCOJ7vqcCxyWL8oNCkY6pqR1hA748xPmrTB7KkC3JfMUyYIU4N7o2A9akvUXbDRg+Kz4Mj0j14ulCa72u6hXYo0hdqxet7phDnkXZV0yrXakbyT6NdNaer/A4xjjwSEqoMyXgo5B7P20KJUkIPq4JcPEcqFEGypwZIJHwYkJZJyKdqMqEX6wemYb/f5+tkgYps+pke64iFVIkgaZ/c1yXn++8miSxxtlTl1oYjiZ3SNBEm7oSCrXduB8o5RvJPVyb+zvOPASspdeWZhQ9nY+KnvEUjXfjnkohQ1PMDxHCXpa3pq1RqOUdVbpWut07XY6f7hUZAXDFGR0jERKowLrBLHKCSREv6exI5wdmEuhOnkmsFUEmo1qX/IAwJwvNA6eA0h1xV6k0raGjIXDUGUsyqiz47rv3Fb0RyTngHZ7LJHD/e2IlT1OgveF0SGWG2M9lf81C5rv8evH7oWuGRS5d4ckmY4wnTESb+SRUkRJGX1UYKl0k5SPn7SXQEjyc65XA1xXlHrvXZJcyQGkoRH9sXB3Jxf3jKQe6hbwRZNGLVx8jLZ8Zn/B3hcXrJRSmnw1KqkwbVFrRL/3yOQa6TSuZE1RgbB6iiDIXSteSgIN2qv9RJwm1d4ki+nYbkU0AQp/EAp5d2JgqNdMWNJua0YGiV9NHVj12y0EXanUZ7CpgFZcDkH5NdOOcUNz5vAac6geZKV1UUhObKlObEi2wUC2lkCxDyEolAZUJxwjkkNJbSmVxER3Ac9f1Cg/KZbsNgBQmd5ISaIJAPT3NWgJVPEQHJtUO+8SeHfToeI20NbxuRAalfiJn7KkJOrCDkFpTrqou/MBIsoJRymOzLKFMNkrRHP1PRwNrnkWDspP+OGN61KVsIs7Hpm69q0xiJMEintoMQMP6JvuScUCMsqcJbqM7/kVbAU0EhVJeKDxevJSKiNnvrKRX/qZzPybbukMazQFB4ECPKxYgJlRc/5BCbKlvlH2XBZl8WP4rLc8bc6+jxfZTN8CxTEwBa5O7QvtBRf4xwcAhnvzt9xxuaUFYJLzP3FCYRIQ884f1IllmFAFPJ0/8JXcj9SKJb9osj1d6bkOYKPLj+fKmYpLkilezJe3/i4BvCM7ySI5wA45008+/0kXtoiTgDyhlG3eukNaGKp8753G5MdmtAUuqUub+4wteMBHESo6gIVpqnwu+S/Emo0R8fckFa+5NrCA1JxIj8lkiVqPLnmdI/CWjifcWwUiWQe4bzHbVoFZESBqYunp+qwHR4IcCH+yTmDdHkopLT3qaZz7OZq5irip5b1Tmf2y1XqC9wM9kVZOVtKJOHCzjiC24lj2ASrk2pzUXHCXKVGHHyLKZUjsNLhySpp50UMeHvqYJaSHKMSs5NNmmXJOvUUUJUwZIX9w1L5zRi0vPFqcJgVb4n+UwlX8Jjjr5IKs6vXQyGavxZouzL067o9B/q0s9+j0H2ObTkIZdcRPu3nuhY6k8Tthg0zU+QUJOICQHO55IwkBV57RLgk4GmDETTPBaiKZkpDYtcWCbaXDyutgQqUXJppIjcDt7pjZ5GjACXYBrGg+EPwgPDIXo8MJJ3tIVB9jl10Rd3ppgsXSK6OnsZ8+UUmRmryuIegFw8UhqpvK5XMRLs0LVq4S5qyHdIJKj1NbiwElRs4a8vg8IgwiQ5S91OwJdc4L+Ht18R80Rol4seX1NlieHFsDUw/HXTF/nJPaV/6ZshHZ7GJEWoCI5/0LsKAAvoeVZnLxuGQw//oHZc3afIX1EtNvbRk/sL5sqPfHMfqrqu9Go5J/WulAKT39OHxEQliWcbW9GaTXJDGkHOy39nCa+gNKZ6O4jsD1WPoagQJWh8tJkkQoWWwnRLUluTVy2n/QmgJrQRVG+i2PJkrif34GQ+cpS1FM1XqB1X19ex1a9a39w3n/vXNHuvwOjKk0tVjY2M8y9/dVVnC5HCicGlXqVVffygdawIJyknuEpwdO99eqh5Cq/cRLXJcdLopEeBcly9l2n+kggPSk7Fi4ToYOlniFritQKdJXM76Gp8k+d+Ktv/5R4omTkdNP9aPeVffm45HB4QIAD3rctuolFcgPF0I3XJ0kFhIyjlkHcaLzMlT4jx05nPILmpAwPUElmt9kZdFdW8Nr1OQpfyW1ijIO1IjpPfZG10AEOmUbxzBWpU9baEt4b4T5ktzf1vufwpHzmSfywUjVvUk790wQNhcHyAnFN8+7LdZOWWAJBNI8lHkbxOWRbgy0BOZChEb5U8ElSY/5SBH0neEWQl76WGSl8amyoo8exAO+l++U1EjkvAIYlMhvCX+3nakugWgKQMlWWR9pWqip9a+08VqU1TRY9p7OFJ/7L1eO/RXpKD0k0p5VjfPRuT309mfS6ykUcb3luamfcQ4VmRk/53Saqi+2UhSHiJn+QnMZpvb+B/Mb6AI+d475bKtSLmM0W1X2pcgcKE2pLxUAAjEQMh1/jzlIrX0r5KL4pWQMiTv6anuoZXv7mL453MgMvvZ7x55oO95Py4AAGozdd1mbObKPJdFWd60SAgNaka0PAh3EgAanhQZL0XnqOlgzJXL+MriRQBTifgQF18VB5UnW98BBjv6UFaEx0h2D+hKU00ulxfItN58yg5LiOuJcA7H34NgQCDzy86OnBD7OUB0hbKfBfH7KblRMES+z/YAenmvvnsb9AcPBWHqvISfi2dp7z0lY/y2L71+Sld3+AstfUCQNDo4rFpMVKScjzAR0st8SRdSvgpfaOjnC/nDf9PAyEKk9RhQj3SR34KkuQcTYwk5YWAJlJa5kA7R791vXrKlx70bb+hOQ/1QAD1lGueTq/5+zhlYiS5ykuavlEN35jcc3DDU1/uoyhTkaczGWEDKidQn3i5GCJTYVfksmXACTRFpELru5mepl3y+DvR8AGADLC+jbnPLZkvfSXKTPrY1NDSlQ0yKlbJE/tkFhyGbvP3TwSc0KUT3dwNz7qE3H2RrJzAUUWRIxQDqujxhjIQ/j8NtddLEkfvKD9qT6MqiR6gVqJ5oKBJvw8FXNg01OZiJOHLyfI1U9SmQMLrWny0iJSWyAnOpwizAeJUJpuhbD5HXfrFJW9UfLDtYQEkm7vu2R+jPfgZsFl8fZmA5b1XckN4xFLAsTE3SG0rLCiEOOXsDRSWKpEk/eEGUQdI9EjYJ/Tl/yMvXYeozjIdjwk1NJUUNyXifa4JpRs5h5jbUIZ+8xPqqdf8/MO18SMCCMDd+KytlHyWZnE21qlgREsFlk3yjbw9S17fHNafeQAhoSVi3govhPVWl9wQQHJJ8l+me2JQ+YesorEMjfiJgAgoKdXKfqnu5/LdxWhRDrRyDBp3kvN8ddFXdj8S+z5igGRzN1z2o6jiIzTLHYCqIkElEUEEJ1Va4R3SCaWl5SEZz6S1MucjqtYFiTKGgPLn16InOSYtaAoQkChN+beK0SIABVAQ0B2Dxk5c/mp16Zf+9ZFZtN7cR21z1z/rqeD+nKY5H22zWORUQyCQUGISSWmhUyJFCqk1VZd+J5HVEAarqBh9tbFMwoMCjEqOTWeRh4EIILq4z2rDILsV1K+op37l+kfTno86QLK5vU/rcF/zfTTsy8jLcVAqGDqp3NfGHhJl8nt6jFVJ7pGo8vskpwzXzwS8GiAq5iYxegDKnxeojgf+wznK/BiF/js2Dd6gNl9Xf0HCo7T9wABKN3ftZRfQKN9Obp5F067CekTEudPXXA7Prcj32pSBo/7/SYXQlaDghvfJdADR+LIrpb3av139GKUcA32UMvsKRX6V+rEv3XzCxjjB7TEBKN3cV39sMw31ejL7PHJ3OrkZwTEEGHXw0rn/mjwbkuLD2jqNkLA2wUUgwqMrDAETPh1ltkipdmH05ync+9Uzrw0vfH0stsccoOHNfecZp9LLXgruGWScDW4jDTeOttWrFtOiZ9rcJTJ7uCvuOLtdpDpxDasHFOoYqH0Y7gT1ddrm/6mLv77/EXfyEWyPO0APtLnbzmtydPInwT6bTJ2PVuNgR9G0wbVRqomy1f8hSpGhnU5GoA6rLK6aHMHpAucGoHoYeii9gHXHMO5W0New6sg/q/NuGzy+PV5++/8vJvwt63OS7AAAAABJRU5ErkJggg==',
  28259. e: 1
  28260. }
  28261. ],
  28262. layers = [
  28263. {
  28264. ddd: 0,
  28265. ind: 1,
  28266. ty: 4,
  28267. nm: '形状图层 3',
  28268. parent: 7,
  28269. sr: 1,
  28270. ks: {
  28271. o: { a: 0, k: 100, ix: 11 },
  28272. r: { a: 0, k: 0, ix: 10 },
  28273. p: { a: 0, k: [50.466, 41.239, 0], ix: 2 },
  28274. a: { a: 0, k: [0, 0, 0], ix: 1 },
  28275. s: { a: 0, k: [-105.026, 97.953, 100], ix: 6 }
  28276. },
  28277. ao: 0,
  28278. shapes: [
  28279. {
  28280. ty: 'gr',
  28281. it: [
  28282. {
  28283. ind: 0,
  28284. ty: 'sh',
  28285. ix: 1,
  28286. ks: {
  28287. a: 1,
  28288. k: [
  28289. {
  28290. i: { x: 0.667, y: 1 },
  28291. o: { x: 0.333, y: 0 },
  28292. t: 0,
  28293. s: [
  28294. {
  28295. i: [
  28296. [0.648, 0.617],
  28297. [3.423, -2.186],
  28298. [1.457, -2.142],
  28299. [0.427, -1.424],
  28300. [-0.625, -1.25],
  28301. [0, 0],
  28302. [-0.875, 5.125],
  28303. [-1.517, 0.46],
  28304. [-1.179, 0.129],
  28305. [-1.14, 0.694],
  28306. [-0.834, 0.893],
  28307. [-0.089, 1.662]
  28308. ],
  28309. o: [
  28310. [-1.804, -1.718],
  28311. [-2.04, 1.303],
  28312. [-0.828, 1.218],
  28313. [-1.545, 5.154],
  28314. [0.625, 1.25],
  28315. [0, 0],
  28316. [0.433, -2.536],
  28317. [1.548, -0.47],
  28318. [1.462, -0.161],
  28319. [0.748, -0.456],
  28320. [0.308, -0.329],
  28321. [0.077, -1.439]
  28322. ],
  28323. v: [
  28324. [25.858, -46.958],
  28325. [16.996, -45.772],
  28326. [11.534, -40.502],
  28327. [9.376, -36.075],
  28328. [8.125, -20.5],
  28329. [10.375, -20.312],
  28330. [10.798, -31.05],
  28331. [13.243, -35.902],
  28332. [19.625, -36.58],
  28333. [23.37, -37.717],
  28334. [25.699, -39.7],
  28335. [26.822, -43.263]
  28336. ],
  28337. c: !0
  28338. }
  28339. ],
  28340. e: [
  28341. {
  28342. i: [
  28343. [0.552, 0.671],
  28344. [4.593, -0.166],
  28345. [1.963, -1.16],
  28346. [0.527, -1.054],
  28347. [-0.625, -1.25],
  28348. [0, 0],
  28349. [-2.529, 4.951],
  28350. [-1.42, -0.303],
  28351. [-0.948, -0.736],
  28352. [-2.533, 0.099],
  28353. [-0.821, 0.744],
  28354. [0.14, 1.068]
  28355. ],
  28356. o: [
  28357. [-1.533, -1.865],
  28358. [-2.738, 0.099],
  28359. [-1.116, 0.66],
  28360. [-2.408, 4.812],
  28361. [0.625, 1.25],
  28362. [0, 0],
  28363. [0.871, -1.705],
  28364. [1.483, 0.317],
  28365. [1.09, 0.846],
  28366. [1.724, -0.067],
  28367. [0.495, -0.449],
  28368. [-0.137, -1.044]
  28369. ],
  28370. v: [
  28371. [31.735, -32.494],
  28372. [20.905, -35.342],
  28373. [13.505, -33.516],
  28374. [10.977, -30.609],
  28375. [8.253, -20.384],
  28376. [10.887, -20.312],
  28377. [13.101, -29.31],
  28378. [17.12, -31.092],
  28379. [21.753, -27.258],
  28380. [28.068, -25.521],
  28381. [32.332, -27.154],
  28382. [32.815, -29.684]
  28383. ],
  28384. c: !0
  28385. }
  28386. ]
  28387. },
  28388. {
  28389. i: { x: 0.667, y: 1 },
  28390. o: { x: 0.333, y: 0 },
  28391. t: 8,
  28392. s: [
  28393. {
  28394. i: [
  28395. [0.552, 0.671],
  28396. [4.593, -0.166],
  28397. [1.963, -1.16],
  28398. [0.527, -1.054],
  28399. [-0.625, -1.25],
  28400. [0, 0],
  28401. [-2.529, 4.951],
  28402. [-1.42, -0.303],
  28403. [-0.948, -0.736],
  28404. [-2.533, 0.099],
  28405. [-0.821, 0.744],
  28406. [0.14, 1.068]
  28407. ],
  28408. o: [
  28409. [-1.533, -1.865],
  28410. [-2.738, 0.099],
  28411. [-1.116, 0.66],
  28412. [-2.408, 4.812],
  28413. [0.625, 1.25],
  28414. [0, 0],
  28415. [0.871, -1.705],
  28416. [1.483, 0.317],
  28417. [1.09, 0.846],
  28418. [1.724, -0.067],
  28419. [0.495, -0.449],
  28420. [-0.137, -1.044]
  28421. ],
  28422. v: [
  28423. [31.735, -32.494],
  28424. [20.905, -35.342],
  28425. [13.505, -33.516],
  28426. [10.977, -30.609],
  28427. [8.253, -20.384],
  28428. [10.887, -20.312],
  28429. [13.101, -29.31],
  28430. [17.12, -31.092],
  28431. [21.753, -27.258],
  28432. [28.068, -25.521],
  28433. [32.332, -27.154],
  28434. [32.815, -29.684]
  28435. ],
  28436. c: !0
  28437. }
  28438. ],
  28439. e: [
  28440. {
  28441. i: [
  28442. [0.741, 0.453],
  28443. [4.1, -0.475],
  28444. [1.088, -0.742],
  28445. [0.711, -1.233],
  28446. [-0.922, -1.05],
  28447. [0, 0],
  28448. [-3.304, 4.605],
  28449. [-0.795, -2.012],
  28450. [-1.129, -0.407],
  28451. [-1.842, -0.003],
  28452. [-0.624, 0.886],
  28453. [0.51, 1.203]
  28454. ],
  28455. o: [
  28456. [-2.249, -1.375],
  28457. [-2.478, 0.287],
  28458. [-1.205, 1.055],
  28459. [-1.197, 2.076],
  28460. [0.821, 0.935],
  28461. [0, 0],
  28462. [1.18, -1.645],
  28463. [0.899, 2.275],
  28464. [1.594, 0.576],
  28465. [1.428, 0.002],
  28466. [0.932, -1.324],
  28467. [-0.388, -0.916]
  28468. ],
  28469. v: [
  28470. [28.76, -30.58],
  28471. [19.256, -31.863],
  28472. [13.493, -29.374],
  28473. [10.45, -25.672],
  28474. [8.432, -20.256],
  28475. [10.292, -20.376],
  28476. [14.283, -26.543],
  28477. [19.958, -25.744],
  28478. [24.143, -21.524],
  28479. [28.831, -20.791],
  28480. [32.332, -22.209],
  28481. [32.606, -26.651]
  28482. ],
  28483. c: !0
  28484. }
  28485. ]
  28486. },
  28487. {
  28488. i: { x: 0.667, y: 1 },
  28489. o: { x: 0.333, y: 0 },
  28490. t: 23,
  28491. s: [
  28492. {
  28493. i: [
  28494. [0.741, 0.453],
  28495. [4.1, -0.475],
  28496. [1.088, -0.742],
  28497. [0.711, -1.233],
  28498. [-0.922, -1.05],
  28499. [0, 0],
  28500. [-3.304, 4.605],
  28501. [-0.795, -2.012],
  28502. [-1.129, -0.407],
  28503. [-1.842, -0.003],
  28504. [-0.624, 0.886],
  28505. [0.51, 1.203]
  28506. ],
  28507. o: [
  28508. [-2.249, -1.375],
  28509. [-2.478, 0.287],
  28510. [-1.205, 1.055],
  28511. [-1.197, 2.076],
  28512. [0.821, 0.935],
  28513. [0, 0],
  28514. [1.18, -1.645],
  28515. [0.899, 2.275],
  28516. [1.594, 0.576],
  28517. [1.428, 0.002],
  28518. [0.932, -1.324],
  28519. [-0.388, -0.916]
  28520. ],
  28521. v: [
  28522. [28.76, -30.58],
  28523. [19.256, -31.863],
  28524. [13.493, -29.374],
  28525. [10.45, -25.672],
  28526. [8.432, -20.256],
  28527. [10.292, -20.376],
  28528. [14.283, -26.543],
  28529. [19.958, -25.744],
  28530. [24.143, -21.524],
  28531. [28.831, -20.791],
  28532. [32.332, -22.209],
  28533. [32.606, -26.651]
  28534. ],
  28535. c: !0
  28536. }
  28537. ],
  28538. e: [
  28539. {
  28540. i: [
  28541. [0.789, 0.364],
  28542. [3.847, -1.112],
  28543. [1.569, -1.705],
  28544. [0.527, -1.054],
  28545. [-0.589, -1.267],
  28546. [0, 0],
  28547. [-2.888, 4.861],
  28548. [-1.357, -0.517],
  28549. [-1.474, -0.144],
  28550. [-1.91, 0.877],
  28551. [-0.187, 1.607],
  28552. [0.662, 0.764]
  28553. ],
  28554. o: [
  28555. [-2.286, -1.054],
  28556. [-2.293, 0.663],
  28557. [-0.855, 0.929],
  28558. [-2.408, 4.812],
  28559. [0.643, 1.381],
  28560. [0, 0],
  28561. [0.906, -1.525],
  28562. [1.48, 0.563],
  28563. [1.393, 0.136],
  28564. [1.254, -0.576],
  28565. [0.077, -0.664],
  28566. [-0.647, -0.747]
  28567. ],
  28568. v: [
  28569. [30.178, -34.211],
  28570. [19.85, -34.366],
  28571. [13.819, -30.865],
  28572. [11.179, -27.569],
  28573. [8.253, -20.384],
  28574. [10.411, -20.44],
  28575. [13.839, -27.233],
  28576. [19.034, -28.105],
  28577. [25.507, -25.889],
  28578. [31.366, -26.584],
  28579. [33.783, -29.741],
  28580. [33.003, -32.165]
  28581. ],
  28582. c: !0
  28583. }
  28584. ]
  28585. },
  28586. {
  28587. i: { x: 0.667, y: 1 },
  28588. o: { x: 0.333, y: 0 },
  28589. t: 31,
  28590. s: [
  28591. {
  28592. i: [
  28593. [0.789, 0.364],
  28594. [3.847, -1.112],
  28595. [1.569, -1.705],
  28596. [0.527, -1.054],
  28597. [-0.589, -1.267],
  28598. [0, 0],
  28599. [-2.888, 4.861],
  28600. [-1.357, -0.517],
  28601. [-1.474, -0.144],
  28602. [-1.91, 0.877],
  28603. [-0.187, 1.607],
  28604. [0.662, 0.764]
  28605. ],
  28606. o: [
  28607. [-2.286, -1.054],
  28608. [-2.293, 0.663],
  28609. [-0.855, 0.929],
  28610. [-2.408, 4.812],
  28611. [0.643, 1.381],
  28612. [0, 0],
  28613. [0.906, -1.525],
  28614. [1.48, 0.563],
  28615. [1.393, 0.136],
  28616. [1.254, -0.576],
  28617. [0.077, -0.664],
  28618. [-0.647, -0.747]
  28619. ],
  28620. v: [
  28621. [30.178, -34.211],
  28622. [19.85, -34.366],
  28623. [13.819, -30.865],
  28624. [11.179, -27.569],
  28625. [8.253, -20.384],
  28626. [10.411, -20.44],
  28627. [13.839, -27.233],
  28628. [19.034, -28.105],
  28629. [25.507, -25.889],
  28630. [31.366, -26.584],
  28631. [33.783, -29.741],
  28632. [33.003, -32.165]
  28633. ],
  28634. c: !0
  28635. }
  28636. ],
  28637. e: [
  28638. {
  28639. i: [
  28640. [0.648, 0.617],
  28641. [3.423, -2.186],
  28642. [1.457, -2.142],
  28643. [0.427, -1.424],
  28644. [-0.625, -1.25],
  28645. [0, 0],
  28646. [-0.875, 5.125],
  28647. [-1.517, 0.46],
  28648. [-1.179, 0.129],
  28649. [-1.14, 0.694],
  28650. [-0.834, 0.893],
  28651. [-0.089, 1.662]
  28652. ],
  28653. o: [
  28654. [-1.804, -1.718],
  28655. [-2.04, 1.303],
  28656. [-0.828, 1.218],
  28657. [-1.545, 5.154],
  28658. [0.625, 1.25],
  28659. [0, 0],
  28660. [0.433, -2.536],
  28661. [1.548, -0.47],
  28662. [1.462, -0.161],
  28663. [0.748, -0.456],
  28664. [0.308, -0.329],
  28665. [0.077, -1.439]
  28666. ],
  28667. v: [
  28668. [25.858, -46.958],
  28669. [16.996, -45.772],
  28670. [11.534, -40.502],
  28671. [9.376, -36.075],
  28672. [8.125, -20.5],
  28673. [10.375, -20.312],
  28674. [10.798, -31.05],
  28675. [13.243, -35.902],
  28676. [19.625, -36.58],
  28677. [23.37, -37.717],
  28678. [25.699, -39.7],
  28679. [26.822, -43.263]
  28680. ],
  28681. c: !0
  28682. }
  28683. ]
  28684. },
  28685. {
  28686. i: { x: 0.667, y: 1 },
  28687. o: { x: 0.333, y: 0 },
  28688. t: 49,
  28689. s: [
  28690. {
  28691. i: [
  28692. [0.648, 0.617],
  28693. [3.423, -2.186],
  28694. [1.457, -2.142],
  28695. [0.427, -1.424],
  28696. [-0.625, -1.25],
  28697. [0, 0],
  28698. [-0.875, 5.125],
  28699. [-1.517, 0.46],
  28700. [-1.179, 0.129],
  28701. [-1.14, 0.694],
  28702. [-0.834, 0.893],
  28703. [-0.089, 1.662]
  28704. ],
  28705. o: [
  28706. [-1.804, -1.718],
  28707. [-2.04, 1.303],
  28708. [-0.828, 1.218],
  28709. [-1.545, 5.154],
  28710. [0.625, 1.25],
  28711. [0, 0],
  28712. [0.433, -2.536],
  28713. [1.548, -0.47],
  28714. [1.462, -0.161],
  28715. [0.748, -0.456],
  28716. [0.308, -0.329],
  28717. [0.077, -1.439]
  28718. ],
  28719. v: [
  28720. [25.858, -46.958],
  28721. [16.996, -45.772],
  28722. [11.534, -40.502],
  28723. [9.376, -36.075],
  28724. [8.125, -20.5],
  28725. [10.375, -20.312],
  28726. [10.798, -31.05],
  28727. [13.243, -35.902],
  28728. [19.625, -36.58],
  28729. [23.37, -37.717],
  28730. [25.699, -39.7],
  28731. [26.822, -43.263]
  28732. ],
  28733. c: !0
  28734. }
  28735. ],
  28736. e: [
  28737. {
  28738. i: [
  28739. [0.552, 0.671],
  28740. [4.593, -0.166],
  28741. [1.963, -1.16],
  28742. [0.527, -1.054],
  28743. [-0.625, -1.25],
  28744. [0, 0],
  28745. [-2.529, 4.951],
  28746. [-1.42, -0.303],
  28747. [-0.948, -0.736],
  28748. [-2.533, 0.099],
  28749. [-0.821, 0.744],
  28750. [0.14, 1.068]
  28751. ],
  28752. o: [
  28753. [-1.533, -1.865],
  28754. [-2.738, 0.099],
  28755. [-1.116, 0.66],
  28756. [-2.408, 4.812],
  28757. [0.625, 1.25],
  28758. [0, 0],
  28759. [0.871, -1.705],
  28760. [1.483, 0.317],
  28761. [1.09, 0.846],
  28762. [1.724, -0.067],
  28763. [0.495, -0.449],
  28764. [-0.137, -1.044]
  28765. ],
  28766. v: [
  28767. [31.735, -32.494],
  28768. [20.905, -35.342],
  28769. [13.505, -33.516],
  28770. [10.977, -30.609],
  28771. [8.253, -20.384],
  28772. [10.887, -20.312],
  28773. [13.101, -29.31],
  28774. [17.12, -31.092],
  28775. [21.753, -27.258],
  28776. [28.068, -25.521],
  28777. [32.332, -27.154],
  28778. [32.815, -29.684]
  28779. ],
  28780. c: !0
  28781. }
  28782. ]
  28783. },
  28784. {
  28785. i: { x: 0.667, y: 1 },
  28786. o: { x: 0.333, y: 0 },
  28787. t: 57,
  28788. s: [
  28789. {
  28790. i: [
  28791. [0.552, 0.671],
  28792. [4.593, -0.166],
  28793. [1.963, -1.16],
  28794. [0.527, -1.054],
  28795. [-0.625, -1.25],
  28796. [0, 0],
  28797. [-2.529, 4.951],
  28798. [-1.42, -0.303],
  28799. [-0.948, -0.736],
  28800. [-2.533, 0.099],
  28801. [-0.821, 0.744],
  28802. [0.14, 1.068]
  28803. ],
  28804. o: [
  28805. [-1.533, -1.865],
  28806. [-2.738, 0.099],
  28807. [-1.116, 0.66],
  28808. [-2.408, 4.812],
  28809. [0.625, 1.25],
  28810. [0, 0],
  28811. [0.871, -1.705],
  28812. [1.483, 0.317],
  28813. [1.09, 0.846],
  28814. [1.724, -0.067],
  28815. [0.495, -0.449],
  28816. [-0.137, -1.044]
  28817. ],
  28818. v: [
  28819. [31.735, -32.494],
  28820. [20.905, -35.342],
  28821. [13.505, -33.516],
  28822. [10.977, -30.609],
  28823. [8.253, -20.384],
  28824. [10.887, -20.312],
  28825. [13.101, -29.31],
  28826. [17.12, -31.092],
  28827. [21.753, -27.258],
  28828. [28.068, -25.521],
  28829. [32.332, -27.154],
  28830. [32.815, -29.684]
  28831. ],
  28832. c: !0
  28833. }
  28834. ],
  28835. e: [
  28836. {
  28837. i: [
  28838. [0.674, 0.548],
  28839. [3.612, -0.078],
  28840. [1.088, -0.742],
  28841. [0.711, -1.233],
  28842. [-0.922, -1.05],
  28843. [0, 0],
  28844. [-3.304, 4.605],
  28845. [-0.795, -2.012],
  28846. [-1.129, -0.407],
  28847. [-1.802, 0.384],
  28848. [-0.624, 0.886],
  28849. [0.17, 1.003]
  28850. ],
  28851. o: [
  28852. [-1.929, -1.568],
  28853. [-2.494, 0.054],
  28854. [-1.205, 1.055],
  28855. [-1.197, 2.076],
  28856. [0.821, 0.935],
  28857. [0, 0],
  28858. [1.18, -1.645],
  28859. [0.899, 2.275],
  28860. [1.594, 0.576],
  28861. [1.183, -0.252],
  28862. [0.932, -1.324],
  28863. [-0.166, -0.981]
  28864. ],
  28865. v: [
  28866. [29.831, -29.177],
  28867. [20.387, -31.48],
  28868. [13.731, -29.374],
  28869. [10.45, -25.672],
  28870. [8.432, -20.256],
  28871. [10.292, -20.376],
  28872. [14.283, -26.543],
  28873. [19.72, -25.617],
  28874. [24.143, -21.524],
  28875. [28.712, -20.919],
  28876. [32.154, -22.464],
  28877. [32.546, -26.14]
  28878. ],
  28879. c: !0
  28880. }
  28881. ]
  28882. },
  28883. {
  28884. i: { x: 0.667, y: 1 },
  28885. o: { x: 0.333, y: 0 },
  28886. t: 72,
  28887. s: [
  28888. {
  28889. i: [
  28890. [0.674, 0.548],
  28891. [3.612, -0.078],
  28892. [1.088, -0.742],
  28893. [0.711, -1.233],
  28894. [-0.922, -1.05],
  28895. [0, 0],
  28896. [-3.304, 4.605],
  28897. [-0.795, -2.012],
  28898. [-1.129, -0.407],
  28899. [-1.802, 0.384],
  28900. [-0.624, 0.886],
  28901. [0.17, 1.003]
  28902. ],
  28903. o: [
  28904. [-1.929, -1.568],
  28905. [-2.494, 0.054],
  28906. [-1.205, 1.055],
  28907. [-1.197, 2.076],
  28908. [0.821, 0.935],
  28909. [0, 0],
  28910. [1.18, -1.645],
  28911. [0.899, 2.275],
  28912. [1.594, 0.576],
  28913. [1.183, -0.252],
  28914. [0.932, -1.324],
  28915. [-0.166, -0.981]
  28916. ],
  28917. v: [
  28918. [29.831, -29.177],
  28919. [20.387, -31.48],
  28920. [13.731, -29.374],
  28921. [10.45, -25.672],
  28922. [8.432, -20.256],
  28923. [10.292, -20.376],
  28924. [14.283, -26.543],
  28925. [19.72, -25.617],
  28926. [24.143, -21.524],
  28927. [28.712, -20.919],
  28928. [32.154, -22.464],
  28929. [32.546, -26.14]
  28930. ],
  28931. c: !0
  28932. }
  28933. ],
  28934. e: [
  28935. {
  28936. i: [
  28937. [0.789, 0.364],
  28938. [3.847, -1.112],
  28939. [1.569, -1.705],
  28940. [0.527, -1.054],
  28941. [-0.589, -1.267],
  28942. [0, 0],
  28943. [-2.888, 4.861],
  28944. [-1.357, -0.517],
  28945. [-1.474, -0.144],
  28946. [-1.91, 0.877],
  28947. [-0.187, 1.607],
  28948. [0.662, 0.764]
  28949. ],
  28950. o: [
  28951. [-2.286, -1.054],
  28952. [-2.293, 0.663],
  28953. [-0.855, 0.929],
  28954. [-2.408, 4.812],
  28955. [0.643, 1.381],
  28956. [0, 0],
  28957. [0.906, -1.525],
  28958. [1.48, 0.563],
  28959. [1.393, 0.136],
  28960. [1.254, -0.576],
  28961. [0.077, -0.664],
  28962. [-0.647, -0.747]
  28963. ],
  28964. v: [
  28965. [30.178, -34.211],
  28966. [19.85, -34.366],
  28967. [13.819, -30.865],
  28968. [11.179, -27.569],
  28969. [8.253, -20.384],
  28970. [10.411, -20.44],
  28971. [13.839, -27.233],
  28972. [19.034, -28.105],
  28973. [25.507, -25.889],
  28974. [31.366, -26.584],
  28975. [33.783, -29.741],
  28976. [33.003, -32.165]
  28977. ],
  28978. c: !0
  28979. }
  28980. ]
  28981. },
  28982. {
  28983. i: { x: 0.667, y: 1 },
  28984. o: { x: 0.333, y: 0 },
  28985. t: 80,
  28986. s: [
  28987. {
  28988. i: [
  28989. [0.789, 0.364],
  28990. [3.847, -1.112],
  28991. [1.569, -1.705],
  28992. [0.527, -1.054],
  28993. [-0.589, -1.267],
  28994. [0, 0],
  28995. [-2.888, 4.861],
  28996. [-1.357, -0.517],
  28997. [-1.474, -0.144],
  28998. [-1.91, 0.877],
  28999. [-0.187, 1.607],
  29000. [0.662, 0.764]
  29001. ],
  29002. o: [
  29003. [-2.286, -1.054],
  29004. [-2.293, 0.663],
  29005. [-0.855, 0.929],
  29006. [-2.408, 4.812],
  29007. [0.643, 1.381],
  29008. [0, 0],
  29009. [0.906, -1.525],
  29010. [1.48, 0.563],
  29011. [1.393, 0.136],
  29012. [1.254, -0.576],
  29013. [0.077, -0.664],
  29014. [-0.647, -0.747]
  29015. ],
  29016. v: [
  29017. [30.178, -34.211],
  29018. [19.85, -34.366],
  29019. [13.819, -30.865],
  29020. [11.179, -27.569],
  29021. [8.253, -20.384],
  29022. [10.411, -20.44],
  29023. [13.839, -27.233],
  29024. [19.034, -28.105],
  29025. [25.507, -25.889],
  29026. [31.366, -26.584],
  29027. [33.783, -29.741],
  29028. [33.003, -32.165]
  29029. ],
  29030. c: !0
  29031. }
  29032. ],
  29033. e: [
  29034. {
  29035. i: [
  29036. [0.648, 0.617],
  29037. [3.423, -2.186],
  29038. [1.457, -2.142],
  29039. [0.427, -1.424],
  29040. [-0.625, -1.25],
  29041. [0, 0],
  29042. [-0.875, 5.125],
  29043. [-1.517, 0.46],
  29044. [-1.179, 0.129],
  29045. [-1.14, 0.694],
  29046. [-0.834, 0.893],
  29047. [-0.089, 1.662]
  29048. ],
  29049. o: [
  29050. [-1.804, -1.718],
  29051. [-2.04, 1.303],
  29052. [-0.828, 1.218],
  29053. [-1.545, 5.154],
  29054. [0.625, 1.25],
  29055. [0, 0],
  29056. [0.433, -2.536],
  29057. [1.548, -0.47],
  29058. [1.462, -0.161],
  29059. [0.748, -0.456],
  29060. [0.308, -0.329],
  29061. [0.077, -1.439]
  29062. ],
  29063. v: [
  29064. [25.858, -46.958],
  29065. [16.996, -45.772],
  29066. [11.534, -40.502],
  29067. [9.376, -36.075],
  29068. [8.125, -20.5],
  29069. [10.375, -20.312],
  29070. [10.798, -31.05],
  29071. [13.243, -35.902],
  29072. [19.625, -36.58],
  29073. [23.37, -37.717],
  29074. [25.699, -39.7],
  29075. [26.822, -43.263]
  29076. ],
  29077. c: !0
  29078. }
  29079. ]
  29080. },
  29081. { t: 98 }
  29082. ],
  29083. ix: 2
  29084. },
  29085. nm: '路径 1',
  29086. mn: 'ADBE Vector Shape - Group',
  29087. hd: !1
  29088. },
  29089. {
  29090. ty: 'fl',
  29091. c: { a: 0, k: [0.447058853449, 0.133333333333, 0.035294117647, 1], ix: 4 },
  29092. o: { a: 0, k: 100, ix: 5 },
  29093. r: 1,
  29094. bm: 0,
  29095. nm: '填充 1',
  29096. mn: 'ADBE Vector Graphic - Fill',
  29097. hd: !1
  29098. },
  29099. {
  29100. ty: 'tr',
  29101. p: { a: 0, k: [-0.472, 0], ix: 2 },
  29102. a: { a: 0, k: [0, 0], ix: 1 },
  29103. s: { a: 0, k: [100, 100], ix: 3 },
  29104. r: { a: 0, k: 0, ix: 6 },
  29105. o: { a: 0, k: 100, ix: 7 },
  29106. sk: { a: 0, k: 0, ix: 4 },
  29107. sa: { a: 0, k: 0, ix: 5 },
  29108. nm: '变换'
  29109. }
  29110. ],
  29111. nm: '形状 1',
  29112. np: 3,
  29113. cix: 2,
  29114. bm: 0,
  29115. ix: 1,
  29116. mn: 'ADBE Vector Group',
  29117. hd: !1
  29118. }
  29119. ],
  29120. ip: 0,
  29121. op: 180,
  29122. st: 0,
  29123. cp: !0,
  29124. bm: 0
  29125. },
  29126. {
  29127. ddd: 0,
  29128. ind: 3,
  29129. ty: 4,
  29130. nm: '形状图层 1',
  29131. parent: 7,
  29132. sr: 1,
  29133. ks: {
  29134. o: { a: 0, k: 100, ix: 11 },
  29135. r: { a: 0, k: 0, ix: 10 },
  29136. p: { a: 0, k: [52.591, 41.239, 0], ix: 2 },
  29137. a: { a: 0, k: [0, 0, 0], ix: 1 },
  29138. s: { a: 0, k: [105.026, 97.953, 100], ix: 6 }
  29139. },
  29140. ao: 0,
  29141. shapes: [
  29142. {
  29143. ty: 'gr',
  29144. it: [
  29145. {
  29146. ind: 0,
  29147. ty: 'sh',
  29148. ix: 1,
  29149. ks: {
  29150. a: 1,
  29151. k: [
  29152. {
  29153. i: { x: 0.667, y: 1 },
  29154. o: { x: 0.333, y: 0 },
  29155. t: 0,
  29156. s: [
  29157. {
  29158. i: [
  29159. [0.648, 0.617],
  29160. [3.423, -2.186],
  29161. [1.457, -2.142],
  29162. [0.427, -1.424],
  29163. [-0.625, -1.25],
  29164. [0, 0],
  29165. [-0.875, 5.125],
  29166. [-1.517, 0.46],
  29167. [-1.179, 0.129],
  29168. [-1.14, 0.694],
  29169. [-0.834, 0.893],
  29170. [-0.089, 1.662]
  29171. ],
  29172. o: [
  29173. [-1.804, -1.718],
  29174. [-2.04, 1.303],
  29175. [-0.828, 1.218],
  29176. [-1.545, 5.154],
  29177. [0.625, 1.25],
  29178. [0, 0],
  29179. [0.433, -2.536],
  29180. [1.548, -0.47],
  29181. [1.462, -0.161],
  29182. [0.748, -0.456],
  29183. [0.308, -0.329],
  29184. [0.077, -1.439]
  29185. ],
  29186. v: [
  29187. [25.858, -46.958],
  29188. [16.996, -45.772],
  29189. [11.534, -40.502],
  29190. [9.376, -36.075],
  29191. [8.125, -20.5],
  29192. [10.375, -20.312],
  29193. [10.798, -31.05],
  29194. [13.243, -35.902],
  29195. [19.625, -36.58],
  29196. [23.37, -37.717],
  29197. [25.699, -39.7],
  29198. [26.822, -43.263]
  29199. ],
  29200. c: !0
  29201. }
  29202. ],
  29203. e: [
  29204. {
  29205. i: [
  29206. [0.552, 0.671],
  29207. [4.593, -0.166],
  29208. [1.963, -1.16],
  29209. [0.527, -1.054],
  29210. [-0.625, -1.25],
  29211. [0, 0],
  29212. [-2.529, 4.951],
  29213. [-1.42, -0.303],
  29214. [-0.948, -0.736],
  29215. [-2.533, 0.099],
  29216. [-0.821, 0.744],
  29217. [0.14, 1.068]
  29218. ],
  29219. o: [
  29220. [-1.533, -1.865],
  29221. [-2.738, 0.099],
  29222. [-1.116, 0.66],
  29223. [-2.408, 4.812],
  29224. [0.625, 1.25],
  29225. [0, 0],
  29226. [0.871, -1.705],
  29227. [1.483, 0.317],
  29228. [1.09, 0.846],
  29229. [1.724, -0.067],
  29230. [0.495, -0.449],
  29231. [-0.137, -1.044]
  29232. ],
  29233. v: [
  29234. [31.735, -32.494],
  29235. [20.905, -35.342],
  29236. [13.505, -33.516],
  29237. [10.977, -30.609],
  29238. [8.253, -20.384],
  29239. [10.887, -20.312],
  29240. [13.101, -29.31],
  29241. [17.12, -31.092],
  29242. [21.753, -27.258],
  29243. [28.068, -25.521],
  29244. [32.332, -27.154],
  29245. [32.815, -29.684]
  29246. ],
  29247. c: !0
  29248. }
  29249. ]
  29250. },
  29251. {
  29252. i: { x: 0.667, y: 1 },
  29253. o: { x: 0.333, y: 0 },
  29254. t: 8,
  29255. s: [
  29256. {
  29257. i: [
  29258. [0.552, 0.671],
  29259. [4.593, -0.166],
  29260. [1.963, -1.16],
  29261. [0.527, -1.054],
  29262. [-0.625, -1.25],
  29263. [0, 0],
  29264. [-2.529, 4.951],
  29265. [-1.42, -0.303],
  29266. [-0.948, -0.736],
  29267. [-2.533, 0.099],
  29268. [-0.821, 0.744],
  29269. [0.14, 1.068]
  29270. ],
  29271. o: [
  29272. [-1.533, -1.865],
  29273. [-2.738, 0.099],
  29274. [-1.116, 0.66],
  29275. [-2.408, 4.812],
  29276. [0.625, 1.25],
  29277. [0, 0],
  29278. [0.871, -1.705],
  29279. [1.483, 0.317],
  29280. [1.09, 0.846],
  29281. [1.724, -0.067],
  29282. [0.495, -0.449],
  29283. [-0.137, -1.044]
  29284. ],
  29285. v: [
  29286. [31.735, -32.494],
  29287. [20.905, -35.342],
  29288. [13.505, -33.516],
  29289. [10.977, -30.609],
  29290. [8.253, -20.384],
  29291. [10.887, -20.312],
  29292. [13.101, -29.31],
  29293. [17.12, -31.092],
  29294. [21.753, -27.258],
  29295. [28.068, -25.521],
  29296. [32.332, -27.154],
  29297. [32.815, -29.684]
  29298. ],
  29299. c: !0
  29300. }
  29301. ],
  29302. e: [
  29303. {
  29304. i: [
  29305. [0.741, 0.453],
  29306. [4.1, -0.475],
  29307. [1.088, -0.742],
  29308. [0.711, -1.233],
  29309. [-0.922, -1.05],
  29310. [0, 0],
  29311. [-3.304, 4.605],
  29312. [-0.795, -2.012],
  29313. [-1.129, -0.407],
  29314. [-1.842, -0.003],
  29315. [-0.624, 0.886],
  29316. [0.51, 1.203]
  29317. ],
  29318. o: [
  29319. [-2.249, -1.375],
  29320. [-2.478, 0.287],
  29321. [-1.205, 1.055],
  29322. [-1.197, 2.076],
  29323. [0.821, 0.935],
  29324. [0, 0],
  29325. [1.18, -1.645],
  29326. [0.899, 2.275],
  29327. [1.594, 0.576],
  29328. [1.428, 0.002],
  29329. [0.932, -1.324],
  29330. [-0.388, -0.916]
  29331. ],
  29332. v: [
  29333. [28.76, -30.58],
  29334. [19.256, -31.863],
  29335. [13.493, -29.374],
  29336. [10.45, -25.672],
  29337. [8.432, -20.256],
  29338. [10.292, -20.376],
  29339. [14.283, -26.543],
  29340. [19.958, -25.744],
  29341. [24.143, -21.524],
  29342. [28.831, -20.791],
  29343. [32.332, -22.209],
  29344. [32.606, -26.651]
  29345. ],
  29346. c: !0
  29347. }
  29348. ]
  29349. },
  29350. {
  29351. i: { x: 0.667, y: 1 },
  29352. o: { x: 0.333, y: 0 },
  29353. t: 23,
  29354. s: [
  29355. {
  29356. i: [
  29357. [0.741, 0.453],
  29358. [4.1, -0.475],
  29359. [1.088, -0.742],
  29360. [0.711, -1.233],
  29361. [-0.922, -1.05],
  29362. [0, 0],
  29363. [-3.304, 4.605],
  29364. [-0.795, -2.012],
  29365. [-1.129, -0.407],
  29366. [-1.842, -0.003],
  29367. [-0.624, 0.886],
  29368. [0.51, 1.203]
  29369. ],
  29370. o: [
  29371. [-2.249, -1.375],
  29372. [-2.478, 0.287],
  29373. [-1.205, 1.055],
  29374. [-1.197, 2.076],
  29375. [0.821, 0.935],
  29376. [0, 0],
  29377. [1.18, -1.645],
  29378. [0.899, 2.275],
  29379. [1.594, 0.576],
  29380. [1.428, 0.002],
  29381. [0.932, -1.324],
  29382. [-0.388, -0.916]
  29383. ],
  29384. v: [
  29385. [28.76, -30.58],
  29386. [19.256, -31.863],
  29387. [13.493, -29.374],
  29388. [10.45, -25.672],
  29389. [8.432, -20.256],
  29390. [10.292, -20.376],
  29391. [14.283, -26.543],
  29392. [19.958, -25.744],
  29393. [24.143, -21.524],
  29394. [28.831, -20.791],
  29395. [32.332, -22.209],
  29396. [32.606, -26.651]
  29397. ],
  29398. c: !0
  29399. }
  29400. ],
  29401. e: [
  29402. {
  29403. i: [
  29404. [0.789, 0.364],
  29405. [3.847, -1.112],
  29406. [1.569, -1.705],
  29407. [0.527, -1.054],
  29408. [-0.589, -1.267],
  29409. [0, 0],
  29410. [-2.888, 4.861],
  29411. [-1.357, -0.517],
  29412. [-1.474, -0.144],
  29413. [-1.91, 0.877],
  29414. [-0.187, 1.607],
  29415. [0.662, 0.764]
  29416. ],
  29417. o: [
  29418. [-2.286, -1.054],
  29419. [-2.293, 0.663],
  29420. [-0.855, 0.929],
  29421. [-2.408, 4.812],
  29422. [0.643, 1.381],
  29423. [0, 0],
  29424. [0.906, -1.525],
  29425. [1.48, 0.563],
  29426. [1.393, 0.136],
  29427. [1.254, -0.576],
  29428. [0.077, -0.664],
  29429. [-0.647, -0.747]
  29430. ],
  29431. v: [
  29432. [30.178, -34.211],
  29433. [19.85, -34.366],
  29434. [13.819, -30.865],
  29435. [11.179, -27.569],
  29436. [8.253, -20.384],
  29437. [10.411, -20.44],
  29438. [13.839, -27.233],
  29439. [19.034, -28.105],
  29440. [25.507, -25.889],
  29441. [31.366, -26.584],
  29442. [33.783, -29.741],
  29443. [33.003, -32.165]
  29444. ],
  29445. c: !0
  29446. }
  29447. ]
  29448. },
  29449. {
  29450. i: { x: 0.667, y: 1 },
  29451. o: { x: 0.333, y: 0 },
  29452. t: 31,
  29453. s: [
  29454. {
  29455. i: [
  29456. [0.789, 0.364],
  29457. [3.847, -1.112],
  29458. [1.569, -1.705],
  29459. [0.527, -1.054],
  29460. [-0.589, -1.267],
  29461. [0, 0],
  29462. [-2.888, 4.861],
  29463. [-1.357, -0.517],
  29464. [-1.474, -0.144],
  29465. [-1.91, 0.877],
  29466. [-0.187, 1.607],
  29467. [0.662, 0.764]
  29468. ],
  29469. o: [
  29470. [-2.286, -1.054],
  29471. [-2.293, 0.663],
  29472. [-0.855, 0.929],
  29473. [-2.408, 4.812],
  29474. [0.643, 1.381],
  29475. [0, 0],
  29476. [0.906, -1.525],
  29477. [1.48, 0.563],
  29478. [1.393, 0.136],
  29479. [1.254, -0.576],
  29480. [0.077, -0.664],
  29481. [-0.647, -0.747]
  29482. ],
  29483. v: [
  29484. [30.178, -34.211],
  29485. [19.85, -34.366],
  29486. [13.819, -30.865],
  29487. [11.179, -27.569],
  29488. [8.253, -20.384],
  29489. [10.411, -20.44],
  29490. [13.839, -27.233],
  29491. [19.034, -28.105],
  29492. [25.507, -25.889],
  29493. [31.366, -26.584],
  29494. [33.783, -29.741],
  29495. [33.003, -32.165]
  29496. ],
  29497. c: !0
  29498. }
  29499. ],
  29500. e: [
  29501. {
  29502. i: [
  29503. [0.648, 0.617],
  29504. [3.423, -2.186],
  29505. [1.457, -2.142],
  29506. [0.427, -1.424],
  29507. [-0.625, -1.25],
  29508. [0, 0],
  29509. [-0.875, 5.125],
  29510. [-1.517, 0.46],
  29511. [-1.179, 0.129],
  29512. [-1.14, 0.694],
  29513. [-0.834, 0.893],
  29514. [-0.089, 1.662]
  29515. ],
  29516. o: [
  29517. [-1.804, -1.718],
  29518. [-2.04, 1.303],
  29519. [-0.828, 1.218],
  29520. [-1.545, 5.154],
  29521. [0.625, 1.25],
  29522. [0, 0],
  29523. [0.433, -2.536],
  29524. [1.548, -0.47],
  29525. [1.462, -0.161],
  29526. [0.748, -0.456],
  29527. [0.308, -0.329],
  29528. [0.077, -1.439]
  29529. ],
  29530. v: [
  29531. [25.858, -46.958],
  29532. [16.996, -45.772],
  29533. [11.534, -40.502],
  29534. [9.376, -36.075],
  29535. [8.125, -20.5],
  29536. [10.375, -20.312],
  29537. [10.798, -31.05],
  29538. [13.243, -35.902],
  29539. [19.625, -36.58],
  29540. [23.37, -37.717],
  29541. [25.699, -39.7],
  29542. [26.822, -43.263]
  29543. ],
  29544. c: !0
  29545. }
  29546. ]
  29547. },
  29548. {
  29549. i: { x: 0.667, y: 1 },
  29550. o: { x: 0.333, y: 0 },
  29551. t: 49,
  29552. s: [
  29553. {
  29554. i: [
  29555. [0.648, 0.617],
  29556. [3.423, -2.186],
  29557. [1.457, -2.142],
  29558. [0.427, -1.424],
  29559. [-0.625, -1.25],
  29560. [0, 0],
  29561. [-0.875, 5.125],
  29562. [-1.517, 0.46],
  29563. [-1.179, 0.129],
  29564. [-1.14, 0.694],
  29565. [-0.834, 0.893],
  29566. [-0.089, 1.662]
  29567. ],
  29568. o: [
  29569. [-1.804, -1.718],
  29570. [-2.04, 1.303],
  29571. [-0.828, 1.218],
  29572. [-1.545, 5.154],
  29573. [0.625, 1.25],
  29574. [0, 0],
  29575. [0.433, -2.536],
  29576. [1.548, -0.47],
  29577. [1.462, -0.161],
  29578. [0.748, -0.456],
  29579. [0.308, -0.329],
  29580. [0.077, -1.439]
  29581. ],
  29582. v: [
  29583. [25.858, -46.958],
  29584. [16.996, -45.772],
  29585. [11.534, -40.502],
  29586. [9.376, -36.075],
  29587. [8.125, -20.5],
  29588. [10.375, -20.312],
  29589. [10.798, -31.05],
  29590. [13.243, -35.902],
  29591. [19.625, -36.58],
  29592. [23.37, -37.717],
  29593. [25.699, -39.7],
  29594. [26.822, -43.263]
  29595. ],
  29596. c: !0
  29597. }
  29598. ],
  29599. e: [
  29600. {
  29601. i: [
  29602. [0.552, 0.671],
  29603. [4.593, -0.166],
  29604. [1.963, -1.16],
  29605. [0.527, -1.054],
  29606. [-0.625, -1.25],
  29607. [0, 0],
  29608. [-2.529, 4.951],
  29609. [-1.42, -0.303],
  29610. [-0.948, -0.736],
  29611. [-2.533, 0.099],
  29612. [-0.821, 0.744],
  29613. [0.14, 1.068]
  29614. ],
  29615. o: [
  29616. [-1.533, -1.865],
  29617. [-2.738, 0.099],
  29618. [-1.116, 0.66],
  29619. [-2.408, 4.812],
  29620. [0.625, 1.25],
  29621. [0, 0],
  29622. [0.871, -1.705],
  29623. [1.483, 0.317],
  29624. [1.09, 0.846],
  29625. [1.724, -0.067],
  29626. [0.495, -0.449],
  29627. [-0.137, -1.044]
  29628. ],
  29629. v: [
  29630. [31.735, -32.494],
  29631. [20.905, -35.342],
  29632. [13.505, -33.516],
  29633. [10.977, -30.609],
  29634. [8.253, -20.384],
  29635. [10.887, -20.312],
  29636. [13.101, -29.31],
  29637. [17.12, -31.092],
  29638. [21.753, -27.258],
  29639. [28.068, -25.521],
  29640. [32.332, -27.154],
  29641. [32.815, -29.684]
  29642. ],
  29643. c: !0
  29644. }
  29645. ]
  29646. },
  29647. {
  29648. i: { x: 0.667, y: 1 },
  29649. o: { x: 0.333, y: 0 },
  29650. t: 57,
  29651. s: [
  29652. {
  29653. i: [
  29654. [0.552, 0.671],
  29655. [4.593, -0.166],
  29656. [1.963, -1.16],
  29657. [0.527, -1.054],
  29658. [-0.625, -1.25],
  29659. [0, 0],
  29660. [-2.529, 4.951],
  29661. [-1.42, -0.303],
  29662. [-0.948, -0.736],
  29663. [-2.533, 0.099],
  29664. [-0.821, 0.744],
  29665. [0.14, 1.068]
  29666. ],
  29667. o: [
  29668. [-1.533, -1.865],
  29669. [-2.738, 0.099],
  29670. [-1.116, 0.66],
  29671. [-2.408, 4.812],
  29672. [0.625, 1.25],
  29673. [0, 0],
  29674. [0.871, -1.705],
  29675. [1.483, 0.317],
  29676. [1.09, 0.846],
  29677. [1.724, -0.067],
  29678. [0.495, -0.449],
  29679. [-0.137, -1.044]
  29680. ],
  29681. v: [
  29682. [31.735, -32.494],
  29683. [20.905, -35.342],
  29684. [13.505, -33.516],
  29685. [10.977, -30.609],
  29686. [8.253, -20.384],
  29687. [10.887, -20.312],
  29688. [13.101, -29.31],
  29689. [17.12, -31.092],
  29690. [21.753, -27.258],
  29691. [28.068, -25.521],
  29692. [32.332, -27.154],
  29693. [32.815, -29.684]
  29694. ],
  29695. c: !0
  29696. }
  29697. ],
  29698. e: [
  29699. {
  29700. i: [
  29701. [0.674, 0.548],
  29702. [3.612, -0.078],
  29703. [1.088, -0.742],
  29704. [0.711, -1.233],
  29705. [-0.922, -1.05],
  29706. [0, 0],
  29707. [-3.304, 4.605],
  29708. [-0.795, -2.012],
  29709. [-1.129, -0.407],
  29710. [-1.802, 0.384],
  29711. [-0.624, 0.886],
  29712. [0.17, 1.003]
  29713. ],
  29714. o: [
  29715. [-1.929, -1.568],
  29716. [-2.494, 0.054],
  29717. [-1.205, 1.055],
  29718. [-1.197, 2.076],
  29719. [0.821, 0.935],
  29720. [0, 0],
  29721. [1.18, -1.645],
  29722. [0.899, 2.275],
  29723. [1.594, 0.576],
  29724. [1.183, -0.252],
  29725. [0.932, -1.324],
  29726. [-0.166, -0.981]
  29727. ],
  29728. v: [
  29729. [29.831, -29.177],
  29730. [20.387, -31.48],
  29731. [13.731, -29.374],
  29732. [10.45, -25.672],
  29733. [8.432, -20.256],
  29734. [10.292, -20.376],
  29735. [14.283, -26.543],
  29736. [19.72, -25.617],
  29737. [24.143, -21.524],
  29738. [28.712, -20.919],
  29739. [32.154, -22.464],
  29740. [32.546, -26.14]
  29741. ],
  29742. c: !0
  29743. }
  29744. ]
  29745. },
  29746. {
  29747. i: { x: 0.667, y: 1 },
  29748. o: { x: 0.333, y: 0 },
  29749. t: 72,
  29750. s: [
  29751. {
  29752. i: [
  29753. [0.674, 0.548],
  29754. [3.612, -0.078],
  29755. [1.088, -0.742],
  29756. [0.711, -1.233],
  29757. [-0.922, -1.05],
  29758. [0, 0],
  29759. [-3.304, 4.605],
  29760. [-0.795, -2.012],
  29761. [-1.129, -0.407],
  29762. [-1.802, 0.384],
  29763. [-0.624, 0.886],
  29764. [0.17, 1.003]
  29765. ],
  29766. o: [
  29767. [-1.929, -1.568],
  29768. [-2.494, 0.054],
  29769. [-1.205, 1.055],
  29770. [-1.197, 2.076],
  29771. [0.821, 0.935],
  29772. [0, 0],
  29773. [1.18, -1.645],
  29774. [0.899, 2.275],
  29775. [1.594, 0.576],
  29776. [1.183, -0.252],
  29777. [0.932, -1.324],
  29778. [-0.166, -0.981]
  29779. ],
  29780. v: [
  29781. [29.831, -29.177],
  29782. [20.387, -31.48],
  29783. [13.731, -29.374],
  29784. [10.45, -25.672],
  29785. [8.432, -20.256],
  29786. [10.292, -20.376],
  29787. [14.283, -26.543],
  29788. [19.72, -25.617],
  29789. [24.143, -21.524],
  29790. [28.712, -20.919],
  29791. [32.154, -22.464],
  29792. [32.546, -26.14]
  29793. ],
  29794. c: !0
  29795. }
  29796. ],
  29797. e: [
  29798. {
  29799. i: [
  29800. [0.789, 0.364],
  29801. [3.847, -1.112],
  29802. [1.569, -1.705],
  29803. [0.527, -1.054],
  29804. [-0.589, -1.267],
  29805. [0, 0],
  29806. [-2.888, 4.861],
  29807. [-1.357, -0.517],
  29808. [-1.474, -0.144],
  29809. [-1.91, 0.877],
  29810. [-0.187, 1.607],
  29811. [0.662, 0.764]
  29812. ],
  29813. o: [
  29814. [-2.286, -1.054],
  29815. [-2.293, 0.663],
  29816. [-0.855, 0.929],
  29817. [-2.408, 4.812],
  29818. [0.643, 1.381],
  29819. [0, 0],
  29820. [0.906, -1.525],
  29821. [1.48, 0.563],
  29822. [1.393, 0.136],
  29823. [1.254, -0.576],
  29824. [0.077, -0.664],
  29825. [-0.647, -0.747]
  29826. ],
  29827. v: [
  29828. [30.178, -34.211],
  29829. [19.85, -34.366],
  29830. [13.819, -30.865],
  29831. [11.179, -27.569],
  29832. [8.253, -20.384],
  29833. [10.411, -20.44],
  29834. [13.839, -27.233],
  29835. [19.034, -28.105],
  29836. [25.507, -25.889],
  29837. [31.366, -26.584],
  29838. [33.783, -29.741],
  29839. [33.003, -32.165]
  29840. ],
  29841. c: !0
  29842. }
  29843. ]
  29844. },
  29845. {
  29846. i: { x: 0.667, y: 1 },
  29847. o: { x: 0.333, y: 0 },
  29848. t: 80,
  29849. s: [
  29850. {
  29851. i: [
  29852. [0.789, 0.364],
  29853. [3.847, -1.112],
  29854. [1.569, -1.705],
  29855. [0.527, -1.054],
  29856. [-0.589, -1.267],
  29857. [0, 0],
  29858. [-2.888, 4.861],
  29859. [-1.357, -0.517],
  29860. [-1.474, -0.144],
  29861. [-1.91, 0.877],
  29862. [-0.187, 1.607],
  29863. [0.662, 0.764]
  29864. ],
  29865. o: [
  29866. [-2.286, -1.054],
  29867. [-2.293, 0.663],
  29868. [-0.855, 0.929],
  29869. [-2.408, 4.812],
  29870. [0.643, 1.381],
  29871. [0, 0],
  29872. [0.906, -1.525],
  29873. [1.48, 0.563],
  29874. [1.393, 0.136],
  29875. [1.254, -0.576],
  29876. [0.077, -0.664],
  29877. [-0.647, -0.747]
  29878. ],
  29879. v: [
  29880. [30.178, -34.211],
  29881. [19.85, -34.366],
  29882. [13.819, -30.865],
  29883. [11.179, -27.569],
  29884. [8.253, -20.384],
  29885. [10.411, -20.44],
  29886. [13.839, -27.233],
  29887. [19.034, -28.105],
  29888. [25.507, -25.889],
  29889. [31.366, -26.584],
  29890. [33.783, -29.741],
  29891. [33.003, -32.165]
  29892. ],
  29893. c: !0
  29894. }
  29895. ],
  29896. e: [
  29897. {
  29898. i: [
  29899. [0.648, 0.617],
  29900. [3.423, -2.186],
  29901. [1.457, -2.142],
  29902. [0.427, -1.424],
  29903. [-0.625, -1.25],
  29904. [0, 0],
  29905. [-0.875, 5.125],
  29906. [-1.517, 0.46],
  29907. [-1.179, 0.129],
  29908. [-1.14, 0.694],
  29909. [-0.834, 0.893],
  29910. [-0.089, 1.662]
  29911. ],
  29912. o: [
  29913. [-1.804, -1.718],
  29914. [-2.04, 1.303],
  29915. [-0.828, 1.218],
  29916. [-1.545, 5.154],
  29917. [0.625, 1.25],
  29918. [0, 0],
  29919. [0.433, -2.536],
  29920. [1.548, -0.47],
  29921. [1.462, -0.161],
  29922. [0.748, -0.456],
  29923. [0.308, -0.329],
  29924. [0.077, -1.439]
  29925. ],
  29926. v: [
  29927. [25.858, -46.958],
  29928. [16.996, -45.772],
  29929. [11.534, -40.502],
  29930. [9.376, -36.075],
  29931. [8.125, -20.5],
  29932. [10.375, -20.312],
  29933. [10.798, -31.05],
  29934. [13.243, -35.902],
  29935. [19.625, -36.58],
  29936. [23.37, -37.717],
  29937. [25.699, -39.7],
  29938. [26.822, -43.263]
  29939. ],
  29940. c: !0
  29941. }
  29942. ]
  29943. },
  29944. { t: 98 }
  29945. ],
  29946. ix: 2
  29947. },
  29948. nm: '路径 1',
  29949. mn: 'ADBE Vector Shape - Group',
  29950. hd: !1
  29951. },
  29952. {
  29953. ty: 'fl',
  29954. c: { a: 0, k: [0.447058853449, 0.133333333333, 0.035294117647, 1], ix: 4 },
  29955. o: { a: 0, k: 100, ix: 5 },
  29956. r: 1,
  29957. bm: 0,
  29958. nm: '填充 1',
  29959. mn: 'ADBE Vector Graphic - Fill',
  29960. hd: !1
  29961. },
  29962. {
  29963. ty: 'tr',
  29964. p: { a: 0, k: [-0.472, 0], ix: 2 },
  29965. a: { a: 0, k: [0, 0], ix: 1 },
  29966. s: { a: 0, k: [100, 100], ix: 3 },
  29967. r: { a: 0, k: 0, ix: 6 },
  29968. o: { a: 0, k: 100, ix: 7 },
  29969. sk: { a: 0, k: 0, ix: 4 },
  29970. sa: { a: 0, k: 0, ix: 5 },
  29971. nm: '变换'
  29972. }
  29973. ],
  29974. nm: '形状 1',
  29975. np: 3,
  29976. cix: 2,
  29977. bm: 0,
  29978. ix: 1,
  29979. mn: 'ADBE Vector Group',
  29980. hd: !1
  29981. }
  29982. ],
  29983. ip: 0,
  29984. op: 180,
  29985. st: 0,
  29986. cp: !0,
  29987. bm: 0
  29988. },
  29989. {
  29990. ddd: 0,
  29991. ind: 4,
  29992. ty: 2,
  29993. nm: '嘴巴2.png',
  29994. cl: 'png',
  29995. parent: 7,
  29996. refId: 'image_0',
  29997. sr: 1,
  29998. ks: {
  29999. o: { a: 0, k: 100, ix: 11 },
  30000. r: { a: 0, k: 0, ix: 10 },
  30001. p: { a: 0, k: [51, 82.5, 0], ix: 2 },
  30002. a: { a: 0, k: [16, 18, 0], ix: 1 },
  30003. s: {
  30004. a: 1,
  30005. k: [
  30006. {
  30007. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30008. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30009. t: 0,
  30010. s: [130, 100, 100],
  30011. e: [100, 70, 100]
  30012. },
  30013. {
  30014. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30015. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30016. t: 23,
  30017. s: [100, 70, 100],
  30018. e: [130, 100, 100]
  30019. },
  30020. {
  30021. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30022. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30023. t: 49,
  30024. s: [130, 100, 100],
  30025. e: [100, 70, 100]
  30026. },
  30027. {
  30028. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30029. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30030. t: 72,
  30031. s: [100, 70, 100],
  30032. e: [130, 100, 100]
  30033. },
  30034. { t: 98 }
  30035. ],
  30036. ix: 6
  30037. }
  30038. },
  30039. ao: 0,
  30040. ip: 0,
  30041. op: 180,
  30042. st: 0,
  30043. cp: !1,
  30044. bm: 0
  30045. },
  30046. {
  30047. ddd: 0,
  30048. ind: 7,
  30049. ty: 2,
  30050. nm: '脸蛋2.png',
  30051. cl: 'png',
  30052. refId: 'image_1',
  30053. sr: 1,
  30054. ks: {
  30055. o: { a: 0, k: 100, ix: 11 },
  30056. r: { a: 0, k: 0, ix: 10 },
  30057. p: {
  30058. a: 1,
  30059. k: [
  30060. {
  30061. i: { x: 0.57, y: 1 },
  30062. o: { x: 0.449, y: 0 },
  30063. t: 0,
  30064. s: [90, 158, 0],
  30065. e: [90, 110, 0],
  30066. to: [0, -8, 0],
  30067. ti: [0, 8.833, 0]
  30068. },
  30069. {
  30070. i: { x: 0.667, y: 1 },
  30071. o: { x: 0.333, y: 0 },
  30072. t: 17,
  30073. s: [90, 110, 0],
  30074. e: [90, 105, 0],
  30075. to: [0, -8.833, 0],
  30076. ti: [0, -8, 0]
  30077. },
  30078. {
  30079. i: { x: 0.597, y: 1 },
  30080. o: { x: 0.432, y: 0 },
  30081. t: 23,
  30082. s: [90, 105, 0],
  30083. e: [90, 158, 0],
  30084. to: [0, 8, 0],
  30085. ti: [0, -8.833, 0]
  30086. },
  30087. {
  30088. i: { x: 0.833, y: 0.833 },
  30089. o: { x: 0.167, y: 0.167 },
  30090. t: 41,
  30091. s: [90, 158, 0],
  30092. e: [90, 158, 0],
  30093. to: [0, 0, 0],
  30094. ti: [0, 0, 0]
  30095. },
  30096. {
  30097. i: { x: 0.571, y: 1 },
  30098. o: { x: 0.449, y: 0 },
  30099. t: 49,
  30100. s: [90, 158, 0],
  30101. e: [90, 110, 0],
  30102. to: [0, -8, 0],
  30103. ti: [0, 8.833, 0]
  30104. },
  30105. {
  30106. i: { x: 0.667, y: 1 },
  30107. o: { x: 0.333, y: 0 },
  30108. t: 66,
  30109. s: [90, 110, 0],
  30110. e: [90, 105, 0],
  30111. to: [0, -8.833, 0],
  30112. ti: [0, -8, 0]
  30113. },
  30114. {
  30115. i: { x: 0.619, y: 1 },
  30116. o: { x: 0.432, y: 0 },
  30117. t: 72,
  30118. s: [90, 105, 0],
  30119. e: [90, 158, 0],
  30120. to: [0, 8, 0],
  30121. ti: [0, -8.833, 0]
  30122. },
  30123. {
  30124. i: { x: 0.833, y: 0.833 },
  30125. o: { x: 0.167, y: 0.167 },
  30126. t: 90,
  30127. s: [90, 158, 0],
  30128. e: [90, 158, 0],
  30129. to: [0, 0, 0],
  30130. ti: [0, 0, 0]
  30131. },
  30132. { t: 98 }
  30133. ],
  30134. ix: 2
  30135. },
  30136. a: { a: 0, k: [52, 100, 0], ix: 1 },
  30137. s: {
  30138. a: 1,
  30139. k: [
  30140. {
  30141. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30142. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30143. t: 0,
  30144. s: [100, 85, 100],
  30145. e: [93, 110, 100]
  30146. },
  30147. {
  30148. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30149. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30150. t: 8,
  30151. s: [93, 110, 100],
  30152. e: [100, 100, 100]
  30153. },
  30154. {
  30155. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30156. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30157. t: 17,
  30158. s: [100, 100, 100],
  30159. e: [100, 100, 100]
  30160. },
  30161. {
  30162. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30163. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30164. t: 23,
  30165. s: [100, 100, 100],
  30166. e: [93, 110, 100]
  30167. },
  30168. {
  30169. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30170. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30171. t: 31,
  30172. s: [93, 110, 100],
  30173. e: [100, 100, 100]
  30174. },
  30175. {
  30176. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30177. o: { x: [0.167, 0.167, 0.167], y: [0, 0, 0] },
  30178. t: 41,
  30179. s: [100, 100, 100],
  30180. e: [100, 85, 100]
  30181. },
  30182. {
  30183. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30184. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30185. t: 49,
  30186. s: [100, 85, 100],
  30187. e: [93, 110, 100]
  30188. },
  30189. {
  30190. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30191. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30192. t: 57,
  30193. s: [93, 110, 100],
  30194. e: [100, 100, 100]
  30195. },
  30196. {
  30197. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30198. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30199. t: 66,
  30200. s: [100, 100, 100],
  30201. e: [100, 100, 100]
  30202. },
  30203. {
  30204. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30205. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30206. t: 72,
  30207. s: [100, 100, 100],
  30208. e: [93, 110, 100]
  30209. },
  30210. {
  30211. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30212. o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
  30213. t: 80,
  30214. s: [93, 110, 100],
  30215. e: [100, 100, 100]
  30216. },
  30217. {
  30218. i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
  30219. o: { x: [0.167, 0.167, 0.167], y: [0, 0, 0] },
  30220. t: 90,
  30221. s: [100, 100, 100],
  30222. e: [100, 85, 100]
  30223. },
  30224. { t: 98 }
  30225. ],
  30226. ix: 6
  30227. }
  30228. },
  30229. ao: 0,
  30230. ip: 0,
  30231. op: 180,
  30232. st: 0,
  30233. cp: !1,
  30234. bm: 0
  30235. },
  30236. {
  30237. ddd: 0,
  30238. ind: 8,
  30239. ty: 4,
  30240. nm: '投影 1',
  30241. sr: 1,
  30242. ks: {
  30243. o: { a: 0, k: 100, ix: 11 },
  30244. r: { a: 0, k: 0, ix: 10 },
  30245. p: { a: 0, k: [90, 160.5, 0], ix: 2 },
  30246. a: { a: 0, k: [0, 0, 0], ix: 1 },
  30247. s: {
  30248. a: 1,
  30249. k: [
  30250. {
  30251. i: { x: [0.833, 0.833, 0.833], y: [0.833, 0.833, 0.833] },
  30252. o: { x: [0.167, 0.167, 0.167], y: [0.167, 0.167, 0.167] },
  30253. t: 0,
  30254. s: [100, 100, 100],
  30255. e: [50, 50, 100]
  30256. },
  30257. {
  30258. i: { x: [0.833, 0.833, 0.833], y: [0.833, 0.833, 0.833] },
  30259. o: { x: [0.167, 0.167, 0.167], y: [0.167, 0.167, 0.167] },
  30260. t: 23,
  30261. s: [50, 50, 100],
  30262. e: [100, 100, 100]
  30263. },
  30264. { t: 49 }
  30265. ],
  30266. ix: 6
  30267. }
  30268. },
  30269. ao: 0,
  30270. shapes: [
  30271. {
  30272. ty: 'gr',
  30273. it: [
  30274. {
  30275. d: 1,
  30276. ty: 'el',
  30277. s: { a: 0, k: [60, 9], ix: 2 },
  30278. p: { a: 0, k: [0, 0], ix: 3 },
  30279. nm: '椭圆路径 1',
  30280. mn: 'ADBE Vector Shape - Ellipse',
  30281. hd: !1
  30282. },
  30283. {
  30284. ty: 'fl',
  30285. c: { a: 0, k: [0.949019610882, 0.839215695858, 0.72549021244, 1], ix: 4 },
  30286. o: { a: 0, k: 100, ix: 5 },
  30287. r: 1,
  30288. bm: 0,
  30289. nm: '填充 1',
  30290. mn: 'ADBE Vector Graphic - Fill',
  30291. hd: !1
  30292. },
  30293. {
  30294. ty: 'tr',
  30295. p: { a: 0, k: [0, 0], ix: 2 },
  30296. a: { a: 0, k: [0, 0], ix: 1 },
  30297. s: { a: 0, k: [100, 100], ix: 3 },
  30298. r: { a: 0, k: 0, ix: 6 },
  30299. o: { a: 0, k: 100, ix: 7 },
  30300. sk: { a: 0, k: 0, ix: 4 },
  30301. sa: { a: 0, k: 0, ix: 5 },
  30302. nm: '变换'
  30303. }
  30304. ],
  30305. nm: '椭圆形',
  30306. np: 2,
  30307. cix: 2,
  30308. bm: 0,
  30309. ix: 1,
  30310. mn: 'ADBE Vector Group',
  30311. hd: !1
  30312. }
  30313. ],
  30314. ip: 0,
  30315. op: 180,
  30316. st: 0,
  30317. cp: !0,
  30318. bm: 0
  30319. }
  30320. ],
  30321. markers = [],
  30322. AstronautJSON = exports('A', {
  30323. v: v,
  30324. fr: fr,
  30325. ip: ip,
  30326. op: op,
  30327. w: w,
  30328. h: h,
  30329. nm: nm,
  30330. ddd: ddd,
  30331. assets: assets,
  30332. layers: layers,
  30333. markers: markers
  30334. }),
  30335. eventemitter3 = { exports: {} }
  30336. !(function (e) {
  30337. var t = Object.prototype.hasOwnProperty,
  30338. n = '~'
  30339. function r() {}
  30340. function a(e, t, n) {
  30341. ;(this.fn = e), (this.context = t), (this.once = n || !1)
  30342. }
  30343. function o(e, t, r, o, i) {
  30344. if ('function' != typeof r) throw new TypeError('The listener must be a function')
  30345. var s = new a(r, o || e, i),
  30346. l = n ? n + t : t
  30347. return (
  30348. e._events[l]
  30349. ? e._events[l].fn
  30350. ? (e._events[l] = [e._events[l], s])
  30351. : e._events[l].push(s)
  30352. : ((e._events[l] = s), e._eventsCount++),
  30353. e
  30354. )
  30355. }
  30356. function i(e, t) {
  30357. 0 == --e._eventsCount ? (e._events = new r()) : delete e._events[t]
  30358. }
  30359. function s() {
  30360. ;(this._events = new r()), (this._eventsCount = 0)
  30361. }
  30362. Object.create && ((r.prototype = Object.create(null)), new r().__proto__ || (n = !1)),
  30363. (s.prototype.eventNames = function () {
  30364. var e,
  30365. r,
  30366. a = []
  30367. if (0 === this._eventsCount) return a
  30368. for (r in (e = this._events)) t.call(e, r) && a.push(n ? r.slice(1) : r)
  30369. return Object.getOwnPropertySymbols ? a.concat(Object.getOwnPropertySymbols(e)) : a
  30370. }),
  30371. (s.prototype.listeners = function (e) {
  30372. var t = n ? n + e : e,
  30373. r = this._events[t]
  30374. if (!r) return []
  30375. if (r.fn) return [r.fn]
  30376. for (var a = 0, o = r.length, i = new Array(o); a < o; a++) i[a] = r[a].fn
  30377. return i
  30378. }),
  30379. (s.prototype.listenerCount = function (e) {
  30380. var t = n ? n + e : e,
  30381. r = this._events[t]
  30382. return r ? (r.fn ? 1 : r.length) : 0
  30383. }),
  30384. (s.prototype.emit = function (e, t, r, a, o, i) {
  30385. var s = n ? n + e : e
  30386. if (!this._events[s]) return !1
  30387. var l,
  30388. c,
  30389. u = this._events[s],
  30390. p = arguments.length
  30391. if (u.fn) {
  30392. switch ((u.once && this.removeListener(e, u.fn, void 0, !0), p)) {
  30393. case 1:
  30394. return u.fn.call(u.context), !0
  30395. case 2:
  30396. return u.fn.call(u.context, t), !0
  30397. case 3:
  30398. return u.fn.call(u.context, t, r), !0
  30399. case 4:
  30400. return u.fn.call(u.context, t, r, a), !0
  30401. case 5:
  30402. return u.fn.call(u.context, t, r, a, o), !0
  30403. case 6:
  30404. return u.fn.call(u.context, t, r, a, o, i), !0
  30405. }
  30406. for (c = 1, l = new Array(p - 1); c < p; c++) l[c - 1] = arguments[c]
  30407. u.fn.apply(u.context, l)
  30408. } else {
  30409. var d,
  30410. f = u.length
  30411. for (c = 0; c < f; c++)
  30412. switch ((u[c].once && this.removeListener(e, u[c].fn, void 0, !0), p)) {
  30413. case 1:
  30414. u[c].fn.call(u[c].context)
  30415. break
  30416. case 2:
  30417. u[c].fn.call(u[c].context, t)
  30418. break
  30419. case 3:
  30420. u[c].fn.call(u[c].context, t, r)
  30421. break
  30422. case 4:
  30423. u[c].fn.call(u[c].context, t, r, a)
  30424. break
  30425. default:
  30426. if (!l)
  30427. for (d = 1, l = new Array(p - 1); d < p; d++) l[d - 1] = arguments[d]
  30428. u[c].fn.apply(u[c].context, l)
  30429. }
  30430. }
  30431. return !0
  30432. }),
  30433. (s.prototype.on = function (e, t, n) {
  30434. return o(this, e, t, n, !1)
  30435. }),
  30436. (s.prototype.once = function (e, t, n) {
  30437. return o(this, e, t, n, !0)
  30438. }),
  30439. (s.prototype.removeListener = function (e, t, r, a) {
  30440. var o = n ? n + e : e
  30441. if (!this._events[o]) return this
  30442. if (!t) return i(this, o), this
  30443. var s = this._events[o]
  30444. if (s.fn) s.fn !== t || (a && !s.once) || (r && s.context !== r) || i(this, o)
  30445. else {
  30446. for (var l = 0, c = [], u = s.length; l < u; l++)
  30447. (s[l].fn !== t || (a && !s[l].once) || (r && s[l].context !== r)) &&
  30448. c.push(s[l])
  30449. c.length ? (this._events[o] = 1 === c.length ? c[0] : c) : i(this, o)
  30450. }
  30451. return this
  30452. }),
  30453. (s.prototype.removeAllListeners = function (e) {
  30454. var t
  30455. return (
  30456. e
  30457. ? ((t = n ? n + e : e), this._events[t] && i(this, t))
  30458. : ((this._events = new r()), (this._eventsCount = 0)),
  30459. this
  30460. )
  30461. }),
  30462. (s.prototype.off = s.prototype.removeListener),
  30463. (s.prototype.addListener = s.prototype.on),
  30464. (s.prefixed = n),
  30465. (s.EventEmitter = s),
  30466. (e.exports = s)
  30467. })(eventemitter3)
  30468. var EventEmitter = exports('dl', eventemitter3.exports),
  30469. baseEvent = exports('b', new EventEmitter()),
  30470. dayjs_min = { exports: {} }
  30471. !(function (e, t) {
  30472. e.exports = (function () {
  30473. var e = 1e3,
  30474. t = 6e4,
  30475. n = 36e5,
  30476. r = 'millisecond',
  30477. a = 'second',
  30478. o = 'minute',
  30479. i = 'hour',
  30480. s = 'day',
  30481. l = 'week',
  30482. c = 'month',
  30483. u = 'quarter',
  30484. p = 'year',
  30485. d = 'date',
  30486. f = 'Invalid Date',
  30487. h =
  30488. /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
  30489. v =
  30490. /\[([^\]]+)]|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,
  30491. m = {
  30492. name: 'en',
  30493. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  30494. months:
  30495. 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  30496. '_'
  30497. )
  30498. },
  30499. g = function (e, t, n) {
  30500. var r = String(e)
  30501. return !r || r.length >= t ? e : '' + Array(t + 1 - r.length).join(n) + e
  30502. },
  30503. y = {
  30504. s: g,
  30505. z: function (e) {
  30506. var t = -e.utcOffset(),
  30507. n = Math.abs(t),
  30508. r = Math.floor(n / 60),
  30509. a = n % 60
  30510. return (t <= 0 ? '+' : '-') + g(r, 2, '0') + ':' + g(a, 2, '0')
  30511. },
  30512. m: function e(t, n) {
  30513. if (t.date() < n.date()) return -e(n, t)
  30514. var r = 12 * (n.year() - t.year()) + (n.month() - t.month()),
  30515. a = t.clone().add(r, c),
  30516. o = n - a < 0,
  30517. i = t.clone().add(r + (o ? -1 : 1), c)
  30518. return +(-(r + (n - a) / (o ? a - i : i - a)) || 0)
  30519. },
  30520. a: function (e) {
  30521. return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
  30522. },
  30523. p: function (e) {
  30524. return (
  30525. { M: c, y: p, w: l, d: s, D: d, h: i, m: o, s: a, ms: r, Q: u }[e] ||
  30526. String(e || '')
  30527. .toLowerCase()
  30528. .replace(/s$/, '')
  30529. )
  30530. },
  30531. u: function (e) {
  30532. return void 0 === e
  30533. }
  30534. },
  30535. b = 'en',
  30536. _ = {}
  30537. _[b] = m
  30538. var A = function (e) {
  30539. return e instanceof S
  30540. },
  30541. x = function e(t, n, r) {
  30542. var a
  30543. if (!t) return b
  30544. if ('string' == typeof t) {
  30545. var o = t.toLowerCase()
  30546. _[o] && (a = o), n && ((_[o] = n), (a = o))
  30547. var i = t.split('-')
  30548. if (!a && i.length > 1) return e(i[0])
  30549. } else {
  30550. var s = t.name
  30551. ;(_[s] = t), (a = s)
  30552. }
  30553. return !r && a && (b = a), a || (!r && b)
  30554. },
  30555. w = function (e, t) {
  30556. if (A(e)) return e.clone()
  30557. var n = 'object' == _typeof2(t) ? t : {}
  30558. return (n.date = e), (n.args = arguments), new S(n)
  30559. },
  30560. k = y
  30561. ;(k.l = x),
  30562. (k.i = A),
  30563. (k.w = function (e, t) {
  30564. return w(e, { locale: t.$L, utc: t.$u, x: t.$x, $offset: t.$offset })
  30565. })
  30566. var S = (function () {
  30567. function m(e) {
  30568. ;(this.$L = x(e.locale, null, !0)), this.parse(e)
  30569. }
  30570. var g = m.prototype
  30571. return (
  30572. (g.parse = function (e) {
  30573. ;(this.$d = (function (e) {
  30574. var t = e.date,
  30575. n = e.utc
  30576. if (null === t) return new Date(NaN)
  30577. if (k.u(t)) return new Date()
  30578. if (t instanceof Date) return new Date(t)
  30579. if ('string' == typeof t && !/Z$/i.test(t)) {
  30580. var r = t.match(h)
  30581. if (r) {
  30582. var a = r[2] - 1 || 0,
  30583. o = (r[7] || '0').substring(0, 3)
  30584. return n
  30585. ? new Date(
  30586. Date.UTC(r[1], a, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, o)
  30587. )
  30588. : new Date(r[1], a, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, o)
  30589. }
  30590. }
  30591. return new Date(t)
  30592. })(e)),
  30593. (this.$x = e.x || {}),
  30594. this.init()
  30595. }),
  30596. (g.init = function () {
  30597. var e = this.$d
  30598. ;(this.$y = e.getFullYear()),
  30599. (this.$M = e.getMonth()),
  30600. (this.$D = e.getDate()),
  30601. (this.$W = e.getDay()),
  30602. (this.$H = e.getHours()),
  30603. (this.$m = e.getMinutes()),
  30604. (this.$s = e.getSeconds()),
  30605. (this.$ms = e.getMilliseconds())
  30606. }),
  30607. (g.$utils = function () {
  30608. return k
  30609. }),
  30610. (g.isValid = function () {
  30611. return !(this.$d.toString() === f)
  30612. }),
  30613. (g.isSame = function (e, t) {
  30614. var n = w(e)
  30615. return this.startOf(t) <= n && n <= this.endOf(t)
  30616. }),
  30617. (g.isAfter = function (e, t) {
  30618. return w(e) < this.startOf(t)
  30619. }),
  30620. (g.isBefore = function (e, t) {
  30621. return this.endOf(t) < w(e)
  30622. }),
  30623. (g.$g = function (e, t, n) {
  30624. return k.u(e) ? this[t] : this.set(n, e)
  30625. }),
  30626. (g.unix = function () {
  30627. return Math.floor(this.valueOf() / 1e3)
  30628. }),
  30629. (g.valueOf = function () {
  30630. return this.$d.getTime()
  30631. }),
  30632. (g.startOf = function (e, t) {
  30633. var n = this,
  30634. r = !!k.u(t) || t,
  30635. u = k.p(e),
  30636. f = function (e, t) {
  30637. var a = k.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n)
  30638. return r ? a : a.endOf(s)
  30639. },
  30640. h = function (e, t) {
  30641. return k.w(
  30642. n
  30643. .toDate()
  30644. [e].apply(
  30645. n.toDate('s'),
  30646. (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(t)
  30647. ),
  30648. n
  30649. )
  30650. },
  30651. v = this.$W,
  30652. m = this.$M,
  30653. g = this.$D,
  30654. y = 'set' + (this.$u ? 'UTC' : '')
  30655. switch (u) {
  30656. case p:
  30657. return r ? f(1, 0) : f(31, 11)
  30658. case c:
  30659. return r ? f(1, m) : f(0, m + 1)
  30660. case l:
  30661. var b = this.$locale().weekStart || 0,
  30662. _ = (v < b ? v + 7 : v) - b
  30663. return f(r ? g - _ : g + (6 - _), m)
  30664. case s:
  30665. case d:
  30666. return h(y + 'Hours', 0)
  30667. case i:
  30668. return h(y + 'Minutes', 1)
  30669. case o:
  30670. return h(y + 'Seconds', 2)
  30671. case a:
  30672. return h(y + 'Milliseconds', 3)
  30673. default:
  30674. return this.clone()
  30675. }
  30676. }),
  30677. (g.endOf = function (e) {
  30678. return this.startOf(e, !1)
  30679. }),
  30680. (g.$set = function (e, t) {
  30681. var n,
  30682. l = k.p(e),
  30683. u = 'set' + (this.$u ? 'UTC' : ''),
  30684. f = ((n = {}),
  30685. (n[s] = u + 'Date'),
  30686. (n[d] = u + 'Date'),
  30687. (n[c] = u + 'Month'),
  30688. (n[p] = u + 'FullYear'),
  30689. (n[i] = u + 'Hours'),
  30690. (n[o] = u + 'Minutes'),
  30691. (n[a] = u + 'Seconds'),
  30692. (n[r] = u + 'Milliseconds'),
  30693. n)[l],
  30694. h = l === s ? this.$D + (t - this.$W) : t
  30695. if (l === c || l === p) {
  30696. var v = this.clone().set(d, 1)
  30697. v.$d[f](h),
  30698. v.init(),
  30699. (this.$d = v.set(d, Math.min(this.$D, v.daysInMonth())).$d)
  30700. } else f && this.$d[f](h)
  30701. return this.init(), this
  30702. }),
  30703. (g.set = function (e, t) {
  30704. return this.clone().$set(e, t)
  30705. }),
  30706. (g.get = function (e) {
  30707. return this[k.p(e)]()
  30708. }),
  30709. (g.add = function (r, u) {
  30710. var d,
  30711. f = this
  30712. r = Number(r)
  30713. var h = k.p(u),
  30714. v = function (e) {
  30715. var t = w(f)
  30716. return k.w(t.date(t.date() + Math.round(e * r)), f)
  30717. }
  30718. if (h === c) return this.set(c, this.$M + r)
  30719. if (h === p) return this.set(p, this.$y + r)
  30720. if (h === s) return v(1)
  30721. if (h === l) return v(7)
  30722. var m = ((d = {}), (d[o] = t), (d[i] = n), (d[a] = e), d)[h] || 1,
  30723. g = this.$d.getTime() + r * m
  30724. return k.w(g, this)
  30725. }),
  30726. (g.subtract = function (e, t) {
  30727. return this.add(-1 * e, t)
  30728. }),
  30729. (g.format = function (e) {
  30730. var t = this,
  30731. n = this.$locale()
  30732. if (!this.isValid()) return n.invalidDate || f
  30733. var r = e || 'YYYY-MM-DDTHH:mm:ssZ',
  30734. a = k.z(this),
  30735. o = this.$H,
  30736. i = this.$m,
  30737. s = this.$M,
  30738. l = n.weekdays,
  30739. c = n.months,
  30740. u = function (e, n, a, o) {
  30741. return (e && (e[n] || e(t, r))) || a[n].slice(0, o)
  30742. },
  30743. p = function (e) {
  30744. return k.s(o % 12 || 12, e, '0')
  30745. },
  30746. d =
  30747. n.meridiem ||
  30748. function (e, t, n) {
  30749. var r = e < 12 ? 'AM' : 'PM'
  30750. return n ? r.toLowerCase() : r
  30751. },
  30752. h = {
  30753. YY: String(this.$y).slice(-2),
  30754. YYYY: this.$y,
  30755. M: s + 1,
  30756. MM: k.s(s + 1, 2, '0'),
  30757. MMM: u(n.monthsShort, s, c, 3),
  30758. MMMM: u(c, s),
  30759. D: this.$D,
  30760. DD: k.s(this.$D, 2, '0'),
  30761. d: String(this.$W),
  30762. dd: u(n.weekdaysMin, this.$W, l, 2),
  30763. ddd: u(n.weekdaysShort, this.$W, l, 3),
  30764. dddd: l[this.$W],
  30765. H: String(o),
  30766. HH: k.s(o, 2, '0'),
  30767. h: p(1),
  30768. hh: p(2),
  30769. a: d(o, i, !0),
  30770. A: d(o, i, !1),
  30771. m: String(i),
  30772. mm: k.s(i, 2, '0'),
  30773. s: String(this.$s),
  30774. ss: k.s(this.$s, 2, '0'),
  30775. SSS: k.s(this.$ms, 3, '0'),
  30776. Z: a
  30777. }
  30778. return r.replace(v, function (e, t) {
  30779. return t || h[e] || a.replace(':', '')
  30780. })
  30781. }),
  30782. (g.utcOffset = function () {
  30783. return 15 * -Math.round(this.$d.getTimezoneOffset() / 15)
  30784. }),
  30785. (g.diff = function (r, d, f) {
  30786. var h,
  30787. v = k.p(d),
  30788. m = w(r),
  30789. g = (m.utcOffset() - this.utcOffset()) * t,
  30790. y = this - m,
  30791. b = k.m(this, m)
  30792. return (
  30793. (b =
  30794. ((h = {}),
  30795. (h[p] = b / 12),
  30796. (h[c] = b),
  30797. (h[u] = b / 3),
  30798. (h[l] = (y - g) / 6048e5),
  30799. (h[s] = (y - g) / 864e5),
  30800. (h[i] = y / n),
  30801. (h[o] = y / t),
  30802. (h[a] = y / e),
  30803. h)[v] || y),
  30804. f ? b : k.a(b)
  30805. )
  30806. }),
  30807. (g.daysInMonth = function () {
  30808. return this.endOf(c).$D
  30809. }),
  30810. (g.$locale = function () {
  30811. return _[this.$L]
  30812. }),
  30813. (g.locale = function (e, t) {
  30814. if (!e) return this.$L
  30815. var n = this.clone(),
  30816. r = x(e, t, !0)
  30817. return r && (n.$L = r), n
  30818. }),
  30819. (g.clone = function () {
  30820. return k.w(this.$d, this)
  30821. }),
  30822. (g.toDate = function () {
  30823. return new Date(this.valueOf())
  30824. }),
  30825. (g.toJSON = function () {
  30826. return this.isValid() ? this.toISOString() : null
  30827. }),
  30828. (g.toISOString = function () {
  30829. return this.$d.toISOString()
  30830. }),
  30831. (g.toString = function () {
  30832. return this.$d.toUTCString()
  30833. }),
  30834. m
  30835. )
  30836. })(),
  30837. E = S.prototype
  30838. return (
  30839. (w.prototype = E),
  30840. [
  30841. ['$ms', r],
  30842. ['$s', a],
  30843. ['$m', o],
  30844. ['$H', i],
  30845. ['$W', s],
  30846. ['$M', c],
  30847. ['$y', p],
  30848. ['$D', d]
  30849. ].forEach(function (e) {
  30850. E[e[1]] = function (t) {
  30851. return this.$g(t, e[0], e[1])
  30852. }
  30853. }),
  30854. (w.extend = function (e, t) {
  30855. return e.$i || (e(t, S, w), (e.$i = !0)), w
  30856. }),
  30857. (w.locale = x),
  30858. (w.isDayjs = A),
  30859. (w.unix = function (e) {
  30860. return w(1e3 * e)
  30861. }),
  30862. (w.en = _[b]),
  30863. (w.Ls = _),
  30864. (w.p = {}),
  30865. w
  30866. )
  30867. })()
  30868. })(dayjs_min)
  30869. var dayjs = exports('ai', dayjs_min.exports),
  30870. numeral$1 = { exports: {} }
  30871. /*! @preserve
  30872. * numeral.js
  30873. * version : 2.0.6
  30874. * author : Adam Draper
  30875. * license : MIT
  30876. * http://adamwdraper.github.com/Numeral-js/
  30877. */
  30878. !(function (e) {
  30879. !(function (t, n) {
  30880. e.exports ? (e.exports = n()) : (t.numeral = n())
  30881. })(commonjsGlobal$1, function () {
  30882. var e,
  30883. t,
  30884. n,
  30885. r,
  30886. a,
  30887. o = {},
  30888. i = {},
  30889. s = {
  30890. currentLocale: 'en',
  30891. zeroFormat: null,
  30892. nullFormat: null,
  30893. defaultFormat: '0,0',
  30894. scalePercentBy100: !0
  30895. },
  30896. l = {
  30897. currentLocale: s.currentLocale,
  30898. zeroFormat: s.zeroFormat,
  30899. nullFormat: s.nullFormat,
  30900. defaultFormat: s.defaultFormat,
  30901. scalePercentBy100: s.scalePercentBy100
  30902. }
  30903. function c(e, t) {
  30904. ;(this._input = e), (this._value = t)
  30905. }
  30906. return (
  30907. ((e = function (n) {
  30908. var r, a, i, s
  30909. if (e.isNumeral(n)) r = n.value()
  30910. else if (0 === n || void 0 === n) r = 0
  30911. else if (null === n || t.isNaN(n)) r = null
  30912. else if ('string' == typeof n)
  30913. if (l.zeroFormat && n === l.zeroFormat) r = 0
  30914. else if (
  30915. (l.nullFormat && n === l.nullFormat) ||
  30916. !n.replace(/[^0-9]+/g, '').length
  30917. )
  30918. r = null
  30919. else {
  30920. for (a in o)
  30921. if (
  30922. (s =
  30923. 'function' == typeof o[a].regexps.unformat
  30924. ? o[a].regexps.unformat()
  30925. : o[a].regexps.unformat) &&
  30926. n.match(s)
  30927. ) {
  30928. i = o[a].unformat
  30929. break
  30930. }
  30931. r = (i = i || e._.stringToNumber)(n)
  30932. }
  30933. else r = Number(n) || null
  30934. return new c(n, r)
  30935. }).version = '2.0.6'),
  30936. (e.isNumeral = function (e) {
  30937. return e instanceof c
  30938. }),
  30939. (e._ = t =
  30940. {
  30941. numberToFormat: function (t, n, r) {
  30942. var a,
  30943. o,
  30944. s,
  30945. l,
  30946. c,
  30947. u,
  30948. p,
  30949. d,
  30950. f = i[e.options.currentLocale],
  30951. h = !1,
  30952. v = !1,
  30953. m = '',
  30954. g = 1e12,
  30955. y = 1e9,
  30956. b = 1e6,
  30957. _ = '',
  30958. A = !1
  30959. if (
  30960. ((t = t || 0),
  30961. (s = Math.abs(t)),
  30962. e._.includes(n, '(')
  30963. ? ((h = !0), (n = n.replace(/[\(|\)]/g, '')))
  30964. : (e._.includes(n, '+') || e._.includes(n, '-')) &&
  30965. ((u = e._.includes(n, '+')
  30966. ? n.indexOf('+')
  30967. : t < 0
  30968. ? n.indexOf('-')
  30969. : -1),
  30970. (n = n.replace(/[\+|\-]/g, ''))),
  30971. e._.includes(n, 'a') &&
  30972. ((o = !!(o = n.match(/a(k|m|b|t)?/)) && o[1]),
  30973. e._.includes(n, ' a') && (m = ' '),
  30974. (n = n.replace(new RegExp(m + 'a[kmbt]?'), '')),
  30975. (s >= g && !o) || 't' === o
  30976. ? ((m += f.abbreviations.trillion), (t /= g))
  30977. : (s < g && s >= y && !o) || 'b' === o
  30978. ? ((m += f.abbreviations.billion), (t /= y))
  30979. : (s < y && s >= b && !o) || 'm' === o
  30980. ? ((m += f.abbreviations.million), (t /= b))
  30981. : ((s < b && s >= 1e3 && !o) || 'k' === o) &&
  30982. ((m += f.abbreviations.thousand), (t /= 1e3))),
  30983. e._.includes(n, '[.]') && ((v = !0), (n = n.replace('[.]', '.'))),
  30984. (l = t.toString().split('.')[0]),
  30985. (c = n.split('.')[1]),
  30986. (p = n.indexOf(',')),
  30987. (a = (n.split('.')[0].split(',')[0].match(/0/g) || []).length),
  30988. c
  30989. ? (e._.includes(c, '[')
  30990. ? ((c = (c = c.replace(']', '')).split('[')),
  30991. (_ = e._.toFixed(t, c[0].length + c[1].length, r, c[1].length)))
  30992. : (_ = e._.toFixed(t, c.length, r)),
  30993. (l = _.split('.')[0]),
  30994. (_ = e._.includes(_, '.')
  30995. ? f.delimiters.decimal + _.split('.')[1]
  30996. : ''),
  30997. v && 0 === Number(_.slice(1)) && (_ = ''))
  30998. : (l = e._.toFixed(t, 0, r)),
  30999. m && !o && Number(l) >= 1e3 && m !== f.abbreviations.trillion)
  31000. )
  31001. switch (((l = String(Number(l) / 1e3)), m)) {
  31002. case f.abbreviations.thousand:
  31003. m = f.abbreviations.million
  31004. break
  31005. case f.abbreviations.million:
  31006. m = f.abbreviations.billion
  31007. break
  31008. case f.abbreviations.billion:
  31009. m = f.abbreviations.trillion
  31010. }
  31011. if ((e._.includes(l, '-') && ((l = l.slice(1)), (A = !0)), l.length < a))
  31012. for (var x = a - l.length; x > 0; x--) l = '0' + l
  31013. return (
  31014. p > -1 &&
  31015. (l = l
  31016. .toString()
  31017. .replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1' + f.delimiters.thousands)),
  31018. 0 === n.indexOf('.') && (l = ''),
  31019. (d = l + _ + (m || '')),
  31020. h
  31021. ? (d = (h && A ? '(' : '') + d + (h && A ? ')' : ''))
  31022. : u >= 0
  31023. ? (d = 0 === u ? (A ? '-' : '+') + d : d + (A ? '-' : '+'))
  31024. : A && (d = '-' + d),
  31025. d
  31026. )
  31027. },
  31028. stringToNumber: function (e) {
  31029. var t,
  31030. n,
  31031. r,
  31032. a = i[l.currentLocale],
  31033. o = e,
  31034. s = { thousand: 3, million: 6, billion: 9, trillion: 12 }
  31035. if (l.zeroFormat && e === l.zeroFormat) n = 0
  31036. else if (
  31037. (l.nullFormat && e === l.nullFormat) ||
  31038. !e.replace(/[^0-9]+/g, '').length
  31039. )
  31040. n = null
  31041. else {
  31042. for (t in ((n = 1),
  31043. '.' !== a.delimiters.decimal &&
  31044. (e = e.replace(/\./g, '').replace(a.delimiters.decimal, '.')),
  31045. s))
  31046. if (
  31047. ((r = new RegExp(
  31048. '[^a-zA-Z]' +
  31049. a.abbreviations[t] +
  31050. '(?:\\)|(\\' +
  31051. a.currency.symbol +
  31052. ')?(?:\\))?)?$'
  31053. )),
  31054. o.match(r))
  31055. ) {
  31056. n *= Math.pow(10, s[t])
  31057. break
  31058. }
  31059. ;(n *=
  31060. (e.split('-').length +
  31061. Math.min(e.split('(').length - 1, e.split(')').length - 1)) %
  31062. 2
  31063. ? 1
  31064. : -1),
  31065. (e = e.replace(/[^0-9\.]+/g, '')),
  31066. (n *= Number(e))
  31067. }
  31068. return n
  31069. },
  31070. isNaN: (function (e) {
  31071. function t(t) {
  31072. return e.apply(this, arguments)
  31073. }
  31074. return (
  31075. (t.toString = function () {
  31076. return e.toString()
  31077. }),
  31078. t
  31079. )
  31080. })(function (e) {
  31081. return 'number' == typeof e && isNaN(e)
  31082. }),
  31083. includes: function (e, t) {
  31084. return -1 !== e.indexOf(t)
  31085. },
  31086. insert: function (e, t, n) {
  31087. return e.slice(0, n) + t + e.slice(n)
  31088. },
  31089. reduce: function (e, t) {
  31090. if (null === this)
  31091. throw new TypeError('Array.prototype.reduce called on null or undefined')
  31092. if ('function' != typeof t) throw new TypeError(t + ' is not a function')
  31093. var n,
  31094. r = Object(e),
  31095. a = r.length >>> 0,
  31096. o = 0
  31097. if (3 === arguments.length) n = arguments[2]
  31098. else {
  31099. for (; o < a && !(o in r); ) o++
  31100. if (o >= a)
  31101. throw new TypeError('Reduce of empty array with no initial value')
  31102. n = r[o++]
  31103. }
  31104. for (; o < a; o++) o in r && (n = t(n, r[o], o, r))
  31105. return n
  31106. },
  31107. multiplier: function (e) {
  31108. var t = e.toString().split('.')
  31109. return t.length < 2 ? 1 : Math.pow(10, t[1].length)
  31110. },
  31111. correctionFactor: function () {
  31112. var e = Array.prototype.slice.call(arguments)
  31113. return e.reduce(function (e, n) {
  31114. var r = t.multiplier(n)
  31115. return e > r ? e : r
  31116. }, 1)
  31117. },
  31118. toFixed: function (e, t, n, r) {
  31119. var a,
  31120. o,
  31121. i,
  31122. s,
  31123. l = e.toString().split('.'),
  31124. c = t - (r || 0)
  31125. return (
  31126. (a = 2 === l.length ? Math.min(Math.max(l[1].length, c), t) : c),
  31127. (i = Math.pow(10, a)),
  31128. (s = (n(e + 'e+' + a) / i).toFixed(a)),
  31129. r > t - a &&
  31130. ((o = new RegExp('\\.?0{1,' + (r - (t - a)) + '}$')),
  31131. (s = s.replace(o, ''))),
  31132. s
  31133. )
  31134. }
  31135. }),
  31136. (e.options = l),
  31137. (e.formats = o),
  31138. (e.locales = i),
  31139. (e.locale = function (e) {
  31140. return e && (l.currentLocale = e.toLowerCase()), l.currentLocale
  31141. }),
  31142. (e.localeData = function (e) {
  31143. if (!e) return i[l.currentLocale]
  31144. if (((e = e.toLowerCase()), !i[e])) throw new Error('Unknown locale : ' + e)
  31145. return i[e]
  31146. }),
  31147. (e.reset = function () {
  31148. for (var e in s) l[e] = s[e]
  31149. }),
  31150. (e.zeroFormat = function (e) {
  31151. l.zeroFormat = 'string' == typeof e ? e : null
  31152. }),
  31153. (e.nullFormat = function (e) {
  31154. l.nullFormat = 'string' == typeof e ? e : null
  31155. }),
  31156. (e.defaultFormat = function (e) {
  31157. l.defaultFormat = 'string' == typeof e ? e : '0.0'
  31158. }),
  31159. (e.register = function (e, t, n) {
  31160. if (((t = t.toLowerCase()), this[e + 's'][t]))
  31161. throw new TypeError(t + ' ' + e + ' already registered.')
  31162. return (this[e + 's'][t] = n), n
  31163. }),
  31164. (e.validate = function (t, n) {
  31165. var r, a, o, i, s, l, c, u
  31166. if (
  31167. ('string' != typeof t &&
  31168. ((t += ''),
  31169. console.warn &&
  31170. console.warn(
  31171. 'Numeral.js: Value is not string. It has been co-erced to: ',
  31172. t
  31173. )),
  31174. (t = t.trim()).match(/^\d+$/))
  31175. )
  31176. return !0
  31177. if ('' === t) return !1
  31178. try {
  31179. c = e.localeData(n)
  31180. } catch (p) {
  31181. c = e.localeData(e.locale())
  31182. }
  31183. return (
  31184. (o = c.currency.symbol),
  31185. (s = c.abbreviations),
  31186. (r = c.delimiters.decimal),
  31187. (a = '.' === c.delimiters.thousands ? '\\.' : c.delimiters.thousands),
  31188. (null === (u = t.match(/^[^\d]+/)) || ((t = t.substr(1)), u[0] === o)) &&
  31189. (null === (u = t.match(/[^\d]+$/)) ||
  31190. ((t = t.slice(0, -1)),
  31191. u[0] === s.thousand ||
  31192. u[0] === s.million ||
  31193. u[0] === s.billion ||
  31194. u[0] === s.trillion)) &&
  31195. ((l = new RegExp(a + '{2}')),
  31196. !t.match(/[^\d.,]/g) &&
  31197. !((i = t.split(r)).length > 2) &&
  31198. (i.length < 2
  31199. ? !!i[0].match(/^\d+.*\d$/) && !i[0].match(l)
  31200. : 1 === i[0].length
  31201. ? !!i[0].match(/^\d+$/) && !i[0].match(l) && !!i[1].match(/^\d+$/)
  31202. : !!i[0].match(/^\d+.*\d$/) && !i[0].match(l) && !!i[1].match(/^\d+$/)))
  31203. )
  31204. }),
  31205. (e.fn = c.prototype =
  31206. {
  31207. clone: function () {
  31208. return e(this)
  31209. },
  31210. format: function (t, n) {
  31211. var r,
  31212. a,
  31213. i,
  31214. s = this._value,
  31215. c = t || l.defaultFormat
  31216. if (((n = n || Math.round), 0 === s && null !== l.zeroFormat))
  31217. a = l.zeroFormat
  31218. else if (null === s && null !== l.nullFormat) a = l.nullFormat
  31219. else {
  31220. for (r in o)
  31221. if (c.match(o[r].regexps.format)) {
  31222. i = o[r].format
  31223. break
  31224. }
  31225. a = (i = i || e._.numberToFormat)(s, c, n)
  31226. }
  31227. return a
  31228. },
  31229. value: function () {
  31230. return this._value
  31231. },
  31232. input: function () {
  31233. return this._input
  31234. },
  31235. set: function (e) {
  31236. return (this._value = Number(e)), this
  31237. },
  31238. add: function (e) {
  31239. var n = t.correctionFactor.call(null, this._value, e)
  31240. return (
  31241. (this._value =
  31242. t.reduce(
  31243. [this._value, e],
  31244. function (e, t, r, a) {
  31245. return e + Math.round(n * t)
  31246. },
  31247. 0
  31248. ) / n),
  31249. this
  31250. )
  31251. },
  31252. subtract: function (e) {
  31253. var n = t.correctionFactor.call(null, this._value, e)
  31254. return (
  31255. (this._value =
  31256. t.reduce(
  31257. [e],
  31258. function (e, t, r, a) {
  31259. return e - Math.round(n * t)
  31260. },
  31261. Math.round(this._value * n)
  31262. ) / n),
  31263. this
  31264. )
  31265. },
  31266. multiply: function (e) {
  31267. return (
  31268. (this._value = t.reduce(
  31269. [this._value, e],
  31270. function (e, n, r, a) {
  31271. var o = t.correctionFactor(e, n)
  31272. return (Math.round(e * o) * Math.round(n * o)) / Math.round(o * o)
  31273. },
  31274. 1
  31275. )),
  31276. this
  31277. )
  31278. },
  31279. divide: function (e) {
  31280. return (
  31281. (this._value = t.reduce([this._value, e], function (e, n, r, a) {
  31282. var o = t.correctionFactor(e, n)
  31283. return Math.round(e * o) / Math.round(n * o)
  31284. })),
  31285. this
  31286. )
  31287. },
  31288. difference: function (t) {
  31289. return Math.abs(e(this._value).subtract(t).value())
  31290. }
  31291. }),
  31292. e.register('locale', 'en', {
  31293. delimiters: { thousands: ',', decimal: '.' },
  31294. abbreviations: { thousand: 'k', million: 'm', billion: 'b', trillion: 't' },
  31295. ordinal: function (e) {
  31296. var t = e % 10
  31297. return 1 == ~~((e % 100) / 10)
  31298. ? 'th'
  31299. : 1 === t
  31300. ? 'st'
  31301. : 2 === t
  31302. ? 'nd'
  31303. : 3 === t
  31304. ? 'rd'
  31305. : 'th'
  31306. },
  31307. currency: { symbol: '$' }
  31308. }),
  31309. e.register('format', 'bps', {
  31310. regexps: { format: /(BPS)/, unformat: /(BPS)/ },
  31311. format: function (t, n, r) {
  31312. var a,
  31313. o = e._.includes(n, ' BPS') ? ' ' : ''
  31314. return (
  31315. (t *= 1e4),
  31316. (n = n.replace(/\s?BPS/, '')),
  31317. (a = e._.numberToFormat(t, n, r)),
  31318. e._.includes(a, ')')
  31319. ? ((a = a.split('')).splice(-1, 0, o + 'BPS'), (a = a.join('')))
  31320. : (a = a + o + 'BPS'),
  31321. a
  31322. )
  31323. },
  31324. unformat: function (t) {
  31325. return +(1e-4 * e._.stringToNumber(t)).toFixed(15)
  31326. }
  31327. }),
  31328. (r = {
  31329. base: 1024,
  31330. suffixes: ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']
  31331. }),
  31332. (a =
  31333. '(' +
  31334. (a = (n = {
  31335. base: 1e3,
  31336. suffixes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
  31337. }).suffixes
  31338. .concat(
  31339. r.suffixes.filter(function (e) {
  31340. return n.suffixes.indexOf(e) < 0
  31341. })
  31342. )
  31343. .join('|')).replace('B', 'B(?!PS)') +
  31344. ')'),
  31345. e.register('format', 'bytes', {
  31346. regexps: { format: /([0\s]i?b)/, unformat: new RegExp(a) },
  31347. format: function (t, a, o) {
  31348. var i,
  31349. s,
  31350. l,
  31351. c = e._.includes(a, 'ib') ? r : n,
  31352. u = e._.includes(a, ' b') || e._.includes(a, ' ib') ? ' ' : ''
  31353. for (a = a.replace(/\s?i?b/, ''), i = 0; i <= c.suffixes.length; i++)
  31354. if (
  31355. ((s = Math.pow(c.base, i)),
  31356. (l = Math.pow(c.base, i + 1)),
  31357. null === t || 0 === t || (t >= s && t < l))
  31358. ) {
  31359. ;(u += c.suffixes[i]), s > 0 && (t /= s)
  31360. break
  31361. }
  31362. return e._.numberToFormat(t, a, o) + u
  31363. },
  31364. unformat: function (t) {
  31365. var a,
  31366. o,
  31367. i = e._.stringToNumber(t)
  31368. if (i) {
  31369. for (a = n.suffixes.length - 1; a >= 0; a--) {
  31370. if (e._.includes(t, n.suffixes[a])) {
  31371. o = Math.pow(n.base, a)
  31372. break
  31373. }
  31374. if (e._.includes(t, r.suffixes[a])) {
  31375. o = Math.pow(r.base, a)
  31376. break
  31377. }
  31378. }
  31379. i *= o || 1
  31380. }
  31381. return i
  31382. }
  31383. }),
  31384. e.register('format', 'currency', {
  31385. regexps: { format: /(\$)/ },
  31386. format: function (t, n, r) {
  31387. var a,
  31388. o,
  31389. i = e.locales[e.options.currentLocale],
  31390. s = {
  31391. before: n.match(/^([\+|\-|\(|\s|\$]*)/)[0],
  31392. after: n.match(/([\+|\-|\)|\s|\$]*)$/)[0]
  31393. }
  31394. for (
  31395. n = n.replace(/\s?\$\s?/, ''),
  31396. a = e._.numberToFormat(t, n, r),
  31397. t >= 0
  31398. ? ((s.before = s.before.replace(/[\-\(]/, '')),
  31399. (s.after = s.after.replace(/[\-\)]/, '')))
  31400. : t < 0 &&
  31401. !e._.includes(s.before, '-') &&
  31402. !e._.includes(s.before, '(') &&
  31403. (s.before = '-' + s.before),
  31404. o = 0;
  31405. o < s.before.length;
  31406. o++
  31407. )
  31408. switch (s.before[o]) {
  31409. case '$':
  31410. a = e._.insert(a, i.currency.symbol, o)
  31411. break
  31412. case ' ':
  31413. a = e._.insert(a, ' ', o + i.currency.symbol.length - 1)
  31414. }
  31415. for (o = s.after.length - 1; o >= 0; o--)
  31416. switch (s.after[o]) {
  31417. case '$':
  31418. a =
  31419. o === s.after.length - 1
  31420. ? a + i.currency.symbol
  31421. : e._.insert(a, i.currency.symbol, -(s.after.length - (1 + o)))
  31422. break
  31423. case ' ':
  31424. a =
  31425. o === s.after.length - 1
  31426. ? a + ' '
  31427. : e._.insert(
  31428. a,
  31429. ' ',
  31430. -(s.after.length - (1 + o) + i.currency.symbol.length - 1)
  31431. )
  31432. }
  31433. return a
  31434. }
  31435. }),
  31436. e.register('format', 'exponential', {
  31437. regexps: { format: /(e\+|e-)/, unformat: /(e\+|e-)/ },
  31438. format: function (t, n, r) {
  31439. var a = (
  31440. 'number' != typeof t || e._.isNaN(t) ? '0e+0' : t.toExponential()
  31441. ).split('e')
  31442. return (
  31443. (n = n.replace(/e[\+|\-]{1}0/, '')),
  31444. e._.numberToFormat(Number(a[0]), n, r) + 'e' + a[1]
  31445. )
  31446. },
  31447. unformat: function (t) {
  31448. var n = e._.includes(t, 'e+') ? t.split('e+') : t.split('e-'),
  31449. r = Number(n[0]),
  31450. a = Number(n[1])
  31451. return (
  31452. (a = e._.includes(t, 'e-') ? (a *= -1) : a),
  31453. e._.reduce(
  31454. [r, Math.pow(10, a)],
  31455. function (t, n, r, a) {
  31456. var o = e._.correctionFactor(t, n)
  31457. return (t * o * (n * o)) / (o * o)
  31458. },
  31459. 1
  31460. )
  31461. )
  31462. }
  31463. }),
  31464. e.register('format', 'ordinal', {
  31465. regexps: { format: /(o)/ },
  31466. format: function (t, n, r) {
  31467. var a = e.locales[e.options.currentLocale],
  31468. o = e._.includes(n, ' o') ? ' ' : ''
  31469. return (
  31470. (n = n.replace(/\s?o/, '')),
  31471. (o += a.ordinal(t)),
  31472. e._.numberToFormat(t, n, r) + o
  31473. )
  31474. }
  31475. }),
  31476. e.register('format', 'percentage', {
  31477. regexps: { format: /(%)/, unformat: /(%)/ },
  31478. format: function (t, n, r) {
  31479. var a,
  31480. o = e._.includes(n, ' %') ? ' ' : ''
  31481. return (
  31482. e.options.scalePercentBy100 && (t *= 100),
  31483. (n = n.replace(/\s?\%/, '')),
  31484. (a = e._.numberToFormat(t, n, r)),
  31485. e._.includes(a, ')')
  31486. ? ((a = a.split('')).splice(-1, 0, o + '%'), (a = a.join('')))
  31487. : (a = a + o + '%'),
  31488. a
  31489. )
  31490. },
  31491. unformat: function (t) {
  31492. var n = e._.stringToNumber(t)
  31493. return e.options.scalePercentBy100 ? 0.01 * n : n
  31494. }
  31495. }),
  31496. e.register('format', 'time', {
  31497. regexps: { format: /(:)/, unformat: /(:)/ },
  31498. format: function (e, t, n) {
  31499. var r = Math.floor(e / 60 / 60),
  31500. a = Math.floor((e - 60 * r * 60) / 60),
  31501. o = Math.round(e - 60 * r * 60 - 60 * a)
  31502. return r + ':' + (a < 10 ? '0' + a : a) + ':' + (o < 10 ? '0' + o : o)
  31503. },
  31504. unformat: function (e) {
  31505. var t = e.split(':'),
  31506. n = 0
  31507. return (
  31508. 3 === t.length
  31509. ? ((n += 60 * Number(t[0]) * 60),
  31510. (n += 60 * Number(t[1])),
  31511. (n += Number(t[2])))
  31512. : 2 === t.length && ((n += 60 * Number(t[0])), (n += Number(t[1]))),
  31513. Number(n)
  31514. )
  31515. }
  31516. }),
  31517. e
  31518. )
  31519. })
  31520. })(numeral$1)
  31521. var numeral = numeral$1.exports
  31522. reactive({ loadingCount: 0 })
  31523. var browser = exports('f', function () {
  31524. var e = navigator.userAgent
  31525. return {
  31526. trident: e.indexOf('Trident') > -1,
  31527. presto: e.indexOf('Presto') > -1,
  31528. webKit: e.indexOf('AppleWebKit') > -1,
  31529. gecko: e.indexOf('Gecko') > -1 && -1 == e.indexOf('KHTML'),
  31530. mobile: !!e.match(/AppleWebKit.*Mobile.*/),
  31531. ios: !!e.match(/Mac OS X/),
  31532. android: e.indexOf('ORCHESTRAAPPA') > -1 || e.indexOf('Adr') > -1,
  31533. iPhone: e.indexOf('ORCHESTRAAPPI') > -1,
  31534. isApp: e.indexOf('ORCHESTRAAPPI') > -1 || e.indexOf('ORCHESTRAAPPA') > -1,
  31535. isTeacher: e.indexOf('ORCHESTRATEACHER') > -1,
  31536. isStudent: e.indexOf('ORCHESTRASTUDENT') > -1,
  31537. isSchool: e.indexOf('ORCHESTRASCHOOL') > -1,
  31538. iPad: e.indexOf('iPad') > -1,
  31539. webApp: -1 == e.indexOf('Safari'),
  31540. weixin: e.indexOf('MicroMessenger') > -1,
  31541. alipay: e.indexOf('AlipayClient') > -1,
  31542. huawei: !!e.match(/huawei/i) || !!e.match(/honor/i),
  31543. xiaomi: !!e.match(/mi\s/i) || !!e.match(/redmi/i) || !!e.match(/mix/i)
  31544. }
  31545. }),
  31546. getUrlCode = exports('bd', function () {
  31547. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 'code',
  31548. t = location.search,
  31549. n = new Object()
  31550. if (-1 != t.indexOf('?'))
  31551. for (var r = t.substr(1), a = r.split('&'), o = 0; o < a.length; o++)
  31552. n[a[o].split('=')[0]] = a[o].split('=')[1]
  31553. return console.log(n, 'theRequest'), n[e]
  31554. }),
  31555. getRandomKey = function () {
  31556. return '' + new Date().getTime() + Math.floor(1e6 * Math.random())
  31557. },
  31558. removeAuth$1 = exports('l', function () {
  31559. sessionStorage.removeItem('Authorization')
  31560. }),
  31561. setAuth$1 = exports('k', function (e) {
  31562. sessionStorage.setItem('Authorization', e)
  31563. }),
  31564. moneyFormat = exports('b6', function (e) {
  31565. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '0,0.00'
  31566. return numeral(e).format(t)
  31567. }),
  31568. getSecondRPM = exports('b7', function (e, t) {
  31569. if (isNaN(e)) return '00:00'
  31570. var n = Math.floor(e / 60)
  31571. .toString()
  31572. .padStart(2, '0'),
  31573. r = Math.floor(e % 60)
  31574. .toString()
  31575. .padStart(2, '0')
  31576. return 'cn' === t ? n + '分' + r + '秒' : n + ':' + r
  31577. }),
  31578. formatterDatePicker = exports('a_', function (e, t) {
  31579. return (
  31580. 'year' === e && (t.text += '年'),
  31581. 'month' === e && (t.text += '月'),
  31582. 'day' === e && (t.text += '日'),
  31583. t
  31584. )
  31585. }),
  31586. hasSymbol = 'function' == typeof Symbol && 'symbol' === _typeof2(Symbol.toStringTag),
  31587. PolySymbol = function (e) {
  31588. return hasSymbol ? Symbol(e) : '_vr_' + e
  31589. },
  31590. matchedRouteKey = PolySymbol('rvlm'),
  31591. viewDepthKey = PolySymbol('rvd'),
  31592. routerKey = PolySymbol('r'),
  31593. routeLocationKey = PolySymbol('rl'),
  31594. routerViewLocationKey = PolySymbol('rvl'),
  31595. isBrowser = 'undefined' != typeof window
  31596. function isESModule(e) {
  31597. return e.__esModule || (hasSymbol && 'Module' === e[Symbol.toStringTag])
  31598. }
  31599. var assign$1 = Object.assign
  31600. function applyToParams(e, t) {
  31601. var n = {}
  31602. for (var r in t) {
  31603. var a = t[r]
  31604. n[r] = Array.isArray(a) ? a.map(e) : e(a)
  31605. }
  31606. return n
  31607. }
  31608. var noop = function () {},
  31609. TRAILING_SLASH_RE = /\/$/,
  31610. removeTrailingSlash = function (e) {
  31611. return e.replace(TRAILING_SLASH_RE, '')
  31612. },
  31613. NavigationType,
  31614. NavigationDirection
  31615. function parseURL(e, t) {
  31616. var n,
  31617. r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '/',
  31618. a = {},
  31619. o = '',
  31620. i = '',
  31621. s = t.indexOf('?'),
  31622. l = t.indexOf('#', s > -1 ? s : 0)
  31623. return (
  31624. s > -1 && ((n = t.slice(0, s)), (a = e((o = t.slice(s + 1, l > -1 ? l : t.length))))),
  31625. l > -1 && ((n = n || t.slice(0, l)), (i = t.slice(l, t.length))),
  31626. {
  31627. fullPath: (n = resolveRelativePath(null != n ? n : t, r)) + (o && '?') + o + i,
  31628. path: n,
  31629. query: a,
  31630. hash: i
  31631. }
  31632. )
  31633. }
  31634. function stringifyURL(e, t) {
  31635. var n = t.query ? e(t.query) : ''
  31636. return t.path + (n && '?') + n + (t.hash || '')
  31637. }
  31638. function stripBase(e, t) {
  31639. return t && e.toLowerCase().startsWith(t.toLowerCase()) ? e.slice(t.length) || '/' : e
  31640. }
  31641. function isSameRouteLocation(e, t, n) {
  31642. var r = t.matched.length - 1,
  31643. a = n.matched.length - 1
  31644. return (
  31645. r > -1 &&
  31646. r === a &&
  31647. isSameRouteRecord(t.matched[r], n.matched[a]) &&
  31648. isSameRouteLocationParams(t.params, n.params) &&
  31649. e(t.query) === e(n.query) &&
  31650. t.hash === n.hash
  31651. )
  31652. }
  31653. function isSameRouteRecord(e, t) {
  31654. return (e.aliasOf || e) === (t.aliasOf || t)
  31655. }
  31656. function isSameRouteLocationParams(e, t) {
  31657. if (Object.keys(e).length !== Object.keys(t).length) return !1
  31658. for (var n in e) if (!isSameRouteLocationParamsValue(e[n], t[n])) return !1
  31659. return !0
  31660. }
  31661. function isSameRouteLocationParamsValue(e, t) {
  31662. return Array.isArray(e)
  31663. ? isEquivalentArray(e, t)
  31664. : Array.isArray(t)
  31665. ? isEquivalentArray(t, e)
  31666. : e === t
  31667. }
  31668. function isEquivalentArray(e, t) {
  31669. return Array.isArray(t)
  31670. ? e.length === t.length &&
  31671. e.every(function (e, n) {
  31672. return e === t[n]
  31673. })
  31674. : 1 === e.length && e[0] === t
  31675. }
  31676. function resolveRelativePath(e, t) {
  31677. if (e.startsWith('/')) return e
  31678. if (!e) return t
  31679. var n,
  31680. r,
  31681. a = t.split('/'),
  31682. o = e.split('/'),
  31683. i = a.length - 1
  31684. for (n = 0; n < o.length; n++)
  31685. if (((r = o[n]), 1 !== i && '.' !== r)) {
  31686. if ('..' !== r) break
  31687. i--
  31688. }
  31689. return a.slice(0, i).join('/') + '/' + o.slice(n - (n === o.length ? 1 : 0)).join('/')
  31690. }
  31691. function normalizeBase(e) {
  31692. if (!e)
  31693. if (isBrowser) {
  31694. var t = document.querySelector('base')
  31695. e = (e = (t && t.getAttribute('href')) || '/').replace(/^\w+:\/\/[^\/]+/, '')
  31696. } else e = '/'
  31697. return '/' !== e[0] && '#' !== e[0] && (e = '/' + e), removeTrailingSlash(e)
  31698. }
  31699. !(function (e) {
  31700. ;(e.pop = 'pop'), (e.push = 'push')
  31701. })(NavigationType || (NavigationType = {})),
  31702. (function (e) {
  31703. ;(e.back = 'back'), (e.forward = 'forward'), (e.unknown = '')
  31704. })(NavigationDirection || (NavigationDirection = {}))
  31705. var BEFORE_HASH_RE = /^[^#]+#/
  31706. function createHref(e, t) {
  31707. return e.replace(BEFORE_HASH_RE, '#') + t
  31708. }
  31709. function getElementPosition(e, t) {
  31710. var n = document.documentElement.getBoundingClientRect(),
  31711. r = e.getBoundingClientRect()
  31712. return {
  31713. behavior: t.behavior,
  31714. left: r.left - n.left - (t.left || 0),
  31715. top: r.top - n.top - (t.top || 0)
  31716. }
  31717. }
  31718. var computeScrollPosition = function () {
  31719. return { left: window.pageXOffset, top: window.pageYOffset }
  31720. }
  31721. function scrollToPosition(e) {
  31722. var t
  31723. if ('el' in e) {
  31724. var n = e.el,
  31725. r = 'string' == typeof n && n.startsWith('#'),
  31726. a =
  31727. 'string' == typeof n
  31728. ? r
  31729. ? document.getElementById(n.slice(1))
  31730. : document.querySelector(n)
  31731. : n
  31732. if (!a) return
  31733. t = getElementPosition(a, e)
  31734. } else t = e
  31735. 'scrollBehavior' in document.documentElement.style
  31736. ? window.scrollTo(t)
  31737. : window.scrollTo(
  31738. null != t.left ? t.left : window.pageXOffset,
  31739. null != t.top ? t.top : window.pageYOffset
  31740. )
  31741. }
  31742. function getScrollKey(e, t) {
  31743. return (history.state ? history.state.position - t : -1) + e
  31744. }
  31745. var scrollPositions = new Map()
  31746. function saveScrollPosition(e, t) {
  31747. scrollPositions.set(e, t)
  31748. }
  31749. function getSavedScrollPosition(e) {
  31750. var t = scrollPositions.get(e)
  31751. return scrollPositions.delete(e), t
  31752. }
  31753. var createBaseLocation = function () {
  31754. return location.protocol + '//' + location.host
  31755. }
  31756. function createCurrentLocation(e, t) {
  31757. var n = t.pathname,
  31758. r = t.search,
  31759. a = t.hash,
  31760. o = e.indexOf('#')
  31761. if (o > -1) {
  31762. var i = a.includes(e.slice(o)) ? e.slice(o).length : 1,
  31763. s = a.slice(i)
  31764. return '/' !== s[0] && (s = '/' + s), stripBase(s, '')
  31765. }
  31766. return stripBase(n, e) + r + a
  31767. }
  31768. function useHistoryListeners(e, t, n, r) {
  31769. var a = [],
  31770. o = [],
  31771. i = null,
  31772. s = function (o) {
  31773. var s = o.state,
  31774. l = createCurrentLocation(e, location),
  31775. c = n.value,
  31776. u = t.value,
  31777. p = 0
  31778. if (s) {
  31779. if (((n.value = l), (t.value = s), i && i === c)) return void (i = null)
  31780. p = u ? s.position - u.position : 0
  31781. } else r(l)
  31782. a.forEach(function (e) {
  31783. e(n.value, c, {
  31784. delta: p,
  31785. type: NavigationType.pop,
  31786. direction: p
  31787. ? p > 0
  31788. ? NavigationDirection.forward
  31789. : NavigationDirection.back
  31790. : NavigationDirection.unknown
  31791. })
  31792. })
  31793. }
  31794. function l() {
  31795. var e = window.history
  31796. e.state &&
  31797. e.replaceState(assign$1({}, e.state, { scroll: computeScrollPosition() }), '')
  31798. }
  31799. return (
  31800. window.addEventListener('popstate', s),
  31801. window.addEventListener('beforeunload', l),
  31802. {
  31803. pauseListeners: function () {
  31804. i = n.value
  31805. },
  31806. listen: function (e) {
  31807. a.push(e)
  31808. var t = function () {
  31809. var t = a.indexOf(e)
  31810. t > -1 && a.splice(t, 1)
  31811. }
  31812. return o.push(t), t
  31813. },
  31814. destroy: function () {
  31815. var e,
  31816. t = _createForOfIteratorHelper(o)
  31817. try {
  31818. for (t.s(); !(e = t.n()).done; ) {
  31819. ;(0, e.value)()
  31820. }
  31821. } catch (n) {
  31822. t.e(n)
  31823. } finally {
  31824. t.f()
  31825. }
  31826. ;(o = []),
  31827. window.removeEventListener('popstate', s),
  31828. window.removeEventListener('beforeunload', l)
  31829. }
  31830. }
  31831. )
  31832. }
  31833. function buildState(e, t, n) {
  31834. var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
  31835. a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
  31836. return {
  31837. back: e,
  31838. current: t,
  31839. forward: n,
  31840. replaced: r,
  31841. position: window.history.length,
  31842. scroll: a ? computeScrollPosition() : null
  31843. }
  31844. }
  31845. function useHistoryStateNavigation(e) {
  31846. var t = window,
  31847. n = t.history,
  31848. r = t.location,
  31849. a = { value: createCurrentLocation(e, r) },
  31850. o = { value: n.state }
  31851. function i(t, a, i) {
  31852. var s = e.indexOf('#'),
  31853. l =
  31854. s > -1
  31855. ? (r.host && document.querySelector('base') ? e : e.slice(s)) + t
  31856. : createBaseLocation() + e + t
  31857. try {
  31858. n[i ? 'replaceState' : 'pushState'](a, '', l), (o.value = a)
  31859. } catch (c) {
  31860. console.error(c), r[i ? 'replace' : 'assign'](l)
  31861. }
  31862. }
  31863. return (
  31864. o.value ||
  31865. i(
  31866. a.value,
  31867. {
  31868. back: null,
  31869. current: a.value,
  31870. forward: null,
  31871. position: n.length - 1,
  31872. replaced: !0,
  31873. scroll: null
  31874. },
  31875. !0
  31876. ),
  31877. {
  31878. location: a,
  31879. state: o,
  31880. push: function (e, t) {
  31881. var r = assign$1({}, o.value, n.state, {
  31882. forward: e,
  31883. scroll: computeScrollPosition()
  31884. })
  31885. i(r.current, r, !0),
  31886. i(
  31887. e,
  31888. assign$1({}, buildState(a.value, e, null), { position: r.position + 1 }, t),
  31889. !1
  31890. ),
  31891. (a.value = e)
  31892. },
  31893. replace: function (e, t) {
  31894. i(
  31895. e,
  31896. assign$1({}, n.state, buildState(o.value.back, e, o.value.forward, !0), t, {
  31897. position: o.value.position
  31898. }),
  31899. !0
  31900. ),
  31901. (a.value = e)
  31902. }
  31903. }
  31904. )
  31905. }
  31906. function createWebHistory(e) {
  31907. var t = useHistoryStateNavigation((e = normalizeBase(e))),
  31908. n = useHistoryListeners(e, t.state, t.location, t.replace)
  31909. var r = assign$1(
  31910. {
  31911. location: '',
  31912. base: e,
  31913. go: function (e) {
  31914. var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
  31915. t || n.pauseListeners(), history.go(e)
  31916. },
  31917. createHref: createHref.bind(null, e)
  31918. },
  31919. t,
  31920. n
  31921. )
  31922. return (
  31923. Object.defineProperty(r, 'location', {
  31924. enumerable: !0,
  31925. get: function () {
  31926. return t.location.value
  31927. }
  31928. }),
  31929. Object.defineProperty(r, 'state', {
  31930. enumerable: !0,
  31931. get: function () {
  31932. return t.state.value
  31933. }
  31934. }),
  31935. r
  31936. )
  31937. }
  31938. function createWebHashHistory(e) {
  31939. return (
  31940. (e = location.host ? e || location.pathname + location.search : '').includes('#') ||
  31941. (e += '#'),
  31942. createWebHistory(e)
  31943. )
  31944. }
  31945. function isRouteLocation(e) {
  31946. return 'string' == typeof e || (e && 'object' === _typeof2(e))
  31947. }
  31948. function isRouteName(e) {
  31949. return 'string' == typeof e || 'symbol' === _typeof2(e)
  31950. }
  31951. var START_LOCATION_NORMALIZED = {
  31952. path: '/',
  31953. name: void 0,
  31954. params: {},
  31955. query: {},
  31956. hash: '',
  31957. fullPath: '/',
  31958. matched: [],
  31959. meta: {},
  31960. redirectedFrom: void 0
  31961. },
  31962. NavigationFailureSymbol = PolySymbol('nf'),
  31963. NavigationFailureType
  31964. function createRouterError(e, t) {
  31965. return assign$1(
  31966. new Error(),
  31967. _defineProperty2({ type: e }, NavigationFailureSymbol, !0),
  31968. t
  31969. )
  31970. }
  31971. function isNavigationFailure(e, t) {
  31972. return (
  31973. e instanceof Error && NavigationFailureSymbol in e && (null == t || !!(e.type & t))
  31974. )
  31975. }
  31976. !(function (e) {
  31977. ;(e[(e.aborted = 4)] = 'aborted'),
  31978. (e[(e.cancelled = 8)] = 'cancelled'),
  31979. (e[(e.duplicated = 16)] = 'duplicated')
  31980. })(NavigationFailureType || (NavigationFailureType = {}))
  31981. var BASE_PARAM_PATTERN = '[^/]+?',
  31982. BASE_PATH_PARSER_OPTIONS = { sensitive: !1, strict: !1, start: !0, end: !0 },
  31983. REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g
  31984. function tokensToParser(e, t) {
  31985. var n,
  31986. r = assign$1({}, BASE_PATH_PARSER_OPTIONS, t),
  31987. a = [],
  31988. o = r.start ? '^' : '',
  31989. i = [],
  31990. s = _createForOfIteratorHelper(e)
  31991. try {
  31992. for (s.s(); !(n = s.n()).done; ) {
  31993. var l = n.value,
  31994. c = l.length ? [] : [90]
  31995. r.strict && !l.length && (o += '/')
  31996. for (var u = 0; u < l.length; u++) {
  31997. var p = l[u],
  31998. d = 40 + (r.sensitive ? 0.25 : 0)
  31999. if (0 === p.type)
  32000. u || (o += '/'), (o += p.value.replace(REGEX_CHARS_RE, '\\$&')), (d += 40)
  32001. else if (1 === p.type) {
  32002. var f = p.value,
  32003. h = p.repeatable,
  32004. v = p.optional,
  32005. m = p.regexp
  32006. i.push({ name: f, repeatable: h, optional: v })
  32007. var g = m || BASE_PARAM_PATTERN
  32008. if (g !== BASE_PARAM_PATTERN) {
  32009. d += 10
  32010. try {
  32011. new RegExp('('.concat(g, ')'))
  32012. } catch (A) {
  32013. throw new Error(
  32014. 'Invalid custom RegExp for param "'.concat(f, '" (').concat(g, '): ') +
  32015. A.message
  32016. )
  32017. }
  32018. }
  32019. var y = h ? '((?:'.concat(g, ')(?:/(?:').concat(g, '))*)') : '('.concat(g, ')')
  32020. u || (y = v && l.length < 2 ? '(?:/'.concat(y, ')') : '/' + y),
  32021. v && (y += '?'),
  32022. (o += y),
  32023. (d += 20),
  32024. v && (d += -8),
  32025. h && (d += -20),
  32026. '.*' === g && (d += -50)
  32027. }
  32028. c.push(d)
  32029. }
  32030. a.push(c)
  32031. }
  32032. } catch (A) {
  32033. s.e(A)
  32034. } finally {
  32035. s.f()
  32036. }
  32037. if (r.strict && r.end) {
  32038. var b = a.length - 1
  32039. a[b][a[b].length - 1] += 0.7000000000000001
  32040. }
  32041. r.strict || (o += '/?'), r.end ? (o += '$') : r.strict && (o += '(?:/|$)')
  32042. var _ = new RegExp(o, r.sensitive ? '' : 'i')
  32043. return {
  32044. re: _,
  32045. score: a,
  32046. keys: i,
  32047. parse: function (e) {
  32048. var t = e.match(_),
  32049. n = {}
  32050. if (!t) return null
  32051. for (var r = 1; r < t.length; r++) {
  32052. var a = t[r] || '',
  32053. o = i[r - 1]
  32054. n[o.name] = a && o.repeatable ? a.split('/') : a
  32055. }
  32056. return n
  32057. },
  32058. stringify: function (t) {
  32059. var n,
  32060. r = '',
  32061. a = !1,
  32062. o = _createForOfIteratorHelper(e)
  32063. try {
  32064. for (o.s(); !(n = o.n()).done; ) {
  32065. var i = n.value
  32066. ;(a && r.endsWith('/')) || (r += '/'), (a = !1)
  32067. var s,
  32068. l = _createForOfIteratorHelper(i)
  32069. try {
  32070. for (l.s(); !(s = l.n()).done; ) {
  32071. var c = s.value
  32072. if (0 === c.type) r += c.value
  32073. else if (1 === c.type) {
  32074. var u = c.value,
  32075. p = c.repeatable,
  32076. d = c.optional,
  32077. f = u in t ? t[u] : ''
  32078. if (Array.isArray(f) && !p)
  32079. throw new Error(
  32080. 'Provided param "'.concat(
  32081. u,
  32082. '" is an array but it is not repeatable (* or + modifiers)'
  32083. )
  32084. )
  32085. var h = Array.isArray(f) ? f.join('/') : f
  32086. if (!h) {
  32087. if (!d) throw new Error('Missing required param "'.concat(u, '"'))
  32088. i.length < 2 && (r.endsWith('/') ? (r = r.slice(0, -1)) : (a = !0))
  32089. }
  32090. r += h
  32091. }
  32092. }
  32093. } catch (A) {
  32094. l.e(A)
  32095. } finally {
  32096. l.f()
  32097. }
  32098. }
  32099. } catch (A) {
  32100. o.e(A)
  32101. } finally {
  32102. o.f()
  32103. }
  32104. return r
  32105. }
  32106. }
  32107. }
  32108. function compareScoreArray(e, t) {
  32109. for (var n = 0; n < e.length && n < t.length; ) {
  32110. var r = t[n] - e[n]
  32111. if (r) return r
  32112. n++
  32113. }
  32114. return e.length < t.length
  32115. ? 1 === e.length && 80 === e[0]
  32116. ? -1
  32117. : 1
  32118. : e.length > t.length
  32119. ? 1 === t.length && 80 === t[0]
  32120. ? 1
  32121. : -1
  32122. : 0
  32123. }
  32124. function comparePathParserScore(e, t) {
  32125. for (var n = 0, r = e.score, a = t.score; n < r.length && n < a.length; ) {
  32126. var o = compareScoreArray(r[n], a[n])
  32127. if (o) return o
  32128. n++
  32129. }
  32130. return a.length - r.length
  32131. }
  32132. var ROOT_TOKEN = { type: 0, value: '' },
  32133. VALID_PARAM_RE = /[a-zA-Z0-9_]/
  32134. function tokenizePath(e) {
  32135. if (!e) return [[]]
  32136. if ('/' === e) return [[ROOT_TOKEN]]
  32137. if (!e.startsWith('/')) throw new Error('Invalid path "'.concat(e, '"'))
  32138. function t(e) {
  32139. throw new Error('ERR ('.concat(r, ')/"').concat(c, '": ').concat(e))
  32140. }
  32141. var n,
  32142. r = 0,
  32143. a = r,
  32144. o = []
  32145. function i() {
  32146. n && o.push(n), (n = [])
  32147. }
  32148. var s,
  32149. l = 0,
  32150. c = '',
  32151. u = ''
  32152. function p() {
  32153. c &&
  32154. (0 === r
  32155. ? n.push({ type: 0, value: c })
  32156. : 1 === r || 2 === r || 3 === r
  32157. ? (n.length > 1 &&
  32158. ('*' === s || '+' === s) &&
  32159. t(
  32160. 'A repeatable param ('.concat(
  32161. c,
  32162. ") must be alone in its segment. eg: '/:ids+."
  32163. )
  32164. ),
  32165. n.push({
  32166. type: 1,
  32167. value: c,
  32168. regexp: u,
  32169. repeatable: '*' === s || '+' === s,
  32170. optional: '*' === s || '?' === s
  32171. }))
  32172. : t('Invalid state to consume buffer'),
  32173. (c = ''))
  32174. }
  32175. function d() {
  32176. c += s
  32177. }
  32178. for (; l < e.length; )
  32179. if ('\\' !== (s = e[l++]) || 2 === r)
  32180. switch (r) {
  32181. case 0:
  32182. '/' === s ? (c && p(), i()) : ':' === s ? (p(), (r = 1)) : d()
  32183. break
  32184. case 4:
  32185. d(), (r = a)
  32186. break
  32187. case 1:
  32188. '(' === s
  32189. ? (r = 2)
  32190. : VALID_PARAM_RE.test(s)
  32191. ? d()
  32192. : (p(), (r = 0), '*' !== s && '?' !== s && '+' !== s && l--)
  32193. break
  32194. case 2:
  32195. ')' === s
  32196. ? '\\' == u[u.length - 1]
  32197. ? (u = u.slice(0, -1) + s)
  32198. : (r = 3)
  32199. : (u += s)
  32200. break
  32201. case 3:
  32202. p(), (r = 0), '*' !== s && '?' !== s && '+' !== s && l--, (u = '')
  32203. break
  32204. default:
  32205. t('Unknown state')
  32206. }
  32207. else (a = r), (r = 4)
  32208. return 2 === r && t('Unfinished custom RegExp for param "'.concat(c, '"')), p(), i(), o
  32209. }
  32210. function createRouteRecordMatcher(e, t, n) {
  32211. var r = tokensToParser(tokenizePath(e.path), n),
  32212. a = assign$1(r, { record: e, parent: t, children: [], alias: [] })
  32213. return t && !a.record.aliasOf == !t.record.aliasOf && t.children.push(a), a
  32214. }
  32215. function createRouterMatcher(e, t) {
  32216. var n = [],
  32217. r = new Map()
  32218. function a(e, n, r) {
  32219. var s = !r,
  32220. l = normalizeRouteRecord(e)
  32221. l.aliasOf = r && r.record
  32222. var c,
  32223. u,
  32224. p = mergeOptions(t, e),
  32225. d = [l]
  32226. if ('alias' in e) {
  32227. var f,
  32228. h = _createForOfIteratorHelper('string' == typeof e.alias ? [e.alias] : e.alias)
  32229. try {
  32230. for (h.s(); !(f = h.n()).done; ) {
  32231. var v = f.value
  32232. d.push(
  32233. assign$1({}, l, {
  32234. components: r ? r.record.components : l.components,
  32235. path: v,
  32236. aliasOf: r ? r.record : l
  32237. })
  32238. )
  32239. }
  32240. } catch (k) {
  32241. h.e(k)
  32242. } finally {
  32243. h.f()
  32244. }
  32245. }
  32246. for (var m = 0, g = d; m < g.length; m++) {
  32247. var y = g[m],
  32248. b = y.path
  32249. if (n && '/' !== b[0]) {
  32250. var _ = n.record.path,
  32251. A = '/' === _[_.length - 1] ? '' : '/'
  32252. y.path = n.record.path + (b && A + b)
  32253. }
  32254. if (
  32255. ((c = createRouteRecordMatcher(y, n, p)),
  32256. r
  32257. ? r.alias.push(c)
  32258. : ((u = u || c) !== c && u.alias.push(c),
  32259. s && e.name && !isAliasRecord(c) && o(e.name)),
  32260. 'children' in l)
  32261. )
  32262. for (var x = l.children, w = 0; w < x.length; w++) a(x[w], c, r && r.children[w])
  32263. ;(r = r || c), i(c)
  32264. }
  32265. return u
  32266. ? function () {
  32267. o(u)
  32268. }
  32269. : noop
  32270. }
  32271. function o(e) {
  32272. if (isRouteName(e)) {
  32273. var t = r.get(e)
  32274. t &&
  32275. (r.delete(e),
  32276. n.splice(n.indexOf(t), 1),
  32277. t.children.forEach(o),
  32278. t.alias.forEach(o))
  32279. } else {
  32280. var a = n.indexOf(e)
  32281. a > -1 &&
  32282. (n.splice(a, 1),
  32283. e.record.name && r.delete(e.record.name),
  32284. e.children.forEach(o),
  32285. e.alias.forEach(o))
  32286. }
  32287. }
  32288. function i(e) {
  32289. for (var t = 0; t < n.length && comparePathParserScore(e, n[t]) >= 0; ) t++
  32290. n.splice(t, 0, e), e.record.name && !isAliasRecord(e) && r.set(e.record.name, e)
  32291. }
  32292. return (
  32293. (t = mergeOptions({ strict: !1, end: !0, sensitive: !1 }, t)),
  32294. e.forEach(function (e) {
  32295. return a(e)
  32296. }),
  32297. {
  32298. addRoute: a,
  32299. resolve: function (e, t) {
  32300. var a,
  32301. o,
  32302. i,
  32303. s = {}
  32304. if ('name' in e && e.name) {
  32305. if (!(a = r.get(e.name))) throw createRouterError(1, { location: e })
  32306. ;(i = a.record.name),
  32307. (s = assign$1(
  32308. paramsFromLocation(
  32309. t.params,
  32310. a.keys
  32311. .filter(function (e) {
  32312. return !e.optional
  32313. })
  32314. .map(function (e) {
  32315. return e.name
  32316. })
  32317. ),
  32318. e.params
  32319. )),
  32320. (o = a.stringify(s))
  32321. } else if ('path' in e)
  32322. (o = e.path),
  32323. (a = n.find(function (e) {
  32324. return e.re.test(o)
  32325. })) && ((s = a.parse(o)), (i = a.record.name))
  32326. else {
  32327. if (
  32328. !(a = t.name
  32329. ? r.get(t.name)
  32330. : n.find(function (e) {
  32331. return e.re.test(t.path)
  32332. }))
  32333. )
  32334. throw createRouterError(1, { location: e, currentLocation: t })
  32335. ;(i = a.record.name),
  32336. (s = assign$1({}, t.params, e.params)),
  32337. (o = a.stringify(s))
  32338. }
  32339. for (var l = [], c = a; c; ) l.unshift(c.record), (c = c.parent)
  32340. return { name: i, path: o, params: s, matched: l, meta: mergeMetaFields(l) }
  32341. },
  32342. removeRoute: o,
  32343. getRoutes: function () {
  32344. return n
  32345. },
  32346. getRecordMatcher: function (e) {
  32347. return r.get(e)
  32348. }
  32349. }
  32350. )
  32351. }
  32352. function paramsFromLocation(e, t) {
  32353. var n,
  32354. r = {},
  32355. a = _createForOfIteratorHelper(t)
  32356. try {
  32357. for (a.s(); !(n = a.n()).done; ) {
  32358. var o = n.value
  32359. o in e && (r[o] = e[o])
  32360. }
  32361. } catch (i) {
  32362. a.e(i)
  32363. } finally {
  32364. a.f()
  32365. }
  32366. return r
  32367. }
  32368. function normalizeRouteRecord(e) {
  32369. return {
  32370. path: e.path,
  32371. redirect: e.redirect,
  32372. name: e.name,
  32373. meta: e.meta || {},
  32374. aliasOf: void 0,
  32375. beforeEnter: e.beforeEnter,
  32376. props: normalizeRecordProps(e),
  32377. children: e.children || [],
  32378. instances: {},
  32379. leaveGuards: new Set(),
  32380. updateGuards: new Set(),
  32381. enterCallbacks: {},
  32382. components: 'components' in e ? e.components || {} : { default: e.component }
  32383. }
  32384. }
  32385. function normalizeRecordProps(e) {
  32386. var t = {},
  32387. n = e.props || !1
  32388. if ('component' in e) t.default = n
  32389. else for (var r in e.components) t[r] = 'boolean' == typeof n ? n : n[r]
  32390. return t
  32391. }
  32392. function isAliasRecord(e) {
  32393. for (; e; ) {
  32394. if (e.record.aliasOf) return !0
  32395. e = e.parent
  32396. }
  32397. return !1
  32398. }
  32399. function mergeMetaFields(e) {
  32400. return e.reduce(function (e, t) {
  32401. return assign$1(e, t.meta)
  32402. }, {})
  32403. }
  32404. function mergeOptions(e, t) {
  32405. var n = {}
  32406. for (var r in e) n[r] = r in t ? t[r] : e[r]
  32407. return n
  32408. }
  32409. var HASH_RE = /#/g,
  32410. AMPERSAND_RE = /&/g,
  32411. SLASH_RE = /\//g,
  32412. EQUAL_RE = /=/g,
  32413. IM_RE = /\?/g,
  32414. PLUS_RE = /\+/g,
  32415. ENC_BRACKET_OPEN_RE = /%5B/g,
  32416. ENC_BRACKET_CLOSE_RE = /%5D/g,
  32417. ENC_CARET_RE = /%5E/g,
  32418. ENC_BACKTICK_RE = /%60/g,
  32419. ENC_CURLY_OPEN_RE = /%7B/g,
  32420. ENC_PIPE_RE = /%7C/g,
  32421. ENC_CURLY_CLOSE_RE = /%7D/g,
  32422. ENC_SPACE_RE = /%20/g
  32423. function commonEncode(e) {
  32424. return encodeURI('' + e)
  32425. .replace(ENC_PIPE_RE, '|')
  32426. .replace(ENC_BRACKET_OPEN_RE, '[')
  32427. .replace(ENC_BRACKET_CLOSE_RE, ']')
  32428. }
  32429. function encodeHash(e) {
  32430. return commonEncode(e)
  32431. .replace(ENC_CURLY_OPEN_RE, '{')
  32432. .replace(ENC_CURLY_CLOSE_RE, '}')
  32433. .replace(ENC_CARET_RE, '^')
  32434. }
  32435. function encodeQueryValue(e) {
  32436. return commonEncode(e)
  32437. .replace(PLUS_RE, '%2B')
  32438. .replace(ENC_SPACE_RE, '+')
  32439. .replace(HASH_RE, '%23')
  32440. .replace(AMPERSAND_RE, '%26')
  32441. .replace(ENC_BACKTICK_RE, '`')
  32442. .replace(ENC_CURLY_OPEN_RE, '{')
  32443. .replace(ENC_CURLY_CLOSE_RE, '}')
  32444. .replace(ENC_CARET_RE, '^')
  32445. }
  32446. function encodeQueryKey(e) {
  32447. return encodeQueryValue(e).replace(EQUAL_RE, '%3D')
  32448. }
  32449. function encodePath(e) {
  32450. return commonEncode(e).replace(HASH_RE, '%23').replace(IM_RE, '%3F')
  32451. }
  32452. function encodeParam(e) {
  32453. return null == e ? '' : encodePath(e).replace(SLASH_RE, '%2F')
  32454. }
  32455. function decode$2(e) {
  32456. try {
  32457. return decodeURIComponent('' + e)
  32458. } catch (t) {}
  32459. return '' + e
  32460. }
  32461. function parseQuery(e) {
  32462. var t = {}
  32463. if ('' === e || '?' === e) return t
  32464. for (var n = ('?' === e[0] ? e.slice(1) : e).split('&'), r = 0; r < n.length; ++r) {
  32465. var a = n[r].replace(PLUS_RE, ' '),
  32466. o = a.indexOf('='),
  32467. i = decode$2(o < 0 ? a : a.slice(0, o)),
  32468. s = o < 0 ? null : decode$2(a.slice(o + 1))
  32469. if (i in t) {
  32470. var l = t[i]
  32471. Array.isArray(l) || (l = t[i] = [l]), l.push(s)
  32472. } else t[i] = s
  32473. }
  32474. return t
  32475. }
  32476. function stringifyQuery(e) {
  32477. var t = '',
  32478. n = function (n) {
  32479. var a = e[n]
  32480. if (((n = encodeQueryKey(n)), null == a))
  32481. return void 0 !== a && (t += (t.length ? '&' : '') + n), (r = n), 'continue'
  32482. var o = Array.isArray(a)
  32483. ? a.map(function (e) {
  32484. return e && encodeQueryValue(e)
  32485. })
  32486. : [a && encodeQueryValue(a)]
  32487. o.forEach(function (e) {
  32488. void 0 !== e && ((t += (t.length ? '&' : '') + n), null != e && (t += '=' + e))
  32489. }),
  32490. (r = n)
  32491. }
  32492. for (var r in e) n(r)
  32493. return t
  32494. }
  32495. function normalizeQuery(e) {
  32496. var t = {}
  32497. for (var n in e) {
  32498. var r = e[n]
  32499. void 0 !== r &&
  32500. (t[n] = Array.isArray(r)
  32501. ? r.map(function (e) {
  32502. return null == e ? null : '' + e
  32503. })
  32504. : null == r
  32505. ? r
  32506. : '' + r)
  32507. }
  32508. return t
  32509. }
  32510. function useCallbacks() {
  32511. var e = []
  32512. return {
  32513. add: function (t) {
  32514. return (
  32515. e.push(t),
  32516. function () {
  32517. var n = e.indexOf(t)
  32518. n > -1 && e.splice(n, 1)
  32519. }
  32520. )
  32521. },
  32522. list: function () {
  32523. return e
  32524. },
  32525. reset: function () {
  32526. e = []
  32527. }
  32528. }
  32529. }
  32530. function guardToPromiseFn(e, t, n, r, a) {
  32531. var o = r && (r.enterCallbacks[a] = r.enterCallbacks[a] || [])
  32532. return function () {
  32533. return new Promise(function (i, s) {
  32534. var l = function (e) {
  32535. !1 === e
  32536. ? s(createRouterError(4, { from: n, to: t }))
  32537. : e instanceof Error
  32538. ? s(e)
  32539. : isRouteLocation(e)
  32540. ? s(createRouterError(2, { from: t, to: e }))
  32541. : (o && r.enterCallbacks[a] === o && 'function' == typeof e && o.push(e), i())
  32542. },
  32543. c = e.call(r && r.instances[a], t, n, l),
  32544. u = Promise.resolve(c)
  32545. e.length < 3 && (u = u.then(l)),
  32546. u.catch(function (e) {
  32547. return s(e)
  32548. })
  32549. })
  32550. }
  32551. }
  32552. function extractComponentsGuards(e, t, n, r) {
  32553. var a,
  32554. o = [],
  32555. i = _createForOfIteratorHelper(e)
  32556. try {
  32557. var s = function () {
  32558. var e = a.value,
  32559. i = function (a) {
  32560. var i = e.components[a]
  32561. if ('beforeRouteEnter' !== t && !e.instances[a]) return 'continue'
  32562. if (isRouteComponent(i)) {
  32563. var s = (i.__vccOpts || i)[t]
  32564. s && o.push(guardToPromiseFn(s, n, r, e, a))
  32565. } else {
  32566. var l = i()
  32567. o.push(function () {
  32568. return l.then(function (o) {
  32569. if (!o)
  32570. return Promise.reject(
  32571. new Error(
  32572. 'Couldn\'t resolve component "'
  32573. .concat(a, '" at "')
  32574. .concat(e.path, '"')
  32575. )
  32576. )
  32577. var i = isESModule(o) ? o.default : o
  32578. e.components[a] = i
  32579. var s = (i.__vccOpts || i)[t]
  32580. return s && guardToPromiseFn(s, n, r, e, a)()
  32581. })
  32582. })
  32583. }
  32584. }
  32585. for (var s in e.components) i(s)
  32586. }
  32587. for (i.s(); !(a = i.n()).done; ) s()
  32588. } catch (l) {
  32589. i.e(l)
  32590. } finally {
  32591. i.f()
  32592. }
  32593. return o
  32594. }
  32595. function isRouteComponent(e) {
  32596. return (
  32597. 'object' === _typeof2(e) || 'displayName' in e || 'props' in e || '__vccOpts' in e
  32598. )
  32599. }
  32600. function useLink(e) {
  32601. var t = inject(routerKey),
  32602. n = inject(routeLocationKey),
  32603. r = computed(function () {
  32604. return t.resolve(unref(e.to))
  32605. }),
  32606. a = computed(function () {
  32607. var e = r.value.matched,
  32608. t = e.length,
  32609. a = e[t - 1],
  32610. o = n.matched
  32611. if (!a || !o.length) return -1
  32612. var i = o.findIndex(isSameRouteRecord.bind(null, a))
  32613. if (i > -1) return i
  32614. var s = getOriginalPath(e[t - 2])
  32615. return t > 1 && getOriginalPath(a) === s && o[o.length - 1].path !== s
  32616. ? o.findIndex(isSameRouteRecord.bind(null, e[t - 2]))
  32617. : i
  32618. }),
  32619. o = computed(function () {
  32620. return a.value > -1 && includesParams(n.params, r.value.params)
  32621. }),
  32622. i = computed(function () {
  32623. return (
  32624. a.value > -1 &&
  32625. a.value === n.matched.length - 1 &&
  32626. isSameRouteLocationParams(n.params, r.value.params)
  32627. )
  32628. })
  32629. return {
  32630. route: r,
  32631. href: computed(function () {
  32632. return r.value.href
  32633. }),
  32634. isActive: o,
  32635. isExactActive: i,
  32636. navigate: function () {
  32637. var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
  32638. return guardEvent(n)
  32639. ? t[unref(e.replace) ? 'replace' : 'push'](unref(e.to)).catch(noop)
  32640. : Promise.resolve()
  32641. }
  32642. }
  32643. }
  32644. var RouterLinkImpl = defineComponent({
  32645. name: 'RouterLink',
  32646. props: {
  32647. to: { type: [String, Object], required: !0 },
  32648. replace: Boolean,
  32649. activeClass: String,
  32650. exactActiveClass: String,
  32651. custom: Boolean,
  32652. ariaCurrentValue: { type: String, default: 'page' }
  32653. },
  32654. useLink: useLink,
  32655. setup: function (e, t) {
  32656. var n = t.slots,
  32657. r = reactive(useLink(e)),
  32658. a = inject(routerKey).options,
  32659. o = computed(function () {
  32660. var t
  32661. return (
  32662. _defineProperty2(
  32663. (t = {}),
  32664. getLinkClass(e.activeClass, a.linkActiveClass, 'router-link-active'),
  32665. r.isActive
  32666. ),
  32667. _defineProperty2(
  32668. t,
  32669. getLinkClass(
  32670. e.exactActiveClass,
  32671. a.linkExactActiveClass,
  32672. 'router-link-exact-active'
  32673. ),
  32674. r.isExactActive
  32675. ),
  32676. t
  32677. )
  32678. })
  32679. return function () {
  32680. var t = n.default && n.default(r)
  32681. return e.custom
  32682. ? t
  32683. : h$1(
  32684. 'a',
  32685. {
  32686. 'aria-current': r.isExactActive ? e.ariaCurrentValue : null,
  32687. href: r.href,
  32688. onClick: r.navigate,
  32689. class: o.value
  32690. },
  32691. t
  32692. )
  32693. }
  32694. }
  32695. }),
  32696. RouterLink = RouterLinkImpl
  32697. function guardEvent(e) {
  32698. if (
  32699. !(
  32700. e.metaKey ||
  32701. e.altKey ||
  32702. e.ctrlKey ||
  32703. e.shiftKey ||
  32704. e.defaultPrevented ||
  32705. (void 0 !== e.button && 0 !== e.button)
  32706. )
  32707. ) {
  32708. if (e.currentTarget && e.currentTarget.getAttribute) {
  32709. var t = e.currentTarget.getAttribute('target')
  32710. if (/\b_blank\b/i.test(t)) return
  32711. }
  32712. return e.preventDefault && e.preventDefault(), !0
  32713. }
  32714. }
  32715. function includesParams(e, t) {
  32716. var n = function (n) {
  32717. var r = t[n],
  32718. a = e[n]
  32719. if ('string' == typeof r) {
  32720. if (r !== a) return { v: !1 }
  32721. } else if (
  32722. !Array.isArray(a) ||
  32723. a.length !== r.length ||
  32724. r.some(function (e, t) {
  32725. return e !== a[t]
  32726. })
  32727. )
  32728. return { v: !1 }
  32729. }
  32730. for (var r in t) {
  32731. var a = n(r)
  32732. if ('object' === _typeof2(a)) return a.v
  32733. }
  32734. return !0
  32735. }
  32736. function getOriginalPath(e) {
  32737. return e ? (e.aliasOf ? e.aliasOf.path : e.path) : ''
  32738. }
  32739. var getLinkClass = function (e, t, n) {
  32740. return null != e ? e : null != t ? t : n
  32741. },
  32742. RouterViewImpl = defineComponent({
  32743. name: 'RouterView',
  32744. inheritAttrs: !1,
  32745. props: { name: { type: String, default: 'default' }, route: Object },
  32746. setup: function (e, t) {
  32747. var n = t.attrs,
  32748. r = t.slots,
  32749. a = inject(routerViewLocationKey),
  32750. o = computed(function () {
  32751. return e.route || a.value
  32752. }),
  32753. i = inject(viewDepthKey, 0),
  32754. s = computed(function () {
  32755. return o.value.matched[i]
  32756. })
  32757. provide(viewDepthKey, i + 1),
  32758. provide(matchedRouteKey, s),
  32759. provide(routerViewLocationKey, o)
  32760. var l = ref()
  32761. return (
  32762. watch(
  32763. function () {
  32764. return [l.value, s.value, e.name]
  32765. },
  32766. function (e, t) {
  32767. var n = _slicedToArray(e, 3),
  32768. r = n[0],
  32769. a = n[1],
  32770. o = n[2],
  32771. i = _slicedToArray(t, 3),
  32772. s = i[0],
  32773. l = i[1]
  32774. i[2]
  32775. a &&
  32776. ((a.instances[o] = r),
  32777. l &&
  32778. l !== a &&
  32779. r &&
  32780. r === s &&
  32781. (a.leaveGuards.size || (a.leaveGuards = l.leaveGuards),
  32782. a.updateGuards.size || (a.updateGuards = l.updateGuards))),
  32783. !r ||
  32784. !a ||
  32785. (l && isSameRouteRecord(a, l) && s) ||
  32786. (a.enterCallbacks[o] || []).forEach(function (e) {
  32787. return e(r)
  32788. })
  32789. },
  32790. { flush: 'post' }
  32791. ),
  32792. function () {
  32793. var t = o.value,
  32794. a = s.value,
  32795. i = a && a.components[e.name],
  32796. c = e.name
  32797. if (!i) return normalizeSlot(r.default, { Component: i, route: t })
  32798. var u = a.props[e.name],
  32799. p = u ? (!0 === u ? t.params : 'function' == typeof u ? u(t) : u) : null,
  32800. d = h$1(
  32801. i,
  32802. assign$1({}, p, n, {
  32803. onVnodeUnmounted: function (e) {
  32804. e.component.isUnmounted && (a.instances[c] = null)
  32805. },
  32806. ref: l
  32807. })
  32808. )
  32809. return normalizeSlot(r.default, { Component: d, route: t }) || d
  32810. }
  32811. )
  32812. }
  32813. })
  32814. function normalizeSlot(e, t) {
  32815. if (!e) return null
  32816. var n = e(t)
  32817. return 1 === n.length ? n[0] : n
  32818. }
  32819. var RouterView = RouterViewImpl
  32820. function createRouter(e) {
  32821. var t = createRouterMatcher(e.routes, e),
  32822. n = e.parseQuery || parseQuery,
  32823. r = e.stringifyQuery || stringifyQuery,
  32824. a = e.history,
  32825. o = useCallbacks(),
  32826. i = useCallbacks(),
  32827. s = useCallbacks(),
  32828. l = shallowRef(START_LOCATION_NORMALIZED),
  32829. c = START_LOCATION_NORMALIZED
  32830. isBrowser &&
  32831. e.scrollBehavior &&
  32832. 'scrollRestoration' in history &&
  32833. (history.scrollRestoration = 'manual')
  32834. var u,
  32835. p = applyToParams.bind(null, function (e) {
  32836. return '' + e
  32837. }),
  32838. d = applyToParams.bind(null, encodeParam),
  32839. f = applyToParams.bind(null, decode$2)
  32840. function h(e, o) {
  32841. if (((o = assign$1({}, o || l.value)), 'string' == typeof e)) {
  32842. var i = parseURL(n, e, o.path),
  32843. s = t.resolve({ path: i.path }, o),
  32844. c = a.createHref(i.fullPath)
  32845. return assign$1(i, s, {
  32846. params: f(s.params),
  32847. hash: decode$2(i.hash),
  32848. redirectedFrom: void 0,
  32849. href: c
  32850. })
  32851. }
  32852. var u
  32853. if ('path' in e) u = assign$1({}, e, { path: parseURL(n, e.path, o.path).path })
  32854. else {
  32855. var h = assign$1({}, e.params)
  32856. for (var v in h) null == h[v] && delete h[v]
  32857. ;(u = assign$1({}, e, { params: d(e.params) })), (o.params = d(o.params))
  32858. }
  32859. var m = t.resolve(u, o),
  32860. g = e.hash || ''
  32861. m.params = p(f(m.params))
  32862. var y = stringifyURL(r, assign$1({}, e, { hash: encodeHash(g), path: m.path })),
  32863. b = a.createHref(y)
  32864. return assign$1(
  32865. {
  32866. fullPath: y,
  32867. hash: g,
  32868. query: r === stringifyQuery ? normalizeQuery(e.query) : e.query || {}
  32869. },
  32870. m,
  32871. { redirectedFrom: void 0, href: b }
  32872. )
  32873. }
  32874. function v(e) {
  32875. return 'string' == typeof e ? parseURL(n, e, l.value.path) : assign$1({}, e)
  32876. }
  32877. function m(e, t) {
  32878. if (c !== e) return createRouterError(8, { from: t, to: e })
  32879. }
  32880. function g(e) {
  32881. return b(e)
  32882. }
  32883. function y(e) {
  32884. var t = e.matched[e.matched.length - 1]
  32885. if (t && t.redirect) {
  32886. var n = t.redirect,
  32887. r = 'function' == typeof n ? n(e) : n
  32888. return (
  32889. 'string' == typeof r &&
  32890. ((r = r.includes('?') || r.includes('#') ? (r = v(r)) : { path: r }).params =
  32891. {}),
  32892. assign$1({ query: e.query, hash: e.hash, params: e.params }, r)
  32893. )
  32894. }
  32895. }
  32896. function b(e, t) {
  32897. var n = (c = h(e)),
  32898. a = l.value,
  32899. o = e.state,
  32900. i = e.force,
  32901. s = !0 === e.replace,
  32902. u = y(n)
  32903. if (u) return b(assign$1(v(u), { state: o, force: i, replace: s }), t || n)
  32904. var p,
  32905. d = n
  32906. return (
  32907. (d.redirectedFrom = t),
  32908. !i &&
  32909. isSameRouteLocation(r, a, n) &&
  32910. ((p = createRouterError(16, { to: d, from: a })), T(a, a, !0, !1)),
  32911. (p ? Promise.resolve(p) : A(d, a))
  32912. .catch(function (e) {
  32913. return isNavigationFailure(e) ? e : P(e, d, a)
  32914. })
  32915. .then(function (e) {
  32916. if (e) {
  32917. if (isNavigationFailure(e, 2))
  32918. return b(assign$1(v(e.to), { state: o, force: i, replace: s }), t || d)
  32919. } else e = w(d, a, !0, s, o)
  32920. return x(d, a, e), e
  32921. })
  32922. )
  32923. }
  32924. function _(e, t) {
  32925. var n = m(e, t)
  32926. return n ? Promise.reject(n) : Promise.resolve()
  32927. }
  32928. function A(e, t) {
  32929. var n,
  32930. r = _slicedToArray(extractChangingRecords(e, t), 3),
  32931. a = r[0],
  32932. s = r[1],
  32933. l = r[2]
  32934. n = extractComponentsGuards(a.reverse(), 'beforeRouteLeave', e, t)
  32935. var c,
  32936. u = _createForOfIteratorHelper(a)
  32937. try {
  32938. for (u.s(); !(c = u.n()).done; ) {
  32939. c.value.leaveGuards.forEach(function (r) {
  32940. n.push(guardToPromiseFn(r, e, t))
  32941. })
  32942. }
  32943. } catch (d) {
  32944. u.e(d)
  32945. } finally {
  32946. u.f()
  32947. }
  32948. var p = _.bind(null, e, t)
  32949. return (
  32950. n.push(p),
  32951. runGuardQueue(n)
  32952. .then(function () {
  32953. n = []
  32954. var r,
  32955. a = _createForOfIteratorHelper(o.list())
  32956. try {
  32957. for (a.s(); !(r = a.n()).done; ) {
  32958. var i = r.value
  32959. n.push(guardToPromiseFn(i, e, t))
  32960. }
  32961. } catch (d) {
  32962. a.e(d)
  32963. } finally {
  32964. a.f()
  32965. }
  32966. return n.push(p), runGuardQueue(n)
  32967. })
  32968. .then(function () {
  32969. n = extractComponentsGuards(s, 'beforeRouteUpdate', e, t)
  32970. var r,
  32971. a = _createForOfIteratorHelper(s)
  32972. try {
  32973. for (a.s(); !(r = a.n()).done; ) {
  32974. r.value.updateGuards.forEach(function (r) {
  32975. n.push(guardToPromiseFn(r, e, t))
  32976. })
  32977. }
  32978. } catch (d) {
  32979. a.e(d)
  32980. } finally {
  32981. a.f()
  32982. }
  32983. return n.push(p), runGuardQueue(n)
  32984. })
  32985. .then(function () {
  32986. n = []
  32987. var r,
  32988. a = _createForOfIteratorHelper(e.matched)
  32989. try {
  32990. for (a.s(); !(r = a.n()).done; ) {
  32991. var o = r.value
  32992. if (o.beforeEnter && !t.matched.includes(o))
  32993. if (Array.isArray(o.beforeEnter)) {
  32994. var i,
  32995. s = _createForOfIteratorHelper(o.beforeEnter)
  32996. try {
  32997. for (s.s(); !(i = s.n()).done; ) {
  32998. var l = i.value
  32999. n.push(guardToPromiseFn(l, e, t))
  33000. }
  33001. } catch (d) {
  33002. s.e(d)
  33003. } finally {
  33004. s.f()
  33005. }
  33006. } else n.push(guardToPromiseFn(o.beforeEnter, e, t))
  33007. }
  33008. } catch (d) {
  33009. a.e(d)
  33010. } finally {
  33011. a.f()
  33012. }
  33013. return n.push(p), runGuardQueue(n)
  33014. })
  33015. .then(function () {
  33016. return (
  33017. e.matched.forEach(function (e) {
  33018. return (e.enterCallbacks = {})
  33019. }),
  33020. (n = extractComponentsGuards(l, 'beforeRouteEnter', e, t)).push(p),
  33021. runGuardQueue(n)
  33022. )
  33023. })
  33024. .then(function () {
  33025. n = []
  33026. var r,
  33027. a = _createForOfIteratorHelper(i.list())
  33028. try {
  33029. for (a.s(); !(r = a.n()).done; ) {
  33030. var o = r.value
  33031. n.push(guardToPromiseFn(o, e, t))
  33032. }
  33033. } catch (d) {
  33034. a.e(d)
  33035. } finally {
  33036. a.f()
  33037. }
  33038. return n.push(p), runGuardQueue(n)
  33039. })
  33040. .catch(function (e) {
  33041. return isNavigationFailure(e, 8) ? e : Promise.reject(e)
  33042. })
  33043. )
  33044. }
  33045. function x(e, t, n) {
  33046. var r,
  33047. a = _createForOfIteratorHelper(s.list())
  33048. try {
  33049. for (a.s(); !(r = a.n()).done; ) {
  33050. ;(0, r.value)(e, t, n)
  33051. }
  33052. } catch (o) {
  33053. a.e(o)
  33054. } finally {
  33055. a.f()
  33056. }
  33057. }
  33058. function w(e, t, n, r, o) {
  33059. var i = m(e, t)
  33060. if (i) return i
  33061. var s = t === START_LOCATION_NORMALIZED,
  33062. c = isBrowser ? history.state : {}
  33063. n &&
  33064. (r || s
  33065. ? a.replace(e.fullPath, assign$1({ scroll: s && c && c.scroll }, o))
  33066. : a.push(e.fullPath, o)),
  33067. (l.value = e),
  33068. T(e, t, n, s),
  33069. C()
  33070. }
  33071. var k,
  33072. S = useCallbacks(),
  33073. E = useCallbacks()
  33074. function P(e, t, n) {
  33075. C(e)
  33076. var r = E.list()
  33077. return (
  33078. r.length
  33079. ? r.forEach(function (r) {
  33080. return r(e, t, n)
  33081. })
  33082. : console.error(e),
  33083. Promise.reject(e)
  33084. )
  33085. }
  33086. function C(e) {
  33087. k ||
  33088. ((k = !0),
  33089. (u = a.listen(function (e, t, n) {
  33090. var r = h(e),
  33091. o = y(r)
  33092. if (o) b(assign$1(o, { replace: !0 }), r).catch(noop)
  33093. else {
  33094. c = r
  33095. var i = l.value
  33096. isBrowser &&
  33097. saveScrollPosition(
  33098. getScrollKey(i.fullPath, n.delta),
  33099. computeScrollPosition()
  33100. ),
  33101. A(r, i)
  33102. .catch(function (e) {
  33103. return isNavigationFailure(e, 12)
  33104. ? e
  33105. : isNavigationFailure(e, 2)
  33106. ? (b(e.to, r)
  33107. .then(function (e) {
  33108. isNavigationFailure(e, 20) &&
  33109. !n.delta &&
  33110. n.type === NavigationType.pop &&
  33111. a.go(-1, !1)
  33112. })
  33113. .catch(noop),
  33114. Promise.reject())
  33115. : (n.delta && a.go(-n.delta, !1), P(e, r, i))
  33116. })
  33117. .then(function (e) {
  33118. ;(e = e || w(r, i, !1)) &&
  33119. (n.delta
  33120. ? a.go(-n.delta, !1)
  33121. : n.type === NavigationType.pop &&
  33122. isNavigationFailure(e, 20) &&
  33123. a.go(-1, !1)),
  33124. x(r, i, e)
  33125. })
  33126. .catch(noop)
  33127. }
  33128. })),
  33129. S.list().forEach(function (t) {
  33130. var n = _slicedToArray(t, 2),
  33131. r = n[0],
  33132. a = n[1]
  33133. return e ? a(e) : r()
  33134. }),
  33135. S.reset())
  33136. }
  33137. function T(t, n, r, a) {
  33138. var o = e.scrollBehavior
  33139. if (!isBrowser || !o) return Promise.resolve()
  33140. var i =
  33141. (!r && getSavedScrollPosition(getScrollKey(t.fullPath, 0))) ||
  33142. ((a || !r) && history.state && history.state.scroll) ||
  33143. null
  33144. return nextTick()
  33145. .then(function () {
  33146. return o(t, n, i)
  33147. })
  33148. .then(function (e) {
  33149. return e && scrollToPosition(e)
  33150. })
  33151. .catch(function (e) {
  33152. return P(e, t, n)
  33153. })
  33154. }
  33155. var I,
  33156. R = function (e) {
  33157. return a.go(e)
  33158. },
  33159. M = new Set(),
  33160. z = {
  33161. currentRoute: l,
  33162. addRoute: function (e, n) {
  33163. var r, a
  33164. return (
  33165. isRouteName(e) ? ((r = t.getRecordMatcher(e)), (a = n)) : (a = e),
  33166. t.addRoute(a, r)
  33167. )
  33168. },
  33169. removeRoute: function (e) {
  33170. var n = t.getRecordMatcher(e)
  33171. n && t.removeRoute(n)
  33172. },
  33173. hasRoute: function (e) {
  33174. return !!t.getRecordMatcher(e)
  33175. },
  33176. getRoutes: function () {
  33177. return t.getRoutes().map(function (e) {
  33178. return e.record
  33179. })
  33180. },
  33181. resolve: h,
  33182. options: e,
  33183. push: g,
  33184. replace: function (e) {
  33185. return g(assign$1(v(e), { replace: !0 }))
  33186. },
  33187. go: R,
  33188. back: function () {
  33189. return R(-1)
  33190. },
  33191. forward: function () {
  33192. return R(1)
  33193. },
  33194. beforeEach: o.add,
  33195. beforeResolve: i.add,
  33196. afterEach: s.add,
  33197. onError: E.add,
  33198. isReady: function () {
  33199. return k && l.value !== START_LOCATION_NORMALIZED
  33200. ? Promise.resolve()
  33201. : new Promise(function (e, t) {
  33202. S.add([e, t])
  33203. })
  33204. },
  33205. install: function (e) {
  33206. e.component('RouterLink', RouterLink),
  33207. e.component('RouterView', RouterView),
  33208. (e.config.globalProperties.$router = this),
  33209. Object.defineProperty(e.config.globalProperties, '$route', {
  33210. enumerable: !0,
  33211. get: function () {
  33212. return unref(l)
  33213. }
  33214. }),
  33215. isBrowser &&
  33216. !I &&
  33217. l.value === START_LOCATION_NORMALIZED &&
  33218. ((I = !0), g(a.location).catch(function (e) {}))
  33219. var t = {},
  33220. n = function (e) {
  33221. t[e] = computed(function () {
  33222. return l.value[e]
  33223. })
  33224. }
  33225. for (var r in START_LOCATION_NORMALIZED) n(r)
  33226. e.provide(routerKey, this),
  33227. e.provide(routeLocationKey, reactive(t)),
  33228. e.provide(routerViewLocationKey, l)
  33229. var o = e.unmount
  33230. M.add(e),
  33231. (e.unmount = function () {
  33232. M.delete(e),
  33233. M.size < 1 &&
  33234. ((c = START_LOCATION_NORMALIZED),
  33235. u && u(),
  33236. (l.value = START_LOCATION_NORMALIZED),
  33237. (I = !1),
  33238. (k = !1)),
  33239. o()
  33240. })
  33241. }
  33242. }
  33243. return z
  33244. }
  33245. function runGuardQueue(e) {
  33246. return e.reduce(function (e, t) {
  33247. return e.then(function () {
  33248. return t()
  33249. })
  33250. }, Promise.resolve())
  33251. }
  33252. function extractChangingRecords(e, t) {
  33253. for (
  33254. var n = [],
  33255. r = [],
  33256. a = [],
  33257. o = Math.max(t.matched.length, e.matched.length),
  33258. i = function (o) {
  33259. var i = t.matched[o]
  33260. i &&
  33261. (e.matched.find(function (e) {
  33262. return isSameRouteRecord(e, i)
  33263. })
  33264. ? r.push(i)
  33265. : n.push(i))
  33266. var s = e.matched[o]
  33267. s &&
  33268. (t.matched.find(function (e) {
  33269. return isSameRouteRecord(e, s)
  33270. }) ||
  33271. a.push(s))
  33272. },
  33273. s = 0;
  33274. s < o;
  33275. s++
  33276. )
  33277. i(s)
  33278. return [n, r, a]
  33279. }
  33280. function useRouter() {
  33281. return inject(routerKey)
  33282. }
  33283. function useRoute() {
  33284. return inject(routeLocationKey)
  33285. }
  33286. var originalPostMessage = window.postMessage
  33287. window.postMessage = function (e) {
  33288. originalPostMessage(e, '*')
  33289. }
  33290. var loop = function () {},
  33291. calls = {},
  33292. browserInfo$2 = browser()
  33293. browserInfo$2.isApp &&
  33294. window.addEventListener('message', function (e) {
  33295. try {
  33296. var t, n, r
  33297. console.log('app交互接受:', e.data)
  33298. var a = e.data ? ('object' === _typeof2(e.data) ? e.data : JSON.parse(e.data)) : {},
  33299. o = (null === (t = a.content) || void 0 === t ? void 0 : t.uuid) || a.uuid
  33300. console.log(o, a.content, 'uuid')
  33301. try {
  33302. a.content && (a.content = JSON.parse(a.content))
  33303. } catch (error) {}
  33304. if ((null != a && null !== (n = a.content) && void 0 !== n && n.uuid, !o)) {
  33305. var i,
  33306. s = _createForOfIteratorHelper(
  33307. Object.keys(calls).filter(function (e) {
  33308. return 0 === e.indexOf(a.api)
  33309. })
  33310. )
  33311. try {
  33312. for (s.s(); !(i = s.n()).done; ) {
  33313. var l = i.value,
  33314. c = calls[l] || loop
  33315. 'function' == typeof c && c(a)
  33316. }
  33317. } catch (d) {
  33318. s.e(d)
  33319. } finally {
  33320. s.f()
  33321. }
  33322. return
  33323. }
  33324. var u =
  33325. (null === (r = a.content) || void 0 === r ? void 0 : r.uuid) ||
  33326. a.uuid ||
  33327. a.api + a.uuid,
  33328. p = calls[u] || loop
  33329. 'function' == typeof p && p(a)
  33330. } catch (error) {
  33331. console.error('通信消息解析错误', error)
  33332. }
  33333. })
  33334. var instance =
  33335. window.ORCHESTRA ||
  33336. (null === (_window$webkit = window.webkit) ||
  33337. void 0 === _window$webkit ||
  33338. null === (_window$webkit$messag = _window$webkit.messageHandlers) ||
  33339. void 0 === _window$webkit$messag
  33340. ? void 0
  33341. : _window$webkit$messag.ORCHESTRA),
  33342. postMessage = exports('e', function (e, t) {
  33343. if (browserInfo$2.isApp) {
  33344. var n = getRandomKey()
  33345. ;(calls[n] = t || loop),
  33346. (e.content = e.content
  33347. ? _objectSpread(_objectSpread({}, e.content), {}, { uuid: n })
  33348. : { uuid: n }),
  33349. console.log('app交互发送:', e),
  33350. instance.postMessage(JSON.stringify(e))
  33351. }
  33352. }),
  33353. listenerMessage = exports('bF', function (e, t) {
  33354. if (browserInfo$2.isApp) {
  33355. var n = e + getRandomKey()
  33356. calls[n] = t || loop
  33357. }
  33358. }),
  33359. removeListenerMessage = exports('bI', function (e, t) {
  33360. if (browserInfo$2.isApp) {
  33361. var n = e
  33362. if (Array.isArray(calls[n])) {
  33363. var r = calls[n].indexOf(t)
  33364. calls[n].splice(r, 1)
  33365. }
  33366. }
  33367. }),
  33368. promisefiyPostMessage = exports('p', function (e) {
  33369. return new Promise(function (t) {
  33370. postMessage(e, function (e) {
  33371. return t(e)
  33372. })
  33373. })
  33374. }),
  33375. scriptRel = 'modulepreload',
  33376. seen = {},
  33377. base = './',
  33378. __vitePreload = function (e, t) {
  33379. return e()
  33380. },
  33381. error$1 = '_error_1i228_1',
  33382. info$1 = '_info_1i228_9',
  33383. styles$3 = { error: error$1, info: info$1 },
  33384. state = exports(
  33385. 'g',
  33386. reactive({
  33387. user: { status: 'init', data: {} },
  33388. platformType: 'STUDENT',
  33389. clientId: {
  33390. STUDENT: 'jmedu-student',
  33391. TEACHER: 'jmedu-teacher',
  33392. SCHOOL: 'jmedu-school'
  33393. },
  33394. platformApi: '/api-student',
  33395. version: '',
  33396. navBarHeight: 0,
  33397. ossUploadUrl: 'https://ks3-cn-beijing.ksyuncs.com/',
  33398. musicCertStatus: !1,
  33399. openLiveStatus: !1
  33400. })
  33401. ),
  33402. getOssUploadUrl = exports('bA', function (e) {
  33403. return 'https://'.concat(e || 'gyt', '.ks3-cn-beijing.ksyuncs.com/')
  33404. }),
  33405. setLogin = exports('n', function (e) {
  33406. ;(state.user.status = 'login'), (state.user.data = e)
  33407. }),
  33408. setLogout = exports('bn', function () {
  33409. ;(state.user.status = 'logout'), (state.user.data = null)
  33410. }),
  33411. setLoginError = function () {
  33412. ;(state.user.status = 'error'), (state.user.data = null)
  33413. },
  33414. goWechatAuth = exports('bf', function (e, t) {
  33415. goAuth(e, t)
  33416. }),
  33417. goAuth = function (e, t) {
  33418. console.log(t || window.location.href, 'urlString || window.location.href')
  33419. var n = encodeURIComponent(t || window.location.href)
  33420. console.log(n, 'urlNow')
  33421. var r = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='
  33422. .concat(e || 'wx8654c671631cfade', '&redirect_uri=')
  33423. .concat(n, '&response_type=code&scope=')
  33424. .concat('snsapi_base', '&state=STATE&connect_redirect=1#wechat_redirect')
  33425. window.location.replace(r)
  33426. },
  33427. shams = function () {
  33428. if ('function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols)
  33429. return !1
  33430. if ('symbol' === _typeof2(Symbol.iterator)) return !0
  33431. var e = {},
  33432. t = Symbol('test'),
  33433. n = Object(t)
  33434. if ('string' == typeof t) return !1
  33435. if ('[object Symbol]' !== Object.prototype.toString.call(t)) return !1
  33436. if ('[object Symbol]' !== Object.prototype.toString.call(n)) return !1
  33437. for (t in ((e[t] = 42), e)) return !1
  33438. if ('function' == typeof Object.keys && 0 !== Object.keys(e).length) return !1
  33439. if (
  33440. 'function' == typeof Object.getOwnPropertyNames &&
  33441. 0 !== Object.getOwnPropertyNames(e).length
  33442. )
  33443. return !1
  33444. var r = Object.getOwnPropertySymbols(e)
  33445. if (1 !== r.length || r[0] !== t) return !1
  33446. if (!Object.prototype.propertyIsEnumerable.call(e, t)) return !1
  33447. if ('function' == typeof Object.getOwnPropertyDescriptor) {
  33448. var a = Object.getOwnPropertyDescriptor(e, t)
  33449. if (42 !== a.value || !0 !== a.enumerable) return !1
  33450. }
  33451. return !0
  33452. },
  33453. origSymbol = 'undefined' != typeof Symbol && Symbol,
  33454. hasSymbolSham = shams,
  33455. hasSymbols$1 = function () {
  33456. return (
  33457. 'function' == typeof origSymbol &&
  33458. 'function' == typeof Symbol &&
  33459. 'symbol' === _typeof2(origSymbol('foo')) &&
  33460. 'symbol' === _typeof2(Symbol('bar')) &&
  33461. hasSymbolSham()
  33462. )
  33463. },
  33464. ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ',
  33465. slice = Array.prototype.slice,
  33466. toStr$1 = Object.prototype.toString,
  33467. funcType = '[object Function]',
  33468. implementation$1 = function (e) {
  33469. var t = this
  33470. if ('function' != typeof t || toStr$1.call(t) !== funcType)
  33471. throw new TypeError(ERROR_MESSAGE + t)
  33472. for (
  33473. var n,
  33474. r = slice.call(arguments, 1),
  33475. a = function () {
  33476. if (this instanceof n) {
  33477. var a = t.apply(this, r.concat(slice.call(arguments)))
  33478. return Object(a) === a ? a : this
  33479. }
  33480. return t.apply(e, r.concat(slice.call(arguments)))
  33481. },
  33482. o = Math.max(0, t.length - r.length),
  33483. i = [],
  33484. s = 0;
  33485. s < o;
  33486. s++
  33487. )
  33488. i.push('$' + s)
  33489. if (
  33490. ((n = Function(
  33491. 'binder',
  33492. 'return function (' + i.join(',') + '){ return binder.apply(this,arguments); }'
  33493. )(a)),
  33494. t.prototype)
  33495. ) {
  33496. var l = function () {}
  33497. ;(l.prototype = t.prototype), (n.prototype = new l()), (l.prototype = null)
  33498. }
  33499. return n
  33500. },
  33501. implementation = implementation$1,
  33502. functionBind = Function.prototype.bind || implementation,
  33503. bind$1 = functionBind,
  33504. src$1 = bind$1.call(Function.call, Object.prototype.hasOwnProperty),
  33505. undefined$1,
  33506. $SyntaxError = SyntaxError,
  33507. $Function = Function,
  33508. $TypeError$1 = TypeError,
  33509. getEvalledConstructor = function (e) {
  33510. try {
  33511. return $Function('"use strict"; return (' + e + ').constructor;')()
  33512. } catch (t) {}
  33513. },
  33514. $gOPD = Object.getOwnPropertyDescriptor
  33515. if ($gOPD)
  33516. try {
  33517. $gOPD({}, '')
  33518. } catch (e) {
  33519. $gOPD = null
  33520. }
  33521. var throwTypeError = function () {
  33522. throw new $TypeError$1()
  33523. },
  33524. ThrowTypeError = $gOPD
  33525. ? (function () {
  33526. try {
  33527. return throwTypeError
  33528. } catch (e) {
  33529. try {
  33530. return $gOPD(arguments, 'callee').get
  33531. } catch (t) {
  33532. return throwTypeError
  33533. }
  33534. }
  33535. })()
  33536. : throwTypeError,
  33537. hasSymbols = hasSymbols$1(),
  33538. getProto =
  33539. Object.getPrototypeOf ||
  33540. function (e) {
  33541. return e.__proto__
  33542. },
  33543. needsEval = {},
  33544. TypedArray = 'undefined' == typeof Uint8Array ? undefined$1 : getProto(Uint8Array),
  33545. INTRINSICS = {
  33546. '%AggregateError%':
  33547. 'undefined' == typeof AggregateError ? undefined$1 : AggregateError,
  33548. '%Array%': Array,
  33549. '%ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? undefined$1 : ArrayBuffer,
  33550. '%ArrayIteratorPrototype%': hasSymbols
  33551. ? getProto([][Symbol.iterator]())
  33552. : undefined$1,
  33553. '%AsyncFromSyncIteratorPrototype%': undefined$1,
  33554. '%AsyncFunction%': needsEval,
  33555. '%AsyncGenerator%': needsEval,
  33556. '%AsyncGeneratorFunction%': needsEval,
  33557. '%AsyncIteratorPrototype%': needsEval,
  33558. '%Atomics%': 'undefined' == typeof Atomics ? undefined$1 : Atomics,
  33559. '%BigInt%': 'undefined' == typeof BigInt ? undefined$1 : BigInt,
  33560. '%Boolean%': Boolean,
  33561. '%DataView%': 'undefined' == typeof DataView ? undefined$1 : DataView,
  33562. '%Date%': Date,
  33563. '%decodeURI%': decodeURI,
  33564. '%decodeURIComponent%': decodeURIComponent,
  33565. '%encodeURI%': encodeURI,
  33566. '%encodeURIComponent%': encodeURIComponent,
  33567. '%Error%': Error,
  33568. '%eval%': eval,
  33569. '%EvalError%': EvalError,
  33570. '%Float32Array%': 'undefined' == typeof Float32Array ? undefined$1 : Float32Array,
  33571. '%Float64Array%': 'undefined' == typeof Float64Array ? undefined$1 : Float64Array,
  33572. '%FinalizationRegistry%':
  33573. 'undefined' == typeof FinalizationRegistry ? undefined$1 : FinalizationRegistry,
  33574. '%Function%': $Function,
  33575. '%GeneratorFunction%': needsEval,
  33576. '%Int8Array%': 'undefined' == typeof Int8Array ? undefined$1 : Int8Array,
  33577. '%Int16Array%': 'undefined' == typeof Int16Array ? undefined$1 : Int16Array,
  33578. '%Int32Array%': 'undefined' == typeof Int32Array ? undefined$1 : Int32Array,
  33579. '%isFinite%': isFinite,
  33580. '%isNaN%': isNaN,
  33581. '%IteratorPrototype%': hasSymbols
  33582. ? getProto(getProto([][Symbol.iterator]()))
  33583. : undefined$1,
  33584. '%JSON%':
  33585. 'object' === ('undefined' == typeof JSON ? 'undefined' : _typeof2(JSON))
  33586. ? JSON
  33587. : undefined$1,
  33588. '%Map%': 'undefined' == typeof Map ? undefined$1 : Map,
  33589. '%MapIteratorPrototype%':
  33590. 'undefined' != typeof Map && hasSymbols
  33591. ? getProto(new Map()[Symbol.iterator]())
  33592. : undefined$1,
  33593. '%Math%': Math,
  33594. '%Number%': Number,
  33595. '%Object%': Object,
  33596. '%parseFloat%': parseFloat,
  33597. '%parseInt%': parseInt,
  33598. '%Promise%': 'undefined' == typeof Promise ? undefined$1 : Promise,
  33599. '%Proxy%': 'undefined' == typeof Proxy ? undefined$1 : Proxy,
  33600. '%RangeError%': RangeError,
  33601. '%ReferenceError%': ReferenceError,
  33602. '%Reflect%': 'undefined' == typeof Reflect ? undefined$1 : Reflect,
  33603. '%RegExp%': RegExp,
  33604. '%Set%': 'undefined' == typeof Set ? undefined$1 : Set,
  33605. '%SetIteratorPrototype%':
  33606. 'undefined' != typeof Set && hasSymbols
  33607. ? getProto(new Set()[Symbol.iterator]())
  33608. : undefined$1,
  33609. '%SharedArrayBuffer%':
  33610. 'undefined' == typeof SharedArrayBuffer ? undefined$1 : SharedArrayBuffer,
  33611. '%String%': String,
  33612. '%StringIteratorPrototype%': hasSymbols
  33613. ? getProto(''[Symbol.iterator]())
  33614. : undefined$1,
  33615. '%Symbol%': hasSymbols ? Symbol : undefined$1,
  33616. '%SyntaxError%': $SyntaxError,
  33617. '%ThrowTypeError%': ThrowTypeError,
  33618. '%TypedArray%': TypedArray,
  33619. '%TypeError%': $TypeError$1,
  33620. '%Uint8Array%': 'undefined' == typeof Uint8Array ? undefined$1 : Uint8Array,
  33621. '%Uint8ClampedArray%':
  33622. 'undefined' == typeof Uint8ClampedArray ? undefined$1 : Uint8ClampedArray,
  33623. '%Uint16Array%': 'undefined' == typeof Uint16Array ? undefined$1 : Uint16Array,
  33624. '%Uint32Array%': 'undefined' == typeof Uint32Array ? undefined$1 : Uint32Array,
  33625. '%URIError%': URIError,
  33626. '%WeakMap%': 'undefined' == typeof WeakMap ? undefined$1 : WeakMap,
  33627. '%WeakRef%': 'undefined' == typeof WeakRef ? undefined$1 : WeakRef,
  33628. '%WeakSet%': 'undefined' == typeof WeakSet ? undefined$1 : WeakSet
  33629. },
  33630. doEval = function e(t) {
  33631. var n
  33632. if ('%AsyncFunction%' === t) n = getEvalledConstructor('async function () {}')
  33633. else if ('%GeneratorFunction%' === t) n = getEvalledConstructor('function* () {}')
  33634. else if ('%AsyncGeneratorFunction%' === t)
  33635. n = getEvalledConstructor('async function* () {}')
  33636. else if ('%AsyncGenerator%' === t) {
  33637. var r = e('%AsyncGeneratorFunction%')
  33638. r && (n = r.prototype)
  33639. } else if ('%AsyncIteratorPrototype%' === t) {
  33640. var a = e('%AsyncGenerator%')
  33641. a && (n = getProto(a.prototype))
  33642. }
  33643. return (INTRINSICS[t] = n), n
  33644. },
  33645. LEGACY_ALIASES = {
  33646. '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
  33647. '%ArrayPrototype%': ['Array', 'prototype'],
  33648. '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
  33649. '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
  33650. '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
  33651. '%ArrayProto_values%': ['Array', 'prototype', 'values'],
  33652. '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
  33653. '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
  33654. '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
  33655. '%BooleanPrototype%': ['Boolean', 'prototype'],
  33656. '%DataViewPrototype%': ['DataView', 'prototype'],
  33657. '%DatePrototype%': ['Date', 'prototype'],
  33658. '%ErrorPrototype%': ['Error', 'prototype'],
  33659. '%EvalErrorPrototype%': ['EvalError', 'prototype'],
  33660. '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
  33661. '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
  33662. '%FunctionPrototype%': ['Function', 'prototype'],
  33663. '%Generator%': ['GeneratorFunction', 'prototype'],
  33664. '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
  33665. '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
  33666. '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
  33667. '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
  33668. '%JSONParse%': ['JSON', 'parse'],
  33669. '%JSONStringify%': ['JSON', 'stringify'],
  33670. '%MapPrototype%': ['Map', 'prototype'],
  33671. '%NumberPrototype%': ['Number', 'prototype'],
  33672. '%ObjectPrototype%': ['Object', 'prototype'],
  33673. '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
  33674. '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
  33675. '%PromisePrototype%': ['Promise', 'prototype'],
  33676. '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
  33677. '%Promise_all%': ['Promise', 'all'],
  33678. '%Promise_reject%': ['Promise', 'reject'],
  33679. '%Promise_resolve%': ['Promise', 'resolve'],
  33680. '%RangeErrorPrototype%': ['RangeError', 'prototype'],
  33681. '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
  33682. '%RegExpPrototype%': ['RegExp', 'prototype'],
  33683. '%SetPrototype%': ['Set', 'prototype'],
  33684. '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
  33685. '%StringPrototype%': ['String', 'prototype'],
  33686. '%SymbolPrototype%': ['Symbol', 'prototype'],
  33687. '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
  33688. '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
  33689. '%TypeErrorPrototype%': ['TypeError', 'prototype'],
  33690. '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
  33691. '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
  33692. '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
  33693. '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
  33694. '%URIErrorPrototype%': ['URIError', 'prototype'],
  33695. '%WeakMapPrototype%': ['WeakMap', 'prototype'],
  33696. '%WeakSetPrototype%': ['WeakSet', 'prototype']
  33697. },
  33698. bind = functionBind,
  33699. hasOwn$1 = src$1,
  33700. $concat = bind.call(Function.call, Array.prototype.concat),
  33701. $spliceApply = bind.call(Function.apply, Array.prototype.splice),
  33702. $replace = bind.call(Function.call, String.prototype.replace),
  33703. $strSlice = bind.call(Function.call, String.prototype.slice),
  33704. rePropName =
  33705. /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
  33706. reEscapeChar = /\\(\\)?/g,
  33707. stringToPath = function (e) {
  33708. var t = $strSlice(e, 0, 1),
  33709. n = $strSlice(e, -1)
  33710. if ('%' === t && '%' !== n)
  33711. throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`')
  33712. if ('%' === n && '%' !== t)
  33713. throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`')
  33714. var r = []
  33715. return (
  33716. $replace(e, rePropName, function (e, t, n, a) {
  33717. r[r.length] = n ? $replace(a, reEscapeChar, '$1') : t || e
  33718. }),
  33719. r
  33720. )
  33721. },
  33722. getBaseIntrinsic = function (e, t) {
  33723. var n,
  33724. r = e
  33725. if (
  33726. (hasOwn$1(LEGACY_ALIASES, r) && (r = '%' + (n = LEGACY_ALIASES[r])[0] + '%'),
  33727. hasOwn$1(INTRINSICS, r))
  33728. ) {
  33729. var a = INTRINSICS[r]
  33730. if ((a === needsEval && (a = doEval(r)), void 0 === a && !t))
  33731. throw new $TypeError$1(
  33732. 'intrinsic ' + e + ' exists, but is not available. Please file an issue!'
  33733. )
  33734. return { alias: n, name: r, value: a }
  33735. }
  33736. throw new $SyntaxError('intrinsic ' + e + ' does not exist!')
  33737. },
  33738. getIntrinsic = function (e, t) {
  33739. if ('string' != typeof e || 0 === e.length)
  33740. throw new $TypeError$1('intrinsic name must be a non-empty string')
  33741. if (arguments.length > 1 && 'boolean' != typeof t)
  33742. throw new $TypeError$1('"allowMissing" argument must be a boolean')
  33743. var n = stringToPath(e),
  33744. r = n.length > 0 ? n[0] : '',
  33745. a = getBaseIntrinsic('%' + r + '%', t),
  33746. o = a.name,
  33747. i = a.value,
  33748. s = !1,
  33749. l = a.alias
  33750. l && ((r = l[0]), $spliceApply(n, $concat([0, 1], l)))
  33751. for (var c = 1, u = !0; c < n.length; c += 1) {
  33752. var p = n[c],
  33753. d = $strSlice(p, 0, 1),
  33754. f = $strSlice(p, -1)
  33755. if (
  33756. ('"' === d || "'" === d || '`' === d || '"' === f || "'" === f || '`' === f) &&
  33757. d !== f
  33758. )
  33759. throw new $SyntaxError('property names with quotes must have matching quotes')
  33760. if (
  33761. (('constructor' !== p && u) || (s = !0),
  33762. hasOwn$1(INTRINSICS, (o = '%' + (r += '.' + p) + '%')))
  33763. )
  33764. i = INTRINSICS[o]
  33765. else if (null != i) {
  33766. if (!(p in i)) {
  33767. if (!t)
  33768. throw new $TypeError$1(
  33769. 'base intrinsic for ' + e + ' exists, but the property is not available.'
  33770. )
  33771. return
  33772. }
  33773. if ($gOPD && c + 1 >= n.length) {
  33774. var h = $gOPD(i, p)
  33775. i = (u = !!h) && 'get' in h && !('originalValue' in h.get) ? h.get : i[p]
  33776. } else (u = hasOwn$1(i, p)), (i = i[p])
  33777. u && !s && (INTRINSICS[o] = i)
  33778. }
  33779. }
  33780. return i
  33781. },
  33782. callBind$1 = { exports: {} }
  33783. !(function (t) {
  33784. var n = functionBind,
  33785. r = getIntrinsic,
  33786. a = r('%Function.prototype.apply%'),
  33787. o = r('%Function.prototype.call%'),
  33788. i = r('%Reflect.apply%', !0) || n.call(o, a),
  33789. s = r('%Object.getOwnPropertyDescriptor%', !0),
  33790. l = r('%Object.defineProperty%', !0),
  33791. c = r('%Math.max%')
  33792. if (l)
  33793. try {
  33794. l({}, 'a', { value: 1 })
  33795. } catch (e) {
  33796. l = null
  33797. }
  33798. t.exports = function (e) {
  33799. var t = i(n, o, arguments)
  33800. if (s && l) {
  33801. var r = s(t, 'length')
  33802. r.configurable &&
  33803. l(t, 'length', { value: 1 + c(0, e.length - (arguments.length - 1)) })
  33804. }
  33805. return t
  33806. }
  33807. var u = function () {
  33808. return i(n, a, arguments)
  33809. }
  33810. l ? l(t.exports, 'apply', { value: u }) : (t.exports.apply = u)
  33811. })(callBind$1)
  33812. var GetIntrinsic$1 = getIntrinsic,
  33813. callBind = callBind$1.exports,
  33814. $indexOf = callBind(GetIntrinsic$1('String.prototype.indexOf')),
  33815. callBound$1 = function (e, t) {
  33816. var n = GetIntrinsic$1(e, !!t)
  33817. return 'function' == typeof n && $indexOf(e, '.prototype.') > -1 ? callBind(n) : n
  33818. },
  33819. __viteBrowserExternal = {},
  33820. __viteBrowserExternal$1 = Object.freeze(
  33821. Object.defineProperty(
  33822. { __proto__: null, default: __viteBrowserExternal },
  33823. Symbol.toStringTag,
  33824. { value: 'Module' }
  33825. )
  33826. ),
  33827. require$$0 = getAugmentedNamespace(__viteBrowserExternal$1),
  33828. hasMap = 'function' == typeof Map && Map.prototype,
  33829. mapSizeDescriptor =
  33830. Object.getOwnPropertyDescriptor && hasMap
  33831. ? Object.getOwnPropertyDescriptor(Map.prototype, 'size')
  33832. : null,
  33833. mapSize =
  33834. hasMap && mapSizeDescriptor && 'function' == typeof mapSizeDescriptor.get
  33835. ? mapSizeDescriptor.get
  33836. : null,
  33837. mapForEach = hasMap && Map.prototype.forEach,
  33838. hasSet = 'function' == typeof Set && Set.prototype,
  33839. setSizeDescriptor =
  33840. Object.getOwnPropertyDescriptor && hasSet
  33841. ? Object.getOwnPropertyDescriptor(Set.prototype, 'size')
  33842. : null,
  33843. setSize =
  33844. hasSet && setSizeDescriptor && 'function' == typeof setSizeDescriptor.get
  33845. ? setSizeDescriptor.get
  33846. : null,
  33847. setForEach = hasSet && Set.prototype.forEach,
  33848. hasWeakMap = 'function' == typeof WeakMap && WeakMap.prototype,
  33849. weakMapHas = hasWeakMap ? WeakMap.prototype.has : null,
  33850. hasWeakSet = 'function' == typeof WeakSet && WeakSet.prototype,
  33851. weakSetHas = hasWeakSet ? WeakSet.prototype.has : null,
  33852. hasWeakRef = 'function' == typeof WeakRef && WeakRef.prototype,
  33853. weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null,
  33854. booleanValueOf = Boolean.prototype.valueOf,
  33855. objectToString$1 = Object.prototype.toString,
  33856. functionToString = Function.prototype.toString,
  33857. match = String.prototype.match,
  33858. bigIntValueOf = 'function' == typeof BigInt ? BigInt.prototype.valueOf : null,
  33859. gOPS = Object.getOwnPropertySymbols,
  33860. symToString =
  33861. 'function' == typeof Symbol && 'symbol' === _typeof2(Symbol.iterator)
  33862. ? Symbol.prototype.toString
  33863. : null,
  33864. hasShammedSymbols =
  33865. 'function' == typeof Symbol && 'object' === _typeof2(Symbol.iterator),
  33866. isEnumerable = Object.prototype.propertyIsEnumerable,
  33867. gPO =
  33868. ('function' == typeof Reflect ? Reflect.getPrototypeOf : Object.getPrototypeOf) ||
  33869. ([].__proto__ === Array.prototype
  33870. ? function (e) {
  33871. return e.__proto__
  33872. }
  33873. : null),
  33874. inspectCustom = require$$0.custom,
  33875. inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null,
  33876. toStringTag =
  33877. 'function' == typeof Symbol && void 0 !== Symbol.toStringTag
  33878. ? Symbol.toStringTag
  33879. : null,
  33880. objectInspect = function e(t, n, r, a) {
  33881. var o = n || {}
  33882. if (has$3(o, 'quoteStyle') && 'single' !== o.quoteStyle && 'double' !== o.quoteStyle)
  33883. throw new TypeError('option "quoteStyle" must be "single" or "double"')
  33884. if (
  33885. has$3(o, 'maxStringLength') &&
  33886. ('number' == typeof o.maxStringLength
  33887. ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0
  33888. : null !== o.maxStringLength)
  33889. )
  33890. throw new TypeError(
  33891. 'option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'
  33892. )
  33893. var i = !has$3(o, 'customInspect') || o.customInspect
  33894. if ('boolean' != typeof i && 'symbol' !== i)
  33895. throw new TypeError(
  33896. 'option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'
  33897. )
  33898. if (
  33899. has$3(o, 'indent') &&
  33900. null !== o.indent &&
  33901. '\t' !== o.indent &&
  33902. !(parseInt(o.indent, 10) === o.indent && o.indent > 0)
  33903. )
  33904. throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`')
  33905. if (void 0 === t) return 'undefined'
  33906. if (null === t) return 'null'
  33907. if ('boolean' == typeof t) return t ? 'true' : 'false'
  33908. if ('string' == typeof t) return inspectString(t, o)
  33909. if ('number' == typeof t) return 0 === t ? (1 / 0 / t > 0 ? '0' : '-0') : String(t)
  33910. if ('bigint' == typeof t) return String(t) + 'n'
  33911. var s = void 0 === o.depth ? 5 : o.depth
  33912. if ((void 0 === r && (r = 0), r >= s && s > 0 && 'object' === _typeof2(t)))
  33913. return isArray$4(t) ? '[Array]' : '[Object]'
  33914. var l = getIndent(o, r)
  33915. if (void 0 === a) a = []
  33916. else if (indexOf(a, t) >= 0) return '[Circular]'
  33917. function c(t, n, i) {
  33918. if ((n && (a = a.slice()).push(n), i)) {
  33919. var s = { depth: o.depth }
  33920. return has$3(o, 'quoteStyle') && (s.quoteStyle = o.quoteStyle), e(t, s, r + 1, a)
  33921. }
  33922. return e(t, o, r + 1, a)
  33923. }
  33924. if ('function' == typeof t) {
  33925. var u = nameOf(t),
  33926. p = arrObjKeys(t, c)
  33927. return (
  33928. '[Function' +
  33929. (u ? ': ' + u : ' (anonymous)') +
  33930. ']' +
  33931. (p.length > 0 ? ' { ' + p.join(', ') + ' }' : '')
  33932. )
  33933. }
  33934. if (isSymbol(t)) {
  33935. var d = hasShammedSymbols
  33936. ? String(t).replace(/^(Symbol\(.*\))_[^)]*$/, '$1')
  33937. : symToString.call(t)
  33938. return 'object' !== _typeof2(t) || hasShammedSymbols ? d : markBoxed(d)
  33939. }
  33940. if (isElement(t)) {
  33941. for (
  33942. var f = '<' + String(t.nodeName).toLowerCase(), h = t.attributes || [], v = 0;
  33943. v < h.length;
  33944. v++
  33945. )
  33946. f += ' ' + h[v].name + '=' + wrapQuotes(quote(h[v].value), 'double', o)
  33947. return (
  33948. (f += '>'),
  33949. t.childNodes && t.childNodes.length && (f += '...'),
  33950. (f += '</' + String(t.nodeName).toLowerCase() + '>')
  33951. )
  33952. }
  33953. if (isArray$4(t)) {
  33954. if (0 === t.length) return '[]'
  33955. var m = arrObjKeys(t, c)
  33956. return l && !singleLineValues(m)
  33957. ? '[' + indentedJoin(m, l) + ']'
  33958. : '[ ' + m.join(', ') + ' ]'
  33959. }
  33960. if (isError(t)) {
  33961. var g = arrObjKeys(t, c)
  33962. return 0 === g.length
  33963. ? '[' + String(t) + ']'
  33964. : '{ [' + String(t) + '] ' + g.join(', ') + ' }'
  33965. }
  33966. if ('object' === _typeof2(t) && i) {
  33967. if (inspectSymbol && 'function' == typeof t[inspectSymbol])
  33968. return t[inspectSymbol]()
  33969. if ('symbol' !== i && 'function' == typeof t.inspect) return t.inspect()
  33970. }
  33971. if (isMap(t)) {
  33972. var y = []
  33973. return (
  33974. mapForEach.call(t, function (e, n) {
  33975. y.push(c(n, t, !0) + ' => ' + c(e, t))
  33976. }),
  33977. collectionOf('Map', mapSize.call(t), y, l)
  33978. )
  33979. }
  33980. if (isSet(t)) {
  33981. var b = []
  33982. return (
  33983. setForEach.call(t, function (e) {
  33984. b.push(c(e, t))
  33985. }),
  33986. collectionOf('Set', setSize.call(t), b, l)
  33987. )
  33988. }
  33989. if (isWeakMap(t)) return weakCollectionOf('WeakMap')
  33990. if (isWeakSet(t)) return weakCollectionOf('WeakSet')
  33991. if (isWeakRef(t)) return weakCollectionOf('WeakRef')
  33992. if (isNumber(t)) return markBoxed(c(Number(t)))
  33993. if (isBigInt(t)) return markBoxed(c(bigIntValueOf.call(t)))
  33994. if (isBoolean(t)) return markBoxed(booleanValueOf.call(t))
  33995. if (isString(t)) return markBoxed(c(String(t)))
  33996. if (!isDate$1(t) && !isRegExp$1(t)) {
  33997. var _ = arrObjKeys(t, c),
  33998. A = gPO
  33999. ? gPO(t) === Object.prototype
  34000. : t instanceof Object || t.constructor === Object,
  34001. x = t instanceof Object ? '' : 'null prototype',
  34002. w =
  34003. !A && toStringTag && Object(t) === t && toStringTag in t
  34004. ? toStr(t).slice(8, -1)
  34005. : x
  34006. ? 'Object'
  34007. : '',
  34008. k =
  34009. (A || 'function' != typeof t.constructor
  34010. ? ''
  34011. : t.constructor.name
  34012. ? t.constructor.name + ' '
  34013. : '') + (w || x ? '[' + [].concat(w || [], x || []).join(': ') + '] ' : '')
  34014. return 0 === _.length
  34015. ? k + '{}'
  34016. : l
  34017. ? k + '{' + indentedJoin(_, l) + '}'
  34018. : k + '{ ' + _.join(', ') + ' }'
  34019. }
  34020. return String(t)
  34021. }
  34022. function wrapQuotes(e, t, n) {
  34023. var r = 'double' === (n.quoteStyle || t) ? '"' : "'"
  34024. return r + e + r
  34025. }
  34026. function quote(e) {
  34027. return String(e).replace(/"/g, '&quot;')
  34028. }
  34029. function isArray$4(e) {
  34030. return !(
  34031. '[object Array]' !== toStr(e) ||
  34032. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34033. )
  34034. }
  34035. function isDate$1(e) {
  34036. return !(
  34037. '[object Date]' !== toStr(e) ||
  34038. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34039. )
  34040. }
  34041. function isRegExp$1(e) {
  34042. return !(
  34043. '[object RegExp]' !== toStr(e) ||
  34044. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34045. )
  34046. }
  34047. function isError(e) {
  34048. return !(
  34049. '[object Error]' !== toStr(e) ||
  34050. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34051. )
  34052. }
  34053. function isString(e) {
  34054. return !(
  34055. '[object String]' !== toStr(e) ||
  34056. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34057. )
  34058. }
  34059. function isNumber(e) {
  34060. return !(
  34061. '[object Number]' !== toStr(e) ||
  34062. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34063. )
  34064. }
  34065. function isBoolean(e) {
  34066. return !(
  34067. '[object Boolean]' !== toStr(e) ||
  34068. (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
  34069. )
  34070. }
  34071. function isSymbol(t) {
  34072. if (hasShammedSymbols) return t && 'object' === _typeof2(t) && t instanceof Symbol
  34073. if ('symbol' === _typeof2(t)) return !0
  34074. if (!t || 'object' !== _typeof2(t) || !symToString) return !1
  34075. try {
  34076. return symToString.call(t), !0
  34077. } catch (e) {}
  34078. return !1
  34079. }
  34080. function isBigInt(t) {
  34081. if (!t || 'object' !== _typeof2(t) || !bigIntValueOf) return !1
  34082. try {
  34083. return bigIntValueOf.call(t), !0
  34084. } catch (e) {}
  34085. return !1
  34086. }
  34087. var hasOwn =
  34088. Object.prototype.hasOwnProperty ||
  34089. function (e) {
  34090. return e in this
  34091. }
  34092. function has$3(e, t) {
  34093. return hasOwn.call(e, t)
  34094. }
  34095. function toStr(e) {
  34096. return objectToString$1.call(e)
  34097. }
  34098. function nameOf(e) {
  34099. if (e.name) return e.name
  34100. var t = match.call(functionToString.call(e), /^function\s*([\w$]+)/)
  34101. return t ? t[1] : null
  34102. }
  34103. function indexOf(e, t) {
  34104. if (e.indexOf) return e.indexOf(t)
  34105. for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n
  34106. return -1
  34107. }
  34108. function isMap(t) {
  34109. if (!mapSize || !t || 'object' !== _typeof2(t)) return !1
  34110. try {
  34111. mapSize.call(t)
  34112. try {
  34113. setSize.call(t)
  34114. } catch (n) {
  34115. return !0
  34116. }
  34117. return t instanceof Map
  34118. } catch (e) {}
  34119. return !1
  34120. }
  34121. function isWeakMap(t) {
  34122. if (!weakMapHas || !t || 'object' !== _typeof2(t)) return !1
  34123. try {
  34124. weakMapHas.call(t, weakMapHas)
  34125. try {
  34126. weakSetHas.call(t, weakSetHas)
  34127. } catch (n) {
  34128. return !0
  34129. }
  34130. return t instanceof WeakMap
  34131. } catch (e) {}
  34132. return !1
  34133. }
  34134. function isWeakRef(t) {
  34135. if (!weakRefDeref || !t || 'object' !== _typeof2(t)) return !1
  34136. try {
  34137. return weakRefDeref.call(t), !0
  34138. } catch (e) {}
  34139. return !1
  34140. }
  34141. function isSet(t) {
  34142. if (!setSize || !t || 'object' !== _typeof2(t)) return !1
  34143. try {
  34144. setSize.call(t)
  34145. try {
  34146. mapSize.call(t)
  34147. } catch (n) {
  34148. return !0
  34149. }
  34150. return t instanceof Set
  34151. } catch (e) {}
  34152. return !1
  34153. }
  34154. function isWeakSet(t) {
  34155. if (!weakSetHas || !t || 'object' !== _typeof2(t)) return !1
  34156. try {
  34157. weakSetHas.call(t, weakSetHas)
  34158. try {
  34159. weakMapHas.call(t, weakMapHas)
  34160. } catch (n) {
  34161. return !0
  34162. }
  34163. return t instanceof WeakSet
  34164. } catch (e) {}
  34165. return !1
  34166. }
  34167. function isElement(e) {
  34168. return (
  34169. !(!e || 'object' !== _typeof2(e)) &&
  34170. (('undefined' != typeof HTMLElement && e instanceof HTMLElement) ||
  34171. ('string' == typeof e.nodeName && 'function' == typeof e.getAttribute))
  34172. )
  34173. }
  34174. function inspectString(e, t) {
  34175. if (e.length > t.maxStringLength) {
  34176. var n = e.length - t.maxStringLength,
  34177. r = '... ' + n + ' more character' + (n > 1 ? 's' : '')
  34178. return inspectString(e.slice(0, t.maxStringLength), t) + r
  34179. }
  34180. return wrapQuotes(
  34181. e.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte),
  34182. 'single',
  34183. t
  34184. )
  34185. }
  34186. function lowbyte(e) {
  34187. var t = e.charCodeAt(0),
  34188. n = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[t]
  34189. return n ? '\\' + n : '\\x' + (t < 16 ? '0' : '') + t.toString(16).toUpperCase()
  34190. }
  34191. function markBoxed(e) {
  34192. return 'Object(' + e + ')'
  34193. }
  34194. function weakCollectionOf(e) {
  34195. return e + ' { ? }'
  34196. }
  34197. function collectionOf(e, t, n, r) {
  34198. return e + ' (' + t + ') {' + (r ? indentedJoin(n, r) : n.join(', ')) + '}'
  34199. }
  34200. function singleLineValues(e) {
  34201. for (var t = 0; t < e.length; t++) if (indexOf(e[t], '\n') >= 0) return !1
  34202. return !0
  34203. }
  34204. function getIndent(e, t) {
  34205. var n
  34206. if ('\t' === e.indent) n = '\t'
  34207. else {
  34208. if (!('number' == typeof e.indent && e.indent > 0)) return null
  34209. n = Array(e.indent + 1).join(' ')
  34210. }
  34211. return { base: n, prev: Array(t + 1).join(n) }
  34212. }
  34213. function indentedJoin(e, t) {
  34214. if (0 === e.length) return ''
  34215. var n = '\n' + t.prev + t.base
  34216. return n + e.join(',' + n) + '\n' + t.prev
  34217. }
  34218. function arrObjKeys(e, t) {
  34219. var n = isArray$4(e),
  34220. r = []
  34221. if (n) {
  34222. r.length = e.length
  34223. for (var a = 0; a < e.length; a++) r[a] = has$3(e, a) ? t(e[a], e) : ''
  34224. }
  34225. var o,
  34226. i = 'function' == typeof gOPS ? gOPS(e) : []
  34227. if (hasShammedSymbols) {
  34228. o = {}
  34229. for (var s = 0; s < i.length; s++) o['$' + i[s]] = i[s]
  34230. }
  34231. for (var l in e)
  34232. has$3(e, l) &&
  34233. ((n && String(Number(l)) === l && l < e.length) ||
  34234. (hasShammedSymbols && o['$' + l] instanceof Symbol) ||
  34235. (/[^\w$]/.test(l)
  34236. ? r.push(t(l, e) + ': ' + t(e[l], e))
  34237. : r.push(l + ': ' + t(e[l], e))))
  34238. if ('function' == typeof gOPS)
  34239. for (var c = 0; c < i.length; c++)
  34240. isEnumerable.call(e, i[c]) && r.push('[' + t(i[c]) + ']: ' + t(e[i[c]], e))
  34241. return r
  34242. }
  34243. var GetIntrinsic = getIntrinsic,
  34244. callBound = callBound$1,
  34245. inspect = objectInspect,
  34246. $TypeError = GetIntrinsic('%TypeError%'),
  34247. $WeakMap = GetIntrinsic('%WeakMap%', !0),
  34248. $Map = GetIntrinsic('%Map%', !0),
  34249. $weakMapGet = callBound('WeakMap.prototype.get', !0),
  34250. $weakMapSet = callBound('WeakMap.prototype.set', !0),
  34251. $weakMapHas = callBound('WeakMap.prototype.has', !0),
  34252. $mapGet = callBound('Map.prototype.get', !0),
  34253. $mapSet = callBound('Map.prototype.set', !0),
  34254. $mapHas = callBound('Map.prototype.has', !0),
  34255. listGetNode = function (e, t) {
  34256. for (var n, r = e; null !== (n = r.next); r = n)
  34257. if (n.key === t) return (r.next = n.next), (n.next = e.next), (e.next = n), n
  34258. },
  34259. listGet = function (e, t) {
  34260. var n = listGetNode(e, t)
  34261. return n && n.value
  34262. },
  34263. listSet = function (e, t, n) {
  34264. var r = listGetNode(e, t)
  34265. r ? (r.value = n) : (e.next = { key: t, next: e.next, value: n })
  34266. },
  34267. listHas = function (e, t) {
  34268. return !!listGetNode(e, t)
  34269. },
  34270. sideChannel = function () {
  34271. var e,
  34272. t,
  34273. n,
  34274. r = {
  34275. assert: function (e) {
  34276. if (!r.has(e))
  34277. throw new $TypeError('Side channel does not contain ' + inspect(e))
  34278. },
  34279. get: function (r) {
  34280. if ($WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)) {
  34281. if (e) return $weakMapGet(e, r)
  34282. } else if ($Map) {
  34283. if (t) return $mapGet(t, r)
  34284. } else if (n) return listGet(n, r)
  34285. },
  34286. has: function (r) {
  34287. if ($WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)) {
  34288. if (e) return $weakMapHas(e, r)
  34289. } else if ($Map) {
  34290. if (t) return $mapHas(t, r)
  34291. } else if (n) return listHas(n, r)
  34292. return !1
  34293. },
  34294. set: function (r, a) {
  34295. $WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)
  34296. ? (e || (e = new $WeakMap()), $weakMapSet(e, r, a))
  34297. : $Map
  34298. ? (t || (t = new $Map()), $mapSet(t, r, a))
  34299. : (n || (n = { key: {}, next: null }), listSet(n, r, a))
  34300. }
  34301. }
  34302. return r
  34303. },
  34304. replace = String.prototype.replace,
  34305. percentTwenties = /%20/g,
  34306. Format = { RFC1738: 'RFC1738', RFC3986: 'RFC3986' },
  34307. formats$3 = {
  34308. default: Format.RFC3986,
  34309. formatters: {
  34310. RFC1738: function (e) {
  34311. return replace.call(e, percentTwenties, '+')
  34312. },
  34313. RFC3986: function (e) {
  34314. return String(e)
  34315. }
  34316. },
  34317. RFC1738: Format.RFC1738,
  34318. RFC3986: Format.RFC3986
  34319. },
  34320. formats$2 = formats$3,
  34321. has$2 = Object.prototype.hasOwnProperty,
  34322. isArray$3 = Array.isArray,
  34323. hexTable = (function () {
  34324. for (var e = [], t = 0; t < 256; ++t)
  34325. e.push('%' + ((t < 16 ? '0' : '') + t.toString(16)).toUpperCase())
  34326. return e
  34327. })(),
  34328. compactQueue = function (e) {
  34329. for (; e.length > 1; ) {
  34330. var t = e.pop(),
  34331. n = t.obj[t.prop]
  34332. if (isArray$3(n)) {
  34333. for (var r = [], a = 0; a < n.length; ++a) void 0 !== n[a] && r.push(n[a])
  34334. t.obj[t.prop] = r
  34335. }
  34336. }
  34337. },
  34338. arrayToObject = function (e, t) {
  34339. for (var n = t && t.plainObjects ? Object.create(null) : {}, r = 0; r < e.length; ++r)
  34340. void 0 !== e[r] && (n[r] = e[r])
  34341. return n
  34342. },
  34343. merge = function e(t, n, r) {
  34344. if (!n) return t
  34345. if ('object' !== _typeof2(n)) {
  34346. if (isArray$3(t)) t.push(n)
  34347. else {
  34348. if (!t || 'object' !== _typeof2(t)) return [t, n]
  34349. ;((r && (r.plainObjects || r.allowPrototypes)) ||
  34350. !has$2.call(Object.prototype, n)) &&
  34351. (t[n] = !0)
  34352. }
  34353. return t
  34354. }
  34355. if (!t || 'object' !== _typeof2(t)) return [t].concat(n)
  34356. var a = t
  34357. return (
  34358. isArray$3(t) && !isArray$3(n) && (a = arrayToObject(t, r)),
  34359. isArray$3(t) && isArray$3(n)
  34360. ? (n.forEach(function (n, a) {
  34361. if (has$2.call(t, a)) {
  34362. var o = t[a]
  34363. o && 'object' === _typeof2(o) && n && 'object' === _typeof2(n)
  34364. ? (t[a] = e(o, n, r))
  34365. : t.push(n)
  34366. } else t[a] = n
  34367. }),
  34368. t)
  34369. : Object.keys(n).reduce(function (t, a) {
  34370. var o = n[a]
  34371. return has$2.call(t, a) ? (t[a] = e(t[a], o, r)) : (t[a] = o), t
  34372. }, a)
  34373. )
  34374. },
  34375. assign = function (e, t) {
  34376. return Object.keys(t).reduce(function (e, n) {
  34377. return (e[n] = t[n]), e
  34378. }, e)
  34379. },
  34380. decode$1 = function (t, n, r) {
  34381. var a = t.replace(/\+/g, ' ')
  34382. if ('iso-8859-1' === r) return a.replace(/%[0-9a-f]{2}/gi, unescape)
  34383. try {
  34384. return decodeURIComponent(a)
  34385. } catch (e) {
  34386. return a
  34387. }
  34388. },
  34389. encode = function (e, t, n, r, a) {
  34390. if (0 === e.length) return e
  34391. var o = e
  34392. if (
  34393. ('symbol' === _typeof2(e)
  34394. ? (o = Symbol.prototype.toString.call(e))
  34395. : 'string' != typeof e && (o = String(e)),
  34396. 'iso-8859-1' === n)
  34397. )
  34398. return escape(o).replace(/%u[0-9a-f]{4}/gi, function (e) {
  34399. return '%26%23' + parseInt(e.slice(2), 16) + '%3B'
  34400. })
  34401. for (var i = '', s = 0; s < o.length; ++s) {
  34402. var l = o.charCodeAt(s)
  34403. 45 === l ||
  34404. 46 === l ||
  34405. 95 === l ||
  34406. 126 === l ||
  34407. (l >= 48 && l <= 57) ||
  34408. (l >= 65 && l <= 90) ||
  34409. (l >= 97 && l <= 122) ||
  34410. (a === formats$2.RFC1738 && (40 === l || 41 === l))
  34411. ? (i += o.charAt(s))
  34412. : l < 128
  34413. ? (i += hexTable[l])
  34414. : l < 2048
  34415. ? (i += hexTable[192 | (l >> 6)] + hexTable[128 | (63 & l)])
  34416. : l < 55296 || l >= 57344
  34417. ? (i +=
  34418. hexTable[224 | (l >> 12)] +
  34419. hexTable[128 | ((l >> 6) & 63)] +
  34420. hexTable[128 | (63 & l)])
  34421. : ((s += 1),
  34422. (l = 65536 + (((1023 & l) << 10) | (1023 & o.charCodeAt(s)))),
  34423. (i +=
  34424. hexTable[240 | (l >> 18)] +
  34425. hexTable[128 | ((l >> 12) & 63)] +
  34426. hexTable[128 | ((l >> 6) & 63)] +
  34427. hexTable[128 | (63 & l)]))
  34428. }
  34429. return i
  34430. },
  34431. compact = function (e) {
  34432. for (var t = [{ obj: { o: e }, prop: 'o' }], n = [], r = 0; r < t.length; ++r)
  34433. for (
  34434. var a = t[r], o = a.obj[a.prop], i = Object.keys(o), s = 0;
  34435. s < i.length;
  34436. ++s
  34437. ) {
  34438. var l = i[s],
  34439. c = o[l]
  34440. 'object' === _typeof2(c) &&
  34441. null !== c &&
  34442. -1 === n.indexOf(c) &&
  34443. (t.push({ obj: o, prop: l }), n.push(c))
  34444. }
  34445. return compactQueue(t), e
  34446. },
  34447. isRegExp = function (e) {
  34448. return '[object RegExp]' === Object.prototype.toString.call(e)
  34449. },
  34450. isBuffer = function (e) {
  34451. return (
  34452. !(!e || 'object' !== _typeof2(e)) &&
  34453. !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e))
  34454. )
  34455. },
  34456. combine = function (e, t) {
  34457. return [].concat(e, t)
  34458. },
  34459. maybeMap = function (e, t) {
  34460. if (isArray$3(e)) {
  34461. for (var n = [], r = 0; r < e.length; r += 1) n.push(t(e[r]))
  34462. return n
  34463. }
  34464. return t(e)
  34465. },
  34466. utils$2 = {
  34467. arrayToObject: arrayToObject,
  34468. assign: assign,
  34469. combine: combine,
  34470. compact: compact,
  34471. decode: decode$1,
  34472. encode: encode,
  34473. isBuffer: isBuffer,
  34474. isRegExp: isRegExp,
  34475. maybeMap: maybeMap,
  34476. merge: merge
  34477. },
  34478. getSideChannel = sideChannel,
  34479. utils$1 = utils$2,
  34480. formats$1 = formats$3,
  34481. has$1 = Object.prototype.hasOwnProperty,
  34482. arrayPrefixGenerators = {
  34483. brackets: function (e) {
  34484. return e + '[]'
  34485. },
  34486. comma: 'comma',
  34487. indices: function (e, t) {
  34488. return e + '[' + t + ']'
  34489. },
  34490. repeat: function (e) {
  34491. return e
  34492. }
  34493. },
  34494. isArray$2 = Array.isArray,
  34495. split = String.prototype.split,
  34496. push = Array.prototype.push,
  34497. pushToArray = function (e, t) {
  34498. push.apply(e, isArray$2(t) ? t : [t])
  34499. },
  34500. toISO = Date.prototype.toISOString,
  34501. defaultFormat = formats$1.default,
  34502. defaults$1 = {
  34503. addQueryPrefix: !1,
  34504. allowDots: !1,
  34505. charset: 'utf-8',
  34506. charsetSentinel: !1,
  34507. delimiter: '&',
  34508. encode: !0,
  34509. encoder: utils$1.encode,
  34510. encodeValuesOnly: !1,
  34511. format: defaultFormat,
  34512. formatter: formats$1.formatters[defaultFormat],
  34513. indices: !1,
  34514. serializeDate: function (e) {
  34515. return toISO.call(e)
  34516. },
  34517. skipNulls: !1,
  34518. strictNullHandling: !1
  34519. },
  34520. isNonNullishPrimitive = function (e) {
  34521. return (
  34522. 'string' == typeof e ||
  34523. 'number' == typeof e ||
  34524. 'boolean' == typeof e ||
  34525. 'symbol' === _typeof2(e) ||
  34526. 'bigint' == typeof e
  34527. )
  34528. },
  34529. sentinel = {},
  34530. stringify$1 = function e(t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
  34531. for (var m = t, g = v, y = 0, b = !1; void 0 !== (g = g.get(sentinel)) && !b; ) {
  34532. var _ = g.get(t)
  34533. if (((y += 1), void 0 !== _)) {
  34534. if (_ === y) throw new RangeError('Cyclic object value')
  34535. b = !0
  34536. }
  34537. void 0 === g.get(sentinel) && (y = 0)
  34538. }
  34539. if (
  34540. ('function' == typeof s
  34541. ? (m = s(n, m))
  34542. : m instanceof Date
  34543. ? (m = u(m))
  34544. : 'comma' === r &&
  34545. isArray$2(m) &&
  34546. (m = utils$1.maybeMap(m, function (e) {
  34547. return e instanceof Date ? u(e) : e
  34548. })),
  34549. null === m)
  34550. ) {
  34551. if (a) return i && !f ? i(n, defaults$1.encoder, h, 'key', p) : n
  34552. m = ''
  34553. }
  34554. if (isNonNullishPrimitive(m) || utils$1.isBuffer(m)) {
  34555. if (i) {
  34556. var A = f ? n : i(n, defaults$1.encoder, h, 'key', p)
  34557. if ('comma' === r && f) {
  34558. for (var x = split.call(String(m), ','), w = '', k = 0; k < x.length; ++k)
  34559. w += (0 === k ? '' : ',') + d(i(x[k], defaults$1.encoder, h, 'value', p))
  34560. return [d(A) + '=' + w]
  34561. }
  34562. return [d(A) + '=' + d(i(m, defaults$1.encoder, h, 'value', p))]
  34563. }
  34564. return [d(n) + '=' + d(String(m))]
  34565. }
  34566. var S,
  34567. E = []
  34568. if (void 0 === m) return E
  34569. if ('comma' === r && isArray$2(m))
  34570. S = [{ value: m.length > 0 ? m.join(',') || null : void 0 }]
  34571. else if (isArray$2(s)) S = s
  34572. else {
  34573. var P = Object.keys(m)
  34574. S = l ? P.sort(l) : P
  34575. }
  34576. for (var C = 0; C < S.length; ++C) {
  34577. var T = S[C],
  34578. I = 'object' === _typeof2(T) && void 0 !== T.value ? T.value : m[T]
  34579. if (!o || null !== I) {
  34580. var R = isArray$2(m)
  34581. ? 'function' == typeof r
  34582. ? r(n, T)
  34583. : n
  34584. : n + (c ? '.' + T : '[' + T + ']')
  34585. v.set(t, y)
  34586. var M = getSideChannel()
  34587. M.set(sentinel, v), pushToArray(E, e(I, R, r, a, o, i, s, l, c, u, p, d, f, h, M))
  34588. }
  34589. }
  34590. return E
  34591. },
  34592. normalizeStringifyOptions = function (e) {
  34593. if (!e) return defaults$1
  34594. if (null !== e.encoder && void 0 !== e.encoder && 'function' != typeof e.encoder)
  34595. throw new TypeError('Encoder has to be a function.')
  34596. var t = e.charset || defaults$1.charset
  34597. if (void 0 !== e.charset && 'utf-8' !== e.charset && 'iso-8859-1' !== e.charset)
  34598. throw new TypeError(
  34599. 'The charset option must be either utf-8, iso-8859-1, or undefined'
  34600. )
  34601. var n = formats$1.default
  34602. if (void 0 !== e.format) {
  34603. if (!has$1.call(formats$1.formatters, e.format))
  34604. throw new TypeError('Unknown format option provided.')
  34605. n = e.format
  34606. }
  34607. var r = formats$1.formatters[n],
  34608. a = defaults$1.filter
  34609. return (
  34610. ('function' == typeof e.filter || isArray$2(e.filter)) && (a = e.filter),
  34611. {
  34612. addQueryPrefix:
  34613. 'boolean' == typeof e.addQueryPrefix
  34614. ? e.addQueryPrefix
  34615. : defaults$1.addQueryPrefix,
  34616. allowDots: void 0 === e.allowDots ? defaults$1.allowDots : !!e.allowDots,
  34617. charset: t,
  34618. charsetSentinel:
  34619. 'boolean' == typeof e.charsetSentinel
  34620. ? e.charsetSentinel
  34621. : defaults$1.charsetSentinel,
  34622. delimiter: void 0 === e.delimiter ? defaults$1.delimiter : e.delimiter,
  34623. encode: 'boolean' == typeof e.encode ? e.encode : defaults$1.encode,
  34624. encoder: 'function' == typeof e.encoder ? e.encoder : defaults$1.encoder,
  34625. encodeValuesOnly:
  34626. 'boolean' == typeof e.encodeValuesOnly
  34627. ? e.encodeValuesOnly
  34628. : defaults$1.encodeValuesOnly,
  34629. filter: a,
  34630. format: n,
  34631. formatter: r,
  34632. serializeDate:
  34633. 'function' == typeof e.serializeDate
  34634. ? e.serializeDate
  34635. : defaults$1.serializeDate,
  34636. skipNulls: 'boolean' == typeof e.skipNulls ? e.skipNulls : defaults$1.skipNulls,
  34637. sort: 'function' == typeof e.sort ? e.sort : null,
  34638. strictNullHandling:
  34639. 'boolean' == typeof e.strictNullHandling
  34640. ? e.strictNullHandling
  34641. : defaults$1.strictNullHandling
  34642. }
  34643. )
  34644. },
  34645. stringify_1 = function (e, t) {
  34646. var n,
  34647. r = e,
  34648. a = normalizeStringifyOptions(t)
  34649. 'function' == typeof a.filter
  34650. ? (r = (0, a.filter)('', r))
  34651. : isArray$2(a.filter) && (n = a.filter)
  34652. var o,
  34653. i = []
  34654. if ('object' !== _typeof2(r) || null === r) return ''
  34655. o =
  34656. t && t.arrayFormat in arrayPrefixGenerators
  34657. ? t.arrayFormat
  34658. : t && 'indices' in t
  34659. ? t.indices
  34660. ? 'indices'
  34661. : 'repeat'
  34662. : 'indices'
  34663. var s = arrayPrefixGenerators[o]
  34664. n || (n = Object.keys(r)), a.sort && n.sort(a.sort)
  34665. for (var l = getSideChannel(), c = 0; c < n.length; ++c) {
  34666. var u = n[c]
  34667. ;(a.skipNulls && null === r[u]) ||
  34668. pushToArray(
  34669. i,
  34670. stringify$1(
  34671. r[u],
  34672. u,
  34673. s,
  34674. a.strictNullHandling,
  34675. a.skipNulls,
  34676. a.encode ? a.encoder : null,
  34677. a.filter,
  34678. a.sort,
  34679. a.allowDots,
  34680. a.serializeDate,
  34681. a.format,
  34682. a.formatter,
  34683. a.encodeValuesOnly,
  34684. a.charset,
  34685. l
  34686. )
  34687. )
  34688. }
  34689. var p = i.join(a.delimiter),
  34690. d = !0 === a.addQueryPrefix ? '?' : ''
  34691. return (
  34692. a.charsetSentinel &&
  34693. ('iso-8859-1' === a.charset
  34694. ? (d += 'utf8=%26%2310003%3B&')
  34695. : (d += 'utf8=%E2%9C%93&')),
  34696. p.length > 0 ? d + p : ''
  34697. )
  34698. },
  34699. utils = utils$2,
  34700. has = Object.prototype.hasOwnProperty,
  34701. isArray$1 = Array.isArray,
  34702. defaults = {
  34703. allowDots: !1,
  34704. allowPrototypes: !1,
  34705. allowSparse: !1,
  34706. arrayLimit: 20,
  34707. charset: 'utf-8',
  34708. charsetSentinel: !1,
  34709. comma: !1,
  34710. decoder: utils.decode,
  34711. delimiter: '&',
  34712. depth: 5,
  34713. ignoreQueryPrefix: !1,
  34714. interpretNumericEntities: !1,
  34715. parameterLimit: 1e3,
  34716. parseArrays: !0,
  34717. plainObjects: !1,
  34718. strictNullHandling: !1
  34719. },
  34720. interpretNumericEntities = function (e) {
  34721. return e.replace(/&#(\d+);/g, function (e, t) {
  34722. return String.fromCharCode(parseInt(t, 10))
  34723. })
  34724. },
  34725. parseArrayValue = function (e, t) {
  34726. return e && 'string' == typeof e && t.comma && e.indexOf(',') > -1 ? e.split(',') : e
  34727. },
  34728. isoSentinel = 'utf8=%26%2310003%3B',
  34729. charsetSentinel = 'utf8=%E2%9C%93',
  34730. parseValues = function (e, t) {
  34731. var n,
  34732. r = {},
  34733. a = t.ignoreQueryPrefix ? e.replace(/^\?/, '') : e,
  34734. o = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit,
  34735. i = a.split(t.delimiter, o),
  34736. s = -1,
  34737. l = t.charset
  34738. if (t.charsetSentinel)
  34739. for (n = 0; n < i.length; ++n)
  34740. 0 === i[n].indexOf('utf8=') &&
  34741. (i[n] === charsetSentinel
  34742. ? (l = 'utf-8')
  34743. : i[n] === isoSentinel && (l = 'iso-8859-1'),
  34744. (s = n),
  34745. (n = i.length))
  34746. for (n = 0; n < i.length; ++n)
  34747. if (n !== s) {
  34748. var c,
  34749. u,
  34750. p = i[n],
  34751. d = p.indexOf(']='),
  34752. f = -1 === d ? p.indexOf('=') : d + 1
  34753. ;-1 === f
  34754. ? ((c = t.decoder(p, defaults.decoder, l, 'key')),
  34755. (u = t.strictNullHandling ? null : ''))
  34756. : ((c = t.decoder(p.slice(0, f), defaults.decoder, l, 'key')),
  34757. (u = utils.maybeMap(parseArrayValue(p.slice(f + 1), t), function (e) {
  34758. return t.decoder(e, defaults.decoder, l, 'value')
  34759. }))),
  34760. u &&
  34761. t.interpretNumericEntities &&
  34762. 'iso-8859-1' === l &&
  34763. (u = interpretNumericEntities(u)),
  34764. p.indexOf('[]=') > -1 && (u = isArray$1(u) ? [u] : u),
  34765. has.call(r, c) ? (r[c] = utils.combine(r[c], u)) : (r[c] = u)
  34766. }
  34767. return r
  34768. },
  34769. parseObject = function (e, t, n, r) {
  34770. for (var a = r ? t : parseArrayValue(t, n), o = e.length - 1; o >= 0; --o) {
  34771. var i,
  34772. s = e[o]
  34773. if ('[]' === s && n.parseArrays) i = [].concat(a)
  34774. else {
  34775. i = n.plainObjects ? Object.create(null) : {}
  34776. var l =
  34777. '[' === s.charAt(0) && ']' === s.charAt(s.length - 1) ? s.slice(1, -1) : s,
  34778. c = parseInt(l, 10)
  34779. n.parseArrays || '' !== l
  34780. ? !isNaN(c) &&
  34781. s !== l &&
  34782. String(c) === l &&
  34783. c >= 0 &&
  34784. n.parseArrays &&
  34785. c <= n.arrayLimit
  34786. ? ((i = [])[c] = a)
  34787. : '__proto__' !== l && (i[l] = a)
  34788. : (i = { 0: a })
  34789. }
  34790. a = i
  34791. }
  34792. return a
  34793. },
  34794. parseKeys = function (e, t, n, r) {
  34795. if (e) {
  34796. var a = n.allowDots ? e.replace(/\.([^.[]+)/g, '[$1]') : e,
  34797. o = /(\[[^[\]]*])/g,
  34798. i = n.depth > 0 && /(\[[^[\]]*])/.exec(a),
  34799. s = i ? a.slice(0, i.index) : a,
  34800. l = []
  34801. if (s) {
  34802. if (!n.plainObjects && has.call(Object.prototype, s) && !n.allowPrototypes) return
  34803. l.push(s)
  34804. }
  34805. for (var c = 0; n.depth > 0 && null !== (i = o.exec(a)) && c < n.depth; ) {
  34806. if (
  34807. ((c += 1),
  34808. !n.plainObjects &&
  34809. has.call(Object.prototype, i[1].slice(1, -1)) &&
  34810. !n.allowPrototypes)
  34811. )
  34812. return
  34813. l.push(i[1])
  34814. }
  34815. return i && l.push('[' + a.slice(i.index) + ']'), parseObject(l, t, n, r)
  34816. }
  34817. },
  34818. normalizeParseOptions = function (e) {
  34819. if (!e) return defaults
  34820. if (null !== e.decoder && void 0 !== e.decoder && 'function' != typeof e.decoder)
  34821. throw new TypeError('Decoder has to be a function.')
  34822. if (void 0 !== e.charset && 'utf-8' !== e.charset && 'iso-8859-1' !== e.charset)
  34823. throw new TypeError(
  34824. 'The charset option must be either utf-8, iso-8859-1, or undefined'
  34825. )
  34826. var t = void 0 === e.charset ? defaults.charset : e.charset
  34827. return {
  34828. allowDots: void 0 === e.allowDots ? defaults.allowDots : !!e.allowDots,
  34829. allowPrototypes:
  34830. 'boolean' == typeof e.allowPrototypes
  34831. ? e.allowPrototypes
  34832. : defaults.allowPrototypes,
  34833. allowSparse:
  34834. 'boolean' == typeof e.allowSparse ? e.allowSparse : defaults.allowSparse,
  34835. arrayLimit: 'number' == typeof e.arrayLimit ? e.arrayLimit : defaults.arrayLimit,
  34836. charset: t,
  34837. charsetSentinel:
  34838. 'boolean' == typeof e.charsetSentinel
  34839. ? e.charsetSentinel
  34840. : defaults.charsetSentinel,
  34841. comma: 'boolean' == typeof e.comma ? e.comma : defaults.comma,
  34842. decoder: 'function' == typeof e.decoder ? e.decoder : defaults.decoder,
  34843. delimiter:
  34844. 'string' == typeof e.delimiter || utils.isRegExp(e.delimiter)
  34845. ? e.delimiter
  34846. : defaults.delimiter,
  34847. depth: 'number' == typeof e.depth || !1 === e.depth ? +e.depth : defaults.depth,
  34848. ignoreQueryPrefix: !0 === e.ignoreQueryPrefix,
  34849. interpretNumericEntities:
  34850. 'boolean' == typeof e.interpretNumericEntities
  34851. ? e.interpretNumericEntities
  34852. : defaults.interpretNumericEntities,
  34853. parameterLimit:
  34854. 'number' == typeof e.parameterLimit ? e.parameterLimit : defaults.parameterLimit,
  34855. parseArrays: !1 !== e.parseArrays,
  34856. plainObjects:
  34857. 'boolean' == typeof e.plainObjects ? e.plainObjects : defaults.plainObjects,
  34858. strictNullHandling:
  34859. 'boolean' == typeof e.strictNullHandling
  34860. ? e.strictNullHandling
  34861. : defaults.strictNullHandling
  34862. }
  34863. },
  34864. parse$1 = function (e, t) {
  34865. var n = normalizeParseOptions(t)
  34866. if ('' === e || null == e) return n.plainObjects ? Object.create(null) : {}
  34867. for (
  34868. var r = 'string' == typeof e ? parseValues(e, n) : e,
  34869. a = n.plainObjects ? Object.create(null) : {},
  34870. o = Object.keys(r),
  34871. i = 0;
  34872. i < o.length;
  34873. ++i
  34874. ) {
  34875. var s = o[i],
  34876. l = parseKeys(s, r[s], n, 'string' == typeof e)
  34877. a = utils.merge(a, l, n)
  34878. }
  34879. return !0 === n.allowSparse ? a : utils.compact(a)
  34880. },
  34881. stringify = stringify_1,
  34882. parse = parse$1,
  34883. formats = formats$3,
  34884. lib = { formats: formats, parse: parse, stringify: stringify },
  34885. global$1 =
  34886. ('undefined' != typeof globalThis && globalThis) ||
  34887. ('undefined' != typeof self && self) ||
  34888. (void 0 !== global$1 && global$1),
  34889. support = {
  34890. searchParams: 'URLSearchParams' in global$1,
  34891. iterable: 'Symbol' in global$1 && 'iterator' in Symbol,
  34892. blob:
  34893. 'FileReader' in global$1 &&
  34894. 'Blob' in global$1 &&
  34895. (function () {
  34896. try {
  34897. return new Blob(), !0
  34898. } catch (e) {
  34899. return !1
  34900. }
  34901. })(),
  34902. formData: 'FormData' in global$1,
  34903. arrayBuffer: 'ArrayBuffer' in global$1
  34904. }
  34905. function isDataView(e) {
  34906. return e && DataView.prototype.isPrototypeOf(e)
  34907. }
  34908. if (support.arrayBuffer)
  34909. var viewClasses = [
  34910. '[object Int8Array]',
  34911. '[object Uint8Array]',
  34912. '[object Uint8ClampedArray]',
  34913. '[object Int16Array]',
  34914. '[object Uint16Array]',
  34915. '[object Int32Array]',
  34916. '[object Uint32Array]',
  34917. '[object Float32Array]',
  34918. '[object Float64Array]'
  34919. ],
  34920. isArrayBufferView =
  34921. ArrayBuffer.isView ||
  34922. function (e) {
  34923. return e && viewClasses.indexOf(Object.prototype.toString.call(e)) > -1
  34924. }
  34925. function normalizeName(e) {
  34926. if (
  34927. ('string' != typeof e && (e = String(e)),
  34928. /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || '' === e)
  34929. )
  34930. throw new TypeError('Invalid character in header field name: "' + e + '"')
  34931. return e.toLowerCase()
  34932. }
  34933. function normalizeValue(e) {
  34934. return 'string' != typeof e && (e = String(e)), e
  34935. }
  34936. function iteratorFor(e) {
  34937. var t = {
  34938. next: function () {
  34939. var t = e.shift()
  34940. return { done: void 0 === t, value: t }
  34941. }
  34942. }
  34943. return (
  34944. support.iterable &&
  34945. (t[Symbol.iterator] = function () {
  34946. return t
  34947. }),
  34948. t
  34949. )
  34950. }
  34951. function Headers(e) {
  34952. ;(this.map = {}),
  34953. e instanceof Headers
  34954. ? e.forEach(function (e, t) {
  34955. this.append(t, e)
  34956. }, this)
  34957. : Array.isArray(e)
  34958. ? e.forEach(function (e) {
  34959. this.append(e[0], e[1])
  34960. }, this)
  34961. : e &&
  34962. Object.getOwnPropertyNames(e).forEach(function (t) {
  34963. this.append(t, e[t])
  34964. }, this)
  34965. }
  34966. function consumed(e) {
  34967. if (e.bodyUsed) return Promise.reject(new TypeError('Already read'))
  34968. e.bodyUsed = !0
  34969. }
  34970. function fileReaderReady(e) {
  34971. return new Promise(function (t, n) {
  34972. ;(e.onload = function () {
  34973. t(e.result)
  34974. }),
  34975. (e.onerror = function () {
  34976. n(e.error)
  34977. })
  34978. })
  34979. }
  34980. function readBlobAsArrayBuffer(e) {
  34981. var t = new FileReader(),
  34982. n = fileReaderReady(t)
  34983. return t.readAsArrayBuffer(e), n
  34984. }
  34985. function readBlobAsText(e) {
  34986. var t = new FileReader(),
  34987. n = fileReaderReady(t)
  34988. return t.readAsText(e), n
  34989. }
  34990. function readArrayBufferAsText(e) {
  34991. for (var t = new Uint8Array(e), n = new Array(t.length), r = 0; r < t.length; r++)
  34992. n[r] = String.fromCharCode(t[r])
  34993. return n.join('')
  34994. }
  34995. function bufferClone(e) {
  34996. if (e.slice) return e.slice(0)
  34997. var t = new Uint8Array(e.byteLength)
  34998. return t.set(new Uint8Array(e)), t.buffer
  34999. }
  35000. function Body() {
  35001. return (
  35002. (this.bodyUsed = !1),
  35003. (this._initBody = function (e) {
  35004. ;(this.bodyUsed = this.bodyUsed),
  35005. (this._bodyInit = e),
  35006. e
  35007. ? 'string' == typeof e
  35008. ? (this._bodyText = e)
  35009. : support.blob && Blob.prototype.isPrototypeOf(e)
  35010. ? (this._bodyBlob = e)
  35011. : support.formData && FormData.prototype.isPrototypeOf(e)
  35012. ? (this._bodyFormData = e)
  35013. : support.searchParams && URLSearchParams.prototype.isPrototypeOf(e)
  35014. ? (this._bodyText = e.toString())
  35015. : support.arrayBuffer && support.blob && isDataView(e)
  35016. ? ((this._bodyArrayBuffer = bufferClone(e.buffer)),
  35017. (this._bodyInit = new Blob([this._bodyArrayBuffer])))
  35018. : support.arrayBuffer &&
  35019. (ArrayBuffer.prototype.isPrototypeOf(e) || isArrayBufferView(e))
  35020. ? (this._bodyArrayBuffer = bufferClone(e))
  35021. : (this._bodyText = e = Object.prototype.toString.call(e))
  35022. : (this._bodyText = ''),
  35023. this.headers.get('content-type') ||
  35024. ('string' == typeof e
  35025. ? this.headers.set('content-type', 'text/plain;charset=UTF-8')
  35026. : this._bodyBlob && this._bodyBlob.type
  35027. ? this.headers.set('content-type', this._bodyBlob.type)
  35028. : support.searchParams &&
  35029. URLSearchParams.prototype.isPrototypeOf(e) &&
  35030. this.headers.set(
  35031. 'content-type',
  35032. 'application/x-www-form-urlencoded;charset=UTF-8'
  35033. ))
  35034. }),
  35035. support.blob &&
  35036. ((this.blob = function () {
  35037. var e = consumed(this)
  35038. if (e) return e
  35039. if (this._bodyBlob) return Promise.resolve(this._bodyBlob)
  35040. if (this._bodyArrayBuffer)
  35041. return Promise.resolve(new Blob([this._bodyArrayBuffer]))
  35042. if (this._bodyFormData) throw new Error('could not read FormData body as blob')
  35043. return Promise.resolve(new Blob([this._bodyText]))
  35044. }),
  35045. (this.arrayBuffer = function () {
  35046. if (this._bodyArrayBuffer) {
  35047. var e = consumed(this)
  35048. return (
  35049. e ||
  35050. (ArrayBuffer.isView(this._bodyArrayBuffer)
  35051. ? Promise.resolve(
  35052. this._bodyArrayBuffer.buffer.slice(
  35053. this._bodyArrayBuffer.byteOffset,
  35054. this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
  35055. )
  35056. )
  35057. : Promise.resolve(this._bodyArrayBuffer))
  35058. )
  35059. }
  35060. return this.blob().then(readBlobAsArrayBuffer)
  35061. })),
  35062. (this.text = function () {
  35063. var e = consumed(this)
  35064. if (e) return e
  35065. if (this._bodyBlob) return readBlobAsText(this._bodyBlob)
  35066. if (this._bodyArrayBuffer)
  35067. return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
  35068. if (this._bodyFormData) throw new Error('could not read FormData body as text')
  35069. return Promise.resolve(this._bodyText)
  35070. }),
  35071. support.formData &&
  35072. (this.formData = function () {
  35073. return this.text().then(decode)
  35074. }),
  35075. (this.json = function () {
  35076. return this.text().then(JSON.parse)
  35077. }),
  35078. this
  35079. )
  35080. }
  35081. ;(Headers.prototype.append = function (e, t) {
  35082. ;(e = normalizeName(e)), (t = normalizeValue(t))
  35083. var n = this.map[e]
  35084. this.map[e] = n ? n + ', ' + t : t
  35085. }),
  35086. (Headers.prototype.delete = function (e) {
  35087. delete this.map[normalizeName(e)]
  35088. }),
  35089. (Headers.prototype.get = function (e) {
  35090. return (e = normalizeName(e)), this.has(e) ? this.map[e] : null
  35091. }),
  35092. (Headers.prototype.has = function (e) {
  35093. return this.map.hasOwnProperty(normalizeName(e))
  35094. }),
  35095. (Headers.prototype.set = function (e, t) {
  35096. this.map[normalizeName(e)] = normalizeValue(t)
  35097. }),
  35098. (Headers.prototype.forEach = function (e, t) {
  35099. for (var n in this.map) this.map.hasOwnProperty(n) && e.call(t, this.map[n], n, this)
  35100. }),
  35101. (Headers.prototype.keys = function () {
  35102. var e = []
  35103. return (
  35104. this.forEach(function (t, n) {
  35105. e.push(n)
  35106. }),
  35107. iteratorFor(e)
  35108. )
  35109. }),
  35110. (Headers.prototype.values = function () {
  35111. var e = []
  35112. return (
  35113. this.forEach(function (t) {
  35114. e.push(t)
  35115. }),
  35116. iteratorFor(e)
  35117. )
  35118. }),
  35119. (Headers.prototype.entries = function () {
  35120. var e = []
  35121. return (
  35122. this.forEach(function (t, n) {
  35123. e.push([n, t])
  35124. }),
  35125. iteratorFor(e)
  35126. )
  35127. }),
  35128. support.iterable && (Headers.prototype[Symbol.iterator] = Headers.prototype.entries)
  35129. var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']
  35130. function normalizeMethod(e) {
  35131. var t = e.toUpperCase()
  35132. return methods.indexOf(t) > -1 ? t : e
  35133. }
  35134. function Request(e, t) {
  35135. if (!(this instanceof Request))
  35136. throw new TypeError(
  35137. 'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
  35138. )
  35139. var n = (t = t || {}).body
  35140. if (e instanceof Request) {
  35141. if (e.bodyUsed) throw new TypeError('Already read')
  35142. ;(this.url = e.url),
  35143. (this.credentials = e.credentials),
  35144. t.headers || (this.headers = new Headers(e.headers)),
  35145. (this.method = e.method),
  35146. (this.mode = e.mode),
  35147. (this.signal = e.signal),
  35148. n || null == e._bodyInit || ((n = e._bodyInit), (e.bodyUsed = !0))
  35149. } else this.url = String(e)
  35150. if (
  35151. ((this.credentials = t.credentials || this.credentials || 'same-origin'),
  35152. (!t.headers && this.headers) || (this.headers = new Headers(t.headers)),
  35153. (this.method = normalizeMethod(t.method || this.method || 'GET')),
  35154. (this.mode = t.mode || this.mode || null),
  35155. (this.signal = t.signal || this.signal),
  35156. (this.referrer = null),
  35157. ('GET' === this.method || 'HEAD' === this.method) && n)
  35158. )
  35159. throw new TypeError('Body not allowed for GET or HEAD requests')
  35160. if (
  35161. (this._initBody(n),
  35162. !(
  35163. ('GET' !== this.method && 'HEAD' !== this.method) ||
  35164. ('no-store' !== t.cache && 'no-cache' !== t.cache)
  35165. ))
  35166. ) {
  35167. var r = /([?&])_=[^&]*/
  35168. if (r.test(this.url)) this.url = this.url.replace(r, '$1_=' + new Date().getTime())
  35169. else {
  35170. this.url += (/\?/.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()
  35171. }
  35172. }
  35173. }
  35174. function decode(e) {
  35175. var t = new FormData()
  35176. return (
  35177. e
  35178. .trim()
  35179. .split('&')
  35180. .forEach(function (e) {
  35181. if (e) {
  35182. var n = e.split('='),
  35183. r = n.shift().replace(/\+/g, ' '),
  35184. a = n.join('=').replace(/\+/g, ' ')
  35185. t.append(decodeURIComponent(r), decodeURIComponent(a))
  35186. }
  35187. }),
  35188. t
  35189. )
  35190. }
  35191. function parseHeaders(e) {
  35192. var t = new Headers()
  35193. return (
  35194. e
  35195. .replace(/\r?\n[\t ]+/g, ' ')
  35196. .split('\r')
  35197. .map(function (e) {
  35198. return 0 === e.indexOf('\n') ? e.substr(1, e.length) : e
  35199. })
  35200. .forEach(function (e) {
  35201. var n = e.split(':'),
  35202. r = n.shift().trim()
  35203. if (r) {
  35204. var a = n.join(':').trim()
  35205. t.append(r, a)
  35206. }
  35207. }),
  35208. t
  35209. )
  35210. }
  35211. function Response(e, t) {
  35212. if (!(this instanceof Response))
  35213. throw new TypeError(
  35214. 'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
  35215. )
  35216. t || (t = {}),
  35217. (this.type = 'default'),
  35218. (this.status = void 0 === t.status ? 200 : t.status),
  35219. (this.ok = this.status >= 200 && this.status < 300),
  35220. (this.statusText = void 0 === t.statusText ? '' : '' + t.statusText),
  35221. (this.headers = new Headers(t.headers)),
  35222. (this.url = t.url || ''),
  35223. this._initBody(e)
  35224. }
  35225. ;(Request.prototype.clone = function () {
  35226. return new Request(this, { body: this._bodyInit })
  35227. }),
  35228. Body.call(Request.prototype),
  35229. Body.call(Response.prototype),
  35230. (Response.prototype.clone = function () {
  35231. return new Response(this._bodyInit, {
  35232. status: this.status,
  35233. statusText: this.statusText,
  35234. headers: new Headers(this.headers),
  35235. url: this.url
  35236. })
  35237. }),
  35238. (Response.error = function () {
  35239. var e = new Response(null, { status: 0, statusText: '' })
  35240. return (e.type = 'error'), e
  35241. })
  35242. var redirectStatuses = [301, 302, 303, 307, 308]
  35243. Response.redirect = function (e, t) {
  35244. if (-1 === redirectStatuses.indexOf(t)) throw new RangeError('Invalid status code')
  35245. return new Response(null, { status: t, headers: { location: e } })
  35246. }
  35247. var DOMException = global$1.DOMException
  35248. try {
  35249. new DOMException()
  35250. } catch (err) {
  35251. ;(DOMException = function (e, t) {
  35252. ;(this.message = e), (this.name = t)
  35253. var n = Error(e)
  35254. this.stack = n.stack
  35255. }),
  35256. (DOMException.prototype = Object.create(Error.prototype)),
  35257. (DOMException.prototype.constructor = DOMException)
  35258. }
  35259. function fetch$1(t, n) {
  35260. return new Promise(function (r, a) {
  35261. var o = new Request(t, n)
  35262. if (o.signal && o.signal.aborted) return a(new DOMException('Aborted', 'AbortError'))
  35263. var i = new XMLHttpRequest()
  35264. function s() {
  35265. i.abort()
  35266. }
  35267. ;(i.onload = function () {
  35268. var e = {
  35269. status: i.status,
  35270. statusText: i.statusText,
  35271. headers: parseHeaders(i.getAllResponseHeaders() || '')
  35272. }
  35273. e.url = 'responseURL' in i ? i.responseURL : e.headers.get('X-Request-URL')
  35274. var t = 'response' in i ? i.response : i.responseText
  35275. setTimeout(function () {
  35276. r(new Response(t, e))
  35277. }, 0)
  35278. }),
  35279. (i.onerror = function () {
  35280. setTimeout(function () {
  35281. a(new TypeError('Network request failed'))
  35282. }, 0)
  35283. }),
  35284. (i.ontimeout = function () {
  35285. setTimeout(function () {
  35286. a(new TypeError('Network request failed'))
  35287. }, 0)
  35288. }),
  35289. (i.onabort = function () {
  35290. setTimeout(function () {
  35291. a(new DOMException('Aborted', 'AbortError'))
  35292. }, 0)
  35293. }),
  35294. i.open(
  35295. o.method,
  35296. (function (t) {
  35297. try {
  35298. return '' === t && global$1.location.href ? global$1.location.href : t
  35299. } catch (e) {
  35300. return t
  35301. }
  35302. })(o.url),
  35303. !0
  35304. ),
  35305. 'include' === o.credentials
  35306. ? (i.withCredentials = !0)
  35307. : 'omit' === o.credentials && (i.withCredentials = !1),
  35308. 'responseType' in i &&
  35309. (support.blob
  35310. ? (i.responseType = 'blob')
  35311. : support.arrayBuffer &&
  35312. o.headers.get('Content-Type') &&
  35313. -1 !== o.headers.get('Content-Type').indexOf('application/octet-stream') &&
  35314. (i.responseType = 'arraybuffer')),
  35315. !n || 'object' !== _typeof2(n.headers) || n.headers instanceof Headers
  35316. ? o.headers.forEach(function (e, t) {
  35317. i.setRequestHeader(t, e)
  35318. })
  35319. : Object.getOwnPropertyNames(n.headers).forEach(function (e) {
  35320. i.setRequestHeader(e, normalizeValue(n.headers[e]))
  35321. }),
  35322. o.signal &&
  35323. (o.signal.addEventListener('abort', s),
  35324. (i.onreadystatechange = function () {
  35325. 4 === i.readyState && o.signal.removeEventListener('abort', s)
  35326. })),
  35327. i.send(void 0 === o._bodyInit ? null : o._bodyInit)
  35328. })
  35329. }
  35330. function ownKeys(e, t) {
  35331. var n = Object.keys(e)
  35332. if (Object.getOwnPropertySymbols) {
  35333. var r = Object.getOwnPropertySymbols(e)
  35334. t &&
  35335. (r = r.filter(function (t) {
  35336. return Object.getOwnPropertyDescriptor(e, t).enumerable
  35337. })),
  35338. n.push.apply(n, r)
  35339. }
  35340. return n
  35341. }
  35342. function _objectSpread2(e) {
  35343. for (var t = 1; t < arguments.length; t++) {
  35344. var n = null != arguments[t] ? arguments[t] : {}
  35345. t % 2
  35346. ? ownKeys(Object(n), !0).forEach(function (t) {
  35347. _defineProperty(e, t, n[t])
  35348. })
  35349. : Object.getOwnPropertyDescriptors
  35350. ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
  35351. : ownKeys(Object(n)).forEach(function (t) {
  35352. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
  35353. })
  35354. }
  35355. return e
  35356. }
  35357. function _typeof(e) {
  35358. return (
  35359. (_typeof =
  35360. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  35361. ? function (e) {
  35362. return typeof e
  35363. }
  35364. : function (e) {
  35365. return e &&
  35366. 'function' == typeof Symbol &&
  35367. e.constructor === Symbol &&
  35368. e !== Symbol.prototype
  35369. ? 'symbol'
  35370. : typeof e
  35371. }),
  35372. _typeof(e)
  35373. )
  35374. }
  35375. function _classCallCheck(e, t) {
  35376. if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function')
  35377. }
  35378. function _defineProperties(e, t) {
  35379. for (var n = 0; n < t.length; n++) {
  35380. var r = t[n]
  35381. ;(r.enumerable = r.enumerable || !1),
  35382. (r.configurable = !0),
  35383. 'value' in r && (r.writable = !0),
  35384. Object.defineProperty(e, r.key, r)
  35385. }
  35386. }
  35387. function _createClass(e, t, n) {
  35388. return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e
  35389. }
  35390. function _defineProperty(e, t, n) {
  35391. return (
  35392. t in e
  35393. ? Object.defineProperty(e, t, {
  35394. value: n,
  35395. enumerable: !0,
  35396. configurable: !0,
  35397. writable: !0
  35398. })
  35399. : (e[t] = n),
  35400. e
  35401. )
  35402. }
  35403. function _inherits(e, t) {
  35404. if ('function' != typeof t && null !== t)
  35405. throw new TypeError('Super expression must either be null or a function')
  35406. ;(e.prototype = Object.create(t && t.prototype, {
  35407. constructor: { value: e, writable: !0, configurable: !0 }
  35408. })),
  35409. t && _setPrototypeOf(e, t)
  35410. }
  35411. function _getPrototypeOf(e) {
  35412. return (
  35413. (_getPrototypeOf = Object.setPrototypeOf
  35414. ? Object.getPrototypeOf
  35415. : function (e) {
  35416. return e.__proto__ || Object.getPrototypeOf(e)
  35417. }),
  35418. _getPrototypeOf(e)
  35419. )
  35420. }
  35421. function _setPrototypeOf(e, t) {
  35422. return (
  35423. (_setPrototypeOf =
  35424. Object.setPrototypeOf ||
  35425. function (e, t) {
  35426. return (e.__proto__ = t), e
  35427. }),
  35428. _setPrototypeOf(e, t)
  35429. )
  35430. }
  35431. function _isNativeReflectConstruct() {
  35432. if ('undefined' == typeof Reflect || !Reflect.construct) return !1
  35433. if (Reflect.construct.sham) return !1
  35434. if ('function' == typeof Proxy) return !0
  35435. try {
  35436. return (
  35437. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
  35438. )
  35439. } catch (e) {
  35440. return !1
  35441. }
  35442. }
  35443. function _construct(e, t, n) {
  35444. return (
  35445. (_construct = _isNativeReflectConstruct()
  35446. ? Reflect.construct
  35447. : function (e, t, n) {
  35448. var r = [null]
  35449. r.push.apply(r, t)
  35450. var a = new (Function.bind.apply(e, r))()
  35451. return n && _setPrototypeOf(a, n.prototype), a
  35452. }),
  35453. _construct.apply(null, arguments)
  35454. )
  35455. }
  35456. function _isNativeFunction(e) {
  35457. return -1 !== Function.toString.call(e).indexOf('[native code]')
  35458. }
  35459. function _wrapNativeSuper(e) {
  35460. var t = 'function' == typeof Map ? new Map() : void 0
  35461. return (
  35462. (_wrapNativeSuper = function (e) {
  35463. if (null === e || !_isNativeFunction(e)) return e
  35464. if ('function' != typeof e)
  35465. throw new TypeError('Super expression must either be null or a function')
  35466. if (void 0 !== t) {
  35467. if (t.has(e)) return t.get(e)
  35468. t.set(e, n)
  35469. }
  35470. function n() {
  35471. return _construct(e, arguments, _getPrototypeOf(this).constructor)
  35472. }
  35473. return (
  35474. (n.prototype = Object.create(e.prototype, {
  35475. constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 }
  35476. })),
  35477. _setPrototypeOf(n, e)
  35478. )
  35479. }),
  35480. _wrapNativeSuper(e)
  35481. )
  35482. }
  35483. function _assertThisInitialized(e) {
  35484. if (void 0 === e)
  35485. throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
  35486. return e
  35487. }
  35488. function _possibleConstructorReturn(e, t) {
  35489. if (t && ('object' === _typeof2(t) || 'function' == typeof t)) return t
  35490. if (void 0 !== t)
  35491. throw new TypeError('Derived constructors may only return object or undefined')
  35492. return _assertThisInitialized(e)
  35493. }
  35494. function _createSuper(e) {
  35495. var t = _isNativeReflectConstruct()
  35496. return function () {
  35497. var n,
  35498. r = _getPrototypeOf(e)
  35499. if (t) {
  35500. var a = _getPrototypeOf(this).constructor
  35501. n = Reflect.construct(r, arguments, a)
  35502. } else n = r.apply(this, arguments)
  35503. return _possibleConstructorReturn(this, n)
  35504. }
  35505. }
  35506. function _toConsumableArray(e) {
  35507. return (
  35508. _arrayWithoutHoles(e) ||
  35509. _iterableToArray(e) ||
  35510. _unsupportedIterableToArray(e) ||
  35511. _nonIterableSpread()
  35512. )
  35513. }
  35514. function _arrayWithoutHoles(e) {
  35515. if (Array.isArray(e)) return _arrayLikeToArray(e)
  35516. }
  35517. function _iterableToArray(e) {
  35518. if (
  35519. ('undefined' != typeof Symbol && null != e[Symbol.iterator]) ||
  35520. null != e['@@iterator']
  35521. )
  35522. return Array.from(e)
  35523. }
  35524. function _unsupportedIterableToArray(e, t) {
  35525. if (e) {
  35526. if ('string' == typeof e) return _arrayLikeToArray(e, t)
  35527. var n = Object.prototype.toString.call(e).slice(8, -1)
  35528. return (
  35529. 'Object' === n && e.constructor && (n = e.constructor.name),
  35530. 'Map' === n || 'Set' === n
  35531. ? Array.from(e)
  35532. : 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
  35533. ? _arrayLikeToArray(e, t)
  35534. : void 0
  35535. )
  35536. }
  35537. }
  35538. function _arrayLikeToArray(e, t) {
  35539. ;(null == t || t > e.length) && (t = e.length)
  35540. for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]
  35541. return r
  35542. }
  35543. function _nonIterableSpread() {
  35544. throw new TypeError(
  35545. 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
  35546. )
  35547. }
  35548. function compose(e) {
  35549. if (!Array.isArray(e)) throw new TypeError('Middlewares must be an array!')
  35550. for (var t = e.length, n = 0; n < t; n++)
  35551. if ('function' != typeof e[n])
  35552. throw new TypeError('Middleware must be componsed of function')
  35553. return function (t, n) {
  35554. var r = -1
  35555. return (function a(o) {
  35556. if (o <= r)
  35557. return Promise.reject(
  35558. new Error('next() should not be called multiple times in one middleware!')
  35559. )
  35560. r = o
  35561. var i = e[o] || n
  35562. if (!i) return Promise.resolve()
  35563. try {
  35564. return Promise.resolve(
  35565. i(t, function () {
  35566. return a(o + 1)
  35567. })
  35568. )
  35569. } catch (err) {
  35570. return Promise.reject(err)
  35571. }
  35572. })(0)
  35573. }
  35574. }
  35575. ;(fetch$1.polyfill = !0),
  35576. global$1.fetch ||
  35577. ((global$1.fetch = fetch$1),
  35578. (global$1.Headers = Headers),
  35579. (global$1.Request = Request),
  35580. (global$1.Response = Response)),
  35581. self.fetch.bind(self)
  35582. var Onion = (function () {
  35583. function e(t) {
  35584. if ((_classCallCheck(this, e), !Array.isArray(t)))
  35585. throw new TypeError('Default middlewares must be an array!')
  35586. ;(this.defaultMiddlewares = _toConsumableArray(t)), (this.middlewares = [])
  35587. }
  35588. return (
  35589. _createClass(e, [
  35590. {
  35591. key: 'use',
  35592. value: function (t) {
  35593. var n =
  35594. arguments.length > 1 && void 0 !== arguments[1]
  35595. ? arguments[1]
  35596. : { global: !1, core: !1, defaultInstance: !1 },
  35597. r = !1,
  35598. a = !1,
  35599. o = !1
  35600. 'number' == typeof n
  35601. ? (process && process.env, (r = !0), (a = !1))
  35602. : 'object' === _typeof(n) &&
  35603. n &&
  35604. ((a = n.global || !1), (r = n.core || !1), (o = n.defaultInstance || !1)),
  35605. a
  35606. ? e.globalMiddlewares.splice(
  35607. e.globalMiddlewares.length - e.defaultGlobalMiddlewaresLength,
  35608. 0,
  35609. t
  35610. )
  35611. : r
  35612. ? e.coreMiddlewares.splice(
  35613. e.coreMiddlewares.length - e.defaultCoreMiddlewaresLength,
  35614. 0,
  35615. t
  35616. )
  35617. : o
  35618. ? this.defaultMiddlewares.push(t)
  35619. : this.middlewares.push(t)
  35620. }
  35621. },
  35622. {
  35623. key: 'execute',
  35624. value: function () {
  35625. var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
  35626. n = compose(
  35627. [].concat(
  35628. _toConsumableArray(this.middlewares),
  35629. _toConsumableArray(this.defaultMiddlewares),
  35630. _toConsumableArray(e.globalMiddlewares),
  35631. _toConsumableArray(e.coreMiddlewares)
  35632. )
  35633. )
  35634. return n(t)
  35635. }
  35636. }
  35637. ]),
  35638. e
  35639. )
  35640. })()
  35641. ;(Onion.globalMiddlewares = []),
  35642. (Onion.defaultGlobalMiddlewaresLength = 0),
  35643. (Onion.coreMiddlewares = []),
  35644. (Onion.defaultCoreMiddlewaresLength = 0)
  35645. var MapCache = (function () {
  35646. function e(t) {
  35647. _classCallCheck(this, e),
  35648. (this.cache = new Map()),
  35649. (this.timer = {}),
  35650. this.extendOptions(t)
  35651. }
  35652. return (
  35653. _createClass(e, [
  35654. {
  35655. key: 'extendOptions',
  35656. value: function (e) {
  35657. this.maxCache = e.maxCache || 0
  35658. }
  35659. },
  35660. {
  35661. key: 'get',
  35662. value: function (e) {
  35663. return this.cache.get(JSON.stringify(e))
  35664. }
  35665. },
  35666. {
  35667. key: 'set',
  35668. value: function (e, t) {
  35669. var n = this,
  35670. r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 6e4
  35671. if (this.maxCache > 0 && this.cache.size >= this.maxCache) {
  35672. var a = _toConsumableArray(this.cache.keys())[0]
  35673. this.cache.delete(a), this.timer[a] && clearTimeout(this.timer[a])
  35674. }
  35675. var o = JSON.stringify(e)
  35676. this.cache.set(o, t),
  35677. r > 0 &&
  35678. (this.timer[o] = setTimeout(function () {
  35679. n.cache.delete(o), delete n.timer[o]
  35680. }, r))
  35681. }
  35682. },
  35683. {
  35684. key: 'delete',
  35685. value: function (e) {
  35686. var t = JSON.stringify(e)
  35687. return delete this.timer[t], this.cache.delete(t)
  35688. }
  35689. },
  35690. {
  35691. key: 'clear',
  35692. value: function () {
  35693. return (this.timer = {}), this.cache.clear()
  35694. }
  35695. }
  35696. ]),
  35697. e
  35698. )
  35699. })(),
  35700. RequestError = (function (e) {
  35701. _inherits(n, e)
  35702. var t = _createSuper(n)
  35703. function n(e, r) {
  35704. var a,
  35705. o =
  35706. arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 'RequestError'
  35707. return (
  35708. _classCallCheck(this, n),
  35709. ((a = t.call(this, e)).name = 'RequestError'),
  35710. (a.request = r),
  35711. (a.type = o),
  35712. a
  35713. )
  35714. }
  35715. return n
  35716. })(_wrapNativeSuper(Error)),
  35717. ResponseError = (function (e) {
  35718. _inherits(n, e)
  35719. var t = _createSuper(n)
  35720. function n(e, r, a, o) {
  35721. var i,
  35722. s =
  35723. arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 'ResponseError'
  35724. return (
  35725. _classCallCheck(this, n),
  35726. ((i = t.call(this, r || e.statusText)).name = 'ResponseError'),
  35727. (i.data = a),
  35728. (i.response = e),
  35729. (i.request = o),
  35730. (i.type = s),
  35731. i
  35732. )
  35733. }
  35734. return n
  35735. })(_wrapNativeSuper(Error))
  35736. function readerGBK(e) {
  35737. return new Promise(function (t, n) {
  35738. var r = new FileReader()
  35739. ;(r.onload = function () {
  35740. t(r.result)
  35741. }),
  35742. (r.onerror = n),
  35743. r.readAsText(e, 'GBK')
  35744. })
  35745. }
  35746. function safeJsonParse(t) {
  35747. var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
  35748. r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
  35749. a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null
  35750. try {
  35751. return JSON.parse(t)
  35752. } catch (e) {
  35753. if (n) throw new ResponseError(r, 'JSON.parse fail', t, a, 'ParseError')
  35754. }
  35755. return t
  35756. }
  35757. function timeout2Throw(e, t, n) {
  35758. return new Promise(function (r, a) {
  35759. setTimeout(function () {
  35760. a(new RequestError(t || 'timeout of '.concat(e, 'ms exceeded'), n, 'Timeout'))
  35761. }, e)
  35762. })
  35763. }
  35764. function cancel2Throw(e) {
  35765. return new Promise(function (t, n) {
  35766. e.cancelToken &&
  35767. e.cancelToken.promise.then(function (e) {
  35768. n(e)
  35769. })
  35770. })
  35771. }
  35772. var toString = Object.prototype.toString
  35773. function getEnv() {
  35774. var e
  35775. return (
  35776. 'undefined' != typeof process &&
  35777. '[object process]' === toString.call(process) &&
  35778. (e = 'NODE'),
  35779. 'undefined' != typeof XMLHttpRequest && (e = 'BROWSER'),
  35780. e
  35781. )
  35782. }
  35783. function isArray(e) {
  35784. return 'object' === _typeof(e) && '[object Array]' === Object.prototype.toString.call(e)
  35785. }
  35786. function isURLSearchParams(e) {
  35787. return 'undefined' != typeof URLSearchParams && e instanceof URLSearchParams
  35788. }
  35789. function isDate(e) {
  35790. return 'object' === _typeof(e) && '[object Date]' === Object.prototype.toString.call(e)
  35791. }
  35792. function isObject(e) {
  35793. return null !== e && 'object' === _typeof(e)
  35794. }
  35795. function forEach2ObjArr(e, t) {
  35796. if (e)
  35797. if (('object' !== _typeof(e) && (e = [e]), isArray(e)))
  35798. for (var n = 0; n < e.length; n++) t.call(null, e[n], n, e)
  35799. else
  35800. for (var r in e)
  35801. Object.prototype.hasOwnProperty.call(e, r) && t.call(null, e[r], r, e)
  35802. }
  35803. function getParamObject(e) {
  35804. return isURLSearchParams(e)
  35805. ? lib.parse(e.toString(), { strictNullHandling: !0 })
  35806. : 'string' == typeof e
  35807. ? [e]
  35808. : e
  35809. }
  35810. function reqStringify(e) {
  35811. return lib.stringify(e, { arrayFormat: 'repeat', strictNullHandling: !0 })
  35812. }
  35813. function mergeRequestOptions(e, t) {
  35814. return _objectSpread2(
  35815. _objectSpread2(_objectSpread2({}, e), t),
  35816. {},
  35817. {
  35818. headers: _objectSpread2(_objectSpread2({}, e.headers), t.headers),
  35819. params: _objectSpread2(
  35820. _objectSpread2({}, getParamObject(e.params)),
  35821. getParamObject(t.params)
  35822. ),
  35823. method: (t.method || e.method || 'get').toLowerCase()
  35824. }
  35825. )
  35826. }
  35827. var addfix = function (e) {
  35828. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  35829. n = t.prefix,
  35830. r = t.suffix
  35831. return (
  35832. n && (e = ''.concat(n).concat(e)),
  35833. r && (e = ''.concat(e).concat(r)),
  35834. { url: e, options: t }
  35835. )
  35836. },
  35837. warnedCoreType = !1
  35838. function __defaultValidateCache(e, t) {
  35839. var n = t.method
  35840. return 'get' === (void 0 === n ? 'get' : n).toLowerCase()
  35841. }
  35842. function fetchMiddleware(e, t) {
  35843. if (!e) return t()
  35844. var n = e.req,
  35845. r = (n = void 0 === n ? {} : n).options,
  35846. a = void 0 === r ? {} : r,
  35847. o = n.url,
  35848. i = void 0 === o ? '' : o,
  35849. s = e.cache,
  35850. l = e.responseInterceptors,
  35851. c = a.timeout,
  35852. u = void 0 === c ? 0 : c,
  35853. p = a.timeoutMessage,
  35854. d = a.__umiRequestCoreType__,
  35855. f = void 0 === d ? 'normal' : d,
  35856. h = a.useCache,
  35857. v = void 0 !== h && h,
  35858. m = a.method,
  35859. g = void 0 === m ? 'get' : m,
  35860. y = a.params,
  35861. b = a.ttl,
  35862. _ = a.validateCache,
  35863. A = void 0 === _ ? __defaultValidateCache : _
  35864. if ('normal' !== f) return process && process.env, t()
  35865. var x = fetch
  35866. if (!x) throw new Error('Global fetch not exist!')
  35867. var w,
  35868. k = 'BROWSER' === getEnv(),
  35869. S = A(i, a) && v && k
  35870. if (S) {
  35871. var E = s.get({ url: i, params: y, method: g })
  35872. if (E) return ((E = E.clone()).useCache = !0), (e.res = E), t()
  35873. }
  35874. return (
  35875. (w =
  35876. u > 0
  35877. ? Promise.race([cancel2Throw(a), x(i, a), timeout2Throw(u, p, e.req)])
  35878. : Promise.race([cancel2Throw(a), x(i, a)])),
  35879. l.forEach(function (e) {
  35880. w = w.then(function (t) {
  35881. var n = 'function' == typeof t.clone ? t.clone() : t
  35882. return e(n, a)
  35883. })
  35884. }),
  35885. w.then(function (n) {
  35886. if (S && 200 === n.status) {
  35887. var r = n.clone()
  35888. ;(r.useCache = !0), s.set({ url: i, params: y, method: g }, r, b)
  35889. }
  35890. return (e.res = n), t()
  35891. })
  35892. )
  35893. }
  35894. function parseResponseMiddleware(t, n) {
  35895. var r
  35896. return n()
  35897. .then(function () {
  35898. if (t) {
  35899. var n = t.res,
  35900. a = void 0 === n ? {} : n,
  35901. o = t.req,
  35902. i = void 0 === o ? {} : o,
  35903. s = (i || {}).options,
  35904. l = (s = void 0 === s ? {} : s).responseType,
  35905. c = void 0 === l ? 'json' : l,
  35906. u = s.charset,
  35907. p = void 0 === u ? 'utf8' : u
  35908. s.getResponse
  35909. var d = s.throwErrIfParseFail,
  35910. f = void 0 !== d && d,
  35911. h = s.parseResponse
  35912. if ((void 0 === h || h) && a && a.clone) {
  35913. if (
  35914. (((r = 'BROWSER' === getEnv() ? a.clone() : a).useCache = a.useCache || !1),
  35915. 'gbk' === p)
  35916. )
  35917. try {
  35918. return a
  35919. .blob()
  35920. .then(readerGBK)
  35921. .then(function (e) {
  35922. return safeJsonParse(e, !1, r, i)
  35923. })
  35924. } catch (e) {
  35925. throw new ResponseError(r, e.message, null, i, 'ParseError')
  35926. }
  35927. else if ('json' === c)
  35928. return a.text().then(function (e) {
  35929. return safeJsonParse(e, f, r, i)
  35930. })
  35931. try {
  35932. return a[c]()
  35933. } catch (e) {
  35934. throw new ResponseError(r, 'responseType not support', null, i, 'ParseError')
  35935. }
  35936. }
  35937. }
  35938. })
  35939. .then(function (e) {
  35940. if (t) {
  35941. t.res
  35942. var n = t.req,
  35943. a = void 0 === n ? {} : n,
  35944. o = (a || {}).options,
  35945. i = (o = void 0 === o ? {} : o).getResponse,
  35946. s = void 0 !== i && i
  35947. if (r) {
  35948. if (r.status >= 200 && r.status < 300)
  35949. return s ? void (t.res = { data: e, response: r }) : void (t.res = e)
  35950. throw new ResponseError(r, 'http error', e, a, 'HttpError')
  35951. }
  35952. }
  35953. })
  35954. .catch(function (e) {
  35955. if (e instanceof RequestError || e instanceof ResponseError) throw e
  35956. var n = t.req,
  35957. r = t.res
  35958. throw (
  35959. ((e.request = e.request || n),
  35960. (e.response = e.response || r),
  35961. (e.type = e.type || e.name),
  35962. (e.data = e.data || void 0),
  35963. e)
  35964. )
  35965. })
  35966. }
  35967. function simplePostMiddleware(e, t) {
  35968. if (!e) return t()
  35969. var n = e.req,
  35970. r = (n = void 0 === n ? {} : n).options,
  35971. a = void 0 === r ? {} : r,
  35972. o = a.method
  35973. if (
  35974. -1 ===
  35975. ['post', 'put', 'patch', 'delete'].indexOf((void 0 === o ? 'get' : o).toLowerCase())
  35976. )
  35977. return t()
  35978. var i = a.requestType,
  35979. s = void 0 === i ? 'json' : i,
  35980. l = a.data
  35981. if (l) {
  35982. var c = Object.prototype.toString.call(l)
  35983. '[object Object]' === c || '[object Array]' === c
  35984. ? 'json' === s
  35985. ? ((a.headers = _objectSpread2(
  35986. {
  35987. Accept: 'application/json',
  35988. 'Content-Type': 'application/json;charset=UTF-8'
  35989. },
  35990. a.headers
  35991. )),
  35992. (a.body = JSON.stringify(l)))
  35993. : 'form' === s &&
  35994. ((a.headers = _objectSpread2(
  35995. {
  35996. Accept: 'application/json',
  35997. 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
  35998. },
  35999. a.headers
  36000. )),
  36001. (a.body = reqStringify(l)))
  36002. : ((a.headers = _objectSpread2({ Accept: 'application/json' }, a.headers)),
  36003. (a.body = l))
  36004. }
  36005. return (e.req.options = a), t()
  36006. }
  36007. function paramsSerialize(e, t) {
  36008. var n, r
  36009. if (e)
  36010. if (t) n = t(e)
  36011. else if (isURLSearchParams(e)) n = e.toString()
  36012. else {
  36013. if (isArray(e))
  36014. (r = []),
  36015. forEach2ObjArr(e, function (e) {
  36016. null == e ? r.push(e) : r.push(isObject(e) ? JSON.stringify(e) : e)
  36017. }),
  36018. (n = reqStringify(r))
  36019. else
  36020. (r = {}),
  36021. forEach2ObjArr(e, function (e, t) {
  36022. var n = e
  36023. null == e
  36024. ? (r[t] = e)
  36025. : isDate(e)
  36026. ? (n = e.toISOString())
  36027. : isArray(e)
  36028. ? (n = e)
  36029. : isObject(e) && (n = JSON.stringify(e)),
  36030. (r[t] = n)
  36031. }),
  36032. (n = reqStringify(r))
  36033. }
  36034. return n
  36035. }
  36036. function simpleGetMiddleware(e, t) {
  36037. if (!e) return t()
  36038. var n = e.req,
  36039. r = (n = void 0 === n ? {} : n).options,
  36040. a = void 0 === r ? {} : r,
  36041. o = a.paramsSerializer,
  36042. i = a.params,
  36043. s = e.req,
  36044. l = (s = void 0 === s ? {} : s).url,
  36045. c = void 0 === l ? '' : l
  36046. ;(a.method = a.method ? a.method.toUpperCase() : 'GET'),
  36047. (a.credentials = a.credentials || 'same-origin')
  36048. var u = paramsSerialize(i, o)
  36049. if (((e.req.originUrl = c), u)) {
  36050. var p = -1 !== c.indexOf('?') ? '&' : '?'
  36051. e.req.url = ''.concat(c).concat(p).concat(u)
  36052. }
  36053. return (e.req.options = a), t()
  36054. }
  36055. var globalMiddlewares = [
  36056. simplePostMiddleware,
  36057. simpleGetMiddleware,
  36058. parseResponseMiddleware
  36059. ],
  36060. coreMiddlewares = [fetchMiddleware]
  36061. ;(Onion.globalMiddlewares = globalMiddlewares),
  36062. (Onion.defaultGlobalMiddlewaresLength = globalMiddlewares.length),
  36063. (Onion.coreMiddlewares = coreMiddlewares),
  36064. (Onion.defaultCoreMiddlewaresLength = coreMiddlewares.length)
  36065. var Core = (function () {
  36066. function t(e) {
  36067. _classCallCheck(this, t),
  36068. (this.onion = new Onion([])),
  36069. (this.fetchIndex = 0),
  36070. (this.mapCache = new MapCache(e)),
  36071. (this.initOptions = e),
  36072. (this.instanceRequestInterceptors = []),
  36073. (this.instanceResponseInterceptors = [])
  36074. }
  36075. return (
  36076. _createClass(
  36077. t,
  36078. [
  36079. {
  36080. key: 'use',
  36081. value: function (e) {
  36082. var t =
  36083. arguments.length > 1 && void 0 !== arguments[1]
  36084. ? arguments[1]
  36085. : { global: !1, core: !1 }
  36086. return this.onion.use(e, t), this
  36087. }
  36088. },
  36089. {
  36090. key: 'extendOptions',
  36091. value: function (e) {
  36092. ;(this.initOptions = mergeRequestOptions(this.initOptions, e)),
  36093. this.mapCache.extendOptions(e)
  36094. }
  36095. },
  36096. {
  36097. key: 'dealRequestInterceptors',
  36098. value: function (e) {
  36099. return []
  36100. .concat(
  36101. _toConsumableArray(t.requestInterceptors),
  36102. _toConsumableArray(this.instanceRequestInterceptors)
  36103. )
  36104. .reduce(function (t, n) {
  36105. return t.then(function () {
  36106. var t =
  36107. arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
  36108. return (
  36109. (e.req.url = t.url || e.req.url),
  36110. (e.req.options = t.options || e.req.options),
  36111. n(e.req.url, e.req.options)
  36112. )
  36113. })
  36114. }, Promise.resolve())
  36115. .then(function () {
  36116. var t =
  36117. arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
  36118. return (
  36119. (e.req.url = t.url || e.req.url),
  36120. (e.req.options = t.options || e.req.options),
  36121. Promise.resolve()
  36122. )
  36123. })
  36124. }
  36125. },
  36126. {
  36127. key: 'request',
  36128. value: function (n, r) {
  36129. var a = this,
  36130. o = this.onion,
  36131. i = {
  36132. req: {
  36133. url: n,
  36134. options: _objectSpread2(_objectSpread2({}, r), {}, { url: n })
  36135. },
  36136. res: null,
  36137. cache: this.mapCache,
  36138. responseInterceptors: [].concat(
  36139. _toConsumableArray(t.responseInterceptors),
  36140. _toConsumableArray(this.instanceResponseInterceptors)
  36141. )
  36142. }
  36143. if ('string' != typeof n) throw new Error('url MUST be a string')
  36144. return new Promise(function (t, n) {
  36145. a.dealRequestInterceptors(i)
  36146. .then(function () {
  36147. return o.execute(i)
  36148. })
  36149. .then(function () {
  36150. t(i.res)
  36151. })
  36152. .catch(function (r) {
  36153. var a = i.req.options.errorHandler
  36154. if (a)
  36155. try {
  36156. var o = a(r)
  36157. t(o)
  36158. } catch (e) {
  36159. n(e)
  36160. }
  36161. else n(r)
  36162. })
  36163. })
  36164. }
  36165. }
  36166. ],
  36167. [
  36168. {
  36169. key: 'requestUse',
  36170. value: function (e) {
  36171. var n =
  36172. arguments.length > 1 && void 0 !== arguments[1]
  36173. ? arguments[1]
  36174. : { global: !0 }
  36175. if ('function' != typeof e)
  36176. throw new TypeError('Interceptor must be function!')
  36177. n.global
  36178. ? t.requestInterceptors.push(e)
  36179. : this.instanceRequestInterceptors.push(e)
  36180. }
  36181. },
  36182. {
  36183. key: 'responseUse',
  36184. value: function (e) {
  36185. var n =
  36186. arguments.length > 1 && void 0 !== arguments[1]
  36187. ? arguments[1]
  36188. : { global: !0 }
  36189. if ('function' != typeof e)
  36190. throw new TypeError('Interceptor must be function!')
  36191. n.global
  36192. ? t.responseInterceptors.push(e)
  36193. : this.instanceResponseInterceptors.push(e)
  36194. }
  36195. }
  36196. ]
  36197. ),
  36198. t
  36199. )
  36200. })()
  36201. function Cancel(e) {
  36202. this.message = e
  36203. }
  36204. function CancelToken(e) {
  36205. if ('function' != typeof e) throw new TypeError('executor must be a function.')
  36206. var t
  36207. this.promise = new Promise(function (e) {
  36208. t = e
  36209. })
  36210. var n = this
  36211. e(function (e) {
  36212. n.reason || ((n.reason = new Cancel(e)), t(n.reason))
  36213. })
  36214. }
  36215. function isCancel(e) {
  36216. return !(!e || !e.__CANCEL__)
  36217. }
  36218. ;(Core.requestInterceptors = [addfix]),
  36219. (Core.responseInterceptors = []),
  36220. (Cancel.prototype.toString = function () {
  36221. return this.message ? 'Cancel: '.concat(this.message) : 'Cancel'
  36222. }),
  36223. (Cancel.prototype.__CANCEL__ = !0),
  36224. (CancelToken.prototype.throwIfRequested = function () {
  36225. if (this.reason) throw this.reason
  36226. }),
  36227. (CancelToken.source = function () {
  36228. var e
  36229. return {
  36230. token: new CancelToken(function (t) {
  36231. e = t
  36232. }),
  36233. cancel: e
  36234. }
  36235. })
  36236. var request$1 = function () {
  36237. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
  36238. t = new Core(e),
  36239. n = function (e) {
  36240. var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  36241. r = mergeRequestOptions(t.initOptions, n)
  36242. return t.request(e, r)
  36243. }
  36244. ;(n.use = t.use.bind(t)),
  36245. (n.fetchIndex = t.fetchIndex),
  36246. (n.interceptors = {
  36247. request: { use: Core.requestUse.bind(t) },
  36248. response: { use: Core.responseUse.bind(t) }
  36249. })
  36250. var r = ['get', 'post', 'delete', 'put', 'patch', 'head', 'options', 'rpc']
  36251. return (
  36252. r.forEach(function (e) {
  36253. n[e] = function (t, r) {
  36254. return n(t, _objectSpread2(_objectSpread2({}, r), {}, { method: e }))
  36255. }
  36256. }),
  36257. (n.Cancel = Cancel),
  36258. (n.CancelToken = CancelToken),
  36259. (n.isCancel = isCancel),
  36260. (n.extendOptions = t.extendOptions.bind(t)),
  36261. (n.middlewares = {
  36262. instance: t.onion.middlewares,
  36263. defaultInstance: t.onion.defaultMiddlewares,
  36264. global: Onion.globalMiddlewares,
  36265. core: Onion.coreMiddlewares
  36266. }),
  36267. n
  36268. )
  36269. },
  36270. extend = exports('bo', function (e) {
  36271. return request$1(e)
  36272. })
  36273. request$1({ parseResponse: !1 })
  36274. var request$1$1 = exports('bz', request$1({})),
  36275. lodash_isempty = { exports: {} }
  36276. !(function (t, n) {
  36277. var r = 9007199254740991,
  36278. a = '[object Map]',
  36279. o = '[object Promise]',
  36280. i = '[object Set]',
  36281. s = '[object WeakMap]',
  36282. l = '[object DataView]',
  36283. c = /^\[object .+?Constructor\]$/,
  36284. u =
  36285. 'object' == _typeof2(commonjsGlobal$1) &&
  36286. commonjsGlobal$1 &&
  36287. commonjsGlobal$1.Object === Object &&
  36288. commonjsGlobal$1,
  36289. p =
  36290. 'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
  36291. self &&
  36292. self.Object === Object &&
  36293. self,
  36294. d = u || p || Function('return this')(),
  36295. f = n && !n.nodeType && n,
  36296. h = f && t && !t.nodeType && t,
  36297. v = h && h.exports === f
  36298. var m = Function.prototype,
  36299. g = Object.prototype,
  36300. y = d['__core-js_shared__'],
  36301. b = (function () {
  36302. var e = /[^.]+$/.exec((y && y.keys && y.keys.IE_PROTO) || '')
  36303. return e ? 'Symbol(src)_1.' + e : ''
  36304. })(),
  36305. _ = m.toString,
  36306. A = g.hasOwnProperty,
  36307. x = g.toString,
  36308. w = RegExp(
  36309. '^' +
  36310. _.call(A)
  36311. .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
  36312. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +
  36313. '$'
  36314. ),
  36315. k = v ? d.Buffer : void 0,
  36316. S = g.propertyIsEnumerable,
  36317. E = k ? k.isBuffer : void 0,
  36318. P = (function (e, t) {
  36319. return function (n) {
  36320. return e(t(n))
  36321. }
  36322. })(Object.keys, Object),
  36323. C = V(d, 'DataView'),
  36324. T = V(d, 'Map'),
  36325. I = V(d, 'Promise'),
  36326. R = V(d, 'Set'),
  36327. M = V(d, 'WeakMap'),
  36328. z = !S.call({ valueOf: 1 }, 'valueOf'),
  36329. O = H(C),
  36330. D = H(T),
  36331. F = H(I),
  36332. B = H(R),
  36333. N = H(M)
  36334. function j(t) {
  36335. if (!K(t) || ((n = t), b && b in n)) return !1
  36336. var n,
  36337. r =
  36338. $(t) ||
  36339. (function (t) {
  36340. var n = !1
  36341. if (null != t && 'function' != typeof t.toString)
  36342. try {
  36343. n = !!(t + '')
  36344. } catch (e) {}
  36345. return n
  36346. })(t)
  36347. ? w
  36348. : c
  36349. return r.test(H(t))
  36350. }
  36351. function V(e, t) {
  36352. var n = (function (e, t) {
  36353. return null == e ? void 0 : e[t]
  36354. })(e, t)
  36355. return j(n) ? n : void 0
  36356. }
  36357. var L = function (e) {
  36358. return x.call(e)
  36359. }
  36360. function H(t) {
  36361. if (null != t) {
  36362. try {
  36363. return _.call(t)
  36364. } catch (e) {}
  36365. try {
  36366. return t + ''
  36367. } catch (e) {}
  36368. }
  36369. return ''
  36370. }
  36371. function G(e) {
  36372. return (
  36373. (function (e) {
  36374. return (
  36375. (function (e) {
  36376. return !!e && 'object' == _typeof2(e)
  36377. })(e) && U(e)
  36378. )
  36379. })(e) &&
  36380. A.call(e, 'callee') &&
  36381. (!S.call(e, 'callee') || '[object Arguments]' == x.call(e))
  36382. )
  36383. }
  36384. ;((C && L(new C(new ArrayBuffer(1))) != l) ||
  36385. (T && L(new T()) != a) ||
  36386. (I && L(I.resolve()) != o) ||
  36387. (R && L(new R()) != i) ||
  36388. (M && L(new M()) != s)) &&
  36389. (L = function (e) {
  36390. var t = x.call(e),
  36391. n = '[object Object]' == t ? e.constructor : void 0,
  36392. r = n ? H(n) : void 0
  36393. if (r)
  36394. switch (r) {
  36395. case O:
  36396. return l
  36397. case D:
  36398. return a
  36399. case F:
  36400. return o
  36401. case B:
  36402. return i
  36403. case N:
  36404. return s
  36405. }
  36406. return t
  36407. })
  36408. var q = Array.isArray
  36409. function U(e) {
  36410. return (
  36411. null != e &&
  36412. (function (e) {
  36413. return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= r
  36414. })(e.length) &&
  36415. !$(e)
  36416. )
  36417. }
  36418. var W =
  36419. E ||
  36420. function () {
  36421. return !1
  36422. }
  36423. function $(e) {
  36424. var t = K(e) ? x.call(e) : ''
  36425. return '[object Function]' == t || '[object GeneratorFunction]' == t
  36426. }
  36427. function K(e) {
  36428. var t = _typeof2(e)
  36429. return !!e && ('object' == t || 'function' == t)
  36430. }
  36431. t.exports = function (e) {
  36432. if (
  36433. U(e) &&
  36434. (q(e) || 'string' == typeof e || 'function' == typeof e.splice || W(e) || G(e))
  36435. )
  36436. return !e.length
  36437. var t = L(e)
  36438. if (t == a || t == i) return !e.size
  36439. if (
  36440. z ||
  36441. (function (e) {
  36442. var t = e && e.constructor
  36443. return e === (('function' == typeof t && t.prototype) || g)
  36444. })(e)
  36445. )
  36446. return !P(e).length
  36447. for (var n in e) if (A.call(e, n)) return !1
  36448. return !0
  36449. }
  36450. })(lodash_isempty, lodash_isempty.exports)
  36451. var objectTag = '[object Object]'
  36452. function isHostObject(t) {
  36453. var n = !1
  36454. if (null != t && 'function' != typeof t.toString)
  36455. try {
  36456. n = !!(t + '')
  36457. } catch (e) {}
  36458. return n
  36459. }
  36460. function overArg(e, t) {
  36461. return function (n) {
  36462. return e(t(n))
  36463. }
  36464. }
  36465. var funcProto = Function.prototype,
  36466. objectProto = Object.prototype,
  36467. funcToString = funcProto.toString,
  36468. hasOwnProperty = objectProto.hasOwnProperty,
  36469. objectCtorString = funcToString.call(Object),
  36470. objectToString = objectProto.toString,
  36471. getPrototype = overArg(Object.getPrototypeOf, Object)
  36472. function isObjectLike(e) {
  36473. return !!e && 'object' == _typeof2(e)
  36474. }
  36475. function isPlainObject$1(e) {
  36476. if (!isObjectLike(e) || objectToString.call(e) != objectTag || isHostObject(e))
  36477. return !1
  36478. var t = getPrototype(e)
  36479. if (null === t) return !0
  36480. var n = hasOwnProperty.call(t, 'constructor') && t.constructor
  36481. return (
  36482. 'function' == typeof n && n instanceof n && funcToString.call(n) == objectCtorString
  36483. )
  36484. }
  36485. var lodash_isplainobject = isPlainObject$1,
  36486. lodash_transform = { exports: {} }
  36487. !(function (t, n) {
  36488. var r = '__lodash_hash_undefined__',
  36489. a = 9007199254740991,
  36490. o = '[object Arguments]',
  36491. i = '[object Array]',
  36492. s = '[object Boolean]',
  36493. l = '[object Date]',
  36494. c = '[object Error]',
  36495. u = '[object Function]',
  36496. p = '[object Map]',
  36497. d = '[object Number]',
  36498. f = '[object Object]',
  36499. h = '[object Promise]',
  36500. v = '[object RegExp]',
  36501. m = '[object Set]',
  36502. g = '[object String]',
  36503. y = '[object Symbol]',
  36504. b = '[object WeakMap]',
  36505. _ = '[object ArrayBuffer]',
  36506. A = '[object DataView]',
  36507. x = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
  36508. w = /^\w*$/,
  36509. k = /^\./,
  36510. S =
  36511. /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
  36512. E = /\\(\\)?/g,
  36513. P = /^\[object .+?Constructor\]$/,
  36514. C = /^(?:0|[1-9]\d*)$/,
  36515. T = {}
  36516. ;(T['[object Float32Array]'] =
  36517. T['[object Float64Array]'] =
  36518. T['[object Int8Array]'] =
  36519. T['[object Int16Array]'] =
  36520. T['[object Int32Array]'] =
  36521. T['[object Uint8Array]'] =
  36522. T['[object Uint8ClampedArray]'] =
  36523. T['[object Uint16Array]'] =
  36524. T['[object Uint32Array]'] =
  36525. !0),
  36526. (T[o] =
  36527. T[i] =
  36528. T[_] =
  36529. T[s] =
  36530. T[A] =
  36531. T[l] =
  36532. T[c] =
  36533. T[u] =
  36534. T[p] =
  36535. T[d] =
  36536. T[f] =
  36537. T[v] =
  36538. T[m] =
  36539. T[g] =
  36540. T[b] =
  36541. !1)
  36542. var I =
  36543. 'object' == _typeof2(commonjsGlobal$1) &&
  36544. commonjsGlobal$1 &&
  36545. commonjsGlobal$1.Object === Object &&
  36546. commonjsGlobal$1,
  36547. R =
  36548. 'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
  36549. self &&
  36550. self.Object === Object &&
  36551. self,
  36552. M = I || R || Function('return this')(),
  36553. z = n && !n.nodeType && n,
  36554. O = z && t && !t.nodeType && t,
  36555. D = O && O.exports === z && I.process,
  36556. F = (function () {
  36557. try {
  36558. return D && D.binding('util')
  36559. } catch (e) {}
  36560. })(),
  36561. B = F && F.isTypedArray
  36562. function N(e, t) {
  36563. for (var n = -1, r = e ? e.length : 0; ++n < r && !1 !== t(e[n], n, e); );
  36564. return e
  36565. }
  36566. function j(e, t) {
  36567. for (var n = -1, r = e ? e.length : 0; ++n < r; ) if (t(e[n], n, e)) return !0
  36568. return !1
  36569. }
  36570. function V(t) {
  36571. var n = !1
  36572. if (null != t && 'function' != typeof t.toString)
  36573. try {
  36574. n = !!(t + '')
  36575. } catch (e) {}
  36576. return n
  36577. }
  36578. function L(e) {
  36579. var t = -1,
  36580. n = Array(e.size)
  36581. return (
  36582. e.forEach(function (e, r) {
  36583. n[++t] = [r, e]
  36584. }),
  36585. n
  36586. )
  36587. }
  36588. function H(e, t) {
  36589. return function (n) {
  36590. return e(t(n))
  36591. }
  36592. }
  36593. function G(e) {
  36594. var t = -1,
  36595. n = Array(e.size)
  36596. return (
  36597. e.forEach(function (e) {
  36598. n[++t] = e
  36599. }),
  36600. n
  36601. )
  36602. }
  36603. var q = Array.prototype,
  36604. U = Function.prototype,
  36605. W = Object.prototype,
  36606. $ = M['__core-js_shared__'],
  36607. K = (function () {
  36608. var e = /[^.]+$/.exec(($ && $.keys && $.keys.IE_PROTO) || '')
  36609. return e ? 'Symbol(src)_1.' + e : ''
  36610. })(),
  36611. Y = U.toString,
  36612. J = W.hasOwnProperty,
  36613. Q = W.toString,
  36614. X = RegExp(
  36615. '^' +
  36616. Y.call(J)
  36617. .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
  36618. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +
  36619. '$'
  36620. ),
  36621. Z = M.Symbol,
  36622. ee = M.Uint8Array,
  36623. te = H(Object.getPrototypeOf, Object),
  36624. ne = Object.create,
  36625. re = W.propertyIsEnumerable,
  36626. ae = q.splice,
  36627. oe = H(Object.keys, Object),
  36628. ie = je(M, 'DataView'),
  36629. se = je(M, 'Map'),
  36630. le = je(M, 'Promise'),
  36631. ce = je(M, 'Set'),
  36632. ue = je(M, 'WeakMap'),
  36633. pe = je(Object, 'create'),
  36634. de = $e(ie),
  36635. fe = $e(se),
  36636. he = $e(le),
  36637. ve = $e(ce),
  36638. me = $e(ue),
  36639. ge = Z ? Z.prototype : void 0,
  36640. ye = ge ? ge.valueOf : void 0,
  36641. be = ge ? ge.toString : void 0
  36642. function _e(e) {
  36643. var t = -1,
  36644. n = e ? e.length : 0
  36645. for (this.clear(); ++t < n; ) {
  36646. var r = e[t]
  36647. this.set(r[0], r[1])
  36648. }
  36649. }
  36650. function Ae(e) {
  36651. var t = -1,
  36652. n = e ? e.length : 0
  36653. for (this.clear(); ++t < n; ) {
  36654. var r = e[t]
  36655. this.set(r[0], r[1])
  36656. }
  36657. }
  36658. function xe(e) {
  36659. var t = -1,
  36660. n = e ? e.length : 0
  36661. for (this.clear(); ++t < n; ) {
  36662. var r = e[t]
  36663. this.set(r[0], r[1])
  36664. }
  36665. }
  36666. function we(e) {
  36667. var t = -1,
  36668. n = e ? e.length : 0
  36669. for (this.__data__ = new xe(); ++t < n; ) this.add(e[t])
  36670. }
  36671. function ke(e) {
  36672. this.__data__ = new Ae(e)
  36673. }
  36674. function Se(e, t) {
  36675. var n =
  36676. Qe(e) || Je(e)
  36677. ? (function (e, t) {
  36678. for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n)
  36679. return r
  36680. })(e.length, String)
  36681. : [],
  36682. r = n.length,
  36683. a = !!r
  36684. for (var o in e)
  36685. (!t && !J.call(e, o)) || (a && ('length' == o || Le(o, r))) || n.push(o)
  36686. return n
  36687. }
  36688. function Ee(e, t) {
  36689. for (var n = e.length; n--; ) if (Ye(e[n][0], t)) return n
  36690. return -1
  36691. }
  36692. ;(_e.prototype.clear = function () {
  36693. this.__data__ = pe ? pe(null) : {}
  36694. }),
  36695. (_e.prototype.delete = function (e) {
  36696. return this.has(e) && delete this.__data__[e]
  36697. }),
  36698. (_e.prototype.get = function (e) {
  36699. var t = this.__data__
  36700. if (pe) {
  36701. var n = t[e]
  36702. return n === r ? void 0 : n
  36703. }
  36704. return J.call(t, e) ? t[e] : void 0
  36705. }),
  36706. (_e.prototype.has = function (e) {
  36707. var t = this.__data__
  36708. return pe ? void 0 !== t[e] : J.call(t, e)
  36709. }),
  36710. (_e.prototype.set = function (e, t) {
  36711. return (this.__data__[e] = pe && void 0 === t ? r : t), this
  36712. }),
  36713. (Ae.prototype.clear = function () {
  36714. this.__data__ = []
  36715. }),
  36716. (Ae.prototype.delete = function (e) {
  36717. var t = this.__data__,
  36718. n = Ee(t, e)
  36719. return !(n < 0) && (n == t.length - 1 ? t.pop() : ae.call(t, n, 1), !0)
  36720. }),
  36721. (Ae.prototype.get = function (e) {
  36722. var t = this.__data__,
  36723. n = Ee(t, e)
  36724. return n < 0 ? void 0 : t[n][1]
  36725. }),
  36726. (Ae.prototype.has = function (e) {
  36727. return Ee(this.__data__, e) > -1
  36728. }),
  36729. (Ae.prototype.set = function (e, t) {
  36730. var n = this.__data__,
  36731. r = Ee(n, e)
  36732. return r < 0 ? n.push([e, t]) : (n[r][1] = t), this
  36733. }),
  36734. (xe.prototype.clear = function () {
  36735. this.__data__ = { hash: new _e(), map: new (se || Ae)(), string: new _e() }
  36736. }),
  36737. (xe.prototype.delete = function (e) {
  36738. return Ne(this, e).delete(e)
  36739. }),
  36740. (xe.prototype.get = function (e) {
  36741. return Ne(this, e).get(e)
  36742. }),
  36743. (xe.prototype.has = function (e) {
  36744. return Ne(this, e).has(e)
  36745. }),
  36746. (xe.prototype.set = function (e, t) {
  36747. return Ne(this, e).set(e, t), this
  36748. }),
  36749. (we.prototype.add = we.prototype.push =
  36750. function (e) {
  36751. return this.__data__.set(e, r), this
  36752. }),
  36753. (we.prototype.has = function (e) {
  36754. return this.__data__.has(e)
  36755. }),
  36756. (ke.prototype.clear = function () {
  36757. this.__data__ = new Ae()
  36758. }),
  36759. (ke.prototype.delete = function (e) {
  36760. return this.__data__.delete(e)
  36761. }),
  36762. (ke.prototype.get = function (e) {
  36763. return this.__data__.get(e)
  36764. }),
  36765. (ke.prototype.has = function (e) {
  36766. return this.__data__.has(e)
  36767. }),
  36768. (ke.prototype.set = function (e, t) {
  36769. var n = this.__data__
  36770. if (n instanceof Ae) {
  36771. var r = n.__data__
  36772. if (!se || r.length < 199) return r.push([e, t]), this
  36773. n = this.__data__ = new xe(r)
  36774. }
  36775. return n.set(e, t), this
  36776. })
  36777. var Pe,
  36778. Ce = function (e, t, n) {
  36779. for (var r = -1, a = Object(e), o = n(e), i = o.length; i--; ) {
  36780. var s = o[Pe ? i : ++r]
  36781. if (!1 === t(a[s], s, a)) break
  36782. }
  36783. return e
  36784. }
  36785. function Te(e, t) {
  36786. return e && Ce(e, t, it)
  36787. }
  36788. function Ie(e, t) {
  36789. for (var n = 0, r = (t = He(t, e) ? [t] : Fe(t)).length; null != e && n < r; )
  36790. e = e[We(t[n++])]
  36791. return n && n == r ? e : void 0
  36792. }
  36793. function Re(e, t) {
  36794. return null != e && t in Object(e)
  36795. }
  36796. function Me(e, t, n, r, a) {
  36797. return (
  36798. e === t ||
  36799. (null == e || null == t || (!tt(e) && !nt(t))
  36800. ? e != e && t != t
  36801. : (function (e, t, n, r, a, u) {
  36802. var h = Qe(e),
  36803. b = Qe(t),
  36804. x = i,
  36805. w = i
  36806. h || (x = (x = Ve(e)) == o ? f : x)
  36807. b || (w = (w = Ve(t)) == o ? f : w)
  36808. var k = x == f && !V(e),
  36809. S = w == f && !V(t),
  36810. E = x == w
  36811. if (E && !k)
  36812. return (
  36813. u || (u = new ke()),
  36814. h || ot(e)
  36815. ? Be(e, t, n, r, a, u)
  36816. : (function (e, t, n, r, a, o, i) {
  36817. switch (n) {
  36818. case A:
  36819. if (
  36820. e.byteLength != t.byteLength ||
  36821. e.byteOffset != t.byteOffset
  36822. )
  36823. return !1
  36824. ;(e = e.buffer), (t = t.buffer)
  36825. case _:
  36826. return !(
  36827. e.byteLength != t.byteLength || !r(new ee(e), new ee(t))
  36828. )
  36829. case s:
  36830. case l:
  36831. case d:
  36832. return Ye(+e, +t)
  36833. case c:
  36834. return e.name == t.name && e.message == t.message
  36835. case v:
  36836. case g:
  36837. return e == t + ''
  36838. case p:
  36839. var u = L
  36840. case m:
  36841. var f = 2 & o
  36842. if ((u || (u = G), e.size != t.size && !f)) return !1
  36843. var h = i.get(e)
  36844. if (h) return h == t
  36845. ;(o |= 1), i.set(e, t)
  36846. var b = Be(u(e), u(t), r, a, o, i)
  36847. return i.delete(e), b
  36848. case y:
  36849. if (ye) return ye.call(e) == ye.call(t)
  36850. }
  36851. return !1
  36852. })(e, t, x, n, r, a, u)
  36853. )
  36854. if (!(2 & a)) {
  36855. var P = k && J.call(e, '__wrapped__'),
  36856. C = S && J.call(t, '__wrapped__')
  36857. if (P || C) {
  36858. var T = P ? e.value() : e,
  36859. I = C ? t.value() : t
  36860. return u || (u = new ke()), n(T, I, r, a, u)
  36861. }
  36862. }
  36863. if (!E) return !1
  36864. return (
  36865. u || (u = new ke()),
  36866. (function (e, t, n, r, a, o) {
  36867. var i = 2 & a,
  36868. s = it(e),
  36869. l = s.length,
  36870. c = it(t).length
  36871. if (l != c && !i) return !1
  36872. var u = l
  36873. for (; u--; ) {
  36874. var p = s[u]
  36875. if (!(i ? p in t : J.call(t, p))) return !1
  36876. }
  36877. var d = o.get(e)
  36878. if (d && o.get(t)) return d == t
  36879. var f = !0
  36880. o.set(e, t), o.set(t, e)
  36881. var h = i
  36882. for (; ++u < l; ) {
  36883. var v = e[(p = s[u])],
  36884. m = t[p]
  36885. if (r) var g = i ? r(m, v, p, t, e, o) : r(v, m, p, e, t, o)
  36886. if (!(void 0 === g ? v === m || n(v, m, r, a, o) : g)) {
  36887. f = !1
  36888. break
  36889. }
  36890. h || (h = 'constructor' == p)
  36891. }
  36892. if (f && !h) {
  36893. var y = e.constructor,
  36894. b = t.constructor
  36895. y == b ||
  36896. !('constructor' in e) ||
  36897. !('constructor' in t) ||
  36898. ('function' == typeof y &&
  36899. y instanceof y &&
  36900. 'function' == typeof b &&
  36901. b instanceof b) ||
  36902. (f = !1)
  36903. }
  36904. return o.delete(e), o.delete(t), f
  36905. })(e, t, n, r, a, u)
  36906. )
  36907. })(e, t, Me, n, r, a))
  36908. )
  36909. }
  36910. function ze(e) {
  36911. return !(!tt(e) || ((t = e), K && K in t)) && (Ze(e) || V(e) ? X : P).test($e(e))
  36912. var t
  36913. }
  36914. function Oe(e) {
  36915. return 'function' == typeof e
  36916. ? e
  36917. : null == e
  36918. ? st
  36919. : 'object' == _typeof2(e)
  36920. ? Qe(e)
  36921. ? (function (e, t) {
  36922. if (He(e) && Ge(t)) return qe(We(e), t)
  36923. return function (n) {
  36924. var r = (function (e, t, n) {
  36925. var r = null == e ? void 0 : Ie(e, t)
  36926. return void 0 === r ? n : r
  36927. })(n, e)
  36928. return void 0 === r && r === t
  36929. ? (function (e, t) {
  36930. return (
  36931. null != e &&
  36932. (function (e, t, n) {
  36933. t = He(t, e) ? [t] : Fe(t)
  36934. var r,
  36935. a = -1,
  36936. o = t.length
  36937. for (; ++a < o; ) {
  36938. var i = We(t[a])
  36939. if (!(r = null != e && n(e, i))) break
  36940. e = e[i]
  36941. }
  36942. if (r) return r
  36943. return (
  36944. !!(o = e ? e.length : 0) &&
  36945. et(o) &&
  36946. Le(i, o) &&
  36947. (Qe(e) || Je(e))
  36948. )
  36949. })(e, t, Re)
  36950. )
  36951. })(n, e)
  36952. : Me(t, r, void 0, 3)
  36953. }
  36954. })(e[0], e[1])
  36955. : (function (e) {
  36956. var t = (function (e) {
  36957. var t = it(e),
  36958. n = t.length
  36959. for (; n--; ) {
  36960. var r = t[n],
  36961. a = e[r]
  36962. t[n] = [r, a, Ge(a)]
  36963. }
  36964. return t
  36965. })(e)
  36966. if (1 == t.length && t[0][2]) return qe(t[0][0], t[0][1])
  36967. return function (n) {
  36968. return (
  36969. n === e ||
  36970. (function (e, t, n, r) {
  36971. var a = n.length,
  36972. o = a,
  36973. i = !r
  36974. if (null == e) return !o
  36975. for (e = Object(e); a--; ) {
  36976. var s = n[a]
  36977. if (i && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1
  36978. }
  36979. for (; ++a < o; ) {
  36980. var l = (s = n[a])[0],
  36981. c = e[l],
  36982. u = s[1]
  36983. if (i && s[2]) {
  36984. if (void 0 === c && !(l in e)) return !1
  36985. } else {
  36986. var p = new ke()
  36987. if (r) var d = r(c, u, l, e, t, p)
  36988. if (!(void 0 === d ? Me(u, c, r, 3, p) : d)) return !1
  36989. }
  36990. }
  36991. return !0
  36992. })(n, e, t)
  36993. )
  36994. }
  36995. })(e)
  36996. : He((t = e))
  36997. ? ((n = We(t)),
  36998. function (e) {
  36999. return null == e ? void 0 : e[n]
  37000. })
  37001. : (function (e) {
  37002. return function (t) {
  37003. return Ie(t, e)
  37004. }
  37005. })(t)
  37006. var t, n
  37007. }
  37008. function De(e) {
  37009. if (
  37010. ((n = (t = e) && t.constructor),
  37011. (r = ('function' == typeof n && n.prototype) || W),
  37012. t !== r)
  37013. )
  37014. return oe(e)
  37015. var t,
  37016. n,
  37017. r,
  37018. a = []
  37019. for (var o in Object(e)) J.call(e, o) && 'constructor' != o && a.push(o)
  37020. return a
  37021. }
  37022. function Fe(e) {
  37023. return Qe(e) ? e : Ue(e)
  37024. }
  37025. function Be(e, t, n, r, a, o) {
  37026. var i = 2 & a,
  37027. s = e.length,
  37028. l = t.length
  37029. if (s != l && !(i && l > s)) return !1
  37030. var c = o.get(e)
  37031. if (c && o.get(t)) return c == t
  37032. var u = -1,
  37033. p = !0,
  37034. d = 1 & a ? new we() : void 0
  37035. for (o.set(e, t), o.set(t, e); ++u < s; ) {
  37036. var f = e[u],
  37037. h = t[u]
  37038. if (r) var v = i ? r(h, f, u, t, e, o) : r(f, h, u, e, t, o)
  37039. if (void 0 !== v) {
  37040. if (v) continue
  37041. p = !1
  37042. break
  37043. }
  37044. if (d) {
  37045. if (
  37046. !j(t, function (e, t) {
  37047. if (!d.has(t) && (f === e || n(f, e, r, a, o))) return d.add(t)
  37048. })
  37049. ) {
  37050. p = !1
  37051. break
  37052. }
  37053. } else if (f !== h && !n(f, h, r, a, o)) {
  37054. p = !1
  37055. break
  37056. }
  37057. }
  37058. return o.delete(e), o.delete(t), p
  37059. }
  37060. function Ne(e, t) {
  37061. var n,
  37062. r,
  37063. a = e.__data__
  37064. return (
  37065. 'string' == (r = _typeof2((n = t))) ||
  37066. 'number' == r ||
  37067. 'symbol' == r ||
  37068. 'boolean' == r
  37069. ? '__proto__' !== n
  37070. : null === n
  37071. )
  37072. ? a['string' == typeof t ? 'string' : 'hash']
  37073. : a.map
  37074. }
  37075. function je(e, t) {
  37076. var n = (function (e, t) {
  37077. return null == e ? void 0 : e[t]
  37078. })(e, t)
  37079. return ze(n) ? n : void 0
  37080. }
  37081. var Ve = function (e) {
  37082. return Q.call(e)
  37083. }
  37084. function Le(e, t) {
  37085. return (
  37086. !!(t = null == t ? a : t) &&
  37087. ('number' == typeof e || C.test(e)) &&
  37088. e > -1 &&
  37089. e % 1 == 0 &&
  37090. e < t
  37091. )
  37092. }
  37093. function He(e, t) {
  37094. if (Qe(e)) return !1
  37095. var n = _typeof2(e)
  37096. return (
  37097. !('number' != n && 'symbol' != n && 'boolean' != n && null != e && !rt(e)) ||
  37098. w.test(e) ||
  37099. !x.test(e) ||
  37100. (null != t && e in Object(t))
  37101. )
  37102. }
  37103. function Ge(e) {
  37104. return e == e && !tt(e)
  37105. }
  37106. function qe(e, t) {
  37107. return function (n) {
  37108. return null != n && n[e] === t && (void 0 !== t || e in Object(n))
  37109. }
  37110. }
  37111. ;((ie && Ve(new ie(new ArrayBuffer(1))) != A) ||
  37112. (se && Ve(new se()) != p) ||
  37113. (le && Ve(le.resolve()) != h) ||
  37114. (ce && Ve(new ce()) != m) ||
  37115. (ue && Ve(new ue()) != b)) &&
  37116. (Ve = function (e) {
  37117. var t = Q.call(e),
  37118. n = t == f ? e.constructor : void 0,
  37119. r = n ? $e(n) : void 0
  37120. if (r)
  37121. switch (r) {
  37122. case de:
  37123. return A
  37124. case fe:
  37125. return p
  37126. case he:
  37127. return h
  37128. case ve:
  37129. return m
  37130. case me:
  37131. return b
  37132. }
  37133. return t
  37134. })
  37135. var Ue = Ke(function (e) {
  37136. var t
  37137. e =
  37138. null == (t = e)
  37139. ? ''
  37140. : (function (e) {
  37141. if ('string' == typeof e) return e
  37142. if (rt(e)) return be ? be.call(e) : ''
  37143. var t = e + ''
  37144. return '0' == t && 1 / e == -1 / 0 ? '-0' : t
  37145. })(t)
  37146. var n = []
  37147. return (
  37148. k.test(e) && n.push(''),
  37149. e.replace(S, function (e, t, r, a) {
  37150. n.push(r ? a.replace(E, '$1') : t || e)
  37151. }),
  37152. n
  37153. )
  37154. })
  37155. function We(e) {
  37156. if ('string' == typeof e || rt(e)) return e
  37157. var t = e + ''
  37158. return '0' == t && 1 / e == -1 / 0 ? '-0' : t
  37159. }
  37160. function $e(t) {
  37161. if (null != t) {
  37162. try {
  37163. return Y.call(t)
  37164. } catch (e) {}
  37165. try {
  37166. return t + ''
  37167. } catch (e) {}
  37168. }
  37169. return ''
  37170. }
  37171. function Ke(e, t) {
  37172. if ('function' != typeof e || (t && 'function' != typeof t))
  37173. throw new TypeError('Expected a function')
  37174. var n = function n() {
  37175. var r = arguments,
  37176. a = t ? t.apply(this, r) : r[0],
  37177. o = n.cache
  37178. if (o.has(a)) return o.get(a)
  37179. var i = e.apply(this, r)
  37180. return (n.cache = o.set(a, i)), i
  37181. }
  37182. return (n.cache = new (Ke.Cache || xe)()), n
  37183. }
  37184. function Ye(e, t) {
  37185. return e === t || (e != e && t != t)
  37186. }
  37187. function Je(e) {
  37188. return (
  37189. (function (e) {
  37190. return nt(e) && Xe(e)
  37191. })(e) &&
  37192. J.call(e, 'callee') &&
  37193. (!re.call(e, 'callee') || Q.call(e) == o)
  37194. )
  37195. }
  37196. Ke.Cache = xe
  37197. var Qe = Array.isArray
  37198. function Xe(e) {
  37199. return null != e && et(e.length) && !Ze(e)
  37200. }
  37201. function Ze(e) {
  37202. var t = tt(e) ? Q.call(e) : ''
  37203. return t == u || '[object GeneratorFunction]' == t
  37204. }
  37205. function et(e) {
  37206. return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= a
  37207. }
  37208. function tt(e) {
  37209. var t = _typeof2(e)
  37210. return !!e && ('object' == t || 'function' == t)
  37211. }
  37212. function nt(e) {
  37213. return !!e && 'object' == _typeof2(e)
  37214. }
  37215. function rt(e) {
  37216. return 'symbol' == _typeof2(e) || (nt(e) && Q.call(e) == y)
  37217. }
  37218. var at,
  37219. ot = B
  37220. ? ((at = B),
  37221. function (e) {
  37222. return at(e)
  37223. })
  37224. : function (e) {
  37225. return nt(e) && et(e.length) && !!T[Q.call(e)]
  37226. }
  37227. function it(e) {
  37228. return Xe(e) ? Se(e) : De(e)
  37229. }
  37230. function st(e) {
  37231. return e
  37232. }
  37233. t.exports = function (e, t, n) {
  37234. var r,
  37235. a = Qe(e) || ot(e)
  37236. if (((t = Oe(t)), null == n))
  37237. if (a || tt(e)) {
  37238. var o = e.constructor
  37239. n = a ? (Qe(e) ? new o() : []) : Ze(o) ? (tt((r = te(e))) ? ne(r) : {}) : {}
  37240. } else n = {}
  37241. return (
  37242. (a ? N : Te)(e, function (e, r, a) {
  37243. return t(n, e, r, a)
  37244. }),
  37245. n
  37246. )
  37247. }
  37248. })(lodash_transform, lodash_transform.exports)
  37249. var isEmpty = lodash_isempty.exports,
  37250. isPlainObject = lodash_isplainobject,
  37251. transform = lodash_transform.exports,
  37252. src = exports('bq', function e(t) {
  37253. var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  37254. r = n.cleanKeys,
  37255. a = void 0 === r ? [] : r,
  37256. o = n.cleanValues,
  37257. i = void 0 === o ? [] : o,
  37258. s = n.emptyArrays,
  37259. l = void 0 === s || s,
  37260. c = n.emptyObjects,
  37261. u = void 0 === c || c,
  37262. p = n.emptyStrings,
  37263. d = void 0 === p || p,
  37264. f = n.NaNValues,
  37265. h = void 0 !== f && f,
  37266. v = n.nullValues,
  37267. m = void 0 === v || v,
  37268. g = n.undefinedValues,
  37269. y = void 0 === g || g
  37270. return transform(t, function (t, n, r) {
  37271. if (
  37272. !a.includes(r) &&
  37273. ((Array.isArray(n) || isPlainObject(n)) &&
  37274. (n = e(n, {
  37275. NaNValues: h,
  37276. cleanKeys: a,
  37277. cleanValues: i,
  37278. emptyArrays: l,
  37279. emptyObjects: u,
  37280. emptyStrings: d,
  37281. nullValues: m,
  37282. undefinedValues: y
  37283. })),
  37284. !i.includes(n) &&
  37285. !(u && isPlainObject(n) && isEmpty(n)) &&
  37286. (!l || !Array.isArray(n) || n.length) &&
  37287. !(
  37288. (d && '' === n) ||
  37289. (h && Number.isNaN(n)) ||
  37290. (m && null === n) ||
  37291. (y && void 0 === n)
  37292. ))
  37293. )
  37294. return Array.isArray(t) ? t.push(n) : void (t[r] = n)
  37295. })
  37296. }),
  37297. request = exports(
  37298. 'm',
  37299. extend({ hideLoading: !0, timeout: 2e4, timeoutMessage: '请求超时' })
  37300. ),
  37301. initRequest = !1,
  37302. toast
  37303. request.interceptors.request.use(
  37304. function (e, t) {
  37305. var n, r
  37306. t.hideLoading || (clearTimeout(toast), baseEvent.emit('toastShow', 'center')),
  37307. (initRequest = t.initRequest || !1)
  37308. var a = sessionStorage.getItem('Authorization') || '',
  37309. o = {}
  37310. if (
  37311. (a &&
  37312. !['/api-oauth/userlogin', '/api-oauth/open/sendSms'].includes(e) &&
  37313. (o.Authorization = a),
  37314. null != state &&
  37315. null !== (n = state.user) &&
  37316. void 0 !== n &&
  37317. null !== (r = n.data) &&
  37318. void 0 !== r &&
  37319. r.schoolInfos)
  37320. ) {
  37321. var i = (state.user.data.schoolInfos || [])
  37322. .map(function (e) {
  37323. return e.id
  37324. })
  37325. .join(',')
  37326. i && (o.schoolId = i)
  37327. }
  37328. return {
  37329. url: e,
  37330. options: _objectSpread(
  37331. _objectSpread({}, t),
  37332. {},
  37333. {
  37334. params: src(t.params),
  37335. data: src(t.data),
  37336. headers: _objectSpread(_objectSpread({}, t.headers), o)
  37337. }
  37338. )
  37339. }
  37340. },
  37341. { global: !1 }
  37342. ),
  37343. request.interceptors.response.use(
  37344. (function () {
  37345. var e = _asyncToGenerator(
  37346. regeneratorRuntime.mark(function e(t) {
  37347. var n, r, a, o
  37348. return regeneratorRuntime.wrap(function (e) {
  37349. for (;;)
  37350. switch ((e.prev = e.next)) {
  37351. case 0:
  37352. if (
  37353. ((toast = setTimeout(function () {
  37354. baseEvent.emit('toastClose', 'center')
  37355. }, 100)),
  37356. !(t.status > 299 || t.status < 200))
  37357. ) {
  37358. e.next = 7
  37359. break
  37360. }
  37361. throw (
  37362. (clearTimeout(toast),
  37363. (n = '服务器错误,状态码' + t.status),
  37364. baseEvent.emit('toastClose', 'center'),
  37365. showToast(n),
  37366. new Error(n))
  37367. )
  37368. case 7:
  37369. return (e.next = 9), t.clone().json()
  37370. case 9:
  37371. if (200 === (r = e.sent).code || 0 === r.errCode || 999 === r.code) {
  37372. e.next = 18
  37373. break
  37374. }
  37375. throw (
  37376. ((a = r.msg || r.message || '处理失败,请重试'),
  37377. initRequest &&
  37378. (403 === r.code || 5e3 === r.code ? setLogout() : setLoginError()),
  37379. console.log(r.code, '5104'),
  37380. 403 !== r.code &&
  37381. 5e3 !== r.code &&
  37382. (clearTimeout(toast),
  37383. baseEvent.emit('toastClose', 'center'),
  37384. showToast(a)),
  37385. (o = browser()),
  37386. 5e3 === r.code &&
  37387. ((a += '5000'),
  37388. o.isApp ? postMessage({ api: 'login' }) : setLogout()),
  37389. new Error(a))
  37390. )
  37391. case 18:
  37392. return e.abrupt('return', t)
  37393. case 19:
  37394. case 'end':
  37395. return e.stop()
  37396. }
  37397. }, e)
  37398. })
  37399. )
  37400. return function (t) {
  37401. return e.apply(this, arguments)
  37402. }
  37403. })(),
  37404. { global: !1 }
  37405. )
  37406. var empty = './assets/empty.04f9724b.png',
  37407. __glob_5_0 = Object.freeze(
  37408. Object.defineProperty({ __proto__: null, default: empty }, Symbol.toStringTag, {
  37409. value: 'Module'
  37410. })
  37411. ),
  37412. emptyContent = './assets/empty.04f9724b.png',
  37413. __glob_5_1 = Object.freeze(
  37414. Object.defineProperty(
  37415. { __proto__: null, default: emptyContent },
  37416. Symbol.toStringTag,
  37417. { value: 'Module' }
  37418. )
  37419. ),
  37420. network = './assets/network.6d51555b.png',
  37421. __glob_5_2 = Object.freeze(
  37422. Object.defineProperty({ __proto__: null, default: network }, Symbol.toStringTag, {
  37423. value: 'Module'
  37424. })
  37425. ),
  37426. notFond = './assets/notFond.78c3cc5e.png',
  37427. __glob_5_3 = Object.freeze(
  37428. Object.defineProperty({ __proto__: null, default: notFond }, Symbol.toStringTag, {
  37429. value: 'Module'
  37430. })
  37431. ),
  37432. tips = '_tips_uqenj_12',
  37433. btn = '_btn_uqenj_17',
  37434. SMALL = '_SMALL_uqenj_28',
  37435. CERT = '_CERT_uqenj_32',
  37436. styles$2 = {
  37437. 'col-result': '_col-result_uqenj_1',
  37438. tips: tips,
  37439. btn: btn,
  37440. SMALL: SMALL,
  37441. CERT: CERT
  37442. },
  37443. getAssetsHomeFile = function (e) {
  37444. var t = './images/'.concat(e)
  37445. return {
  37446. './images/empty.png': __glob_5_0,
  37447. './images/emptyContent.png': __glob_5_1,
  37448. './images/network.png': __glob_5_2,
  37449. './images/notFond.png': __glob_5_3
  37450. }[t].default
  37451. },
  37452. OEmpty = exports(
  37453. 'ak',
  37454. defineComponent({
  37455. name: 'o-empty',
  37456. props: {
  37457. tips: { type: String },
  37458. type: { type: String, default: 'empty' },
  37459. classImgSize: { type: String, default: '' },
  37460. imageSize: { type: Number, default: 0 },
  37461. plain: { type: Boolean, default: !1 },
  37462. btnStatus: { type: Boolean, default: !1 },
  37463. buttonText: { type: String, default: '我知道了' },
  37464. onClick: Function
  37465. },
  37466. methods: {
  37467. onResult: function () {
  37468. this.onClick ? this.onClick() : postMessage({ api: 'back', content: {} })
  37469. }
  37470. },
  37471. computed: {
  37472. image: function () {
  37473. var e = null
  37474. switch (this.type) {
  37475. case 'emptyContent':
  37476. e = getAssetsHomeFile('emptyContent.png')
  37477. break
  37478. case 'error':
  37479. e = 'error'
  37480. break
  37481. case 'network':
  37482. e = getAssetsHomeFile('network.png')
  37483. break
  37484. case 'search':
  37485. e = 'search'
  37486. break
  37487. case 'notFond':
  37488. e = getAssetsHomeFile('notFond.png')
  37489. break
  37490. default:
  37491. e = getAssetsHomeFile('empty.png')
  37492. }
  37493. return e
  37494. }
  37495. },
  37496. render: function () {
  37497. var e = this
  37498. return createVNode(
  37499. 'div',
  37500. { class: [styles$2['col-result'], 'o-result-container'] },
  37501. [
  37502. createVNode(
  37503. Empty,
  37504. {
  37505. image: this.image,
  37506. imageSize: this.imageSize || '',
  37507. class: styles$2[this.classImgSize],
  37508. description: this.tips
  37509. },
  37510. null
  37511. ),
  37512. this.btnStatus
  37513. ? createVNode(
  37514. Button,
  37515. {
  37516. class: styles$2.btn,
  37517. round: !0,
  37518. block: !0,
  37519. type: 'primary',
  37520. plain: this.plain,
  37521. onClick: this.onResult
  37522. },
  37523. {
  37524. default: function () {
  37525. return [e.buttonText]
  37526. }
  37527. }
  37528. )
  37529. : null
  37530. ]
  37531. )
  37532. }
  37533. })
  37534. ),
  37535. colHeader = '_colHeader_939xd_1',
  37536. transparent = '_transparent_939xd_20',
  37537. headerSection = '_headerSection_939xd_23',
  37538. styles$1 = {
  37539. colHeader: colHeader,
  37540. transparent: transparent,
  37541. headerSection: headerSection
  37542. },
  37543. OHeader = exports(
  37544. 'aj',
  37545. defineComponent({
  37546. name: 'o-header',
  37547. props: {
  37548. title: String,
  37549. isBack: { type: Boolean, default: !0 },
  37550. backIconColor: { type: String, default: 'black' },
  37551. isFixed: { type: Boolean, default: !0 },
  37552. styleName: {
  37553. type: Object,
  37554. default: function () {
  37555. return {}
  37556. }
  37557. },
  37558. titleClass: String,
  37559. background: { type: String, default: 'white' },
  37560. color: { type: String, default: '#323233' },
  37561. rightText: String,
  37562. onClickRight: {
  37563. type: Function,
  37564. default: function () {
  37565. return {}
  37566. }
  37567. },
  37568. border: { type: Boolean, default: !0 },
  37569. onHeaderBack: {
  37570. type: Function,
  37571. default: function () {
  37572. return {}
  37573. }
  37574. },
  37575. desotry: { type: Boolean, default: !0 }
  37576. },
  37577. data: function () {
  37578. return { headerTitle: null, navBarHeight: 0, titleHeight: 44 }
  37579. },
  37580. mounted: function () {
  37581. var e = this
  37582. ;(this.headerTitle = this.title || this.$route.meta.title),
  37583. this.navBarInit(function () {
  37584. e.onHeaderBack && e.onHeaderBack()
  37585. })
  37586. },
  37587. watch: {
  37588. title: function () {
  37589. this.headerTitle = this.title || this.$route.meta.title
  37590. }
  37591. },
  37592. unmounted: function () {
  37593. this.desotry
  37594. },
  37595. methods: {
  37596. navBarInit: function (e) {
  37597. ;(this.navBarHeight = state.navBarHeight), !browser().isApp && e && e()
  37598. },
  37599. onClickLeft: function () {
  37600. browser().isApp ? postMessage({ api: 'goBack' }) : this.$router.back()
  37601. },
  37602. clickRight: function () {
  37603. this.onClickRight && this.onClickRight()
  37604. }
  37605. },
  37606. render: function () {
  37607. var e = this
  37608. return createVNode('div', null, [
  37609. this.$slots.content
  37610. ? createVNode(
  37611. 'div',
  37612. {
  37613. style: {
  37614. paddingTop: ''.concat(this.navBarHeight, 'px'),
  37615. background: this.background
  37616. },
  37617. class: styles$1.headerSection
  37618. },
  37619. [this.$slots.content(this.navBarHeight)]
  37620. )
  37621. : createVNode(Fragment, null, [
  37622. createVNode(
  37623. 'div',
  37624. {
  37625. style: {
  37626. minHeight: 'calc(var(--van-nav-bar-height) + '.concat(
  37627. this.navBarHeight,
  37628. 'px)'
  37629. )
  37630. },
  37631. class: styles$1.headerSection
  37632. },
  37633. [
  37634. createVNode(
  37635. NavBar,
  37636. {
  37637. title: this.headerTitle,
  37638. class: [styles$1.colHeader],
  37639. style: {
  37640. background: this.background,
  37641. color: this.color,
  37642. paddingTop: ''.concat(this.navBarHeight, 'px')
  37643. },
  37644. 'left-arrow': this.isBack,
  37645. rightText: this.rightText,
  37646. fixed: this.isFixed,
  37647. zIndex: 2e3,
  37648. border: this.border,
  37649. onClickLeft: this.onClickLeft,
  37650. onClickRight: this.clickRight
  37651. },
  37652. {
  37653. right: function () {
  37654. return (e.$slots.right && e.$slots.right()) || e.rightText
  37655. },
  37656. title: function () {
  37657. return (e.$slots.title && e.$slots.title()) || e.headerTitle
  37658. }
  37659. }
  37660. )
  37661. ]
  37662. ),
  37663. this.$slots.default ? this.$slots.default() : null
  37664. ])
  37665. ])
  37666. }
  37667. })
  37668. ),
  37669. browserInfo$1 = browser(),
  37670. Auth = defineComponent({
  37671. name: 'Auth-loayout',
  37672. data: function () {
  37673. return { loading: !1 }
  37674. },
  37675. computed: {
  37676. isExternal: function () {
  37677. return (this.$route.meta.isExternal && !browserInfo$1.isStudent) || !1
  37678. },
  37679. isNeedView: function () {
  37680. return (
  37681. 'login' === state.user.status ||
  37682. '/login' === this.$route.path ||
  37683. this.isExternal
  37684. )
  37685. }
  37686. },
  37687. mounted: function () {
  37688. !this.isExternal && this.setAuth()
  37689. },
  37690. methods: {
  37691. setAuth: function () {
  37692. var e = this
  37693. return _asyncToGenerator(
  37694. regeneratorRuntime.mark(function t() {
  37695. var n, r, a, o, i, s, l
  37696. return regeneratorRuntime.wrap(
  37697. function (t) {
  37698. for (;;)
  37699. switch ((t.prev = t.next)) {
  37700. case 0:
  37701. if (
  37702. ((n = e.$route.query),
  37703. (r = n.userInfo || n.Authorization) && setAuth$1(r),
  37704. !e.loading)
  37705. ) {
  37706. t.next = 5
  37707. break
  37708. }
  37709. return t.abrupt('return')
  37710. case 5:
  37711. if ('init' !== state.user.status && 'error' !== state.user.status) {
  37712. t.next = 20
  37713. break
  37714. }
  37715. return (
  37716. (e.loading = !0),
  37717. (t.prev = 7),
  37718. (t.next = 10),
  37719. request.get(state.platformApi + '/user/getUserInfo', {
  37720. initRequest: !0,
  37721. requestType: 'form',
  37722. hideLoading: !0
  37723. })
  37724. )
  37725. case 10:
  37726. ;(a = t.sent),
  37727. 'SCHOOL' === state.platformType &&
  37728. ((o = a.data.schoolInfos ? a.data.schoolInfos[0] : {}),
  37729. (a.data.school = o)),
  37730. setLogin(a.data),
  37731. (t.next = 19)
  37732. break
  37733. case 15:
  37734. ;(t.prev = 15),
  37735. (t.t0 = t.catch(7)),
  37736. -1 === (i = t.t0.message).indexOf('5000') &&
  37737. -1 === i.indexOf('authentication')
  37738. ? setLoginError()
  37739. : setLogout()
  37740. case 19:
  37741. e.loading = !1
  37742. case 20:
  37743. if ('logout' === state.user.status)
  37744. if (browser().isApp) postMessage({ api: 'login' })
  37745. else
  37746. try {
  37747. ;(s = e.$route),
  37748. (l = _objectSpread(
  37749. { returnUrl: e.$route.path },
  37750. e.$route.query
  37751. )),
  37752. s.meta.isRegister && (l.isRegister = s.meta.isRegister),
  37753. e.$router.replace({ path: '/login', query: l })
  37754. } catch (error) {}
  37755. case 21:
  37756. case 'end':
  37757. return t.stop()
  37758. }
  37759. },
  37760. t,
  37761. null,
  37762. [[7, 15]]
  37763. )
  37764. })
  37765. )()
  37766. }
  37767. },
  37768. render: function () {
  37769. return createVNode(Fragment, null, [
  37770. 'error' === state.user.status
  37771. ? createVNode('div', { class: styles$3.error }, [
  37772. createVNode(OHeader, null, null),
  37773. createVNode(
  37774. OEmpty,
  37775. {
  37776. type: 'notFond',
  37777. classImgSize: 'CERT',
  37778. tips: '加载失败,请稍后重试',
  37779. buttonText: '重新加载',
  37780. plain: !0,
  37781. btnStatus: !0,
  37782. onClick: this.setAuth
  37783. },
  37784. null
  37785. )
  37786. ])
  37787. : this.isNeedView
  37788. ? createVNode(RouterView, null, null)
  37789. : null
  37790. ])
  37791. }
  37792. }),
  37793. paymentType$1 = window.paymentType,
  37794. router$1 = [
  37795. {
  37796. path: '/lessonCourseware',
  37797. name: 'lessonCourseware',
  37798. component: function () {
  37799. return __vitePreload(function () {
  37800. return module.import('./index-legacy.5172f08c.js')
  37801. }, void 0)
  37802. },
  37803. meta: { title: '选择课件' }
  37804. },
  37805. {
  37806. path: '/courseList',
  37807. name: 'courseList',
  37808. component: function () {
  37809. return __vitePreload(function () {
  37810. return module.import('./index-legacy.575acaa3.js')
  37811. }, void 0)
  37812. },
  37813. meta: { title: '课程列表' }
  37814. },
  37815. {
  37816. path: '/coursewarePlay',
  37817. name: 'coursewarePlay',
  37818. component: function () {
  37819. return __vitePreload(function () {
  37820. return module.import('./index-legacy.0292693c.js')
  37821. }, void 0)
  37822. },
  37823. meta: { title: '课程播放' }
  37824. },
  37825. {
  37826. path: '/exerciseAfterClass',
  37827. name: 'exerciseAfterClass',
  37828. component: function () {
  37829. return __vitePreload(function () {
  37830. return module.import('./index-legacy.18312b9e.js')
  37831. }, void 0)
  37832. },
  37833. meta: { title: '观看视频' }
  37834. },
  37835. {
  37836. path: '/accompany',
  37837. name: 'accompany',
  37838. component: function () {
  37839. return __vitePreload(function () {
  37840. return module.import('./index-legacy.cdccf5f4.js')
  37841. }, void 0)
  37842. },
  37843. meta: { title: '云练习' }
  37844. },
  37845. {
  37846. path: '/musicList',
  37847. name: 'music-list',
  37848. component: function () {
  37849. return __vitePreload(function () {
  37850. return module.import('./music-list-legacy.93cf2470.js')
  37851. }, void 0)
  37852. },
  37853. meta: { title: '曲谱列表' }
  37854. },
  37855. {
  37856. path: '/information-list',
  37857. name: 'information-list',
  37858. component: function () {
  37859. return __vitePreload(function () {
  37860. return module.import('./index-legacy.a71ac402.js')
  37861. }, void 0)
  37862. },
  37863. meta: { title: '资讯列表' }
  37864. },
  37865. {
  37866. path: '/information-detail',
  37867. name: 'information-detail',
  37868. component: function () {
  37869. return __vitePreload(function () {
  37870. return module.import('./information-detail-legacy.06be4bed.js')
  37871. }, void 0)
  37872. },
  37873. meta: { title: '资讯详情' }
  37874. },
  37875. {
  37876. path: '/notice-detail',
  37877. name: 'notice-detail',
  37878. component: function () {
  37879. return __vitePreload(function () {
  37880. return module.import('./notice-detail-legacy.8dd8b340.js')
  37881. }, void 0)
  37882. },
  37883. meta: { title: '公告详情' }
  37884. },
  37885. {
  37886. path: '/help-center',
  37887. name: 'help-center',
  37888. component: function () {
  37889. return __vitePreload(function () {
  37890. return module.import('./index-legacy.093427e1.js')
  37891. }, void 0)
  37892. },
  37893. meta: { title: '帮助中心' }
  37894. },
  37895. {
  37896. path: '/help-detail',
  37897. name: 'help-detail',
  37898. component: function () {
  37899. return __vitePreload(function () {
  37900. return module.import('./detail-legacy.1fc63af6.js')
  37901. }, void 0)
  37902. },
  37903. meta: { title: '帮助中心详情' }
  37904. },
  37905. {
  37906. path: '/unit-test',
  37907. name: 'unit-test',
  37908. component: function () {
  37909. return __vitePreload(function () {
  37910. return module.import('./index-legacy.46d112f1.js')
  37911. }, void 0)
  37912. },
  37913. meta: { title: '阶段自测' }
  37914. },
  37915. {
  37916. path: '/unit-detail',
  37917. name: 'unit-detail',
  37918. component: function () {
  37919. return __vitePreload(function () {
  37920. return module.import('./index-legacy.72b53922.js')
  37921. }, void 0)
  37922. },
  37923. meta: { title: '测验详情' }
  37924. },
  37925. {
  37926. path: '/test-exercise',
  37927. name: 'test-exercise',
  37928. component: function () {
  37929. return __vitePreload(function () {
  37930. return module.import('./index-legacy.df565f1d.js')
  37931. }, void 0)
  37932. },
  37933. meta: { title: '测试练习' }
  37934. },
  37935. {
  37936. path: '/practice-mode',
  37937. name: 'practice-mode',
  37938. component: function () {
  37939. return __vitePreload(function () {
  37940. return module.import('./index-legacy.9feee641.js')
  37941. }, void 0)
  37942. },
  37943. meta: { title: '练习模式' }
  37944. },
  37945. {
  37946. path: '/examination-mode',
  37947. name: 'examination-mode',
  37948. component: function () {
  37949. return __vitePreload(function () {
  37950. return module.import('./index-legacy.0e254ab7.js')
  37951. }, void 0)
  37952. },
  37953. meta: { title: '测试详情' }
  37954. },
  37955. {
  37956. path: '/approval-manage-subsidy',
  37957. name: 'approval-manage-subsidy',
  37958. component: function () {
  37959. return __vitePreload(function () {
  37960. return module.import('./index-legacy.6acf4168.js')
  37961. }, void 0)
  37962. },
  37963. meta: { title: '补助确认' }
  37964. },
  37965. {
  37966. path: '/mine-orchestra',
  37967. name: 'mine-orchestra',
  37968. component: function () {
  37969. return __vitePreload(function () {
  37970. return module.import('./index-legacy.ef2fa0aa.js')
  37971. }, void 0)
  37972. },
  37973. meta: { title: '我的乐团' }
  37974. },
  37975. {
  37976. path: '/mine-myphoto',
  37977. name: 'mine-myphoto',
  37978. component: function () {
  37979. return __vitePreload(function () {
  37980. return module.import('./index-legacy.ec796d07.js')
  37981. }, void 0)
  37982. },
  37983. meta: { title: '乐团相册' }
  37984. },
  37985. {
  37986. path: '/photo-list',
  37987. name: 'photo-list',
  37988. component: function () {
  37989. return __vitePreload(function () {
  37990. return module.import('./index-legacy.f83a2513.js')
  37991. }, void 0)
  37992. },
  37993. meta: { title: '相册' }
  37994. },
  37995. {
  37996. path: '/photo-list-detail',
  37997. name: 'photo-list-detail',
  37998. component: function () {
  37999. return __vitePreload(function () {
  38000. return module.import('./detail-legacy.4fa259aa.js')
  38001. }, void 0)
  38002. },
  38003. meta: { title: '相册详情' }
  38004. },
  38005. {
  38006. path: '/message-detail',
  38007. name: 'message-detail',
  38008. component: function () {
  38009. return __vitePreload(function () {
  38010. return module.import('./message-detail-legacy.ee7cc1f3.js')
  38011. }, void 0)
  38012. },
  38013. meta: { title: '消息详情' }
  38014. },
  38015. {
  38016. path: '/courseware-record',
  38017. name: 'courseware-record',
  38018. component: function () {
  38019. return __vitePreload(function () {
  38020. return module.import('./index-legacy.5898589a.js')
  38021. }, void 0)
  38022. },
  38023. meta: { title: '课件记录' }
  38024. }
  38025. ],
  38026. rootRouter = [
  38027. {
  38028. path: '/payCenter',
  38029. name: 'payCenter',
  38030. component: function () {
  38031. return __vitePreload(function () {
  38032. return module.import('./index-legacy.060a3a93.js')
  38033. }, void 0)
  38034. },
  38035. meta: { title: '支付' }
  38036. },
  38037. {
  38038. path: '/payDefine',
  38039. name: 'payDefine',
  38040. component: function () {
  38041. return __vitePreload(function () {
  38042. return module.import('./index-legacy.2e9ea331.js')
  38043. }, void 0)
  38044. },
  38045. meta: { title: '支付' }
  38046. },
  38047. {
  38048. path: '/payResult',
  38049. name: 'payResult',
  38050. component: function () {
  38051. return __vitePreload(function () {
  38052. return module.import('./index-legacy.e6739e6c.js')
  38053. }, void 0)
  38054. },
  38055. meta: { title: '支付' }
  38056. },
  38057. {
  38058. path: '/preview-protocol',
  38059. name: 'preview-protocol',
  38060. component: function () {
  38061. return __vitePreload(function () {
  38062. return module.import('./index-legacy.1ca09b0e.js')
  38063. }, void 0)
  38064. },
  38065. meta: { title: '管乐团用户注册协议' }
  38066. },
  38067. {
  38068. path: '/privacyProtocol',
  38069. name: 'privacyProtocol',
  38070. component: function () {
  38071. return __vitePreload(function () {
  38072. return module.import('./privacy-legacy.b7c1dfb2.js')
  38073. }, void 0)
  38074. },
  38075. meta: { title: '管乐团隐私政策' }
  38076. },
  38077. {
  38078. path: '/cashProtocol',
  38079. name: 'cashProtocol',
  38080. component: function () {
  38081. return __vitePreload(function () {
  38082. return module.import('./cash-protocol-legacy.b6f6b735.js')
  38083. }, void 0)
  38084. },
  38085. meta: { title: '共享经济平台注册经营者协议' }
  38086. },
  38087. {
  38088. path: '/guide',
  38089. name: 'guide',
  38090. component: function () {
  38091. return __vitePreload(function () {
  38092. return module.import('./guide-legacy.7ff1e472.js')
  38093. }, void 0)
  38094. },
  38095. meta: { title: '投屏帮助' }
  38096. },
  38097. {
  38098. path: '/follow-account',
  38099. name: 'follow-account',
  38100. component: function () {
  38101. return __vitePreload(function () {
  38102. return module.import('./index-legacy.6ea0d812.js')
  38103. }, void 0)
  38104. },
  38105. meta: { title: '关注微信公众号' }
  38106. },
  38107. {
  38108. path: '/bind-wechat',
  38109. name: 'bind-wechat',
  38110. component: function () {
  38111. return __vitePreload(function () {
  38112. return module.import('./index-legacy.e9d2d862.js')
  38113. }, void 0)
  38114. },
  38115. meta: { title: '绑定微信' }
  38116. },
  38117. {
  38118. path: '/transfer',
  38119. component: function () {
  38120. return __vitePreload(function () {
  38121. return module.import('./transfer-legacy.86f92e9f.js')
  38122. }, void 0)
  38123. },
  38124. meta: { title: '管乐团' }
  38125. },
  38126. {
  38127. path: '/subject-echarts',
  38128. name: 'subject-echarts',
  38129. component: function () {
  38130. return __vitePreload(function () {
  38131. return module.import('./index-legacy.d581fdee.js')
  38132. }, void 0)
  38133. },
  38134. meta: { title: '声部图表' }
  38135. },
  38136. {
  38137. path: '/:pathMatch(.*)*',
  38138. component: function () {
  38139. return __vitePreload(function () {
  38140. return module.import('./index-legacy.8fed2c2f.js')
  38141. }, void 0)
  38142. },
  38143. meta: { title: '404', platform: paymentType$1 }
  38144. }
  38145. ],
  38146. noLoginRouter$2 = [],
  38147. routesTeacher = [
  38148. {
  38149. path: '/',
  38150. component: Auth,
  38151. children: [].concat(router$1, [
  38152. {
  38153. path: '/login',
  38154. name: 'login',
  38155. component: function () {
  38156. return __vitePreload(function () {
  38157. return module.import('./login-legacy.2153caac.js')
  38158. }, void 0)
  38159. },
  38160. meta: { isRegister: !1 }
  38161. },
  38162. {
  38163. path: '/home',
  38164. name: 'home',
  38165. component: function () {
  38166. return __vitePreload(function () {
  38167. return module.import('./index-legacy.d89d1b8a.js')
  38168. }, void 0)
  38169. }
  38170. },
  38171. {
  38172. path: '/exercise-record',
  38173. name: 'exercise-record',
  38174. component: function () {
  38175. return __vitePreload(function () {
  38176. return module.import('./index-legacy.e66fdefa.js')
  38177. }, void 0)
  38178. },
  38179. meta: { title: '练习记录' }
  38180. },
  38181. {
  38182. path: '/exercis-detail',
  38183. name: 'exercis-detail',
  38184. component: function () {
  38185. return __vitePreload(function () {
  38186. return module.import('./exercis-detail-legacy.64a6ec4a.js')
  38187. }, void 0)
  38188. },
  38189. meta: { title: '练习统计' }
  38190. },
  38191. {
  38192. path: '/attendance-manage',
  38193. name: 'attendance-manage',
  38194. component: function () {
  38195. return __vitePreload(function () {
  38196. return module.import('./index-legacy.3b4b9e9d.js')
  38197. }, void 0)
  38198. },
  38199. meta: { title: '考勤管理' }
  38200. },
  38201. {
  38202. path: '/student-att-day',
  38203. name: 'student-att-day',
  38204. component: function () {
  38205. return __vitePreload(function () {
  38206. return module.import('./student-att-day-legacy.6d3bc012.js')
  38207. }, void 0)
  38208. },
  38209. meta: { title: '考勤详情' }
  38210. },
  38211. {
  38212. path: '/attendance',
  38213. name: 'attendance',
  38214. component: function () {
  38215. return __vitePreload(function () {
  38216. return module.import('./index-legacy.283d7437.js')
  38217. }, void 0)
  38218. },
  38219. meta: { title: '我的考勤' }
  38220. },
  38221. {
  38222. path: '/teacher-attendDetail',
  38223. name: 'teacher-attendDetail',
  38224. component: function () {
  38225. return __vitePreload(function () {
  38226. return module.import('./teacher-attendDetail-legacy.88e1eafa.js')
  38227. }, void 0)
  38228. },
  38229. meta: { title: '考勤详情' }
  38230. },
  38231. {
  38232. path: '/attendance-rule',
  38233. name: 'attendance-rule',
  38234. component: function () {
  38235. return __vitePreload(function () {
  38236. return module.import('./index-legacy.3fd1da2d.js')
  38237. }, void 0)
  38238. },
  38239. meta: { title: '考勤规则' }
  38240. },
  38241. {
  38242. path: '/screen-projection',
  38243. name: 'screen-projection',
  38244. component: function () {
  38245. return __vitePreload(function () {
  38246. return module.import('./index-legacy.bf0ab370.js')
  38247. }, void 0)
  38248. },
  38249. meta: { title: '教学课件' }
  38250. },
  38251. {
  38252. path: '/unit-list',
  38253. name: 'unit-list',
  38254. component: function () {
  38255. return __vitePreload(function () {
  38256. return module.import('./index-legacy.3c1ddd22.js')
  38257. }, void 0)
  38258. },
  38259. meta: { title: '阶段自测' }
  38260. },
  38261. {
  38262. path: '/unit-create',
  38263. name: 'unit-create',
  38264. component: function () {
  38265. return __vitePreload(function () {
  38266. return module.import('./index-legacy.0456783b.js')
  38267. }, void 0)
  38268. },
  38269. meta: { title: '新增测验' }
  38270. },
  38271. {
  38272. path: '/unit-Lesson',
  38273. name: 'unit-Lesson',
  38274. component: function () {
  38275. return __vitePreload(function () {
  38276. return module.import('./unit-Lesson-legacy.dadbf99a.js')
  38277. }, void 0)
  38278. },
  38279. meta: { title: '选择教材' }
  38280. },
  38281. {
  38282. path: '/uni-test',
  38283. name: 'uni-test',
  38284. component: function () {
  38285. return __vitePreload(function () {
  38286. return module.import('./uni-test-legacy.4567a7e4.js')
  38287. }, void 0)
  38288. },
  38289. meta: { title: '选择教材' }
  38290. },
  38291. {
  38292. path: '/uni-last',
  38293. name: 'uni-last',
  38294. component: function () {
  38295. return __vitePreload(function () {
  38296. return module.import('./uni-last-legacy.330b4490.js')
  38297. }, void 0)
  38298. },
  38299. meta: { title: '阶段自测' }
  38300. },
  38301. {
  38302. path: '/unitDetail',
  38303. name: 'unitDetail',
  38304. component: function () {
  38305. return __vitePreload(function () {
  38306. return module.import('./unitDetail-legacy.bc37b536.js')
  38307. }, void 0)
  38308. },
  38309. meta: { title: '测验详情' }
  38310. },
  38311. {
  38312. path: '/subsidy-exercise-details',
  38313. name: 'subsidy-exercise-details',
  38314. component: function () {
  38315. return __vitePreload(function () {
  38316. return module.import('./details-legacy.38319bc7.js')
  38317. }, void 0)
  38318. },
  38319. meta: { title: '补助明细' }
  38320. }
  38321. ])
  38322. }
  38323. ].concat(rootRouter, noLoginRouter$2),
  38324. error = '_error_6z2np_1',
  38325. info = '_info_6z2np_9',
  38326. login = '_login_6z2np_27',
  38327. loginTitle = '_loginTitle_6z2np_33',
  38328. codeText = '_codeText_6z2np_41',
  38329. margin34 = '_margin34_6z2np_44',
  38330. formTitle = '_formTitle_6z2np_47',
  38331. wxPopupDialog = '_wxPopupDialog_6z2np_63',
  38332. popupContainer = '_popupContainer_6z2np_80',
  38333. title = '_title_6z2np_87',
  38334. popupTips = '_popupTips_6z2np_94',
  38335. styles = exports('bm', {
  38336. error: error,
  38337. info: info,
  38338. login: login,
  38339. loginTitle: loginTitle,
  38340. codeText: codeText,
  38341. margin34: margin34,
  38342. formTitle: formTitle,
  38343. wxPopupDialog: wxPopupDialog,
  38344. popupContainer: popupContainer,
  38345. title: title,
  38346. popupTips: popupTips
  38347. }),
  38348. removeAuth = exports('bl', function () {
  38349. sessionStorage.removeItem('Authorization')
  38350. }),
  38351. _setAuth = exports('s', function (e) {
  38352. sessionStorage.setItem('Authorization', e)
  38353. }),
  38354. browserInfo = browser(),
  38355. MusicAuth = defineComponent({
  38356. name: 'Auth-loayout',
  38357. data: function () {
  38358. return { loading: !1 }
  38359. },
  38360. computed: {
  38361. isExternal: function () {
  38362. return (this.$route.meta.isExternal && !browserInfo.isStudent) || !1
  38363. },
  38364. isNeedView: function () {
  38365. return (
  38366. 'login' === state.user.status ||
  38367. '/loginMusic' === this.$route.path ||
  38368. this.isExternal
  38369. )
  38370. }
  38371. },
  38372. mounted: function () {
  38373. !this.isExternal && this.setAuth()
  38374. },
  38375. methods: {
  38376. setAuth: function () {
  38377. var e = this
  38378. return _asyncToGenerator(
  38379. regeneratorRuntime.mark(function t() {
  38380. var n, r, a, o, i, s
  38381. return regeneratorRuntime.wrap(
  38382. function (t) {
  38383. for (;;)
  38384. switch ((t.prev = t.next)) {
  38385. case 0:
  38386. if (
  38387. ((n = e.$route.query),
  38388. (r = n.userInfo || n.Authorization) && _setAuth(r),
  38389. !e.loading)
  38390. ) {
  38391. t.next = 5
  38392. break
  38393. }
  38394. return t.abrupt('return')
  38395. case 5:
  38396. if ('init' !== state.user.status && 'error' !== state.user.status) {
  38397. t.next = 19
  38398. break
  38399. }
  38400. return (
  38401. (e.loading = !0),
  38402. (t.prev = 7),
  38403. (t.next = 10),
  38404. request.get('/api-student/user/getUserInfo', {
  38405. initRequest: !0,
  38406. requestType: 'form'
  38407. })
  38408. )
  38409. case 10:
  38410. ;(a = t.sent), setLogin(a.data), (t.next = 18)
  38411. break
  38412. case 14:
  38413. ;(t.prev = 14),
  38414. (t.t0 = t.catch(7)),
  38415. -1 === (o = t.t0.message).indexOf('5000') &&
  38416. -1 === o.indexOf('authentication')
  38417. ? setLoginError()
  38418. : setLogout()
  38419. case 18:
  38420. e.loading = !1
  38421. case 19:
  38422. if ('logout' === state.user.status)
  38423. try {
  38424. ;(i = e.$route),
  38425. (s = _objectSpread(
  38426. { returnUrl: e.$route.path },
  38427. e.$route.query
  38428. )),
  38429. i.meta.isRegister && (s.isRegister = i.meta.isRegister),
  38430. e.$router.replace({ path: '/loginMusic', query: s })
  38431. } catch (error) {}
  38432. case 20:
  38433. case 'end':
  38434. return t.stop()
  38435. }
  38436. },
  38437. t,
  38438. null,
  38439. [[7, 14]]
  38440. )
  38441. })
  38442. )()
  38443. }
  38444. },
  38445. render: function () {
  38446. return createVNode(Fragment, null, [
  38447. 'error' === state.user.status
  38448. ? createVNode('div', { class: styles.error }, [
  38449. createVNode(
  38450. OEmpty,
  38451. {
  38452. type: 'notFond',
  38453. classImgSize: 'CERT',
  38454. tips: '加载失败,请稍后重试',
  38455. buttonText: '重新加载',
  38456. plain: !0,
  38457. btnStatus: !0,
  38458. onClick: this.setAuth
  38459. },
  38460. null
  38461. )
  38462. ])
  38463. : this.isNeedView
  38464. ? createVNode(RouterView, null, null)
  38465. : null
  38466. ])
  38467. }
  38468. }),
  38469. noLoginRouter$1 = [
  38470. {
  38471. path: '/payment-result',
  38472. name: 'payment-result',
  38473. component: function () {
  38474. return __vitePreload(function () {
  38475. return module.import('./index-legacy.e0ee0f8d.js')
  38476. }, void 0)
  38477. },
  38478. meta: { title: '支付详情' }
  38479. },
  38480. {
  38481. path: '/download',
  38482. name: 'download',
  38483. component: function () {
  38484. return __vitePreload(function () {
  38485. return module.import('./index-legacy.5ad7fc2d.js')
  38486. }, void 0)
  38487. },
  38488. meta: { title: '下载管乐团学员端' }
  38489. },
  38490. {
  38491. path: '/pre-register-active',
  38492. name: 'pre-register-active',
  38493. component: function () {
  38494. return __vitePreload(function () {
  38495. return module.import('./index-legacy.f6440d66.js')
  38496. }, void 0)
  38497. },
  38498. meta: { title: '管乐团组建家长会' }
  38499. },
  38500. {
  38501. path: '/pre-register-video',
  38502. name: 'pre-register-video',
  38503. component: function () {
  38504. return __vitePreload(function () {
  38505. return module.import('./video-legacy.91ee64a1.js')
  38506. }, void 0)
  38507. },
  38508. meta: { title: '管乐团组建家长会' }
  38509. },
  38510. {
  38511. path: '/pre-register-show',
  38512. name: 'pre-register-show',
  38513. component: function () {
  38514. return __vitePreload(function () {
  38515. return module.import('./show-legacy.c4d9e2d8.js')
  38516. }, void 0)
  38517. },
  38518. meta: { title: '管乐团组建家长会' }
  38519. }
  38520. ],
  38521. routesStudent = [
  38522. {
  38523. path: '/',
  38524. component: Auth,
  38525. children: [].concat(router$1, [
  38526. {
  38527. path: '/login',
  38528. name: 'login',
  38529. component: function () {
  38530. return __vitePreload(function () {
  38531. return module.import('./login-legacy.2153caac.js')
  38532. }, void 0)
  38533. },
  38534. meta: { isRegister: !1 }
  38535. },
  38536. {
  38537. path: '/home',
  38538. name: 'home',
  38539. component: function () {
  38540. return __vitePreload(function () {
  38541. return module.import('./index-legacy.97ae47d4.js')
  38542. }, void 0)
  38543. }
  38544. },
  38545. {
  38546. path: '/coupons',
  38547. name: 'coupons',
  38548. component: function () {
  38549. return __vitePreload(function () {
  38550. return module.import('./index-legacy.6e8f48e4.js')
  38551. }, void 0)
  38552. },
  38553. meta: { title: '优惠券' }
  38554. },
  38555. {
  38556. path: '/memberCenter',
  38557. name: 'memberCenter',
  38558. component: function () {
  38559. return __vitePreload(function () {
  38560. return module.import('./index-legacy.e3ec5bd1.js')
  38561. }, void 0)
  38562. },
  38563. meta: { title: '乐团Ai学练工具' }
  38564. },
  38565. {
  38566. path: '/tradeRecord',
  38567. name: 'tradeRecord',
  38568. component: function () {
  38569. return __vitePreload(function () {
  38570. return module.import('./index-legacy.f40459d1.js')
  38571. }, void 0)
  38572. },
  38573. meta: { title: '交易记录' }
  38574. },
  38575. {
  38576. path: '/my-orchestra',
  38577. name: 'my-orchestra',
  38578. component: function () {
  38579. return __vitePreload(function () {
  38580. return module.import('./index-legacy.3da7ed6c.js')
  38581. }, void 0)
  38582. },
  38583. meta: { title: '我的乐团' }
  38584. },
  38585. {
  38586. path: '/photo-detail',
  38587. name: 'photo-detail',
  38588. component: function () {
  38589. return __vitePreload(function () {
  38590. return module.import('./photo-detail-legacy.05f0ad59.js')
  38591. }, void 0)
  38592. },
  38593. meta: { title: '相片' }
  38594. },
  38595. {
  38596. path: '/apply-withdrawal',
  38597. name: 'apply-withdrawal',
  38598. component: function () {
  38599. return __vitePreload(function () {
  38600. return module.import('./apply-withdrawal-legacy.794d4385.js')
  38601. }, void 0)
  38602. },
  38603. meta: { title: '申请退团' }
  38604. },
  38605. {
  38606. path: '/attendance-rule',
  38607. name: 'attendance-rule',
  38608. component: function () {
  38609. return __vitePreload(function () {
  38610. return module.import('./index-legacy.3fd1da2d.js')
  38611. }, void 0)
  38612. },
  38613. meta: { title: '考勤规则' }
  38614. },
  38615. {
  38616. path: '/ranking-list',
  38617. name: 'ranking-list',
  38618. component: function () {
  38619. return __vitePreload(function () {
  38620. return module.import('./index-legacy.057a4e77.js')
  38621. }, void 0)
  38622. },
  38623. meta: { title: '排行榜' }
  38624. },
  38625. {
  38626. path: '/exercise-record',
  38627. name: 'exercise-record',
  38628. component: function () {
  38629. return __vitePreload(function () {
  38630. return module.import('./index-legacy.e66fdefa.js')
  38631. }, void 0)
  38632. },
  38633. meta: { title: '练习记录' }
  38634. },
  38635. {
  38636. path: '/exercis-detail',
  38637. name: 'exercis-detail',
  38638. component: function () {
  38639. return __vitePreload(function () {
  38640. return module.import('./exercis-detail-legacy.64a6ec4a.js')
  38641. }, void 0)
  38642. },
  38643. meta: { title: '练习统计' }
  38644. }
  38645. ])
  38646. },
  38647. {
  38648. path: '/msuicGroup',
  38649. component: MusicAuth,
  38650. children: [
  38651. {
  38652. path: '/loginMusic',
  38653. name: 'loginMusic',
  38654. component: function () {
  38655. return __vitePreload(function () {
  38656. return module.import('./login-legacy.8bf0382a.js')
  38657. }, void 0)
  38658. },
  38659. meta: { isRegister: !1 }
  38660. },
  38661. {
  38662. path: '/preApply',
  38663. name: 'preApply',
  38664. component: function () {
  38665. return __vitePreload(function () {
  38666. return module.import('./index-legacy.cdd9cec4.js')
  38667. }, void 0)
  38668. },
  38669. meta: { title: '乐团报名' }
  38670. },
  38671. {
  38672. path: '/orderDetail',
  38673. name: 'orderDetail',
  38674. component: function () {
  38675. return __vitePreload(function () {
  38676. return module.import('./order-detail-legacy.6c245c99.js')
  38677. }, void 0)
  38678. },
  38679. meta: { title: '订单详情' }
  38680. },
  38681. {
  38682. path: '/shopAddress',
  38683. name: 'shopAddress',
  38684. component: function () {
  38685. return __vitePreload(function () {
  38686. return module.import('./index-legacy.50facecb.js')
  38687. }, void 0)
  38688. },
  38689. meta: { title: '收货地址' }
  38690. },
  38691. {
  38692. path: '/addressOperation',
  38693. name: 'addressOperation',
  38694. component: function () {
  38695. return __vitePreload(function () {
  38696. return module.import('./address-operation-legacy.65610778.js')
  38697. }, void 0)
  38698. },
  38699. meta: { title: '收货地址' }
  38700. }
  38701. ]
  38702. }
  38703. ].concat(noLoginRouter$1, rootRouter),
  38704. noLoginRouter = [
  38705. {
  38706. path: '/companion-teacher-register',
  38707. name: 'companion-teacher-register',
  38708. component: function () {
  38709. return __vitePreload(function () {
  38710. return module.import('./companion-teacher-register-legacy.c1c67857.js')
  38711. }, void 0)
  38712. },
  38713. meta: { title: '乐团伴学老师注册' }
  38714. },
  38715. {
  38716. path: '/manage-teacher-register',
  38717. name: 'manage-teacher-register',
  38718. component: function () {
  38719. return __vitePreload(function () {
  38720. return module.import('./manage-teacher-register-legacy.014bbe4b.js')
  38721. }, void 0)
  38722. },
  38723. meta: { title: '乐团管理老师注册' }
  38724. },
  38725. {
  38726. path: '/train-week-report',
  38727. name: 'train-week-report',
  38728. component: function () {
  38729. return __vitePreload(function () {
  38730. return module.import('./week-report-legacy.345957c4.js').then(function (e) {
  38731. return e.w
  38732. })
  38733. }, void 0)
  38734. },
  38735. meta: { title: '训练周报' }
  38736. },
  38737. {
  38738. path: '/train-month-report',
  38739. name: 'train-month-report',
  38740. component: function () {
  38741. return __vitePreload(function () {
  38742. return module.import('./month-report-legacy.f88e26b3.js')
  38743. }, void 0)
  38744. },
  38745. meta: { title: '训练月报' }
  38746. }
  38747. ],
  38748. routesSchool = [
  38749. {
  38750. path: '/',
  38751. component: Auth,
  38752. children: [].concat(router$1, [
  38753. {
  38754. path: '/login',
  38755. name: 'login',
  38756. component: function () {
  38757. return __vitePreload(function () {
  38758. return module.import('./login-legacy.2153caac.js')
  38759. }, void 0)
  38760. },
  38761. meta: { isRegister: !1 }
  38762. },
  38763. {
  38764. path: '/home',
  38765. name: 'home',
  38766. component: function () {
  38767. return __vitePreload(function () {
  38768. return module.import('./index-legacy.77ac06cc.js')
  38769. }, void 0)
  38770. }
  38771. },
  38772. {
  38773. path: '/my-orchestra',
  38774. name: 'my-orchestra',
  38775. component: function () {
  38776. return __vitePreload(function () {
  38777. return module.import('./index-legacy.7c39b85d.js')
  38778. }, void 0)
  38779. },
  38780. meta: { title: '我的乐团' }
  38781. },
  38782. {
  38783. path: '/create-orchestra',
  38784. name: 'create-orchestra',
  38785. component: function () {
  38786. return __vitePreload(function () {
  38787. return module.import('./index-legacy.baa00cb5.js')
  38788. }, void 0)
  38789. },
  38790. meta: { title: '新建乐团' }
  38791. },
  38792. {
  38793. path: '/create-orchestra-teacher',
  38794. name: 'create-orchestra-teacher',
  38795. component: function () {
  38796. return __vitePreload(function () {
  38797. return module.import('./select-teacher-legacy.aaf23853.js')
  38798. }, void 0)
  38799. },
  38800. meta: { title: '选择老师' }
  38801. },
  38802. {
  38803. path: '/orchestra-detail',
  38804. name: 'orchestra-detail',
  38805. component: function () {
  38806. return __vitePreload(function () {
  38807. return module.import('./orchestra-detail-legacy.044314cd.js')
  38808. }, void 0)
  38809. },
  38810. meta: { title: '乐团详情' }
  38811. },
  38812. {
  38813. path: '/school-photo',
  38814. name: 'school-photo',
  38815. component: function () {
  38816. return __vitePreload(function () {
  38817. return module.import('./photo-legacy.cf00dafa.js')
  38818. }, void 0)
  38819. },
  38820. meta: { title: '乐团相册' }
  38821. },
  38822. {
  38823. path: '/photo-detail',
  38824. name: 'photo-detail',
  38825. component: function () {
  38826. return __vitePreload(function () {
  38827. return module.import('./photo-detail-legacy.2a6b8e01.js')
  38828. }, void 0)
  38829. },
  38830. meta: { title: '相册详情' }
  38831. },
  38832. {
  38833. path: '/mass-message',
  38834. name: 'mass-message',
  38835. component: function () {
  38836. return __vitePreload(function () {
  38837. return module.import('./index-legacy.c4191d81.js')
  38838. }, void 0)
  38839. },
  38840. meta: { title: '群发记录' }
  38841. },
  38842. {
  38843. path: '/create-message',
  38844. name: 'create-message',
  38845. component: function () {
  38846. return __vitePreload(function () {
  38847. return module.import('./create-message-legacy.2a14d468.js')
  38848. }, void 0)
  38849. },
  38850. meta: { title: '群发消息' }
  38851. },
  38852. {
  38853. path: '/companion-teacher',
  38854. name: 'companion-teacher',
  38855. component: function () {
  38856. return __vitePreload(function () {
  38857. return module.import('./index-legacy.5c2d9850.js')
  38858. }, void 0)
  38859. },
  38860. meta: { title: '伴学老师' }
  38861. },
  38862. {
  38863. path: '/companion-teacher-detail',
  38864. name: 'companion-teacher-detail',
  38865. component: function () {
  38866. return __vitePreload(function () {
  38867. return module.import('./companion-detail-legacy.c0385b86.js')
  38868. }, void 0)
  38869. },
  38870. meta: { title: '伴学老师详情' }
  38871. },
  38872. {
  38873. path: '/companion-unbind',
  38874. name: 'companion-unbind',
  38875. component: function () {
  38876. return __vitePreload(function () {
  38877. return module.import('./unbind-legacy.0562bbb0.js')
  38878. }, void 0)
  38879. },
  38880. meta: { title: '课程交接' }
  38881. },
  38882. {
  38883. path: '/manage-teacher',
  38884. name: 'manage-teacher',
  38885. component: function () {
  38886. return __vitePreload(function () {
  38887. return module.import('./index-legacy.7010a5c1.js')
  38888. }, void 0)
  38889. },
  38890. meta: { title: '管理老师' }
  38891. },
  38892. {
  38893. path: '/manage-teacher-detail',
  38894. name: 'manage-teacher-detail',
  38895. component: function () {
  38896. return __vitePreload(function () {
  38897. return module.import('./manage-detail-legacy.fca0c2a8.js')
  38898. }, void 0)
  38899. },
  38900. meta: { title: '管理老师详情' }
  38901. },
  38902. {
  38903. path: '/save-share-image',
  38904. name: 'save-share-image',
  38905. component: function () {
  38906. return __vitePreload(function () {
  38907. return module.import('./index-legacy.62f1667b.js')
  38908. }, void 0)
  38909. },
  38910. meta: { title: '注册' }
  38911. },
  38912. {
  38913. path: '/orchestra-information',
  38914. name: 'orchestra-information',
  38915. component: function () {
  38916. return __vitePreload(function () {
  38917. return module.import('./orchestra-information-legacy.578ae017.js')
  38918. }, void 0)
  38919. },
  38920. meta: { title: '乐团资讯' }
  38921. },
  38922. {
  38923. path: '/add-information',
  38924. name: 'add-information',
  38925. component: function () {
  38926. return __vitePreload(function () {
  38927. return module.import('./add-information-legacy.5541dce2.js')
  38928. }, void 0)
  38929. },
  38930. meta: { title: '添加资讯' }
  38931. },
  38932. {
  38933. path: '/exercise-record',
  38934. name: 'exercise-record',
  38935. component: function () {
  38936. return __vitePreload(function () {
  38937. return module.import('./index-legacy.e66fdefa.js')
  38938. }, void 0)
  38939. },
  38940. meta: { title: '练习记录' }
  38941. },
  38942. {
  38943. path: '/exercis-detail',
  38944. name: 'exercis-detail',
  38945. component: function () {
  38946. return __vitePreload(function () {
  38947. return module.import('./exercis-detail-legacy.64a6ec4a.js')
  38948. }, void 0)
  38949. },
  38950. meta: { title: '练习统计' }
  38951. },
  38952. {
  38953. path: '/attendance',
  38954. name: 'attendance',
  38955. component: function () {
  38956. return __vitePreload(function () {
  38957. return module.import('./index-legacy.b03331ef.js')
  38958. }, void 0)
  38959. },
  38960. meta: { title: '考勤管理' }
  38961. },
  38962. {
  38963. path: '/student-att-day',
  38964. name: 'student-att-day',
  38965. component: function () {
  38966. return __vitePreload(function () {
  38967. return module.import('./student-att-day-legacy.6d3bc012.js')
  38968. }, void 0)
  38969. },
  38970. meta: { title: '考勤详情' }
  38971. },
  38972. {
  38973. path: '/teacher-attendDetail',
  38974. name: 'teacher-attendDetail',
  38975. component: function () {
  38976. return __vitePreload(function () {
  38977. return module.import('./teacher-attendDetail-legacy.88e1eafa.js')
  38978. }, void 0)
  38979. },
  38980. meta: { title: '考勤详情' }
  38981. },
  38982. {
  38983. path: '/ranking-list',
  38984. name: 'ranking-list',
  38985. component: function () {
  38986. return __vitePreload(function () {
  38987. return module.import('./index-legacy.247578dd.js')
  38988. }, void 0)
  38989. },
  38990. meta: { title: '排行榜' }
  38991. },
  38992. {
  38993. path: '/approval-manage',
  38994. name: 'approval-manage',
  38995. component: function () {
  38996. return __vitePreload(function () {
  38997. return module.import('./index-legacy.a80a5f7f.js')
  38998. }, void 0)
  38999. },
  39000. meta: { title: '待办事项' }
  39001. },
  39002. {
  39003. path: '/student-leave',
  39004. name: 'student-leave',
  39005. component: function () {
  39006. return __vitePreload(function () {
  39007. return module.import('./student-leave-legacy.d89a8173.js')
  39008. }, void 0)
  39009. },
  39010. meta: { title: '审批详情' }
  39011. },
  39012. {
  39013. path: '/train-planning',
  39014. name: 'train-planning',
  39015. component: function () {
  39016. return __vitePreload(function () {
  39017. return module.import('./index-legacy.2bf33ea7.js')
  39018. }, void 0)
  39019. },
  39020. meta: { title: '乐团排课' }
  39021. },
  39022. {
  39023. path: '/train-content',
  39024. name: 'train-content',
  39025. component: function () {
  39026. return __vitePreload(function () {
  39027. return module.import('./index-legacy.7af4a178.js')
  39028. }, void 0)
  39029. },
  39030. meta: { title: '训练内容' }
  39031. },
  39032. {
  39033. path: '/practice-detail',
  39034. name: 'practice-detail',
  39035. component: function () {
  39036. return __vitePreload(function () {
  39037. return module.import('./index-legacy.b2c95321.js')
  39038. }, void 0)
  39039. },
  39040. meta: { title: '训练详情' }
  39041. },
  39042. {
  39043. path: '/course-preview',
  39044. name: 'course-preview',
  39045. component: function () {
  39046. return __vitePreload(function () {
  39047. return module.import('./index-legacy.436e865d.js')
  39048. }, void 0)
  39049. },
  39050. meta: { title: '课程预览' }
  39051. },
  39052. {
  39053. path: '/course-adjust',
  39054. name: 'course-adjust',
  39055. component: function () {
  39056. return __vitePreload(function () {
  39057. return module.import('./course-adjust-legacy.197b3da2.js')
  39058. }, void 0)
  39059. },
  39060. meta: { title: '课程调整' }
  39061. },
  39062. {
  39063. path: '/batch-adjust',
  39064. name: 'batch-adjust',
  39065. component: function () {
  39066. return __vitePreload(function () {
  39067. return module.import('./batch-adjust-legacy.0445b06e.js')
  39068. }, void 0)
  39069. },
  39070. meta: { title: '批量调整' }
  39071. },
  39072. {
  39073. path: '/school-detail',
  39074. name: 'school-detail',
  39075. component: function () {
  39076. return __vitePreload(function () {
  39077. return module.import('./index-legacy.e70a45e3.js')
  39078. }, void 0)
  39079. },
  39080. meta: { title: '学校信息' }
  39081. },
  39082. {
  39083. path: '/school-eidt',
  39084. name: 'school-eidt',
  39085. component: function () {
  39086. return __vitePreload(function () {
  39087. return module.import('./eidt-school-legacy.09245cde.js')
  39088. }, void 0)
  39089. },
  39090. meta: { title: '修改学校地址' }
  39091. },
  39092. {
  39093. path: '/attendance-rule',
  39094. name: 'attendance-rule',
  39095. component: function () {
  39096. return __vitePreload(function () {
  39097. return module.import('./index-legacy.3fd1da2d.js')
  39098. }, void 0)
  39099. },
  39100. meta: { title: '考勤规则' }
  39101. },
  39102. {
  39103. path: '/orchestra-story',
  39104. name: 'orchestra-story',
  39105. component: function () {
  39106. return __vitePreload(function () {
  39107. return module.import('./index-legacy.5762ea85.js')
  39108. }, void 0)
  39109. },
  39110. meta: { title: '乐团事迹' }
  39111. },
  39112. {
  39113. path: '/story-operation',
  39114. name: 'story-operation',
  39115. component: function () {
  39116. return __vitePreload(function () {
  39117. return module.import('./index-legacy.ec11e692.js')
  39118. }, void 0)
  39119. },
  39120. meta: { title: '添加事迹' }
  39121. },
  39122. {
  39123. path: '/subsidy-exercise-detail',
  39124. name: 'subsidy-exercise-detail',
  39125. component: function () {
  39126. return __vitePreload(function () {
  39127. return module.import('./exercise-detail-legacy.f7eee951.js')
  39128. }, void 0)
  39129. },
  39130. meta: { title: '训练补助详情' }
  39131. },
  39132. {
  39133. path: '/subsidy-exercise-details',
  39134. name: 'subsidy-exercise-details',
  39135. component: function () {
  39136. return __vitePreload(function () {
  39137. return module.import('./details-legacy.38319bc7.js')
  39138. }, void 0)
  39139. },
  39140. meta: { title: '补助明细' }
  39141. },
  39142. {
  39143. path: '/subsidy-grant-detail',
  39144. name: 'subsidy-grant-detail',
  39145. component: function () {
  39146. return __vitePreload(function () {
  39147. return module.import('./grant-detail-legacy.a413c3a9.js')
  39148. }, void 0)
  39149. },
  39150. meta: { title: '管理补助详情' }
  39151. },
  39152. {
  39153. path: '/subsidy-reward-detail',
  39154. name: 'subsidy-reward-detail',
  39155. component: function () {
  39156. return __vitePreload(function () {
  39157. return module.import('./reward-detail-legacy.df95e2d6.js')
  39158. }, void 0)
  39159. },
  39160. meta: { title: '练习奖励详情' }
  39161. },
  39162. {
  39163. path: '/unitDetail',
  39164. name: 'unitDetail',
  39165. component: function () {
  39166. return __vitePreload(function () {
  39167. return module.import('./unitDetail-legacy.bc37b536.js')
  39168. }, void 0)
  39169. },
  39170. meta: { title: '测验详情' }
  39171. },
  39172. {
  39173. path: '/unit-list',
  39174. name: 'unit-list',
  39175. component: function () {
  39176. return __vitePreload(function () {
  39177. return module.import('./index-legacy.3c1ddd22.js')
  39178. }, void 0)
  39179. },
  39180. meta: { title: '阶段自测' }
  39181. },
  39182. {
  39183. path: '/orchestra-photo-create',
  39184. name: 'orchestra-photo-create',
  39185. component: function () {
  39186. return __vitePreload(function () {
  39187. return module.import('./photo-create-legacy.641ece22.js')
  39188. }, void 0)
  39189. },
  39190. meta: { title: '创建相册' }
  39191. },
  39192. {
  39193. path: '/practice-rewards',
  39194. name: 'practice-rewards',
  39195. component: function () {
  39196. return __vitePreload(function () {
  39197. return module.import('./index-legacy.046dcdca.js')
  39198. }, void 0)
  39199. },
  39200. meta: { title: '练习奖励' }
  39201. },
  39202. {
  39203. path: '/practice-rewards-detail',
  39204. name: 'practice-rewards-detail',
  39205. component: function () {
  39206. return __vitePreload(function () {
  39207. return module.import('./detail-legacy.37aec3a9.js')
  39208. }, void 0)
  39209. },
  39210. meta: { title: '练习奖励详情' }
  39211. },
  39212. {
  39213. path: '/attendance-rules',
  39214. name: 'attendance-rules',
  39215. component: function () {
  39216. return __vitePreload(function () {
  39217. return module.import('./index-legacy.a23ab226.js')
  39218. }, void 0)
  39219. },
  39220. meta: { title: '考勤规则设置' }
  39221. },
  39222. {
  39223. path: '/train-report',
  39224. name: 'train-report',
  39225. component: function () {
  39226. return __vitePreload(function () {
  39227. return module.import('./index-legacy.3b1d94bf.js')
  39228. }, void 0)
  39229. },
  39230. meta: { title: '训练报告' }
  39231. }
  39232. ])
  39233. }
  39234. ].concat(rootRouter, noLoginRouter),
  39235. paymentType = window.paymentType,
  39236. routes = []
  39237. 'STUDENT' === paymentType
  39238. ? (routes = routesStudent)
  39239. : 'TEACHER' === paymentType
  39240. ? (routes = routesTeacher)
  39241. : 'SCHOOL' === paymentType && (routes = routesSchool),
  39242. console.log(paymentType)
  39243. var router = exports(
  39244. 'j',
  39245. createRouter({
  39246. history: createWebHashHistory(),
  39247. routes: routes,
  39248. scrollBehavior: function (e, t, n) {
  39249. if (e.hash) return { el: e.hash, behavior: 'smooth' }
  39250. }
  39251. })
  39252. ),
  39253. whitePath = [
  39254. '/coursewarePlay',
  39255. '/lessonCourseware',
  39256. '/courseList',
  39257. '/companion-teacher-register',
  39258. '/manage-teacher-register',
  39259. '/payResult',
  39260. '/payDefine'
  39261. ]
  39262. router.beforeEach(function (e, t, n) {
  39263. whitePath.includes(e.path) || baseEvent.emit('toastShow'),
  39264. (document.title = e.meta.title || '管乐团'),
  39265. n()
  39266. }),
  39267. router.afterEach(function (e, t) {
  39268. e.path === t.path
  39269. ? baseEvent.emit('toastClose')
  39270. : setTimeout(function () {
  39271. baseEvent.emit('toastClose')
  39272. }, 300)
  39273. })
  39274. var isOpen = !1
  39275. router.onError(function (e) {
  39276. if (e instanceof Error) {
  39277. var t = e.name.indexOf('chunk'),
  39278. n = router.currentRoute.value.fullPath
  39279. console.log(e),
  39280. t &&
  39281. !isOpen &&
  39282. (baseEvent.emit('toastClose'),
  39283. (isOpen = !0),
  39284. showDialog({
  39285. title: '更新提示',
  39286. message: 'APP有更新请点击确定刷新页面?',
  39287. confirmButtonColor: 'var(--van-primary)'
  39288. }).then(function () {
  39289. browser().isApp
  39290. ? postMessage({ api: 'back' })
  39291. : ((location.hash = n), window.location.reload())
  39292. }))
  39293. }
  39294. })
  39295. var index$1 = '',
  39296. normalize = '',
  39297. style = '',
  39298. index = ''
  39299. }
  39300. }
  39301. })
  39302. })()